• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2006 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.internal.telephony;
18 
19 import com.android.internal.telephony.AdnRecordTest;
20 import com.android.internal.telephony.gsm.GSMPhoneTest;
21 import com.android.internal.telephony.GsmAlphabetTest;
22 import com.android.internal.telephony.SMSDispatcherTest;
23 import com.android.internal.telephony.SimPhoneBookTest;
24 import com.android.internal.telephony.SimSmsTest;
25 import com.android.internal.telephony.SimUtilsTest;
26 
27 import junit.framework.TestSuite;
28 
29 /**
30  * To run these tests:
31  * $ mmm java/tests && adb sync
32  * $ adb shell am instrument -w \
33  *    -e class com.android.internal.telephony.TelephonyTests \
34  *    android.core/android.test.InstrumentationTestRunner
35  */
36 public class TelephonyTests {
suite()37     public static TestSuite suite() {
38         TestSuite suite = new TestSuite(TelephonyTests.class.getName());
39 
40         suite.addTestSuite(PhoneNumberWatcherTest.class);
41         suite.addTestSuite(ATResponseParserTest.class);
42         suite.addTestSuite(PhoneNumberUtilsTest.class);
43         suite.addTestSuite(SMSDispatcherTest.class);
44         //suite.addTestSuite(GSMPhoneTest.class);
45         suite.addTestSuite(AdnRecordTest.class);
46         suite.addTestSuite(GsmAlphabetTest.class);
47         suite.addTestSuite(SimUtilsTest.class);
48         suite.addTestSuite(SimPhoneBookTest.class);
49         suite.addTestSuite(SimSmsTest.class);
50         suite.addTestSuite(TelephonyUtilsTest.class);
51 
52         return suite;
53     }
54 }
55