rename special_variable_functions testcase to special_variable_macros

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-07-30 06:15:50 +00:00
commit 75aa67b99c
6 changed files with 26 additions and 26 deletions

View file

@ -1,28 +0,0 @@
import special_variable_functions.*;
public class special_variable_functions_runme {
static {
try {
System.loadLibrary("special_variable_functions");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
System.exit(1);
}
}
public static void main(String argv[]) {
Name name = new Name();
if (!special_variable_functions.testFred(name).equals("none"))
throw new RuntimeException("test failed");
if (!special_variable_functions.testJack(name).equals("$specialname"))
throw new RuntimeException("test failed");
if (!special_variable_functions.testJill(name).equals("jilly"))
throw new RuntimeException("test failed");
if (!special_variable_functions.testMary(name).equals("SWIGTYPE_p_NameWrap"))
throw new RuntimeException("test failed");
NewName newName = NewName.factory("factoryname");
name = newName.getStoredName();
}
}