Loading app/src/androidTest/java/net/sourceforge/opencamera/InstrumentedTest.java +0 −5 Original line number Diff line number Diff line Loading @@ -411,11 +411,6 @@ public class InstrumentedTest { public void testDROZero() throws IOException, InterruptedException { Log.d(TAG, "testDROZero"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return; } setToDefault(); mActivityRule.getScenario().onActivity(activity -> { // for simplicity, run the entire test on the UI thread Loading app/src/androidTest/java/net/sourceforge/opencamera/TestUtils.java +0 −10 Original line number Diff line number Diff line Loading @@ -407,11 +407,6 @@ public class TestUtils { public static HistogramDetails subTestHDR(MainActivity activity, List<Bitmap> inputs, String output_name, boolean test_dro, int iso, long exposure_time, HDRProcessor.TonemappingAlgorithm tonemapping_algorithm/*, HDRTestCallback test_callback*/) { Log.d(TAG, "subTestHDR"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return null; } try { Thread.sleep(1000); // wait for camera to open } Loading Loading @@ -519,11 +514,6 @@ public class TestUtils { public static HistogramDetails subTestAvg(MainActivity activity, List<String> inputs, String output_name, int iso, long exposure_time, float zoom_factor, TestAvgCallback cb) { Log.d(TAG, "subTestAvg"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return null; } try { Thread.sleep(1000); // wait for camera to open } Loading app/src/androidTest/java/net/sourceforge/opencamera/test/MainActivityTest.java +0 −5 Original line number Diff line number Diff line Loading @@ -13991,11 +13991,6 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv public void testDROZero() throws IOException, InterruptedException { Log.d(TAG, "testDROZero"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return; } setToDefault(); Bitmap bitmap = getBitmapFromFile(TestUtils.hdr_images_path + "testHDR3/input1.jpg"); Loading
app/src/androidTest/java/net/sourceforge/opencamera/InstrumentedTest.java +0 −5 Original line number Diff line number Diff line Loading @@ -411,11 +411,6 @@ public class InstrumentedTest { public void testDROZero() throws IOException, InterruptedException { Log.d(TAG, "testDROZero"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return; } setToDefault(); mActivityRule.getScenario().onActivity(activity -> { // for simplicity, run the entire test on the UI thread Loading
app/src/androidTest/java/net/sourceforge/opencamera/TestUtils.java +0 −10 Original line number Diff line number Diff line Loading @@ -407,11 +407,6 @@ public class TestUtils { public static HistogramDetails subTestHDR(MainActivity activity, List<Bitmap> inputs, String output_name, boolean test_dro, int iso, long exposure_time, HDRProcessor.TonemappingAlgorithm tonemapping_algorithm/*, HDRTestCallback test_callback*/) { Log.d(TAG, "subTestHDR"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return null; } try { Thread.sleep(1000); // wait for camera to open } Loading Loading @@ -519,11 +514,6 @@ public class TestUtils { public static HistogramDetails subTestAvg(MainActivity activity, List<String> inputs, String output_name, int iso, long exposure_time, float zoom_factor, TestAvgCallback cb) { Log.d(TAG, "subTestAvg"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return null; } try { Thread.sleep(1000); // wait for camera to open } Loading
app/src/androidTest/java/net/sourceforge/opencamera/test/MainActivityTest.java +0 −5 Original line number Diff line number Diff line Loading @@ -13991,11 +13991,6 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv public void testDROZero() throws IOException, InterruptedException { Log.d(TAG, "testDROZero"); if( Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP ) { Log.d(TAG, "renderscript requires Android Lollipop or better"); return; } setToDefault(); Bitmap bitmap = getBitmapFromFile(TestUtils.hdr_images_path + "testHDR3/input1.jpg");