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
|
|
@ -56,20 +56,20 @@ public class java_director_runme {
|
|||
QuuxContainer qc = new QuuxContainer();
|
||||
|
||||
qc.push(new Quux("element 1"));
|
||||
qc.push(new MyQuux("element 2"));
|
||||
qc.push(new MyQuux("element 3"));
|
||||
qc.push(new java_director_MyQuux("element 2"));
|
||||
qc.push(new java_director_MyQuux("element 3"));
|
||||
qc.push(new Quux("element 4"));
|
||||
|
||||
return qc;
|
||||
}
|
||||
}
|
||||
|
||||
class MyQuux extends Quux {
|
||||
public MyQuux(String arg) {
|
||||
class java_director_MyQuux extends Quux {
|
||||
public java_director_MyQuux(String arg) {
|
||||
super(arg);
|
||||
}
|
||||
|
||||
public String director_method() {
|
||||
return "MyQuux:" + member();
|
||||
return "java_director_MyQuux:" + member();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue