diff options
author | Zhomart Mukhamejanov <zhomart@google.com> | 2018-05-04 00:52:36 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-04 00:52:36 +0200 |
commit | 219445a320c230e802f05cd80d6e01f4809db2a3 (patch) | |
tree | 64f20346fe01dd150efae42defe9b26040c793b3 /updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java | |
parent | Merge "updater_sample: update ui and README, clean-up" (diff) | |
parent | updater_sample: update tests (diff) | |
download | android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar.gz android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar.bz2 android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar.lz android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar.xz android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.tar.zst android_bootable_recovery-219445a320c230e802f05cd80d6e01f4809db2a3.zip |
Diffstat (limited to 'updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java')
-rw-r--r-- | updater_sample/tests/src/com/example/android/systemupdatersample/util/UpdateConfigsTest.java | 10 |
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( |