rename special_variable_functions testcase to special_variable_macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
028fcff0a5
commit
75aa67b99c
6 changed files with 26 additions and 26 deletions
|
|
@ -1,12 +0,0 @@
|
|||
import special_variable_functions
|
||||
|
||||
name = special_variable_functions.Name()
|
||||
if special_variable_functions.testFred(name) != "none":
|
||||
raise "test failed"
|
||||
if special_variable_functions.testJack(name) != "$specialname":
|
||||
raise "test failed"
|
||||
if special_variable_functions.testJill(name) != "jilly":
|
||||
raise "test failed"
|
||||
if special_variable_functions.testMary(name) != "SWIGTYPE_p_NameWrap":
|
||||
raise "test failed"
|
||||
|
||||
12
Examples/test-suite/python/special_variable_macros_runme.py
Normal file
12
Examples/test-suite/python/special_variable_macros_runme.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import special_variable_macros
|
||||
|
||||
name = special_variable_macros.Name()
|
||||
if special_variable_macros.testFred(name) != "none":
|
||||
raise "test failed"
|
||||
if special_variable_macros.testJack(name) != "$specialname":
|
||||
raise "test failed"
|
||||
if special_variable_macros.testJill(name) != "jilly":
|
||||
raise "test failed"
|
||||
if special_variable_macros.testMary(name) != "SWIGTYPE_p_NameWrap":
|
||||
raise "test failed"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue