• 大小: 3.9MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-01
  • 语言: Java
  • 标签:

资源简介

该博客的源码:https://blog.csdn.net/pyfysf/article/details/77455330 可以供给大家使用

资源截图

代码片段和文件信息

package ocr.baidu.wintp.top.baiduocrdemo;

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.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“ocr.baidu.wintp.top.baiduocrdemo“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        127  2018-05-10 07:12  BaiduOCRDemo\.gitignore

     文件          1  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\fileChanges\last-build.bin

     文件         17  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\fileContent\fileContent.lock

     文件     496191  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\fileHashes\fileHashes.bin

     文件         17  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\fileHashes\fileHashes.lock

     文件      26351  2018-05-10 21:00  BaiduOCRDemo\.gradle\4.1\fileHashes\resourceHashesCache.bin

     文件    1776574  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\javaCompile\classAnalysis.bin

     文件     751436  2018-05-10 21:00  BaiduOCRDemo\.gradle\4.1\javaCompile\jarAnalysis.bin

     文件         17  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\javaCompile\javaCompile.lock

     文件     417468  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\javaCompile\taskHistory.bin

     文件      29495  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\javaCompile\taskJars.bin

     文件    4183235  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\taskHistory\fileSnapshots.bin

     文件     112469  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\taskHistory\taskHistory.bin

     文件         17  2018-05-10 21:12  BaiduOCRDemo\.gradle\4.1\taskHistory\taskHistory.lock

     文件          0  2018-05-10 07:20  BaiduOCRDemo\.gradle\buildOutputCleanup\built.bin

     文件         51  2018-05-10 07:20  BaiduOCRDemo\.gradle\buildOutputCleanup\cache.properties

     文件          2  2018-05-10 21:12  BaiduOCRDemo\.gradle\buildOutputCleanup\cache.properties.lock

     文件        678  2018-05-10 07:55  BaiduOCRDemo\.idea\gradle.xml

     文件        533  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\android_arch_core_common_1_0_0_jar.xml

     文件        548  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\android_arch_lifecycle_common_1_0_0_jar.xml

     文件        658  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\android_arch_lifecycle_runtime_1_0_0.xml

     文件        742  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_animated_vector_drawable_26_1_0.xml

     文件        682  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_appcompat_v7_26_1_0.xml

     文件        501  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_constraint_constraint_layout_1_1_0.xml

     文件        425  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_constraint_constraint_layout_solver_1_1_0_jar.xml

     文件        608  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_support_annotations_26_1_0_jar.xml

     文件        609  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_support_annotations_27_1_1_jar.xml

     文件        692  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_support_compat_26_1_0.xml

     文件        697  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_support_core_ui_26_1_0.xml

     文件        712  2018-05-10 07:21  BaiduOCRDemo\.idea\libraries\com_android_support_support_core_utils_26_1_0.xml

............此处省略235个文件信息

评论

共有 条评论