From 7cfa7455b345faa55f2d11ff21b1e6b9e678a5a2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 16 八月 2024 15:51:16 +0800 Subject: [PATCH] 界面添加图标 --- qihealonelibrary/src/androidTest/java/com/dayu/qihealonelibrary/ExampleInstrumentedTest.java | 23 +++++++---------------- 1 files changed, 7 insertions(+), 16 deletions(-) diff --git a/qihealonelibrary/src/androidTest/java/com/dayu/qihealonelibrary/ExampleInstrumentedTest.java b/qihealonelibrary/src/androidTest/java/com/dayu/qihealonelibrary/ExampleInstrumentedTest.java index bb6b318..3206f8f 100644 --- a/qihealonelibrary/src/androidTest/java/com/dayu/qihealonelibrary/ExampleInstrumentedTest.java +++ b/qihealonelibrary/src/androidTest/java/com/dayu/qihealonelibrary/ExampleInstrumentedTest.java @@ -1,26 +1,17 @@ package com.dayu.qihealonelibrary; -import android.content.Context; - -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; /** * Instrumented test, which will execute on an Android device. * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ -@RunWith(AndroidJUnit4.class) +//@RunWith(AndroidJUnit4.class) public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.dayu.qihealonelibrary", appContext.getPackageName()); - } +// @Test +// public void useAppContext() { +// // Context of the app under test. +// Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); +// assertEquals("com.dayu.qihealonelibrary", appContext.getPackageName()); +// } } \ No newline at end of file -- Gitblit v1.8.0