zoukankan      html  css  js  c++  java
  • 每日总结2.24

    package com.example.dell.tiwen;

    import android.content.Context;
    import android.support.test.InstrumentationRegistry;
    import android.support.test.runner.AndroidJUnit4;

    import org.junit.Test;
    import org.junit.runner.RunWith;

    import static org.junit.Assert.*;

    /**
    * Instrumentation test, which will execute on an Android device.
    *
    * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
    */
    @RunWith(AndroidJUnit4.class)
    public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
    // Context of the app under test.
    Context appContext = InstrumentationRegistry.getTargetContext();

    assertEquals("com.example.dell.tiwen", appContext.getPackageName());
    }
    }
  • 相关阅读:
    kmp
    RMP
    p次方求和
    河南省之6 Metric Matrice
    表达式求值
    线段树
    办公软件试题
    河南省之6 遥控器
    三个水杯
    JLink + USBTO232 MINI作品
  • 原文地址:https://www.cnblogs.com/wanghaoning/p/14914033.html
Copyright © 2011-2022 走看看