Sign in
fuchsia
/
third_party
/
swig
/
refs/heads/upstream/gsoc2008-jezabek
/
.
/
Examples
/
test-suite
/
php
/
extend_template_runme.php
blob: bf77e9b1c5f9185a8c3b6283c84e4e19175dacb9 [
file
] [
log
] [
blame
]
<?
php
// Sample test file
require
"tests.php"
;
require
"extend_template.php"
;
check
::
classes
(
array
(
"Foo_0"
));
$foo
=
new
Foo_0
();
check
::
equal
(
2
,
$foo
->
test1
(
2
),
"test1"
);
check
::
equal
(
3
,
$foo
->
test2
(
3
),
"test2"
);
check
::
done
();
?>