O mainActivity_shouldNotBeNull
package com.ecgreb.mytestapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machinę (host) . *
* Osee <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class Examplellni tTest {
@Test public void addition_isCorrect() throws Exception { assertEquals(4, 2+2);
}
MainActivity mainActivity = new MainActivity assertNotNull(mainActivity);
105ms
105ms
File Edit View Navigate Codę Analyze Refactor Build Run
Bp Project ▼ O ^ | |«"
▼ C3 my-test-app /usr/local/code/my-test-app
► Cl .gradle
► Q .idea
► D build C3 libs T Cl src
► DandroidTest
► Q main ▼ Cl test
▼ Qjava
T B com.ecgreb.mytestapp ExampleUnitTest
O .gitignore P app.iml 0 build.gradle
proguard-rules.pro
► Cl build
► Q gradle O .gitignore 0 build.gradle [jjj gradle.properties B gradlew
gradlew.bat [Jll local.properties P my-test-app.iml
t*. co++innc nrarllo
Run [<►] ExampleUnitTest.mainActivity_shouldNotBeNull
(* ▼ © ExampleUnitTest (com.ecgreb.mytestapp) ■fl
HO
1=1
lools VCS Window Help @ ExampleUnitTest.java x
1
2
3
4
5
6
7
8 9
10
11
12
13
14
15
16
17
18
19
20 21 22
/usr/li b/jvm/java-8-oracle/bi n/java
Process finished with exit codę 0
X Cut |
Ctrl+X |
0 Copy |
Ctrl+C |
Copy as Plain Text | |
Copy Reference |
Ctrl+Alt+Shift+C |
[jl Pastę |
Ctrl +V |
Pastę from Hi story... |
Ctrl+Shift+V |
Pastę Simple |
Ctrl +Alt+Shift+V |
Column Selection Modę |
Alt+Shift+Insert |
Find Usages |
Alt+F7 |
Find Sample Codę |
Alt+F8 |
Refactor |
► |
Folding |
► |
Analyze |
► |
Search with Google | |
Go To |
► |
Generate... |
Alt+lnsert |
Run 'mainActivity_shoul...()' |
Ctrl+Shift+FlO |
Debug 'mainActivity_shoul...()' | |
||^ Run 'mainActivity_shoul...()' |
with Coverage |
HTI Save 'mainActivity_shoul...()' | |
Local History ► | |
Compare with Clipboard | |
File Encoding | |
Add to ignore file |
► |
Add to ignore file (unignore) |
► |
Create Gist... |
>4'