Removed default arg test cases as the tests were moved into default_args.i some while back
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9e5219aa30
commit
0baac79dfe
14 changed files with 0 additions and 211 deletions
|
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
// Sample test file
|
||||
|
||||
require "tests.php4";
|
||||
require "anonymous_arg.php";
|
||||
|
||||
check::functions(array(foo));
|
||||
// these two should perform without error
|
||||
foo();
|
||||
foo(7);
|
||||
|
||||
check::done();
|
||||
?>
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<?php
|
||||
// Sample test file
|
||||
|
||||
require "tests.php4";
|
||||
require "bool_default.php";
|
||||
|
||||
// No new functions
|
||||
check::functions(array(foo));
|
||||
// No new classes
|
||||
check::classes(array());
|
||||
// now new vars
|
||||
check::globals(array());
|
||||
|
||||
check::equal(false,foo(),"foo()==false");
|
||||
check::equal(false,foo(1),"foo(1)==false");
|
||||
check::equal(false,foo(true),"foo(true)==false");
|
||||
check::equal(true,foo(false),"foo(false)==true");
|
||||
check::equal(true,foo(0),"foo(0)==true");
|
||||
check::done();
|
||||
?>
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
// Sample test file
|
||||
|
||||
require "tests.php4";
|
||||
require "enum_scope.php";
|
||||
|
||||
check::classes("tree");
|
||||
check::functions("chops");
|
||||
check::equal(0,Tree_Oak,"0==Tree_Oak");
|
||||
check::equal(1,Tree_Fir,"1==Tree_Fir");
|
||||
check::equal(2,Tree_Cedar,"2==Tree_Cedar");
|
||||
check::equal(Tree_Oak,chops(Tree_Oak),"Tree_Oak==chops(Tree_Oak)");
|
||||
check::equal(Tree_Fir,chops(Tree_Fir),"Tree_Fir==chops(Tree_Fir)");
|
||||
check::equal(Tree_Cedar,chops(Tree_Cedar),"Tree_Cedar==chops(Tree_Cedar)");
|
||||
|
||||
check::done();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue