Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e06c5b6f
Commit
e06c5b6f
authored
Nov 12, 2012
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code review comments applied.
parent
baef62b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
29 deletions
+15
-29
OpenCVTestCase.java
...java/android_test/src/org/opencv/test/OpenCVTestCase.java
+1
-1
OpenCVTestRunner.java
...va/android_test/src/org/opencv/test/OpenCVTestRunner.java
+0
-14
VideoCaptureTest.java
...id_test/src/org/opencv/test/highgui/VideoCaptureTest.java
+14
-14
No files found.
modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java
View file @
e06c5b6f
...
...
@@ -28,7 +28,7 @@ public class OpenCVTestCase extends TestCase {
//change to 'true' to unblock fail on fail("Not yet implemented")
public
static
final
boolean
passNYI
=
true
;
protected
static
boolean
isEnabled
=
true
;
protected
static
boolean
is
TestCase
Enabled
=
true
;
protected
static
final
int
matSize
=
10
;
protected
static
final
double
EPS
=
0.001
;
...
...
modules/java/android_test/src/org/opencv/test/OpenCVTestRunner.java
View file @
e06c5b6f
...
...
@@ -2,9 +2,6 @@ package org.opencv.test;
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
;
...
...
@@ -74,17 +71,6 @@ public class OpenCVTestRunner extends InstrumentationTestRunner {
// 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
();
}
...
...
modules/java/android_test/src/org/opencv/test/highgui/VideoCaptureTest.java
View file @
e06c5b6f
...
...
@@ -19,13 +19,13 @@ public class VideoCaptureTest extends OpenCVTestCase {
super
.
setUp
();
capture
=
null
;
isEnabled
=
false
;
is
TestCase
Enabled
=
false
;
isSucceed
=
false
;
isOpened
=
false
;
}
public
void
testGet
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -39,7 +39,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testGetSupportedPreviewSizes
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -54,7 +54,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testGrab
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -64,7 +64,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testGrabFromRealCamera
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -78,7 +78,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testIsOpened
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -87,7 +87,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testIsOpenedRealCamera
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -101,7 +101,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testOpen
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -116,7 +116,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testRead
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -132,7 +132,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testRelease
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -147,7 +147,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testRetrieveMat
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -164,7 +164,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testRetrieveMatInt
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -181,7 +181,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testSet
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
@@ -205,7 +205,7 @@ public class VideoCaptureTest extends OpenCVTestCase {
}
public
void
testVideoCaptureInt
()
{
if
(!
isEnabled
)
{
if
(!
is
TestCase
Enabled
)
{
fail
(
"Not yet implemented"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment