Java API: (per code review) renaming and moving utility classes
Testing: 1079/0/584
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user