Commit 2e026540 authored by Andrey Kamaev's avatar Andrey Kamaev

Fix build of Java tests

parent f4e27bcb
......@@ -13,8 +13,6 @@ import org.opencv.features2d.KeyPoint;
import org.opencv.test.OpenCVTestCase;
import org.opencv.test.OpenCVTestRunner;
import android.util.Log;
public class FASTFeatureDetectorTest extends OpenCVTestCase {
FeatureDetector detector;
......@@ -129,7 +127,7 @@ public class FASTFeatureDetectorTest extends OpenCVTestCase {
String truth = "<?xml version=\"1.0\"?>\n<opencv_storage>\n<name>Feature2D.FAST</name>\n<nonmaxSuppression>1</nonmaxSuppression>\n<threshold>10</threshold>\n<type>2</type>\n</opencv_storage>\n";
String data = readFile(filename);
Log.d("qqq", "\"" + data + "\"");
//Log.d("qqq", "\"" + data + "\"");
assertEquals(truth, data);
}
......@@ -141,7 +139,7 @@ public class FASTFeatureDetectorTest extends OpenCVTestCase {
String truth = "%YAML:1.0\nname: \"Feature2D.FAST\"\nnonmaxSuppression: 1\nthreshold: 10\ntype: 2\n";
String data = readFile(filename);
Log.d("qqq", "\"" + data + "\"");
//Log.d("qqq", "\"" + data + "\"");
assertEquals(truth, data);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment