autogenerated JUnit stub tests added

This commit is contained in:
Kirill Kornyakov 2011-06-30 12:07:31 +00:00
parent cc9a1bb62f
commit daa31a0696
13 changed files with 1509 additions and 142 deletions

View File

@ -4,5 +4,6 @@
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="OpenCV_src"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -3,7 +3,6 @@
<name>OpenCV_Test</name>
<comment></comment>
<projects>
<project>OpenCVJavaAPI</project>
</projects>
<buildSpec>
<buildCommand>

View File

@ -1,25 +0,0 @@
package org.opencv.test;
import org.opencv.core;
public class CoreTest extends OpenCvTestCase {
public void test_1() {
super.test_1("CORE");
}
public void test_Can_Call_add() {
core.add(gray128, gray128, dst);
assertMatEqual(gray255, dst);
}
public void test_Can_Call_absdiff() {
core.absdiff(gray128, gray255, dst);
assertMatEqual(gray127, dst);
}
public void test_Can_Call_bitwise_and() {
core.bitwise_and(gray3, gray2, dst);
assertMatEqual(gray2, dst);
}
}

View File

@ -1,34 +0,0 @@
package org.opencv.test;
import org.opencv.Size;
import org.opencv.imgproc;
public class ImgprocTest extends OpenCvTestCase {
public void test_1() {
super.test_1("IMGPROC");
}
//FIXME: this test crashes
//public void test_Can_Call_accumulate() {
// dst = new Mat(gray1.rows(), gray1.cols(), Mat.CvType.CV_32FC1);
// imgproc.accumulate(gray1, dst);
// assertMatEqual(gray1, dst);
//}
public void test_blur() {
Size sz = new Size(3, 3);
imgproc.blur(gray0, dst, sz);
assertMatEqual(gray0, dst);
imgproc.blur(gray255, dst, sz);
assertMatEqual(gray255, dst);
}
public void test_boxFilter() {
Size sz = new Size(3, 3);
imgproc.boxFilter(gray0, dst, 8, sz);
assertMatEqual(gray0, dst);
}
}

View File

@ -2,29 +2,201 @@ package org.opencv.test;
import org.opencv.Mat;
public class MatTest extends OpenCVTestCase {
public void test_1() {
super.test_1("Mat");
}
public class MatTest extends OpenCvTestCase {
public void test_1() {
super.test_1("Mat");
}
public void test_Can_Create_Gray_Mat() {
Mat m = new Mat(1, 1, Mat.CvType.CV_8UC1);
assertFalse(m.empty());
}
public void test_Can_Create_RBG_Mat() {
Mat m = new Mat(1, 1, Mat.CvType.CV_8UC3);
assertFalse(m.empty());
}
public void test_Can_Get_Cols() {
Mat m = new Mat(10, 10, Mat.CvType.CV_8UC1);
assertEquals(10, m.rows());
}
public void test_Can_Get_Rows() {
Mat m = new Mat(10, 10, Mat.CvType.CV_8UC1);
assertEquals(10, m.rows());
}
public void testFinalize() {
fail("Not yet implemented");
}
public void testMatLong() {
fail("Not yet implemented");
}
public void testMatIntIntCvType() {
Mat gray = new Mat(1, 1, Mat.CvType.CV_8UC1);
assertFalse(gray.empty());
Mat rgb = new Mat(1, 1, Mat.CvType.CV_8UC3);
assertFalse(rgb.empty());
}
public void testMatIntIntCvTypeDoubleDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testMatIntIntCvTypeDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testMatIntIntCvTypeDoubleDouble() {
fail("Not yet implemented");
}
public void testMatIntIntCvTypeDouble() {
fail("Not yet implemented");
}
public void testDispose() {
fail("Not yet implemented");
}
public void testToString() {
fail("Not yet implemented");
}
public void testEmpty() {
fail("Not yet implemented");
}
public void testType() {
fail("Not yet implemented");
}
public void testDepth() {
fail("Not yet implemented");
}
public void testChannels() {
fail("Not yet implemented");
}
public void testElemSize() {
fail("Not yet implemented");
}
public void testRows() {
assertEquals(matSize, gray0.rows());
}
public void testHeight() {
fail("Not yet implemented");
}
public void testCols() {
assertEquals(matSize, gray0.rows());
}
public void testWidth() {
fail("Not yet implemented");
}
public void testTotal() {
fail("Not yet implemented");
}
public void testDataAddr() {
fail("Not yet implemented");
}
public void testIsContinuous() {
fail("Not yet implemented");
}
public void testIsSubmatrix() {
fail("Not yet implemented");
}
public void testSubmat() {
fail("Not yet implemented");
}
public void testRowRange() {
fail("Not yet implemented");
}
public void testRow() {
fail("Not yet implemented");
}
public void testColRange() {
fail("Not yet implemented");
}
public void testCol() {
fail("Not yet implemented");
}
public void testClone() {
fail("Not yet implemented");
}
public void testPutIntIntDoubleArray() {
fail("Not yet implemented");
}
public void testPutIntIntFloatArray() {
fail("Not yet implemented");
}
public void testPutIntIntIntArray() {
fail("Not yet implemented");
}
public void testPutIntIntShortArray() {
fail("Not yet implemented");
}
public void testPutIntIntByteArray() {
fail("Not yet implemented");
}
public void testGetIntIntByteArray() {
fail("Not yet implemented");
}
public void testGetIntIntShortArray() {
fail("Not yet implemented");
}
public void testGetIntIntIntArray() {
fail("Not yet implemented");
}
public void testGetIntIntFloatArray() {
fail("Not yet implemented");
}
public void testGetIntIntDoubleArray() {
fail("Not yet implemented");
}
public void testSetToDoubleDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testSetToDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testSetToDoubleDouble() {
fail("Not yet implemented");
}
public void testSetToDouble() {
fail("Not yet implemented");
}
public void testCopyTo() {
fail("Not yet implemented");
}
public void testDot() {
fail("Not yet implemented");
}
public void testCross() {
fail("Not yet implemented");
}
public void testInv() {
fail("Not yet implemented");
}
public void testGetNativeObjAddr() {
fail("Not yet implemented");
}
}

View File

@ -0,0 +1,59 @@
package org.opencv.test;
import org.opencv.Mat;
import org.opencv.core;
import android.test.AndroidTestCase;
import android.util.Log;
public class OpenCVTestCase extends AndroidTestCase {
static String TAG = "OpenCV";
static int matSize = 10;
static Mat gray0;
static Mat gray1;
static Mat gray2;
static Mat gray3;
static Mat gray127;
static Mat gray128;
static Mat gray255;
static Mat dst;
@Override
protected void setUp() throws Exception {
// Log.e(TAG, "setUp");
super.setUp();
gray0 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray0.setTo(0.0);
gray1 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray1.setTo(1.0);
gray2 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray2.setTo(2.0);
gray3 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray3.setTo(3.0);
gray127 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray127.setTo(127.0);
gray128 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray128.setTo(128.0);
gray255 = new Mat(matSize, matSize, Mat.CvType.CV_8UC1); gray255.setTo(256.0);
dst = new Mat(0, 0, Mat.CvType.CV_8UC1);
assertTrue(dst.empty());
}
public static void assertMatEqual(Mat m1, Mat m2) {
assertTrue(CalcPercentageOfDifference(m1, m2) == 0.0);
}
static public double CalcPercentageOfDifference(Mat m1, Mat m2) {
Mat cmp = new Mat(0, 0, Mat.CvType.CV_8UC1);
core.compare(m1, m2, cmp, core.CMP_EQ);
double num = 100.0 *
(1.0 - Double.valueOf(core.countNonZero(cmp)) / Double.valueOf(cmp.rows() * cmp.cols()));
return num;
}
public void test_1(String label) {
Log.e(TAG, "================================================");
Log.e(TAG, "=============== " + label);
Log.e(TAG, "================================================");
}
}

View File

@ -1,58 +0,0 @@
package org.opencv.test;
import org.opencv.Mat;
import org.opencv.core;
import android.test.AndroidTestCase;
import android.util.Log;
public class OpenCvTestCase extends AndroidTestCase {
static String TAG = "OpenCV";
static Mat gray0;
static Mat gray1;
static Mat gray2;
static Mat gray3;
static Mat gray127;
static Mat gray128;
static Mat gray255;
static Mat dst;
@Override
protected void setUp() throws Exception {
//Log.e(TAG, "setUp");
super.setUp();
gray0 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray0.setTo(0.0);
gray1 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray1.setTo(1.0);
gray2 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray2.setTo(2.0);
gray3 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray3.setTo(3.0);
gray127 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray127.setTo(127.0);
gray128 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray128.setTo(128.0);
gray255 = new Mat(10, 10, Mat.CvType.CV_8UC1); gray255.setTo(256.0);
dst = new Mat(0, 0, Mat.CvType.CV_8UC1);
assertTrue(dst.empty());
}
public static void assertMatEqual(Mat m1, Mat m2) {
assertTrue(MatDifference(m1, m2) == 0.0);
}
static public double MatDifference(Mat m1, Mat m2) {
Mat cmp = new Mat(0, 0, Mat.CvType.CV_8UC1);
core.compare(m1, m2, cmp, core.CMP_EQ);
double num = 100.0 * (1.0 - Double.valueOf(core.countNonZero(cmp)) / Double.valueOf(cmp.rows() * cmp.cols()));
return num;
}
public void test_1(String label) {
Log.e(TAG, "================================================");
Log.e(TAG, "=============== " + label);
Log.e(TAG, "================================================");
}
}

View File

@ -0,0 +1,541 @@
package org.opencv.test;
import org.opencv.core;
public class coreTest extends OpenCVTestCase {
public void test_1() {
super.test_1("CORE");
}
public void testLUTMatMatMatInt() {
fail("Not yet implemented");
}
public void testLUTMatMatMat() {
fail("Not yet implemented");
}
public void testMahalanobis() {
fail("Not yet implemented");
}
public void testAbsdiff() {
core.absdiff(gray128, gray255, dst);
assertMatEqual(gray127, dst);
}
public void testAddMatMatMatMatInt() {
fail("Not yet implemented");
}
public void testAddMatMatMatMat() {
fail("Not yet implemented");
}
public void testAddMatMatMat() {
core.add(gray128, gray128, dst);
assertMatEqual(gray255, dst);
}
public void testAddWeightedMatDoubleMatDoubleDoubleMatInt() {
fail("Not yet implemented");
}
public void testAddWeightedMatDoubleMatDoubleDoubleMat() {
fail("Not yet implemented");
}
public void testBitwise_andMatMatMatMat() {
fail("Not yet implemented");
}
public void testBitwise_andMatMatMat() {
core.bitwise_and(gray3, gray2, dst);
assertMatEqual(gray2, dst);
}
public void testBitwise_notMatMatMat() {
fail("Not yet implemented");
}
public void testBitwise_notMatMat() {
fail("Not yet implemented");
}
public void testBitwise_orMatMatMatMat() {
fail("Not yet implemented");
}
public void testBitwise_orMatMatMat() {
fail("Not yet implemented");
}
public void testBitwise_xorMatMatMatMat() {
fail("Not yet implemented");
}
public void testBitwise_xorMatMatMat() {
fail("Not yet implemented");
}
public void testCalcCovarMatrixMatMatMatIntInt() {
fail("Not yet implemented");
}
public void testCalcCovarMatrixMatMatMatInt() {
fail("Not yet implemented");
}
public void testCartToPolarMatMatMatMatBoolean() {
fail("Not yet implemented");
}
public void testCartToPolarMatMatMatMat() {
fail("Not yet implemented");
}
public void testCheckHardwareSupport() {
fail("Not yet implemented");
}
public void testCircleMatPointIntScalarIntIntInt() {
fail("Not yet implemented");
}
public void testCircleMatPointIntScalarIntInt() {
fail("Not yet implemented");
}
public void testCircleMatPointIntScalarInt() {
fail("Not yet implemented");
}
public void testCircleMatPointIntScalar() {
fail("Not yet implemented");
}
public void testCompare() {
fail("Not yet implemented");
}
public void testCompleteSymmMatBoolean() {
fail("Not yet implemented");
}
public void testCompleteSymmMat() {
fail("Not yet implemented");
}
public void testConvertScaleAbsMatMatDoubleDouble() {
fail("Not yet implemented");
}
public void testConvertScaleAbsMatMatDouble() {
fail("Not yet implemented");
}
public void testConvertScaleAbsMatMat() {
fail("Not yet implemented");
}
public void testCountNonZero() {
fail("Not yet implemented");
}
public void testCubeRoot() {
fail("Not yet implemented");
}
public void testDctMatMatInt() {
fail("Not yet implemented");
}
public void testDctMatMat() {
fail("Not yet implemented");
}
public void testDeterminant() {
fail("Not yet implemented");
}
public void testDftMatMatIntInt() {
fail("Not yet implemented");
}
public void testDftMatMatInt() {
fail("Not yet implemented");
}
public void testDftMatMat() {
fail("Not yet implemented");
}
public void testDivideMatMatMatDoubleInt() {
fail("Not yet implemented");
}
public void testDivideMatMatMatDouble() {
fail("Not yet implemented");
}
public void testDivideMatMatMat() {
fail("Not yet implemented");
}
public void testDivideDoubleMatMatInt() {
fail("Not yet implemented");
}
public void testDivideDoubleMatMat() {
fail("Not yet implemented");
}
public void testEllipseMatPointSizeDoubleDoubleDoubleScalarIntIntInt() {
fail("Not yet implemented");
}
public void testEllipseMatPointSizeDoubleDoubleDoubleScalarIntInt() {
fail("Not yet implemented");
}
public void testEllipseMatPointSizeDoubleDoubleDoubleScalarInt() {
fail("Not yet implemented");
}
public void testEllipseMatPointSizeDoubleDoubleDoubleScalar() {
fail("Not yet implemented");
}
public void testExp() {
fail("Not yet implemented");
}
public void testExtractChannel() {
fail("Not yet implemented");
}
public void testFastAtan2() {
fail("Not yet implemented");
}
public void testFlip() {
fail("Not yet implemented");
}
public void testGemmMatMatDoubleMatDoubleMatInt() {
fail("Not yet implemented");
}
public void testGemmMatMatDoubleMatDoubleMat() {
fail("Not yet implemented");
}
public void testGetOptimalDFTSize() {
fail("Not yet implemented");
}
public void testGetTickFrequency() {
fail("Not yet implemented");
}
public void testHconcat() {
fail("Not yet implemented");
}
public void testIdctMatMatInt() {
fail("Not yet implemented");
}
public void testIdctMatMat() {
fail("Not yet implemented");
}
public void testIdftMatMatIntInt() {
fail("Not yet implemented");
}
public void testIdftMatMatInt() {
fail("Not yet implemented");
}
public void testIdftMatMat() {
fail("Not yet implemented");
}
public void testInRange() {
fail("Not yet implemented");
}
public void testInsertChannel() {
fail("Not yet implemented");
}
public void testInvertMatMatInt() {
fail("Not yet implemented");
}
public void testInvertMatMat() {
fail("Not yet implemented");
}
public void testLineMatPointPointScalarIntIntInt() {
fail("Not yet implemented");
}
public void testLineMatPointPointScalarIntInt() {
fail("Not yet implemented");
}
public void testLineMatPointPointScalarInt() {
fail("Not yet implemented");
}
public void testLineMatPointPointScalar() {
fail("Not yet implemented");
}
public void testLog() {
fail("Not yet implemented");
}
public void testMagnitude() {
fail("Not yet implemented");
}
public void testMax() {
fail("Not yet implemented");
}
public void testMeanStdDevMatMatMatMat() {
fail("Not yet implemented");
}
public void testMeanStdDevMatMatMat() {
fail("Not yet implemented");
}
public void testMin() {
fail("Not yet implemented");
}
public void testMulSpectrumsMatMatMatIntBoolean() {
fail("Not yet implemented");
}
public void testMulSpectrumsMatMatMatInt() {
fail("Not yet implemented");
}
public void testMulTransposedMatMatBooleanMatDoubleInt() {
fail("Not yet implemented");
}
public void testMulTransposedMatMatBooleanMatDouble() {
fail("Not yet implemented");
}
public void testMulTransposedMatMatBooleanMat() {
fail("Not yet implemented");
}
public void testMulTransposedMatMatBoolean() {
fail("Not yet implemented");
}
public void testMultiplyMatMatMatDoubleInt() {
fail("Not yet implemented");
}
public void testMultiplyMatMatMatDouble() {
fail("Not yet implemented");
}
public void testMultiplyMatMatMat() {
fail("Not yet implemented");
}
public void testNormMatIntMat() {
fail("Not yet implemented");
}
public void testNormMatInt() {
fail("Not yet implemented");
}
public void testNormMat() {
fail("Not yet implemented");
}
public void testNormMatMatIntMat() {
fail("Not yet implemented");
}
public void testNormMatMatInt() {
fail("Not yet implemented");
}
public void testNormMatMat() {
fail("Not yet implemented");
}
public void testNormalizeMatMatDoubleDoubleIntIntMat() {
fail("Not yet implemented");
}
public void testNormalizeMatMatDoubleDoubleIntInt() {
fail("Not yet implemented");
}
public void testNormalizeMatMatDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testNormalizeMatMatDoubleDouble() {
fail("Not yet implemented");
}
public void testNormalizeMatMatDouble() {
fail("Not yet implemented");
}
public void testNormalizeMatMat() {
fail("Not yet implemented");
}
public void testPerspectiveTransform() {
fail("Not yet implemented");
}
public void testPhaseMatMatMatBoolean() {
fail("Not yet implemented");
}
public void testPhaseMatMatMat() {
fail("Not yet implemented");
}
public void testPolarToCartMatMatMatMatBoolean() {
fail("Not yet implemented");
}
public void testPolarToCartMatMatMatMat() {
fail("Not yet implemented");
}
public void testPow() {
fail("Not yet implemented");
}
public void testRandn() {
fail("Not yet implemented");
}
public void testRandu() {
fail("Not yet implemented");
}
public void testRectangleMatPointPointScalarIntIntInt() {
fail("Not yet implemented");
}
public void testRectangleMatPointPointScalarIntInt() {
fail("Not yet implemented");
}
public void testRectangleMatPointPointScalarInt() {
fail("Not yet implemented");
}
public void testRectangleMatPointPointScalar() {
fail("Not yet implemented");
}
public void testReduceMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testReduceMatMatIntInt() {
fail("Not yet implemented");
}
public void testRepeat() {
fail("Not yet implemented");
}
public void testScaleAdd() {
fail("Not yet implemented");
}
public void testSetIdentityMatScalar() {
fail("Not yet implemented");
}
public void testSetIdentityMat() {
fail("Not yet implemented");
}
public void testSetUseOptimized() {
fail("Not yet implemented");
}
public void testSolveMatMatMatInt() {
fail("Not yet implemented");
}
public void testSolveMatMatMat() {
fail("Not yet implemented");
}
public void testSolveCubic() {
fail("Not yet implemented");
}
public void testSolvePolyMatMatInt() {
fail("Not yet implemented");
}
public void testSolvePolyMatMat() {
fail("Not yet implemented");
}
public void testSort() {
fail("Not yet implemented");
}
public void testSortIdx() {
fail("Not yet implemented");
}
public void testSqrt() {
fail("Not yet implemented");
}
public void testSubtractMatMatMatMatInt() {
fail("Not yet implemented");
}
public void testSubtractMatMatMatMat() {
fail("Not yet implemented");
}
public void testSubtractMatMatMat() {
fail("Not yet implemented");
}
public void testTransform() {
fail("Not yet implemented");
}
public void testTranspose() {
fail("Not yet implemented");
}
public void testUseOptimized() {
fail("Not yet implemented");
}
public void testVconcat() {
fail("Not yet implemented");
}
}

View File

@ -0,0 +1,6 @@
package org.opencv.test;
public class features2dTest extends OpenCVTestCase {
}

View File

@ -0,0 +1,26 @@
package org.opencv.test;
public class highguiTest extends OpenCVTestCase {
public void testDestroyAllWindows() {
fail("Not yet implemented");
}
public void testImdecode() {
fail("Not yet implemented");
}
public void testStartWindowThread() {
fail("Not yet implemented");
}
public void testWaitKeyInt() {
fail("Not yet implemented");
}
public void testWaitKey() {
fail("Not yet implemented");
}
}

View File

@ -0,0 +1,644 @@
package org.opencv.test;
import org.opencv.Size;
import org.opencv.imgproc;
public class imgprocTest extends OpenCVTestCase {
public void test_1() {
super.test_1("IMGPROC");
}
//FIXME: this test crashes
//public void test_Can_Call_accumulate() {
// dst = new Mat(gray1.rows(), gray1.cols(), Mat.CvType.CV_32FC1);
// imgproc.accumulate(gray1, dst);
// assertMatEqual(gray1, dst);
//}
public void testCannyMatMatDoubleDoubleIntBoolean() {
fail("Not yet implemented");
}
public void testCannyMatMatDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testCannyMatMatDoubleDouble() {
fail("Not yet implemented");
}
public void testGaussianBlurMatMatSizeDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testGaussianBlurMatMatSizeDoubleDouble() {
fail("Not yet implemented");
}
public void testGaussianBlurMatMatSizeDouble() {
fail("Not yet implemented");
}
public void testHoughCirclesMatMatIntDoubleDoubleDoubleDoubleIntInt() {
fail("Not yet implemented");
}
public void testHoughCirclesMatMatIntDoubleDoubleDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testHoughCirclesMatMatIntDoubleDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testHoughCirclesMatMatIntDoubleDoubleDouble() {
fail("Not yet implemented");
}
public void testHoughCirclesMatMatIntDoubleDouble() {
fail("Not yet implemented");
}
public void testHoughLinesMatMatDoubleDoubleIntDoubleDouble() {
fail("Not yet implemented");
}
public void testHoughLinesMatMatDoubleDoubleIntDouble() {
fail("Not yet implemented");
}
public void testHoughLinesMatMatDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testHoughLinesPMatMatDoubleDoubleIntDoubleDouble() {
fail("Not yet implemented");
}
public void testHoughLinesPMatMatDoubleDoubleIntDouble() {
fail("Not yet implemented");
}
public void testHoughLinesPMatMatDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testLaplacianMatMatIntIntDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testLaplacianMatMatIntIntDoubleDouble() {
fail("Not yet implemented");
}
public void testLaplacianMatMatIntIntDouble() {
fail("Not yet implemented");
}
public void testLaplacianMatMatIntInt() {
fail("Not yet implemented");
}
public void testLaplacianMatMatInt() {
fail("Not yet implemented");
}
public void testScharrMatMatIntIntIntDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testScharrMatMatIntIntIntDoubleDouble() {
fail("Not yet implemented");
}
public void testScharrMatMatIntIntIntDouble() {
fail("Not yet implemented");
}
public void testScharrMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testSobelMatMatIntIntIntIntDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testSobelMatMatIntIntIntIntDoubleDouble() {
fail("Not yet implemented");
}
public void testSobelMatMatIntIntIntIntDouble() {
fail("Not yet implemented");
}
public void testSobelMatMatIntIntIntInt() {
fail("Not yet implemented");
}
public void testSobelMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testAccumulateMatMatMat() {
fail("Not yet implemented");
}
public void testAccumulateMatMat() {
fail("Not yet implemented");
}
public void testAccumulateProductMatMatMatMat() {
fail("Not yet implemented");
}
public void testAccumulateProductMatMatMat() {
fail("Not yet implemented");
}
public void testAccumulateSquareMatMatMat() {
fail("Not yet implemented");
}
public void testAccumulateSquareMatMat() {
fail("Not yet implemented");
}
public void testAccumulateWeightedMatMatDoubleMat() {
fail("Not yet implemented");
}
public void testAccumulateWeightedMatMatDouble() {
fail("Not yet implemented");
}
public void testAdaptiveThreshold() {
fail("Not yet implemented");
}
public void testArcLength() {
fail("Not yet implemented");
}
public void testBilateralFilterMatMatIntDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testBilateralFilterMatMatIntDoubleDouble() {
fail("Not yet implemented");
}
public void testBlurMatMatSizePointInt() {
fail("Not yet implemented");
}
public void testBlurMatMatSizePoint() {
fail("Not yet implemented");
}
public void testBlurMatMatSize() {
Size sz = new Size(3, 3);
imgproc.blur(gray0, dst, sz);
assertMatEqual(gray0, dst);
imgproc.blur(gray255, dst, sz);
assertMatEqual(gray255, dst);
}
public void testBorderInterpolate() {
fail("Not yet implemented");
}
public void testBoxFilterMatMatIntSizePointBooleanInt() {
fail("Not yet implemented");
}
public void testBoxFilterMatMatIntSizePointBoolean() {
fail("Not yet implemented");
}
public void testBoxFilterMatMatIntSizePoint() {
fail("Not yet implemented");
}
public void testBoxFilterMatMatIntSize() {
Size sz = new Size(3, 3);
imgproc.boxFilter(gray0, dst, 8, sz);
assertMatEqual(gray0, dst);
}
public void testCompareHist() {
fail("Not yet implemented");
}
public void testContourAreaMatBoolean() {
fail("Not yet implemented");
}
public void testContourAreaMat() {
fail("Not yet implemented");
}
public void testConvertMapsMatMatMatMatIntBoolean() {
fail("Not yet implemented");
}
public void testConvertMapsMatMatMatMatInt() {
fail("Not yet implemented");
}
public void testCopyMakeBorderMatMatIntIntIntIntIntScalar() {
fail("Not yet implemented");
}
public void testCopyMakeBorderMatMatIntIntIntIntInt() {
fail("Not yet implemented");
}
public void testCornerEigenValsAndVecsMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testCornerEigenValsAndVecsMatMatIntInt() {
fail("Not yet implemented");
}
public void testCornerHarrisMatMatIntIntDoubleInt() {
fail("Not yet implemented");
}
public void testCornerHarrisMatMatIntIntDouble() {
fail("Not yet implemented");
}
public void testCornerMinEigenValMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testCornerMinEigenValMatMatIntInt() {
fail("Not yet implemented");
}
public void testCornerMinEigenValMatMatInt() {
fail("Not yet implemented");
}
public void testCvtColorMatMatIntInt() {
fail("Not yet implemented");
}
public void testCvtColorMatMatInt() {
fail("Not yet implemented");
}
public void testDilateMatMatMatPointIntIntScalar() {
fail("Not yet implemented");
}
public void testDilateMatMatMatPointIntInt() {
fail("Not yet implemented");
}
public void testDilateMatMatMatPointInt() {
fail("Not yet implemented");
}
public void testDilateMatMatMatPoint() {
fail("Not yet implemented");
}
public void testDilateMatMatMat() {
fail("Not yet implemented");
}
public void testDistanceTransform() {
fail("Not yet implemented");
}
public void testEqualizeHist() {
fail("Not yet implemented");
}
public void testErodeMatMatMatPointIntIntScalar() {
fail("Not yet implemented");
}
public void testErodeMatMatMatPointIntInt() {
fail("Not yet implemented");
}
public void testErodeMatMatMatPointInt() {
fail("Not yet implemented");
}
public void testErodeMatMatMatPoint() {
fail("Not yet implemented");
}
public void testErodeMatMatMat() {
fail("Not yet implemented");
}
public void testFilter2DMatMatIntMatPointDoubleInt() {
fail("Not yet implemented");
}
public void testFilter2DMatMatIntMatPointDouble() {
fail("Not yet implemented");
}
public void testFilter2DMatMatIntMatPoint() {
fail("Not yet implemented");
}
public void testFilter2DMatMatIntMat() {
fail("Not yet implemented");
}
public void testGetDefaultNewCameraMatrixMatSizeBoolean() {
fail("Not yet implemented");
}
public void testGetDefaultNewCameraMatrixMatSize() {
fail("Not yet implemented");
}
public void testGetDefaultNewCameraMatrixMat() {
fail("Not yet implemented");
}
public void testGetDerivKernelsMatMatIntIntIntBooleanInt() {
fail("Not yet implemented");
}
public void testGetDerivKernelsMatMatIntIntIntBoolean() {
fail("Not yet implemented");
}
public void testGetDerivKernelsMatMatIntIntInt() {
fail("Not yet implemented");
}
public void testGetGaussianKernelIntDoubleInt() {
fail("Not yet implemented");
}
public void testGetGaussianKernelIntDouble() {
fail("Not yet implemented");
}
public void testGetRectSubPixMatSizePointMatInt() {
fail("Not yet implemented");
}
public void testGetRectSubPixMatSizePointMat() {
fail("Not yet implemented");
}
public void testGetRotationMatrix2D() {
fail("Not yet implemented");
}
public void testGetStructuringElementIntSizePoint() {
fail("Not yet implemented");
}
public void testGetStructuringElementIntSize() {
fail("Not yet implemented");
}
public void testGoodFeaturesToTrackMatMatIntDoubleDoubleMatIntBooleanDouble() {
fail("Not yet implemented");
}
public void testGoodFeaturesToTrackMatMatIntDoubleDoubleMatIntBoolean() {
fail("Not yet implemented");
}
public void testGoodFeaturesToTrackMatMatIntDoubleDoubleMatInt() {
fail("Not yet implemented");
}
public void testGoodFeaturesToTrackMatMatIntDoubleDoubleMat() {
fail("Not yet implemented");
}
public void testGoodFeaturesToTrackMatMatIntDoubleDouble() {
fail("Not yet implemented");
}
public void testGrabCutMatMatRectMatMatIntInt() {
fail("Not yet implemented");
}
public void testGrabCutMatMatRectMatMatInt() {
fail("Not yet implemented");
}
public void testInitUndistortRectifyMap() {
fail("Not yet implemented");
}
public void testInitWideAngleProjMapMatMatSizeIntIntMatMatIntDouble() {
fail("Not yet implemented");
}
public void testInitWideAngleProjMapMatMatSizeIntIntMatMatInt() {
fail("Not yet implemented");
}
public void testInitWideAngleProjMapMatMatSizeIntIntMatMat() {
fail("Not yet implemented");
}
public void testInpaint() {
fail("Not yet implemented");
}
public void testIntegralMatMatInt() {
fail("Not yet implemented");
}
public void testIntegralMatMat() {
fail("Not yet implemented");
}
public void testIntegral2MatMatMatInt() {
fail("Not yet implemented");
}
public void testIntegral2MatMatMat() {
fail("Not yet implemented");
}
public void testIntegral3MatMatMatMatInt() {
fail("Not yet implemented");
}
public void testIntegral3MatMatMatMat() {
fail("Not yet implemented");
}
public void testInvertAffineTransform() {
fail("Not yet implemented");
}
public void testIsContourConvex() {
fail("Not yet implemented");
}
public void testMatchShapes() {
fail("Not yet implemented");
}
public void testMatchTemplate() {
fail("Not yet implemented");
}
public void testMedianBlur() {
fail("Not yet implemented");
}
public void testMorphologyExMatMatIntMatPointIntIntScalar() {
fail("Not yet implemented");
}
public void testMorphologyExMatMatIntMatPointIntInt() {
fail("Not yet implemented");
}
public void testMorphologyExMatMatIntMatPointInt() {
fail("Not yet implemented");
}
public void testMorphologyExMatMatIntMatPoint() {
fail("Not yet implemented");
}
public void testMorphologyExMatMatIntMat() {
fail("Not yet implemented");
}
public void testPointPolygonTest() {
fail("Not yet implemented");
}
public void testPreCornerDetectMatMatIntInt() {
fail("Not yet implemented");
}
public void testPreCornerDetectMatMatInt() {
fail("Not yet implemented");
}
public void testPyrDownMatMatSize() {
fail("Not yet implemented");
}
public void testPyrDownMatMat() {
fail("Not yet implemented");
}
public void testPyrUpMatMatSize() {
fail("Not yet implemented");
}
public void testPyrUpMatMat() {
fail("Not yet implemented");
}
public void testRemapMatMatMatMatIntIntScalar() {
fail("Not yet implemented");
}
public void testRemapMatMatMatMatIntInt() {
fail("Not yet implemented");
}
public void testRemapMatMatMatMatInt() {
fail("Not yet implemented");
}
public void testResizeMatMatSizeDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testResizeMatMatSizeDoubleDouble() {
fail("Not yet implemented");
}
public void testResizeMatMatSizeDouble() {
fail("Not yet implemented");
}
public void testResizeMatMatSize() {
fail("Not yet implemented");
}
public void testSepFilter2DMatMatIntMatMatPointDoubleInt() {
fail("Not yet implemented");
}
public void testSepFilter2DMatMatIntMatMatPointDouble() {
fail("Not yet implemented");
}
public void testSepFilter2DMatMatIntMatMatPoint() {
fail("Not yet implemented");
}
public void testSepFilter2DMatMatIntMatMat() {
fail("Not yet implemented");
}
public void testThreshold() {
fail("Not yet implemented");
}
public void testUndistortMatMatMatMatMat() {
fail("Not yet implemented");
}
public void testUndistortMatMatMatMat() {
fail("Not yet implemented");
}
public void testWarpAffineMatMatMatSizeIntIntScalar() {
fail("Not yet implemented");
}
public void testWarpAffineMatMatMatSizeIntInt() {
fail("Not yet implemented");
}
public void testWarpAffineMatMatMatSizeInt() {
fail("Not yet implemented");
}
public void testWarpAffineMatMatMatSize() {
fail("Not yet implemented");
}
public void testWarpPerspectiveMatMatMatSizeIntIntScalar() {
fail("Not yet implemented");
}
public void testWarpPerspectiveMatMatMatSizeIntInt() {
fail("Not yet implemented");
}
public void testWarpPerspectiveMatMatMatSizeInt() {
fail("Not yet implemented");
}
public void testWarpPerspectiveMatMatMatSize() {
fail("Not yet implemented");
}
public void testWatershed() {
fail("Not yet implemented");
}
}

View File

@ -0,0 +1,6 @@
package org.opencv.test;
public class objdetectTest extends OpenCVTestCase {
}

View File

@ -0,0 +1,30 @@
package org.opencv.test;
public class videoTest extends OpenCVTestCase {
public void testCalcGlobalOrientation() {
fail("Not yet implemented");
}
public void testCalcMotionGradientMatMatMatDoubleDoubleInt() {
fail("Not yet implemented");
}
public void testCalcMotionGradientMatMatMatDoubleDouble() {
fail("Not yet implemented");
}
public void testCalcOpticalFlowFarneback() {
fail("Not yet implemented");
}
public void testEstimateRigidTransform() {
fail("Not yet implemented");
}
public void testUpdateMotionHistory() {
fail("Not yet implemented");
}
}