From 98b9cb04bda28187f95780a54c5a2b6f01bb9348 Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Fri, 4 Mar 2016 17:37:16 -0800 Subject: Remove SdkSelectionUtilsTest N/pre-N test is removed in ag/879758, this test no longer make sense. Change-Id: Ic7b4d6e54e7bf3fe37aa14b310e47127dc73bb21 --- .../com/android/dialer/SdkSelectionUtilsTest.java | 35 ---------------------- .../com/android/dialer/SdkSelectionUtilsTest.java | 35 ---------------------- 2 files changed, 70 deletions(-) delete mode 100644 tests/src-N/com/android/dialer/SdkSelectionUtilsTest.java delete mode 100644 tests/src-pre-N/com/android/dialer/SdkSelectionUtilsTest.java diff --git a/tests/src-N/com/android/dialer/SdkSelectionUtilsTest.java b/tests/src-N/com/android/dialer/SdkSelectionUtilsTest.java deleted file mode 100644 index 2950ea08f..000000000 --- a/tests/src-N/com/android/dialer/SdkSelectionUtilsTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -package com.android.dialer; - -import android.test.AndroidTestCase; -import android.test.suitebuilder.annotation.SmallTest; - -// @formatter:off -/** - * Run test with - * adb shell am instrument -e class com.android.dialer.SdkSelectionUtilsTest -w com.google.android.dialer.tests/android.test.InstrumentationTestRunner - */ -// @formatter:on -@SmallTest -public class SdkSelectionUtilsTest extends AndroidTestCase { - - public void testTargetNSdk_True() { - assertTrue(SdkSelectionUtils.TARGET_N_SDK); - } -} \ No newline at end of file diff --git a/tests/src-pre-N/com/android/dialer/SdkSelectionUtilsTest.java b/tests/src-pre-N/com/android/dialer/SdkSelectionUtilsTest.java deleted file mode 100644 index 595f1ccaf..000000000 --- a/tests/src-pre-N/com/android/dialer/SdkSelectionUtilsTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2015 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -package com.android.dialer; - -import android.test.AndroidTestCase; -import android.test.suitebuilder.annotation.SmallTest; - -// @formatter:off -/** - * Run test with - * adb shell am instrument -e class com.android.dialer.SdkSelectionUtilsTest -w com.google.android.dialer.tests/android.test.InstrumentationTestRunner - */ -// @formatter:on -@SmallTest -public class SdkSelectionUtilsTest extends AndroidTestCase { - - public void testTargetNSdk_False() { - assertFalse(SdkSelectionUtils.TARGET_N_SDK); - } -} \ No newline at end of file -- cgit v1.2.3