Loading docs/html/training/testing/ui-testing/espresso-testing.jd +3 −3 Original line number Diff line number Diff line Loading @@ -188,9 +188,9 @@ The following section describes how to create a new Espresso test in the JUnit 4 {@code ActivityTestRule}</a> to reduce the amount of boilerplate code you need to write. By using <a href="{@docRoot}reference/android/support/test/rule/ActivityTestRule.html"> {@code ActivityTestRule}</a>, the testing framework launches the activity under test before each test method annotated with {@code @Test} and before any method annotated with {@code @Before}. The framework handles shutting down the activity after the test finishes and all methods annotated with {@code @After} are run.</p> before each test method annotated with <code>@Test</code> and before any method annotated with <code>@Before</code>. The framework handles shutting down the activity after the test finishes and all methods annotated with <code>@After</code> are run.</p> <pre> package com.example.android.testing.espresso.BasicSample; Loading Loading
docs/html/training/testing/ui-testing/espresso-testing.jd +3 −3 Original line number Diff line number Diff line Loading @@ -188,9 +188,9 @@ The following section describes how to create a new Espresso test in the JUnit 4 {@code ActivityTestRule}</a> to reduce the amount of boilerplate code you need to write. By using <a href="{@docRoot}reference/android/support/test/rule/ActivityTestRule.html"> {@code ActivityTestRule}</a>, the testing framework launches the activity under test before each test method annotated with {@code @Test} and before any method annotated with {@code @Before}. The framework handles shutting down the activity after the test finishes and all methods annotated with {@code @After} are run.</p> before each test method annotated with <code>@Test</code> and before any method annotated with <code>@Before</code>. The framework handles shutting down the activity after the test finishes and all methods annotated with <code>@After</code> are run.</p> <pre> package com.example.android.testing.espresso.BasicSample; Loading