rename package testcase to packageoption as package is a Java keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9128626a71
commit
0df0a87981
7 changed files with 9 additions and 9 deletions
|
|
@ -422,7 +422,7 @@ C_TEST_CASES += \
|
|||
MULTI_CPP_TEST_CASES += \
|
||||
clientdata_prop \
|
||||
imports \
|
||||
package \
|
||||
packageoption \
|
||||
mod \
|
||||
template_typedef_import \
|
||||
multi_import
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
package_a
|
||||
package_b
|
||||
2
Examples/test-suite/packageoption.list
Normal file
2
Examples/test-suite/packageoption.list
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
packageoption_a
|
||||
packageoption_b
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
%module(package="C") "package_a";
|
||||
%module(package="C") "packageoption_a";
|
||||
|
||||
%inline %{
|
||||
class A
|
||||
|
|
@ -7,4 +7,4 @@ class A
|
|||
int testInt() { return 2;}
|
||||
};
|
||||
|
||||
%}
|
||||
%}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
%module(package="C") "package_b";
|
||||
%module(package="C") "packageoption_b";
|
||||
|
||||
%inline %{
|
||||
class B
|
||||
|
|
@ -7,4 +7,4 @@ class B
|
|||
int testInt() { return 4; }
|
||||
};
|
||||
|
||||
%}
|
||||
%}
|
||||
|
|
@ -2,8 +2,8 @@
|
|||
use strict;
|
||||
use Test::More tests => 4;
|
||||
|
||||
BEGIN { use_ok('package_a'); }
|
||||
BEGIN { use_ok('package_b'); }
|
||||
BEGIN { use_ok('packageoption_a'); }
|
||||
BEGIN { use_ok('packageoption_b'); }
|
||||
|
||||
# Workaround for
|
||||
# ok( not (expression) , "test description" );
|
||||
Loading…
Add table
Add a link
Reference in a new issue