Move VPN hardware assumption check to the end of setup
tearDown expect setUp is executed. So move VPN hardware assumption check after all the setUps Test: atest HostsideVpnTests Bug: 330070197 Change-Id: I671897764908dc0188bcb2aef7177f1e4d573a8f
This commit is contained in:
parent
21b36d8c68
commit
d992ae133a
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,6 @@ public class VpnTest {
|
|||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
assumeTrue(supportedHardware());
|
||||
mNetwork = null;
|
||||
mTestContext = getInstrumentation().getContext();
|
||||
mTargetContext = getInstrumentation().getTargetContext();
|
||||
|
|
@ -272,6 +271,7 @@ public class VpnTest {
|
|||
mDevice.waitForIdle();
|
||||
mCtsNetUtils = new CtsNetUtils(mTestContext);
|
||||
mPackageManager = mTestContext.getPackageManager();
|
||||
assumeTrue(supportedHardware());
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
|
|||
Loading…
Reference in a new issue