templates/gradle-projects/NewAndroidModule/root/test/app_package/ExampleUnitTest.java.ftl
raw| 1 | package ${packageName}; |
| 2 | |
| 3 | import org.junit.Test; |
| 4 | |
| 5 | import static org.junit.Assert.*; |
| 6 | |
| 7 | /** |
| 8 | * Example local unit test, which will execute on the development machine (host). |
| 9 | * |
| 10 | * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> |
| 11 | */ |
| 12 | public class ExampleUnitTest { |
| 13 | @Test |
| 14 | public void addition_isCorrect() throws Exception { |
| 15 | assertEquals(4, 2 + 2); |
| 16 | } |
| 17 | } |