From 423ecfb42a50b0c692d6dd5892ae97922cc53d3f Mon Sep 17 00:00:00 2001 From: Kirill Kornyakov Date: Tue, 26 Jul 2011 10:27:51 +0000 Subject: [PATCH] added stub java tests --- .../src/org/opencv/test/ConvertersTest.java | 62 +++++ .../src/org/opencv/test/OpenCVTestCase.java | 2 +- .../org/opencv/test/calib3d/StereoBMTest.java | 35 +++ .../src/org/opencv/test/core/KDTreeTest.java | 103 ++++++++ .../src/org/opencv/test/core/Point3Test.java | 47 ++++ .../src/org/opencv/test/core/PointTest.java | 47 ++++ .../src/org/opencv/test/core/RangeTest.java | 59 +++++ .../src/org/opencv/test/core/RectTest.java | 67 +++++ .../src/org/opencv/test/core/ScalarTest.java | 63 +++++ .../src/org/opencv/test/core/SizeTest.java | 43 +++ .../opencv/test/core/TermCriteriaTest.java | 39 +++ .../src/org/opencv/test/core/coreTest.java | 135 +++++++++- .../opencv/test/features2d/KeyPointTest.java | 67 ++++- .../org/opencv/test/features2d/SURFTest.java | 36 ++- .../opencv/test/highgui/VideoCaptureTest.java | 6 +- .../org/opencv/test/imgproc/MomentsTest.java | 203 ++++++++++++++ .../src/org/opencv/test/ml/CvANN_MLPTest.java | 71 +++++ .../test/ml/CvANN_MLP_TrainParamsTest.java | 75 ++++++ .../org/opencv/test/ml/CvBoostParamsTest.java | 43 +++ .../src/org/opencv/test/ml/CvBoostTest.java | 95 +++++++ .../org/opencv/test/ml/CvDTreeParamsTest.java | 75 ++++++ .../src/org/opencv/test/ml/CvDTreeTest.java | 47 ++++ .../org/opencv/test/ml/CvEMParamsTest.java | 35 +++ .../src/org/opencv/test/ml/CvEMTest.java | 87 ++++++ .../src/org/opencv/test/ml/CvERTreesTest.java | 39 +++ .../opencv/test/ml/CvGBTreesParamsTest.java | 43 +++ .../src/org/opencv/test/ml/CvGBTreesTest.java | 87 ++++++ .../org/opencv/test/ml/CvKNearestTest.java | 55 ++++ .../test/ml/CvNormalBayesClassifierTest.java | 55 ++++ .../org/opencv/test/ml/CvParamGridTest.java | 35 +++ .../org/opencv/test/ml/CvRTParamsTest.java | 27 ++ .../src/org/opencv/test/ml/CvRTreesTest.java | 63 +++++ .../org/opencv/test/ml/CvSVMParamsTest.java | 75 ++++++ .../src/org/opencv/test/ml/CvSVMTest.java | 103 ++++++++ .../org/opencv/test/ml/CvStatModelTest.java | 27 ++ .../test/objdetect/HOGDescriptorTest.java | 247 ++++++++++++++++++ .../video/BackgroundSubtractorMOGTest.java | 23 ++ .../test/video/BackgroundSubtractorTest.java | 19 ++ .../opencv/test/video/KalmanFilterTest.java | 39 +++ 39 files changed, 2447 insertions(+), 32 deletions(-) create mode 100644 modules/java/android_test/src/org/opencv/test/ConvertersTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/calib3d/StereoBMTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/KDTreeTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/Point3Test.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/PointTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/RangeTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/RectTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/ScalarTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/SizeTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/core/TermCriteriaTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/imgproc/MomentsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvANN_MLPTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvANN_MLP_TrainParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvBoostParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvBoostTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvDTreeParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvDTreeTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvEMParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvEMTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvERTreesTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvGBTreesParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvGBTreesTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvKNearestTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvNormalBayesClassifierTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvParamGridTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvRTParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvRTreesTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvSVMParamsTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvSVMTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/ml/CvStatModelTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/objdetect/HOGDescriptorTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorMOGTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorTest.java create mode 100644 modules/java/android_test/src/org/opencv/test/video/KalmanFilterTest.java diff --git a/modules/java/android_test/src/org/opencv/test/ConvertersTest.java b/modules/java/android_test/src/org/opencv/test/ConvertersTest.java new file mode 100644 index 000000000..a10567b7e --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ConvertersTest.java @@ -0,0 +1,62 @@ +package org.opencv.test; + + +public class ConvertersTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testMat_to_vector_float() { + fail("Not yet implemented"); + } + + public void testMat_to_vector_int() { + fail("Not yet implemented"); + } + + public void testMat_to_vector_KeyPoint() { + fail("Not yet implemented"); + } + + public void testMat_to_vector_Mat() { + fail("Not yet implemented"); + } + + public void testMat_to_vector_Point() { + fail("Not yet implemented"); + } + + public void testMat_to_vector_Rect() { + fail("Not yet implemented"); + } + + public void testVector_double_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_float_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_int_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_Mat_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_Point_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_Rect_to_Mat() { + fail("Not yet implemented"); + } + + public void testVector_uchar_to_Mat() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java b/modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java index 55a8e93cf..9525a44ac 100644 --- a/modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java +++ b/modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java @@ -104,7 +104,7 @@ public class OpenCVTestCase extends TestCase { rgba128 = new Mat(matSize, matSize, CvType.CV_8UC4, Scalar.all(128)); rgbLena = Highgui.imread(OpenCVTestRunner.LENA_PATH); - grayChess = Highgui.imread(OpenCVTestRunner.CHESS_PATH); + grayChess = Highgui.imread(OpenCVTestRunner.CHESS_PATH, 0); v1 = new Mat(1, 3, CvType.CV_32F); v1.put(0, 0, 1.0, 3.0, 2.0); v2 = new Mat(1, 3, CvType.CV_32F); v2.put(0, 0, 2.0, 1.0, 3.0); diff --git a/modules/java/android_test/src/org/opencv/test/calib3d/StereoBMTest.java b/modules/java/android_test/src/org/opencv/test/calib3d/StereoBMTest.java new file mode 100644 index 000000000..fd52cf58e --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/calib3d/StereoBMTest.java @@ -0,0 +1,35 @@ +package org.opencv.test.calib3d; + +import org.opencv.test.OpenCVTestCase; + +public class StereoBMTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testComputeMatMatMat() { + fail("Not yet implemented"); + } + + public void testComputeMatMatMatInt() { + fail("Not yet implemented"); + } + + public void testStereoBM() { + fail("Not yet implemented"); + } + + public void testStereoBMInt() { + fail("Not yet implemented"); + } + + public void testStereoBMIntInt() { + fail("Not yet implemented"); + } + + public void testStereoBMIntIntInt() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/KDTreeTest.java b/modules/java/android_test/src/org/opencv/test/core/KDTreeTest.java new file mode 100644 index 000000000..fdd2213b7 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/KDTreeTest.java @@ -0,0 +1,103 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class KDTreeTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testBuildMat() { + fail("Not yet implemented"); + } + + public void testBuildMatBoolean() { + fail("Not yet implemented"); + } + + public void testBuildMatMat() { + fail("Not yet implemented"); + } + + public void testBuildMatMatBoolean() { + fail("Not yet implemented"); + } + + public void testDims() { + fail("Not yet implemented"); + } + + public void testFindNearestMatIntIntMat() { + fail("Not yet implemented"); + } + + public void testFindNearestMatIntIntMatMat() { + fail("Not yet implemented"); + } + + public void testFindNearestMatIntIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testFindNearestMatIntIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testFindOrthoRangeMatMatMat() { + fail("Not yet implemented"); + } + + public void testFindOrthoRangeMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testFindOrthoRangeMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testGet_maxDepth() { + fail("Not yet implemented"); + } + + public void testGet_normType() { + fail("Not yet implemented"); + } + + public void testGet_points() { + fail("Not yet implemented"); + } + + public void testGetPointsMatMat() { + fail("Not yet implemented"); + } + + public void testGetPointsMatMatMat() { + fail("Not yet implemented"); + } + + public void testKDTree() { + fail("Not yet implemented"); + } + + public void testKDTreeMat() { + fail("Not yet implemented"); + } + + public void testKDTreeMatBoolean() { + fail("Not yet implemented"); + } + + public void testKDTreeMatMat() { + fail("Not yet implemented"); + } + + public void testKDTreeMatMatBoolean() { + fail("Not yet implemented"); + } + + public void testSet_normType() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/Point3Test.java b/modules/java/android_test/src/org/opencv/test/core/Point3Test.java new file mode 100644 index 000000000..b1f354606 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/Point3Test.java @@ -0,0 +1,47 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class Point3Test extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testCross() { + fail("Not yet implemented"); + } + + public void testDot() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testPoint3() { + fail("Not yet implemented"); + } + + public void testPoint3DoubleArray() { + fail("Not yet implemented"); + } + + public void testPoint3DoubleDoubleDouble() { + fail("Not yet implemented"); + } + + public void testPoint3Point() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/PointTest.java b/modules/java/android_test/src/org/opencv/test/core/PointTest.java new file mode 100644 index 000000000..68c65da97 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/PointTest.java @@ -0,0 +1,47 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class PointTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testDot() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testInside() { + fail("Not yet implemented"); + } + + public void testPoint() { + fail("Not yet implemented"); + } + + public void testPointDoubleArray() { + fail("Not yet implemented"); + } + + public void testPointDoubleDouble() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + + public void testToString() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/RangeTest.java b/modules/java/android_test/src/org/opencv/test/core/RangeTest.java new file mode 100644 index 000000000..eca2f50f6 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/RangeTest.java @@ -0,0 +1,59 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class RangeTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testAll() { + fail("Not yet implemented"); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testEmpty() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testIntersection() { + fail("Not yet implemented"); + } + + public void testRange() { + fail("Not yet implemented"); + } + + public void testRangeDoubleArray() { + fail("Not yet implemented"); + } + + public void testRangeIntInt() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + + public void testShift() { + fail("Not yet implemented"); + } + + public void testSize() { + fail("Not yet implemented"); + } + + public void testToString() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/RectTest.java b/modules/java/android_test/src/org/opencv/test/core/RectTest.java new file mode 100644 index 000000000..192335dba --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/RectTest.java @@ -0,0 +1,67 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class RectTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testArea() { + fail("Not yet implemented"); + } + + public void testBr() { + fail("Not yet implemented"); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testContains() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testRect() { + fail("Not yet implemented"); + } + + public void testRectDoubleArray() { + fail("Not yet implemented"); + } + + public void testRectIntIntIntInt() { + fail("Not yet implemented"); + } + + public void testRectPointPoint() { + fail("Not yet implemented"); + } + + public void testRectPointSize() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + + public void testSize() { + fail("Not yet implemented"); + } + + public void testTl() { + fail("Not yet implemented"); + } + + public void testToString() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/ScalarTest.java b/modules/java/android_test/src/org/opencv/test/core/ScalarTest.java new file mode 100644 index 000000000..25595e10f --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/ScalarTest.java @@ -0,0 +1,63 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class ScalarTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testAll() { + fail("Not yet implemented"); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testConj() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testIsReal() { + fail("Not yet implemented"); + } + + public void testMulScalar() { + fail("Not yet implemented"); + } + + public void testMulScalarDouble() { + fail("Not yet implemented"); + } + + public void testScalarDouble() { + fail("Not yet implemented"); + } + + public void testScalarDoubleArray() { + fail("Not yet implemented"); + } + + public void testScalarDoubleDouble() { + fail("Not yet implemented"); + } + + public void testScalarDoubleDoubleDouble() { + fail("Not yet implemented"); + } + + public void testScalarDoubleDoubleDoubleDouble() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/SizeTest.java b/modules/java/android_test/src/org/opencv/test/core/SizeTest.java new file mode 100644 index 000000000..2d63d6468 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/SizeTest.java @@ -0,0 +1,43 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class SizeTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testArea() { + fail("Not yet implemented"); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + + public void testSize() { + fail("Not yet implemented"); + } + + public void testSizeDoubleArray() { + fail("Not yet implemented"); + } + + public void testSizeDoubleDouble() { + fail("Not yet implemented"); + } + + public void testSizePoint() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/TermCriteriaTest.java b/modules/java/android_test/src/org/opencv/test/core/TermCriteriaTest.java new file mode 100644 index 000000000..c1b55b67e --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/core/TermCriteriaTest.java @@ -0,0 +1,39 @@ +package org.opencv.test.core; + +import org.opencv.test.OpenCVTestCase; + +public class TermCriteriaTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClone() { + fail("Not yet implemented"); + } + + public void testEqualsObject() { + fail("Not yet implemented"); + } + + public void testSet() { + fail("Not yet implemented"); + } + + public void testTermCriteria() { + fail("Not yet implemented"); + } + + public void testTermCriteriaDoubleArray() { + fail("Not yet implemented"); + } + + public void testTermCriteriaIntIntDouble() { + fail("Not yet implemented"); + } + + public void testToString() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/core/coreTest.java b/modules/java/android_test/src/org/opencv/test/core/coreTest.java index 4b5357fe1..be464c243 100644 --- a/modules/java/android_test/src/org/opencv/test/core/coreTest.java +++ b/modules/java/android_test/src/org/opencv/test/core/coreTest.java @@ -145,6 +145,26 @@ public class coreTest extends OpenCVTestCase { assertMatEqual(angle, dst_angle); } + public void testCheckRangeMat() { + fail("Not yet implemented"); + } + + public void testCheckRangeMatBoolean() { + fail("Not yet implemented"); + } + + public void testCheckRangeMatBooleanPoint() { + fail("Not yet implemented"); + } + + public void testCheckRangeMatBooleanPointDouble() { + fail("Not yet implemented"); + } + + public void testCheckRangeMatBooleanPointDoubleDouble() { + fail("Not yet implemented"); + } + public void testCircleMatPointIntScalar() { Point center = new Point(gray0.cols() / 2, gray0.rows()/2); int radius = Math.min(gray0.cols()/4, gray0.rows()/4); @@ -213,6 +233,7 @@ public class coreTest extends OpenCVTestCase { assertEquals(pt2Clipped, pt2); } + public void testCompare() { Core.compare(gray0, gray0, dst, Core.CMP_EQ); assertMatEqual(dst, gray255); @@ -369,6 +390,10 @@ public class coreTest extends OpenCVTestCase { assertMatEqual(gray3, dst); } + public void testEigen() { + fail("Not yet implemented"); + } + public void testEllipse2Poly() { fail("Not yet implemented"); } @@ -388,7 +413,7 @@ public class coreTest extends OpenCVTestCase { public void testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt() { fail("Not yet implemented"); } - + public void testEllipseMatRotatedRectScalar() { fail("Not yet implemented"); } @@ -421,6 +446,34 @@ public class coreTest extends OpenCVTestCase { assertEquals(75.96, res2, delta); } + public void testFillConvexPolyMatMatScalar() { + fail("Not yet implemented"); + } + + public void testFillConvexPolyMatMatScalarInt() { + fail("Not yet implemented"); + } + + public void testFillConvexPolyMatMatScalarIntInt() { + fail("Not yet implemented"); + } + + public void testFillPolyMatListOfMatScalar() { + fail("Not yet implemented"); + } + + public void testFillPolyMatListOfMatScalarInt() { + fail("Not yet implemented"); + } + + public void testFillPolyMatListOfMatScalarIntInt() { + fail("Not yet implemented"); + } + + public void testFillPolyMatListOfMatScalarIntIntPoint() { + fail("Not yet implemented"); + } + public void testFlip() { Mat src = new Mat(2, 2, CvType.CV_32F); Mat des_f0 = new Mat(2, 2, CvType.CV_32F); @@ -489,6 +542,10 @@ public class coreTest extends OpenCVTestCase { assertMatEqual(desired, dst); } + public void testGetCPUTickCount() { + fail("Not yet implemented"); + } + public void testGetOptimalDFTSize() { int vecsize = Core.getOptimalDFTSize(0); assertEquals(1, vecsize); @@ -503,6 +560,10 @@ public class coreTest extends OpenCVTestCase { fail("Not yet implemented"); } + public void testGetTickCount() { + fail("Not yet implemented"); + } + public void testGetTickFrequency() { double freq = 0.0; freq = Core.getTickFrequency(); @@ -528,7 +589,7 @@ public class coreTest extends OpenCVTestCase { Core.idct(in, dst); assertMatEqual(truth, dst); } - + public void testIdctMatMatInt() { Mat in = new Mat(1, 8, CvType.CV_32F); in.put(0, 0, 1.0, 2.0, 1.0, 0.0, 1.0, 2.0, 3.0, 1.0); @@ -619,11 +680,11 @@ public class coreTest extends OpenCVTestCase { double det = Core.determinant(src); assertTrue(det > 0.0); } - + public void testKmeansMatIntMatTermCriteriaIntInt() { fail("Not yet implemented"); } - + public void testKmeansMatIntMatTermCriteriaIntIntMat() { fail("Not yet implemented"); } @@ -655,7 +716,6 @@ public class coreTest extends OpenCVTestCase { public void testLineMatPointPointScalarIntInt() { fail("Not yet implemented"); } - public void testLineMatPointPointScalarIntIntInt() { fail("Not yet implemented"); @@ -747,7 +807,7 @@ public class coreTest extends OpenCVTestCase { public void testMeanMatMat() { fail("Not yet implemented"); } - + public void testMeanStdDevMatMatMat() { Mat mean = new Mat(); Mat stddev = new Mat(); @@ -756,7 +816,7 @@ public class coreTest extends OpenCVTestCase { assertEquals(0, Core.countNonZero(mean)); assertEquals(0, Core.countNonZero(stddev)); } - + public void testMeanStdDevMatMatMatMat() { Mat mean = new Mat(); Mat stddev = new Mat(); @@ -806,6 +866,7 @@ public class coreTest extends OpenCVTestCase { assertTrue(mmres.minLoc.equals(minLoc)); assertTrue(mmres.maxLoc.equals(maxLoc)); } + public void testMinMaxLocMat() { fail("Not yet implemented"); @@ -815,6 +876,10 @@ public class coreTest extends OpenCVTestCase { fail("Not yet implemented"); } + public void testMixChannels() { + fail("Not yet implemented"); + } + public void testMulSpectrumsMatMatMatInt() { Mat src1 = new Mat(1, 4, CvType.CV_32F); Mat src2 = new Mat(1, 4, CvType.CV_32F); @@ -968,6 +1033,22 @@ public class coreTest extends OpenCVTestCase { assertEquals(0.0, n); } + public void testPCABackProject() { + fail("Not yet implemented"); + } + + public void testPCAComputeMatMatMat() { + fail("Not yet implemented"); + } + + public void testPCAComputeMatMatMatInt() { + fail("Not yet implemented"); + } + + public void testPCAProject() { + fail("Not yet implemented"); + } + public void testPerspectiveTransform() { //nice example fail("Not yet implemented"); @@ -1026,6 +1107,22 @@ public class coreTest extends OpenCVTestCase { fail("Not yet implemented"); } + public void testPolylinesMatListOfMatBooleanScalar() { + fail("Not yet implemented"); + } + + public void testPolylinesMatListOfMatBooleanScalarInt() { + fail("Not yet implemented"); + } + + public void testPolylinesMatListOfMatBooleanScalarIntInt() { + fail("Not yet implemented"); + } + + public void testPolylinesMatListOfMatBooleanScalarIntIntInt() { + fail("Not yet implemented"); + } + public void testPow() { Core.pow(gray3, 2.0, dst); assertMatEqual(gray9, dst); @@ -1056,6 +1153,14 @@ public class coreTest extends OpenCVTestCase { assertTrue(0 != Core.countNonZero(gray0)); } + public void testRandShuffleMat() { + fail("Not yet implemented"); + } + + public void testRandShuffleMatDouble() { + fail("Not yet implemented"); + } + public void testRandu() { Mat low = new Mat(1, 1, CvType.CV_16UC1, new Scalar(0)); Mat high = new Mat(1, 1, CvType.CV_16UC1, new Scalar(256)); @@ -1074,7 +1179,7 @@ public class coreTest extends OpenCVTestCase { Core.rectangle(gray0, center, origin, color); assertTrue(0 != Core.countNonZero(gray0)); } - + public void testRectangleMatPointPointScalarInt() { Point center = new Point(gray0.cols(), gray0.rows()); Point origin = new Point(0,0); @@ -1104,7 +1209,7 @@ public class coreTest extends OpenCVTestCase { Core.rectangle(gray0, center, origin, color, 2, 4, 2); assertTrue(0 != Core.countNonZero(gray0)); } - + public void testReduceMatMatIntInt() { Mat src = new Mat(2, 2, CvType.CV_32F); Mat out = new Mat(1, 2, CvType.CV_32F); @@ -1298,6 +1403,18 @@ public class coreTest extends OpenCVTestCase { fail("Not yet implemented"); } + public void testSVBackSubst() { + fail("Not yet implemented"); + } + + public void testSVDecompMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testSVDecompMatMatMatMatInt() { + fail("Not yet implemented"); + } + public void testTrace() { fail("Not yet implemented"); } diff --git a/modules/java/android_test/src/org/opencv/test/features2d/KeyPointTest.java b/modules/java/android_test/src/org/opencv/test/features2d/KeyPointTest.java index 50ef5a942..27b042696 100644 --- a/modules/java/android_test/src/org/opencv/test/features2d/KeyPointTest.java +++ b/modules/java/android_test/src/org/opencv/test/features2d/KeyPointTest.java @@ -6,11 +6,11 @@ import org.opencv.test.OpenCVTestCase; public class KeyPointTest extends OpenCVTestCase { private KeyPoint keyPoint; + private float size; private float x; private float y; - private float size; - - @Override + + @Override protected void setUp() throws Exception { super.setUp(); @@ -19,39 +19,84 @@ public class KeyPointTest extends OpenCVTestCase { y = 2.0f; size = 3.0f; } - + public void test_1() { - super.test_1("FEATURES2D.KeyPoint"); + super.test_1("features2d.KeyPoint"); } + public void testGet_angle() { + fail("Not yet implemented"); + } + + public void testGet_class_id() { + fail("Not yet implemented"); + } + + public void testGet_octave() { + fail("Not yet implemented"); + } + + public void testGet_pt() { + fail("Not yet implemented"); + } + + public void testGet_response() { + fail("Not yet implemented"); + } + + public void testGet_size() { + fail("Not yet implemented"); + } + public void testKeyPoint() { keyPoint = new KeyPoint(); assertTrue(null != keyPoint); } - public void testKeyPointFloatFloatFloat() { keyPoint = new KeyPoint(x, y, size); assertTrue(null != keyPoint); } - public void testKeyPointFloatFloatFloatFloat() { keyPoint = new KeyPoint(x, y, size, 10.0f); assertTrue(null != keyPoint); } - public void testKeyPointFloatFloatFloatFloatFloat() { keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); assertTrue(null != keyPoint); } - - public void testKeyPointFloatFloatFloatFloatFloatInt() { + + public void testKeyPointFloatFloatFloatFloatFloatInt() { keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); assertTrue(null != keyPoint); } - + public void testKeyPointFloatFloatFloatFloatFloatIntInt() { keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); assertTrue(null != keyPoint); } + public void testSet_angle() { + fail("Not yet implemented"); + } + + public void testSet_class_id() { + fail("Not yet implemented"); + } + + public void testSet_octave() { + fail("Not yet implemented"); + } + + public void testSet_pt() { + fail("Not yet implemented"); + } + + public void testSet_response() { + fail("Not yet implemented"); + } + + public void testSet_size() { + fail("Not yet implemented"); + } + } diff --git a/modules/java/android_test/src/org/opencv/test/features2d/SURFTest.java b/modules/java/android_test/src/org/opencv/test/features2d/SURFTest.java index 520c00141..e7fefe152 100644 --- a/modules/java/android_test/src/org/opencv/test/features2d/SURFTest.java +++ b/modules/java/android_test/src/org/opencv/test/features2d/SURFTest.java @@ -1,23 +1,30 @@ package org.opencv.test.features2d; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; + +import org.opencv.core.Mat; import org.opencv.features2d.SURF; +import org.opencv.features2d.KeyPoint; import org.opencv.test.OpenCVTestCase; +import org.opencv.test.OpenCVTestRunner; public class SURFTest extends OpenCVTestCase { private SURF surf; - - @Override + + @Override protected void setUp() throws Exception { super.setUp(); surf = null; } - - public void test_1() { - super.test_1("FEATURES2D.SURF"); - } + public void test_1() { + super.test_1("features2d.SURF"); + } + public void testDescriptorSize() { surf = new SURF(500.0, 4, 2, false); assertEquals(64, surf.descriptorSize()); @@ -25,6 +32,23 @@ public class SURFTest extends OpenCVTestCase { surf = new SURF(500.0, 4, 2, true); assertEquals(128, surf.descriptorSize()); } + + public void testDetectMatMatListOfKeyPoint() { + surf = new SURF(); + List keypoints = new LinkedList(); + + surf.detect(grayChess, new Mat(), keypoints); + OpenCVTestRunner.Log("" + keypoints.size()); + fail("Not yet implemented"); + } + + public void testDetectMatMatListOfKeyPointListOfFloat() { + fail("Not yet implemented"); + } + + public void testDetectMatMatListOfKeyPointListOfFloatBoolean() { + fail("Not yet implemented"); + } public void testSURF() { surf = new SURF(); diff --git a/modules/java/android_test/src/org/opencv/test/highgui/VideoCaptureTest.java b/modules/java/android_test/src/org/opencv/test/highgui/VideoCaptureTest.java index fd4ab0634..c89593f32 100644 --- a/modules/java/android_test/src/org/opencv/test/highgui/VideoCaptureTest.java +++ b/modules/java/android_test/src/org/opencv/test/highgui/VideoCaptureTest.java @@ -57,7 +57,7 @@ public class VideoCaptureTest extends OpenCVTestCase { assertTrue(isOpened); } - public void testOpenInt() { + public void testOpen() { capture = new VideoCapture(); capture.open(Highgui.CV_CAP_ANDROID); isOpened = capture.isOpened(); @@ -65,10 +65,6 @@ public class VideoCaptureTest extends OpenCVTestCase { assertTrue(isOpened); } - public void testOpenString() { - fail("Not yet implemented"); - } - public void testRead() { capture = new VideoCapture(Highgui.CV_CAP_ANDROID); isSucceed = capture.read(dst); diff --git a/modules/java/android_test/src/org/opencv/test/imgproc/MomentsTest.java b/modules/java/android_test/src/org/opencv/test/imgproc/MomentsTest.java new file mode 100644 index 000000000..4e989b310 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/imgproc/MomentsTest.java @@ -0,0 +1,203 @@ +package org.opencv.test.imgproc; + +import org.opencv.test.OpenCVTestCase; + +public class MomentsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_m00() { + fail("Not yet implemented"); + } + + public void testGet_m01() { + fail("Not yet implemented"); + } + + public void testGet_m02() { + fail("Not yet implemented"); + } + + public void testGet_m03() { + fail("Not yet implemented"); + } + + public void testGet_m10() { + fail("Not yet implemented"); + } + + public void testGet_m11() { + fail("Not yet implemented"); + } + + public void testGet_m12() { + fail("Not yet implemented"); + } + + public void testGet_m20() { + fail("Not yet implemented"); + } + + public void testGet_m21() { + fail("Not yet implemented"); + } + + public void testGet_m30() { + fail("Not yet implemented"); + } + + public void testGet_mu02() { + fail("Not yet implemented"); + } + + public void testGet_mu03() { + fail("Not yet implemented"); + } + + public void testGet_mu11() { + fail("Not yet implemented"); + } + + public void testGet_mu12() { + fail("Not yet implemented"); + } + + public void testGet_mu20() { + fail("Not yet implemented"); + } + + public void testGet_mu21() { + fail("Not yet implemented"); + } + + public void testGet_mu30() { + fail("Not yet implemented"); + } + + public void testGet_nu02() { + fail("Not yet implemented"); + } + + public void testGet_nu03() { + fail("Not yet implemented"); + } + + public void testGet_nu11() { + fail("Not yet implemented"); + } + + public void testGet_nu12() { + fail("Not yet implemented"); + } + + public void testGet_nu20() { + fail("Not yet implemented"); + } + + public void testGet_nu21() { + fail("Not yet implemented"); + } + + public void testGet_nu30() { + fail("Not yet implemented"); + } + + public void testSet_m00() { + fail("Not yet implemented"); + } + + public void testSet_m01() { + fail("Not yet implemented"); + } + + public void testSet_m02() { + fail("Not yet implemented"); + } + + public void testSet_m03() { + fail("Not yet implemented"); + } + + public void testSet_m10() { + fail("Not yet implemented"); + } + + public void testSet_m11() { + fail("Not yet implemented"); + } + + public void testSet_m12() { + fail("Not yet implemented"); + } + + public void testSet_m20() { + fail("Not yet implemented"); + } + + public void testSet_m21() { + fail("Not yet implemented"); + } + + public void testSet_m30() { + fail("Not yet implemented"); + } + + public void testSet_mu02() { + fail("Not yet implemented"); + } + + public void testSet_mu03() { + fail("Not yet implemented"); + } + + public void testSet_mu11() { + fail("Not yet implemented"); + } + + public void testSet_mu12() { + fail("Not yet implemented"); + } + + public void testSet_mu20() { + fail("Not yet implemented"); + } + + public void testSet_mu21() { + fail("Not yet implemented"); + } + + public void testSet_mu30() { + fail("Not yet implemented"); + } + + public void testSet_nu02() { + fail("Not yet implemented"); + } + + public void testSet_nu03() { + fail("Not yet implemented"); + } + + public void testSet_nu11() { + fail("Not yet implemented"); + } + + public void testSet_nu12() { + fail("Not yet implemented"); + } + + public void testSet_nu20() { + fail("Not yet implemented"); + } + + public void testSet_nu21() { + fail("Not yet implemented"); + } + + public void testSet_nu30() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLPTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLPTest.java new file mode 100644 index 000000000..079ca720b --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLPTest.java @@ -0,0 +1,71 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvANN_MLPTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCreateMat() { + fail("Not yet implemented"); + } + + public void testCreateMatInt() { + fail("Not yet implemented"); + } + + public void testCreateMatIntDouble() { + fail("Not yet implemented"); + } + + public void testCreateMatIntDoubleDouble() { + fail("Not yet implemented"); + } + + public void testCvANN_MLP() { + fail("Not yet implemented"); + } + + public void testCvANN_MLPMat() { + fail("Not yet implemented"); + } + + public void testCvANN_MLPMatInt() { + fail("Not yet implemented"); + } + + public void testCvANN_MLPMatIntDouble() { + fail("Not yet implemented"); + } + + public void testCvANN_MLPMatIntDoubleDouble() { + fail("Not yet implemented"); + } + + public void testPredict() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMatCvANN_MLP_TrainParams() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMatCvANN_MLP_TrainParamsInt() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLP_TrainParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLP_TrainParamsTest.java new file mode 100644 index 000000000..ec89df8b9 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvANN_MLP_TrainParamsTest.java @@ -0,0 +1,75 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvANN_MLP_TrainParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_bp_dw_scale() { + fail("Not yet implemented"); + } + + public void testGet_bp_moment_scale() { + fail("Not yet implemented"); + } + + public void testGet_rp_dw_max() { + fail("Not yet implemented"); + } + + public void testGet_rp_dw_min() { + fail("Not yet implemented"); + } + + public void testGet_rp_dw_minus() { + fail("Not yet implemented"); + } + + public void testGet_rp_dw_plus() { + fail("Not yet implemented"); + } + + public void testGet_rp_dw0() { + fail("Not yet implemented"); + } + + public void testGet_train_method() { + fail("Not yet implemented"); + } + + public void testSet_bp_dw_scale() { + fail("Not yet implemented"); + } + + public void testSet_bp_moment_scale() { + fail("Not yet implemented"); + } + + public void testSet_rp_dw_max() { + fail("Not yet implemented"); + } + + public void testSet_rp_dw_min() { + fail("Not yet implemented"); + } + + public void testSet_rp_dw_minus() { + fail("Not yet implemented"); + } + + public void testSet_rp_dw_plus() { + fail("Not yet implemented"); + } + + public void testSet_rp_dw0() { + fail("Not yet implemented"); + } + + public void testSet_train_method() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvBoostParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvBoostParamsTest.java new file mode 100644 index 000000000..4fa4478ee --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvBoostParamsTest.java @@ -0,0 +1,43 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvBoostParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_boost_type() { + fail("Not yet implemented"); + } + + public void testGet_split_criteria() { + fail("Not yet implemented"); + } + + public void testGet_weak_count() { + fail("Not yet implemented"); + } + + public void testGet_weight_trim_rate() { + fail("Not yet implemented"); + } + + public void testSet_boost_type() { + fail("Not yet implemented"); + } + + public void testSet_split_criteria() { + fail("Not yet implemented"); + } + + public void testSet_weak_count() { + fail("Not yet implemented"); + } + + public void testSet_weight_trim_rate() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvBoostTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvBoostTest.java new file mode 100644 index 000000000..74845f9ac --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvBoostTest.java @@ -0,0 +1,95 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvBoostTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvBoost() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMat() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvBoostMatIntMatMatMatMatMatCvBoostParams() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMatRange() { + fail("Not yet implemented"); + } + + public void testPredictMatMatRangeBoolean() { + fail("Not yet implemented"); + } + + public void testPredictMatMatRangeBooleanBoolean() { + fail("Not yet implemented"); + } + + public void testPrune() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvBoostParams() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvBoostParamsBoolean() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvDTreeParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvDTreeParamsTest.java new file mode 100644 index 000000000..86e00846e --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvDTreeParamsTest.java @@ -0,0 +1,75 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvDTreeParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_cv_folds() { + fail("Not yet implemented"); + } + + public void testGet_max_categories() { + fail("Not yet implemented"); + } + + public void testGet_max_depth() { + fail("Not yet implemented"); + } + + public void testGet_min_sample_count() { + fail("Not yet implemented"); + } + + public void testGet_regression_accuracy() { + fail("Not yet implemented"); + } + + public void testGet_truncate_pruned_tree() { + fail("Not yet implemented"); + } + + public void testGet_use_1se_rule() { + fail("Not yet implemented"); + } + + public void testGet_use_surrogates() { + fail("Not yet implemented"); + } + + public void testSet_cv_folds() { + fail("Not yet implemented"); + } + + public void testSet_max_categories() { + fail("Not yet implemented"); + } + + public void testSet_max_depth() { + fail("Not yet implemented"); + } + + public void testSet_min_sample_count() { + fail("Not yet implemented"); + } + + public void testSet_regression_accuracy() { + fail("Not yet implemented"); + } + + public void testSet_truncate_pruned_tree() { + fail("Not yet implemented"); + } + + public void testSet_use_1se_rule() { + fail("Not yet implemented"); + } + + public void testSet_use_surrogates() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvDTreeTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvDTreeTest.java new file mode 100644 index 000000000..d36445b11 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvDTreeTest.java @@ -0,0 +1,47 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvDTreeTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvDTree() { + fail("Not yet implemented"); + } + + public void testGetVarImportance() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvDTreeParams() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvEMParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvEMParamsTest.java new file mode 100644 index 000000000..a6bb35efc --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvEMParamsTest.java @@ -0,0 +1,35 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvEMParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_cov_mat_type() { + fail("Not yet implemented"); + } + + public void testGet_nclusters() { + fail("Not yet implemented"); + } + + public void testGet_start_step() { + fail("Not yet implemented"); + } + + public void testSet_cov_mat_type() { + fail("Not yet implemented"); + } + + public void testSet_nclusters() { + fail("Not yet implemented"); + } + + public void testSet_start_step() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvEMTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvEMTest.java new file mode 100644 index 000000000..016a0e09f --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvEMTest.java @@ -0,0 +1,87 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvEMTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testCalcLikelihood() { + fail("Not yet implemented"); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvEM() { + fail("Not yet implemented"); + } + + public void testCvEMMat() { + fail("Not yet implemented"); + } + + public void testCvEMMatMat() { + fail("Not yet implemented"); + } + + public void testCvEMMatMatCvEMParams() { + fail("Not yet implemented"); + } + + public void testGetCovs() { + fail("Not yet implemented"); + } + + public void testGetLikelihood() { + fail("Not yet implemented"); + } + + public void testGetLikelihoodDelta() { + fail("Not yet implemented"); + } + + public void testGetMeans() { + fail("Not yet implemented"); + } + + public void testGetNClusters() { + fail("Not yet implemented"); + } + + public void testGetProbs() { + fail("Not yet implemented"); + } + + public void testGetWeights() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatCvEMParams() { + fail("Not yet implemented"); + } + + public void testTrainMatMatCvEMParamsMat() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvERTreesTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvERTreesTest.java new file mode 100644 index 000000000..364d7acfa --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvERTreesTest.java @@ -0,0 +1,39 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvERTreesTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testCvERTrees() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvRTParams() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesParamsTest.java new file mode 100644 index 000000000..6e8737a40 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesParamsTest.java @@ -0,0 +1,43 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvGBTreesParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_loss_function_type() { + fail("Not yet implemented"); + } + + public void testGet_shrinkage() { + fail("Not yet implemented"); + } + + public void testGet_subsample_portion() { + fail("Not yet implemented"); + } + + public void testGet_weak_count() { + fail("Not yet implemented"); + } + + public void testSet_loss_function_type() { + fail("Not yet implemented"); + } + + public void testSet_shrinkage() { + fail("Not yet implemented"); + } + + public void testSet_subsample_portion() { + fail("Not yet implemented"); + } + + public void testSet_weak_count() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesTest.java new file mode 100644 index 000000000..43d905411 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvGBTreesTest.java @@ -0,0 +1,87 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvGBTreesTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvGBTrees() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMat() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvGBTreesMatIntMatMatMatMatMatCvGBTreesParams() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMatRange() { + fail("Not yet implemented"); + } + + public void testPredictMatMatRangeInt() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvGBTreesParams() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvGBTreesParamsBoolean() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvKNearestTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvKNearestTest.java new file mode 100644 index 000000000..c52719de7 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvKNearestTest.java @@ -0,0 +1,55 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvKNearestTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testCvKNearest() { + fail("Not yet implemented"); + } + + public void testCvKNearestMatMat() { + fail("Not yet implemented"); + } + + public void testCvKNearestMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvKNearestMatMatMatBoolean() { + fail("Not yet implemented"); + } + + public void testCvKNearestMatMatMatBooleanInt() { + fail("Not yet implemented"); + } + + public void testFind_nearest() { + fail("Not yet implemented"); + } + + public void testTrainMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatBoolean() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatBooleanInt() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatBooleanIntBoolean() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvNormalBayesClassifierTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvNormalBayesClassifierTest.java new file mode 100644 index 000000000..8ce8778c9 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvNormalBayesClassifierTest.java @@ -0,0 +1,55 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvNormalBayesClassifierTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvNormalBayesClassifier() { + fail("Not yet implemented"); + } + + public void testCvNormalBayesClassifierMatMat() { + fail("Not yet implemented"); + } + + public void testCvNormalBayesClassifierMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvNormalBayesClassifierMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMatBoolean() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvParamGridTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvParamGridTest.java new file mode 100644 index 000000000..b4a844eaf --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvParamGridTest.java @@ -0,0 +1,35 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvParamGridTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_max_val() { + fail("Not yet implemented"); + } + + public void testGet_min_val() { + fail("Not yet implemented"); + } + + public void testGet_step() { + fail("Not yet implemented"); + } + + public void testSet_max_val() { + fail("Not yet implemented"); + } + + public void testSet_min_val() { + fail("Not yet implemented"); + } + + public void testSet_step() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvRTParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvRTParamsTest.java new file mode 100644 index 000000000..ea023ca17 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvRTParamsTest.java @@ -0,0 +1,27 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvRTParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_calc_var_importance() { + fail("Not yet implemented"); + } + + public void testGet_nactive_vars() { + fail("Not yet implemented"); + } + + public void testSet_calc_var_importance() { + fail("Not yet implemented"); + } + + public void testSet_nactive_vars() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvRTreesTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvRTreesTest.java new file mode 100644 index 000000000..0b2907f30 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvRTreesTest.java @@ -0,0 +1,63 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvRTreesTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvRTrees() { + fail("Not yet implemented"); + } + + public void testGetVarImportance() { + fail("Not yet implemented"); + } + + public void testPredict_probMat() { + fail("Not yet implemented"); + } + + public void testPredict_probMatMat() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatIntMatMatMatMatMatCvRTParams() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvSVMParamsTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvSVMParamsTest.java new file mode 100644 index 000000000..956f0b53e --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvSVMParamsTest.java @@ -0,0 +1,75 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvSVMParamsTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testGet_C() { + fail("Not yet implemented"); + } + + public void testGet_coef0() { + fail("Not yet implemented"); + } + + public void testGet_degree() { + fail("Not yet implemented"); + } + + public void testGet_gamma() { + fail("Not yet implemented"); + } + + public void testGet_kernel_type() { + fail("Not yet implemented"); + } + + public void testGet_nu() { + fail("Not yet implemented"); + } + + public void testGet_p() { + fail("Not yet implemented"); + } + + public void testGet_svm_type() { + fail("Not yet implemented"); + } + + public void testSet_C() { + fail("Not yet implemented"); + } + + public void testSet_coef0() { + fail("Not yet implemented"); + } + + public void testSet_degree() { + fail("Not yet implemented"); + } + + public void testSet_gamma() { + fail("Not yet implemented"); + } + + public void testSet_kernel_type() { + fail("Not yet implemented"); + } + + public void testSet_nu() { + fail("Not yet implemented"); + } + + public void testSet_p() { + fail("Not yet implemented"); + } + + public void testSet_svm_type() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvSVMTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvSVMTest.java new file mode 100644 index 000000000..c3a104c44 --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvSVMTest.java @@ -0,0 +1,103 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvSVMTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testClear() { + fail("Not yet implemented"); + } + + public void testCvSVM() { + fail("Not yet implemented"); + } + + public void testCvSVMMatMat() { + fail("Not yet implemented"); + } + + public void testCvSVMMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvSVMMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testCvSVMMatMatMatMatCvSVMParams() { + fail("Not yet implemented"); + } + + public void testGet_support_vector_count() { + fail("Not yet implemented"); + } + + public void testGet_var_count() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + + public void testPredictMatBoolean() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParams() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsInt() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGridCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGridCvParamGridCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGridCvParamGridCvParamGridCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGridCvParamGridCvParamGridCvParamGridCvParamGrid() { + fail("Not yet implemented"); + } + + public void testTrain_autoMatMatMatMatCvSVMParamsIntCvParamGridCvParamGridCvParamGridCvParamGridCvParamGridCvParamGridBoolean() { + fail("Not yet implemented"); + } + + public void testTrainMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMat() { + fail("Not yet implemented"); + } + + public void testTrainMatMatMatMatCvSVMParams() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/ml/CvStatModelTest.java b/modules/java/android_test/src/org/opencv/test/ml/CvStatModelTest.java new file mode 100644 index 000000000..2cf00f5ef --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/ml/CvStatModelTest.java @@ -0,0 +1,27 @@ +package org.opencv.test.ml; + +import org.opencv.test.OpenCVTestCase; + +public class CvStatModelTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testLoadString() { + fail("Not yet implemented"); + } + + public void testLoadStringString() { + fail("Not yet implemented"); + } + + public void testSaveString() { + fail("Not yet implemented"); + } + + public void testSaveStringString() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/objdetect/HOGDescriptorTest.java b/modules/java/android_test/src/org/opencv/test/objdetect/HOGDescriptorTest.java new file mode 100644 index 000000000..e1ff933ea --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/objdetect/HOGDescriptorTest.java @@ -0,0 +1,247 @@ +package org.opencv.test.objdetect; + +import org.opencv.test.OpenCVTestCase; + +public class HOGDescriptorTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testCheckDetectorSize() { + fail("Not yet implemented"); + } + + public void testComputeGradientMatMatMat() { + fail("Not yet implemented"); + } + + public void testComputeGradientMatMatMatSize() { + fail("Not yet implemented"); + } + + public void testComputeGradientMatMatMatSizeSize() { + fail("Not yet implemented"); + } + + public void testComputeMatListOfFloat() { + fail("Not yet implemented"); + } + + public void testComputeMatListOfFloatSize() { + fail("Not yet implemented"); + } + + public void testComputeMatListOfFloatSizeSize() { + fail("Not yet implemented"); + } + + public void testComputeMatListOfFloatSizeSizeListOfPoint() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPoint() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointDouble() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointDoubleSize() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointDoubleSizeSize() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointDoubleSizeSizeListOfPoint() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointListOfDouble() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointListOfDoubleDouble() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointListOfDoubleDoubleSize() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointListOfDoubleDoubleSizeSize() { + fail("Not yet implemented"); + } + + public void testDetectMatListOfPointListOfDoubleDoubleSizeSizeListOfPoint() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRect() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDoubleSize() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDoubleSizeSize() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDoubleSizeSizeDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDoubleSizeSizeDoubleDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectDoubleSizeSizeDoubleDoubleBoolean() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDoubleSize() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDoubleSizeSize() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDoubleSizeSizeDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDoubleSizeSizeDoubleDouble() { + fail("Not yet implemented"); + } + + public void testDetectMultiScaleMatListOfRectListOfDoubleDoubleSizeSizeDoubleDoubleBoolean() { + fail("Not yet implemented"); + } + + public void testGet_blockSize() { + fail("Not yet implemented"); + } + + public void testGet_blockStride() { + fail("Not yet implemented"); + } + + public void testGet_cellSize() { + fail("Not yet implemented"); + } + + public void testGet_derivAperture() { + fail("Not yet implemented"); + } + + public void testGet_gammaCorrection() { + fail("Not yet implemented"); + } + + public void testGet_histogramNormType() { + fail("Not yet implemented"); + } + + public void testGet_L2HysThreshold() { + fail("Not yet implemented"); + } + + public void testGet_nbins() { + fail("Not yet implemented"); + } + + public void testGet_nlevels() { + fail("Not yet implemented"); + } + + public void testGet_winSigma() { + fail("Not yet implemented"); + } + + public void testGet_winSize() { + fail("Not yet implemented"); + } + + public void testGetDescriptorSize() { + fail("Not yet implemented"); + } + + public void testGetWinSigma() { + fail("Not yet implemented"); + } + + public void testHOGDescriptor() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeInt() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntInt() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntIntDouble() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntIntDoubleInt() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntIntDoubleIntDouble() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntIntDoubleIntDoubleBoolean() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorSizeSizeSizeSizeIntIntDoubleIntDoubleBooleanInt() { + fail("Not yet implemented"); + } + + public void testHOGDescriptorString() { + fail("Not yet implemented"); + } + + public void testLoadString() { + fail("Not yet implemented"); + } + + public void testLoadStringString() { + fail("Not yet implemented"); + } + + public void testSaveString() { + fail("Not yet implemented"); + } + + public void testSaveStringString() { + fail("Not yet implemented"); + } + + public void testSetSVMDetector() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorMOGTest.java b/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorMOGTest.java new file mode 100644 index 000000000..8fdebe0cf --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorMOGTest.java @@ -0,0 +1,23 @@ +package org.opencv.test.video; + +import org.opencv.test.OpenCVTestCase; + +public class BackgroundSubtractorMOGTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testBackgroundSubtractorMOG() { + fail("Not yet implemented"); + } + + public void testBackgroundSubtractorMOGIntIntDouble() { + fail("Not yet implemented"); + } + + public void testBackgroundSubtractorMOGIntIntDoubleDouble() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorTest.java b/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorTest.java new file mode 100644 index 000000000..df76a7edc --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/video/BackgroundSubtractorTest.java @@ -0,0 +1,19 @@ +package org.opencv.test.video; + +import org.opencv.test.OpenCVTestCase; + +public class BackgroundSubtractorTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testApplyMatMat() { + fail("Not yet implemented"); + } + + public void testApplyMatMatDouble() { + fail("Not yet implemented"); + } + +} diff --git a/modules/java/android_test/src/org/opencv/test/video/KalmanFilterTest.java b/modules/java/android_test/src/org/opencv/test/video/KalmanFilterTest.java new file mode 100644 index 000000000..e338d839c --- /dev/null +++ b/modules/java/android_test/src/org/opencv/test/video/KalmanFilterTest.java @@ -0,0 +1,39 @@ +package org.opencv.test.video; + +import org.opencv.test.OpenCVTestCase; + +public class KalmanFilterTest extends OpenCVTestCase { + + protected void setUp() throws Exception { + super.setUp(); + } + + public void testCorrect() { + fail("Not yet implemented"); + } + + public void testKalmanFilter() { + fail("Not yet implemented"); + } + + public void testKalmanFilterIntInt() { + fail("Not yet implemented"); + } + + public void testKalmanFilterIntIntInt() { + fail("Not yet implemented"); + } + + public void testKalmanFilterIntIntIntInt() { + fail("Not yet implemented"); + } + + public void testPredict() { + fail("Not yet implemented"); + } + + public void testPredictMat() { + fail("Not yet implemented"); + } + +}