Java API: (per code review) renaming and moving utility classes

Testing: 1079/0/584
This commit is contained in:
Andrey Pavlenko
2011-08-03 08:53:27 +00:00
parent 02d5d93c3a
commit 25db453812
7 changed files with 78 additions and 78 deletions

View File

@@ -3,7 +3,7 @@ package org.opencv.test;
import java.util.ArrayList;
import java.util.List;
import org.opencv.Converters;
import org.opencv.utils.Converters;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.Point;

View File

@@ -5,7 +5,7 @@ import android.test.AndroidTestRunner;
import android.test.InstrumentationTestRunner;
import android.util.Log;
import org.opencv.Android;
import org.opencv.android.Utils;
import java.io.File;
import java.io.IOException;
@@ -50,9 +50,9 @@ public class OpenCVTestRunner extends InstrumentationTestRunner {
@Override
public void onStart() {
context = getContext();
LENA_PATH = Android.ExportResource(context, R.drawable.lena);
CHESS_PATH = Android.ExportResource(context, R.drawable.chessboard);
LBPCASCADE_FRONTALFACE_PATH = Android.ExportResource(context, R.raw.lbpcascade_frontalface);
LENA_PATH = Utils.ExportResource(context, R.drawable.lena);
CHESS_PATH = Utils.ExportResource(context, R.drawable.chessboard);
LBPCASCADE_FRONTALFACE_PATH = Utils.ExportResource(context, R.raw.lbpcascade_frontalface);
// List<TestCase> testCases = androidTestRunner.getTestCases();
// Collections.shuffle(testCases); //shuffle the tests order

View File

@@ -3,7 +3,7 @@ package org.opencv.test.core;
import java.util.ArrayList;
import java.util.List;
import org.opencv.Converters;
import org.opencv.utils.Converters;
import org.opencv.core.Core;
import org.opencv.core.CvException;
import org.opencv.core.CvType;