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:
William S Fulton 2008-05-10 10:36:35 +00:00
commit 0df0a87981
7 changed files with 9 additions and 9 deletions

View file

@ -422,7 +422,7 @@ C_TEST_CASES += \
MULTI_CPP_TEST_CASES += \
clientdata_prop \
imports \
package \
packageoption \
mod \
template_typedef_import \
multi_import

View file

@ -1,2 +0,0 @@
package_a
package_b

View file

@ -0,0 +1,2 @@
packageoption_a
packageoption_b

View file

@ -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;}
};
%}
%}

View file

@ -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; }
};
%}
%}

View file

@ -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" );