Fix the list of classes expected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d3809285a4
commit
dd96b09e68
1 changed files with 7 additions and 6 deletions
|
|
@ -1,14 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
// Sample test file
|
|
||||||
|
|
||||||
require "tests.php";
|
require "tests.php";
|
||||||
require "li_carrays.php";
|
require "li_carrays.php";
|
||||||
|
|
||||||
// No new functions
|
// Check functions.
|
||||||
check::functions(array(new_intarray,delete_intarray,intarray_getitem,intarray_setitem));
|
check::functions(array(new_intarray,delete_intarray,intarray_getitem,intarray_setitem));
|
||||||
// No new classes
|
|
||||||
check::classes(array(doubleArray));
|
// Check classes.
|
||||||
// now new vars
|
// NB An "li_carrays" class is created as a mock namespace.
|
||||||
|
check::classes(array(li_carrays,doubleArray,AB,XY,XYArray));
|
||||||
|
|
||||||
|
// No new global variables.
|
||||||
check::globals(array());
|
check::globals(array());
|
||||||
|
|
||||||
$d = new doubleArray(10);
|
$d = new doubleArray(10);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue