Home | History | Annotate | Download | only in music
      1 /*
      2  * Copyright (C) 2008 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.music.tests;
     18 
     19 import android.os.Environment;
     20 
     21 /**
     22  *
     23  * This class has the names of the all the activity name and variables
     24  * in the instrumentation test.
     25  *
     26  */
     27 public class MusicPlayerNames {
     28 
     29   //Expected result of the sorted playlistname
     30     public static final String expectedPlaylistTitle[] = { "**1E?:|}{[]~~.,;'",
     31         "//><..", "0123456789",
     32         "0random@112", "MyPlaylist", "UPPERLETTER",
     33         "combination011", "loooooooog",
     34         "normal", "~!@#$%^&*()_+"
     35     };
     36 
     37   //Unsorted input playlist name
     38     public static final String unsortedPlaylistTitle[] = { "//><..","MyPlaylist",
     39         "0random@112", "UPPERLETTER","normal",
     40         "combination011", "0123456789",
     41         "~!@#$%^&*()_+","**1E?:|}{[]~~.,;'",
     42         "loooooooog"
     43     };
     44 
     45     public static final String DELETE_PLAYLIST_NAME = "testDeletPlaylist";
     46     public static final String ORIGINAL_PLAYLIST_NAME = "original_playlist_name";
     47     public static final String RENAMED_PLAYLIST_NAME = "rename_playlist_name";
     48 
     49     public static int NO_OF_PLAYLIST = 10;
     50     public static int WAIT_SHORT_TIME = 1000;
     51     public static int WAIT_LONG_TIME = 2000;
     52     public static int WAIT_VERY_LONG_TIME = 6000;
     53     public static int SKIP_WAIT_TIME = 500;
     54     public static int DEFAULT_PLAYLIST_LENGTH = 15;
     55     public static int NO_ALBUMS_TOBE_PLAYED = 50;
     56     public static int NO_SKIPPING_SONGS = 500;
     57 
     58     public static final String EXTERNAL_DIR =
     59         Environment.getExternalStorageDirectory().toString();
     60     public static final String DELETESONG = EXTERNAL_DIR + "/toBeDeleted.amr";
     61     public static final String GOLDENSONG = EXTERNAL_DIR + "/media_api/music/AMRNB.amr";
     62     public static final String TOBEDELETESONGNAME = "toBeDeleted";
     63 
     64     public static int EXPECTED_NO_RINGTONE = 1;
     65 }
     66