Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
2e026540
Commit
2e026540
authored
Jan 25, 2013
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build of Java tests
parent
f4e27bcb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
FASTFeatureDetectorTest.java
...c/org/opencv/test/features2d/FASTFeatureDetectorTest.java
+2
-4
No files found.
modules/java/android_test/src/org/opencv/test/features2d/FASTFeatureDetectorTest.java
View file @
2e026540
...
...
@@ -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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment