Fix build of Java tests

This commit is contained in:
Andrey Kamaev 2013-01-25 17:08:36 +04:00
parent f4e27bcbbc
commit 2e02654004

View File

@ -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);
}
}