summaryrefslogtreecommitdiffstats
path: root/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-05-03 05:47:05 +0200
committerZhomart Mukhamejanov <zhomart@google.com>2018-05-03 23:04:16 +0200
commite606f6d3ff728ff4a1cb279aa9294a087fd57dd4 (patch)
tree64f20346fe01dd150efae42defe9b26040c793b3 /updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
parentMerge "updater_sample: update ui and README, clean-up" (diff)
downloadandroid_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar.gz
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar.bz2
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar.lz
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar.xz
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.tar.zst
android_bootable_recovery-e606f6d3ff728ff4a1cb279aa9294a087fd57dd4.zip
Diffstat (limited to '')
-rw-r--r--updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java b/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
index c85698c0f..4ccae9380 100644
--- a/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
+++ b/updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java
@@ -18,14 +18,11 @@ package com.example.android.systemupdatersample.util;
import static org.junit.Assert.assertArrayEquals;
-import android.content.Context;
-import android.support.test.InstrumentationRegistry;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import com.example.android.systemupdatersample.UpdateConfig;
-import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@@ -41,16 +38,9 @@ import java.util.List;
@SmallTest
public class UpdateConfigsTest {
- private Context mContext;
-
@Rule
public final ExpectedException thrown = ExpectedException.none();
- @Before
- public void setUp() {
- mContext = InstrumentationRegistry.getTargetContext();
- }
-
@Test
public void configsToNames_extractsNames() {
List<UpdateConfig> configs = Arrays.asList(