• 大小: 6.4MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-07
  • 语言: Java
  • 标签: Android  

资源简介

Android五子棋app 通过Android studio构建 实现人机对战

资源截图

代码片段和文件信息

package com.example.fivechess30;

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 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(“com.example.fivechess30“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-05-14 11:08  fivechess-master\
     文件         378  2017-05-14 11:08  fivechess-master\.gitattributes
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\
     文件         118  2017-05-14 11:08  fivechess-master\Fivechess3.0\.gitignore
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\
     文件         686  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\compiler.xml
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\copyright\
     文件          74  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\copyright\profiles_settings.xml
     文件         626  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\gradle.xml
     文件        2226  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\misc.xml
     文件         361  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\modules.xml
     文件         564  2017-05-14 11:08  fivechess-master\Fivechess3.0\.idea\runConfigurations.xml
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\
     文件           7  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\.gitignore
     文件         940  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\build.gradle
     文件         908  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\proguard-rules.pro
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\java\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\java\com\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\java\com\example\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\java\com\example\fivechess30\
     文件         750  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\androidTest\java\com\example\fivechess30\ExampleInstrumentedTest.java
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\
     文件        1215  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\AndroidManifest.xml
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\com\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\com\example\
     目录           0  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\com\example\fivechess30\
     文件        1695  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\com\example\fivechess30\MainActivity.java
     文件         330  2017-05-14 11:08  fivechess-master\Fivechess3.0\app\src\main\java\com\example\fivechess30\about.java
............此处省略59个文件信息

评论

共有 条评论