Java API: fixing tests compatibility with API level 8

This commit is contained in:
Andrey Pavlenko 2012-04-09 11:36:32 +00:00
parent d1a8f562b9
commit a68d0278ba
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
"adb shell am instrument -w org.opencv.test/android.test.InstrumentationTestRunner"
-->
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="org.opencv.test"
android:targetPackage="org.opencv"
android:label="Tests for org.opencv"/>
<uses-permission android:name="android.permission.CAMERA"/>

View File

@ -214,7 +214,7 @@ public class BruteForceDescriptorMatcherTest extends OpenCVTestCase {
matcher.match(query, matches, Arrays.asList(mask));
assertArrayDMatchEquals(Arrays.copyOfRange(truth, 0, 2), matches.toArray(), EPS);
assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
}
public void testMatchMatMatListOfDMatch() {
@ -239,7 +239,7 @@ public class BruteForceDescriptorMatcherTest extends OpenCVTestCase {
matcher.match(query, train, matches, mask);
assertArrayDMatchEquals(Arrays.copyOfRange(truth, 0, 2), matches.toArray(), EPS);
assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS);
}
public void testRadiusMatchMatListOfListOfDMatchFloat() {