Java API: class KDTree is added to ignore list, JNI funcs names for renamed classes are fixed

This commit is contained in:
Andrey Pavlenko 2011-08-02 08:45:06 +00:00
parent 6ff975af9e
commit d86605f6a7
2 changed files with 5 additions and 105 deletions

View File

@ -1,103 +0,0 @@
package org.opencv.test.core;
import org.opencv.test.OpenCVTestCase;
public class KDTreeTest extends OpenCVTestCase {
protected void setUp() throws Exception {
super.setUp();
}
public void testBuildMat() {
fail("Not yet implemented");
}
public void testBuildMatBoolean() {
fail("Not yet implemented");
}
public void testBuildMatMat() {
fail("Not yet implemented");
}
public void testBuildMatMatBoolean() {
fail("Not yet implemented");
}
public void testDims() {
fail("Not yet implemented");
}
public void testFindNearestMatIntIntMat() {
fail("Not yet implemented");
}
public void testFindNearestMatIntIntMatMat() {
fail("Not yet implemented");
}
public void testFindNearestMatIntIntMatMatMat() {
fail("Not yet implemented");
}
public void testFindNearestMatIntIntMatMatMatMat() {
fail("Not yet implemented");
}
public void testFindOrthoRangeMatMatMat() {
fail("Not yet implemented");
}
public void testFindOrthoRangeMatMatMatMat() {
fail("Not yet implemented");
}
public void testFindOrthoRangeMatMatMatMatMat() {
fail("Not yet implemented");
}
public void testGet_maxDepth() {
fail("Not yet implemented");
}
public void testGet_normType() {
fail("Not yet implemented");
}
public void testGet_points() {
fail("Not yet implemented");
}
public void testGetPointsMatMat() {
fail("Not yet implemented");
}
public void testGetPointsMatMatMat() {
fail("Not yet implemented");
}
public void testKDTree() {
fail("Not yet implemented");
}
public void testKDTreeMat() {
fail("Not yet implemented");
}
public void testKDTreeMatBoolean() {
fail("Not yet implemented");
}
public void testKDTreeMatMat() {
fail("Not yet implemented");
}
public void testKDTreeMatMatBoolean() {
fail("Not yet implemented");
}
public void testSet_normType() {
fail("Not yet implemented");
}
}

View File

@ -8,7 +8,7 @@ except:
class_ignore_list = (
#core
"FileNode", "FileStorage",
"FileNode", "FileStorage", "KDTree",
#highgui
"VideoWriter", "VideoCapture",
#features2d
@ -1069,6 +1069,9 @@ extern "C" {
c_prologue.append("%s %s;" % (a.ctype, a.name))
rtype = type_dict[fi.ctype].get("jni_type", "jdoubleArray")
clazz = self.Module
if fi.classname:
clazz = self.classes[fi.classname].jname
cpp_code.write ( Template( \
"""
@ -1099,7 +1102,7 @@ JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_${clazz}_$fname
""" ).substitute( \
rtype = rtype, \
module = self.module, \
clazz = fi.classname or self.Module, \
clazz = clazz, \
fname = fi.jni_name + ["",suffix][isoverload], \
args = ", ".join(["%s %s" % (type_dict[a.ctype].get("jni_type"), a.name) for a in jni_args]), \
prologue = "\n ".join(c_prologue), \