import java.io.File;
import java.io.IOException;
-//import java.util.Iterator;
-
-//import junit.framework.TestCase;
import junit.framework.Assert;
import org.opencv.android.Utils;
// Note: VideoCapture tests turned off by flag field in VideoCaptureTest class
-// if(OpenCVTestCase.passNYI) {
-// // turn off problematic camera tests
-// Iterator<TestCase> it = androidTestRunner.getTestCases().iterator();
-// while (it.hasNext()) {
-// String name = it.next().toString();
-// if (name.contains("VideoCaptureTest"))
-// it.remove();
-// }
-// }
-
-
super.onStart();
}
super.setUp();
capture = null;
- isEnabled = false;
+ isTestCaseEnabled = false;
isSucceed = false;
isOpened = false;
}
public void testGet() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testGetSupportedPreviewSizes() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testGrab() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testGrabFromRealCamera() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testIsOpened() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testIsOpenedRealCamera() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testOpen() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testRead() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testRelease() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testRetrieveMat() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testRetrieveMatInt() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testSet() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}
}
public void testVideoCaptureInt() {
- if (!isEnabled) {
+ if (!isTestCaseEnabled) {
fail("Not yet implemented");
}