Loading app/src/androidTest/java/net/sourceforge/opencamera/test/MainActivityTest.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -10966,6 +10966,11 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv // n.b., don't bother calling setToDefault() // n.b., don't bother calling setToDefault() waitUntilCameraOpened(); waitUntilCameraOpened(); if( !mActivity.supportsCamera2() ) { Log.d(TAG, "test requires camera2 support"); return; } assertFalse(mPreview.usingCamera2API()); assertFalse(mPreview.usingCamera2API()); // test legacy key present, but set to old api // test legacy key present, but set to old api Loading
app/src/androidTest/java/net/sourceforge/opencamera/test/MainActivityTest.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -10966,6 +10966,11 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv // n.b., don't bother calling setToDefault() // n.b., don't bother calling setToDefault() waitUntilCameraOpened(); waitUntilCameraOpened(); if( !mActivity.supportsCamera2() ) { Log.d(TAG, "test requires camera2 support"); return; } assertFalse(mPreview.usingCamera2API()); assertFalse(mPreview.usingCamera2API()); // test legacy key present, but set to old api // test legacy key present, but set to old api