updating Eclipse projects settings

This commit is contained in:
Andrey Pavlenko 2012-04-09 14:14:41 +00:00
parent c208b58e6b
commit d03d54f8c1
8 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>OpenCV-2.3.1</name> <name>OpenCV-2.4.beta</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@ -17,8 +17,8 @@
the package of org.opencv. To run the tests use the command: the package of org.opencv. To run the tests use the command:
"adb shell am instrument -w org.opencv.test/android.test.InstrumentationTestRunner" "adb shell am instrument -w org.opencv.test/android.test.InstrumentationTestRunner"
--> -->
<instrumentation android:name="android.test.InstrumentationTestRunner" <instrumentation android:name="org.opencv.test.OpenCVTestRunner"
android:targetPackage="org.opencv" android:targetPackage="org.opencv.test"
android:label="Tests for org.opencv"/> android:label="Tests for org.opencv"/>
<uses-permission android:name="android.permission.CAMERA"/> <uses-permission android:name="android.permission.CAMERA"/>

View File

@ -11,6 +11,8 @@ import org.opencv.core.Mat;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import junit.framework.Assert;
/** /**
* This only class is Android specific. * This only class is Android specific.
* *
@ -53,7 +55,9 @@ public class OpenCVTestRunner extends InstrumentationTestRunner {
@Override @Override
public void onStart() { public void onStart() {
Log.e("OpenCVTestRunner", "onStart()");
context = getContext(); context = getContext();
Assert.assertTrue("Context can't be 'null'", context != null);
LENA_PATH = Utils.exportResource(context, R.drawable.lena); LENA_PATH = Utils.exportResource(context, R.drawable.lena);
CHESS_PATH = Utils.exportResource(context, R.drawable.chessboard); CHESS_PATH = Utils.exportResource(context, R.drawable.chessboard);
LBPCASCADE_FRONTALFACE_PATH = Utils.exportResource(context, R.raw.lbpcascade_frontalface); LBPCASCADE_FRONTALFACE_PATH = Utils.exportResource(context, R.raw.lbpcascade_frontalface);

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>Tutorial 1 Basic - 0. Android Camera</name> <name>Tutorial 0 (Basic) - Android Camera</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>Tutorial 1 Basic - 1. Add OpenCV</name> <name>Tutorial 1 (Basic) - Add OpenCV</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>Tutorial 1 Basic - 2. Use OpenCV Camera</name> <name>Tutorial 2 (Basic) - Use OpenCV Camera</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>Tutorial 2 Advanced - 1. Add Native OpenCV</name> <name>Tutorial 3 (Advanced) - Add Native OpenCV</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<projectDescription> <projectDescription>
<name>Tutorial 2 Advanced - 2. Mix Java+Native OpenCV</name> <name>Tutorial 4 (Advanced) - Mix Java+Native OpenCV</name>
<comment></comment> <comment></comment>
<projects> <projects>
</projects> </projects>