File Edit View Navigate Codę Analyze Refactor Build Run Bp Project ▼ O I #’r I*"
▼ I"? my-test-app /usr/local/code/my-test-app
lools VCS Window Help & ExampleUnitTest.java x
1
2
► Cl build C3 libs ▼ Cl src
► Q androidTest
► D main T Cl test
▼ Qjava
▼ B com.ecgreb.mytestapp ExampleUnitTest
◄0 .gitignore P app.iml O build.gradle [D proguard-rules.pro
► Cl build
► Cl gradle O .gitignore (i, build.gradle
[jll gradle.properties B gradlew [D gradlew.bat [jll local.properties P my-test-app.iml
t*. CQ++innc nrarlle>
Run [5T| ExampleUnitTest
3
4
5
6
7
8 9
10
11
12
13 ą
14
15
16
17 ą
18
package com.ecgreb.mytestapp;
import org.junit.Test;
import static org.junit.Assert.*
/**
19
20 21 22
O mainActivity_shouldNotBeNull O additionJsCorrect
98ms
98ms
Oms
m
* Example local unit test, which will execute on the development machinę (host)
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@Test public void addition assertEquals(4, 2+2);
}
@Test public void mainActi MainActivity mainActivit; assertNotNull(mai nActi vi
}
/usr/lib/jvm/java-8
Process finished wi
X Cut |
Ctrl+X |
® 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 'ExampleUnitTest' |
Ctrl+Shift+FlO |
Debug 'ExampleUnitTest' | |
||^ Run 'ExampleLlnitTest' with Coyerage | |
|T| Save 'ExampleUnitTest' | |
Local History ► | |
Compare with Clipboard | |
File Encoding | |
Add to ignore file |
► |
Add to ignore file (unignore) ► | |
^ Create Gist... |
Ali 2 tests passed - 98ms
i
Ar
H0
x
9