Android如何对服务和Activity进行单元测试

上传者: infoworld | 上传时间: 2022-05-05 09:05:34 | 文件大小: 150KB | 文件类型: ZIP
[Android]_[中级]_[如何对服务和Activity进行单元测试]的配套项目源码 https://blog.csdn.net/infoworld/article/details/124580162

文件下载

资源详情

[{"title":"( 49 个子文件 150KB ) Android如何对服务和Activity进行单元测试\n","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"myapplication","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 402B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"myapplication","children":[{"title":"MainActivityTest.java <span style='color:#111;'> 1001B </span>","children":null,"spread":false},{"title":"MyFirstServiceTest.java <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"common","children":[{"title":"ComponentTestUtils.java <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"navigation","children":[{"title":"nav_graph.xml <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 422B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 10.40KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 16.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 724B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 68B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.72KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 11.59KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 3.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"xm;","children":null,"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 7.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher_round.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ic_launcher.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"fragment_second.xml <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"content_main.xml <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"fragment_first.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":false},{"title":"xml","children":[{"title":"file_paths.xml <span style='color:#111;'> 170B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"myapplication","children":[{"title":"ContactUserData.java <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"common","children":[{"title":"MyRequestId.java <span style='color:#111;'> 724B </span>","children":null,"spread":false}],"spread":false},{"title":"FirstFragment.java <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"service","children":[{"title":"MyFirstService.java <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false}],"spread":false},{"title":"SecondFragment.java <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.06KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"local.properties <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 915B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明