Fix for the imports testcase breaking - many of the tests have classes with the same names and so these were being compiled as .class files in this directory. Solved this by giving these classes unique names based on the test name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c2e9c01ab1
commit
dadc8efd14
10 changed files with 65 additions and 65 deletions
|
|
@ -14,13 +14,13 @@ public class director_basic_runme {
|
|||
|
||||
public static void main(String argv[]) {
|
||||
|
||||
MyFoo a = new MyFoo();
|
||||
director_basic_MyFoo a = new director_basic_MyFoo();
|
||||
|
||||
if (!a.ping().equals("MyFoo::ping()")) {
|
||||
if (!a.ping().equals("director_basic_MyFoo::ping()")) {
|
||||
throw new RuntimeException ( "a.ping()" );
|
||||
}
|
||||
|
||||
if (!a.pong().equals("Foo::pong();MyFoo::ping()")) {
|
||||
if (!a.pong().equals("Foo::pong();director_basic_MyFoo::ping()")) {
|
||||
throw new RuntimeException ( "a.pong()" );
|
||||
}
|
||||
|
||||
|
|
@ -39,9 +39,9 @@ public class director_basic_runme {
|
|||
}
|
||||
}
|
||||
|
||||
class MyFoo extends Foo {
|
||||
class director_basic_MyFoo extends Foo {
|
||||
public String ping() {
|
||||
return "MyFoo::ping()";
|
||||
return "director_basic_MyFoo::ping()";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue