Rename r_base_test to overload_method as it is a useful test for all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4e3428ff66
commit
bee885dfe0
4 changed files with 6 additions and 6 deletions
13
Examples/test-suite/r/overload_method_runme.R
Normal file
13
Examples/test-suite/r/overload_method_runme.R
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
source("unittest.R")
|
||||
dyn.load(paste("overload_method", .Platform$dynlib.ext, sep=""))
|
||||
source("overload_method.R")
|
||||
cacheMetaData(1)
|
||||
|
||||
b <- Base()
|
||||
Base_method(b)
|
||||
Base_overloaded_method(b)
|
||||
Base_overloaded_method(b, 43)
|
||||
Base_overloaded_method(b)
|
||||
b$method()
|
||||
|
||||
b$overloaded_method()
|
||||
Loading…
Add table
Add a link
Reference in a new issue