• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 /**
20  *
21  * This class has the names of the all the activity name and variables
22  * in the instrumentation test.
23  *
24  */
25 public class MusicPlayerNames {
26 
27   //Expected result of the sorted playlistname
28     public static final String expectedPlaylistTitle[] = { "**1E?:|}{[]~~.,;'",
29         "//><..", "0123456789",
30         "0random@112", "MyPlaylist", "UPPERLETTER",
31         "combination011", "loooooooog",
32         "normal", "~!@#$%^&*()_+"
33     };
34 
35   //Unsorted input playlist name
36     public static final String unsortedPlaylistTitle[] = { "//><..","MyPlaylist",
37         "0random@112", "UPPERLETTER","normal",
38         "combination011", "0123456789",
39         "~!@#$%^&*()_+","**1E?:|}{[]~~.,;'",
40         "loooooooog"
41     };
42 
43     public static final String DELETE_PLAYLIST_NAME = "testDeletPlaylist";
44     public static final String ORIGINAL_PLAYLIST_NAME = "original_playlist_name";
45     public static final String RENAMED_PLAYLIST_NAME = "rename_playlist_name";
46 
47     public static int NO_OF_PLAYLIST = 10;
48     public static int WAIT_SHORT_TIME = 1000;
49     public static int WAIT_LONG_TIME = 2000;
50     public static int WAIT_VERY_LONG_TIME = 6000;
51     public static int SKIP_WAIT_TIME = 500;
52     public static int DEFAULT_PLAYLIST_LENGTH = 15;
53     public static int NO_ALBUMS_TOBE_PLAYED = 50;
54     public static int NO_SKIPPING_SONGS = 500;
55 
56     public static final String DELETESONG = "/sdcard/toBeDeleted.amr";
57     public static final String GOLDENSONG = "/sdcard/media_api/music/AMRNB.amr";
58     public static final String TOBEDELETESONGNAME = "toBeDeleted";
59 
60     public static int EXPECTED_NO_RINGTONE = 1;
61 }
62