Added some new tests for Java API

This commit is contained in:
Andrey Kamaev 2011-07-27 17:06:33 +00:00
parent e3ede92db6
commit eff9eda9a6
4 changed files with 1899 additions and 1832 deletions

View File

@ -10,7 +10,6 @@ import org.opencv.core.Point3;
import org.opencv.core.Scalar;
import org.opencv.core.Size;
import org.opencv.test.OpenCVTestCase;
import org.opencv.test.OpenCVTestRunner;
import java.util.ArrayList;
import java.util.List;

View File

@ -192,7 +192,7 @@ public class HOGDescriptorTest extends OpenCVTestCase {
public void testHOGDescriptor() {
HOGDescriptor hog = new HOGDescriptor();
assertTrue(null != hog);
assertNotNull(hog);
assertEquals(HOGDescriptor.DEFAULT_NLEVELS, hog.get_nlevels());
}

View File

@ -1,39 +1,42 @@
package org.opencv.test.video;
import org.opencv.test.OpenCVTestCase;
import org.opencv.video.KalmanFilter;
public class KalmanFilterTest extends OpenCVTestCase {
protected void setUp() throws Exception {
super.setUp();
}
protected void setUp() throws Exception {
super.setUp();
}
public void testCorrect() {
fail("Not yet implemented");
}
public void testCorrect() {
fail("Not yet implemented");
}
public void testKalmanFilter() {
fail("Not yet implemented");
}
public void testKalmanFilter() {
KalmanFilter kf = new KalmanFilter();
public void testKalmanFilterIntInt() {
fail("Not yet implemented");
}
assertNotNull(kf);
}
public void testKalmanFilterIntIntInt() {
fail("Not yet implemented");
}
public void testKalmanFilterIntInt() {
fail("Not yet implemented");
}
public void testKalmanFilterIntIntIntInt() {
fail("Not yet implemented");
}
public void testKalmanFilterIntIntInt() {
fail("Not yet implemented");
}
public void testPredict() {
fail("Not yet implemented");
}
public void testKalmanFilterIntIntIntInt() {
fail("Not yet implemented");
}
public void testPredictMat() {
fail("Not yet implemented");
}
public void testPredict() {
fail("Not yet implemented");
}
public void testPredictMat() {
fail("Not yet implemented");
}
}