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 += \
|
MULTI_CPP_TEST_CASES += \
|
||||||
clientdata_prop \
|
clientdata_prop \
|
||||||
imports \
|
imports \
|
||||||
package \
|
packageoption \
|
||||||
mod \
|
mod \
|
||||||
template_typedef_import \
|
template_typedef_import \
|
||||||
multi_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 %{
|
%inline %{
|
||||||
class A
|
class A
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
%module(package="C") "package_b";
|
%module(package="C") "packageoption_b";
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
class B
|
class B
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
use strict;
|
use strict;
|
||||||
use Test::More tests => 4;
|
use Test::More tests => 4;
|
||||||
|
|
||||||
BEGIN { use_ok('package_a'); }
|
BEGIN { use_ok('packageoption_a'); }
|
||||||
BEGIN { use_ok('package_b'); }
|
BEGIN { use_ok('packageoption_b'); }
|
||||||
|
|
||||||
# Workaround for
|
# Workaround for
|
||||||
# ok( not (expression) , "test description" );
|
# ok( not (expression) , "test description" );
|
||||||
Loading…
Add table
Add a link
Reference in a new issue