aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/director_alternating_runme.php
blob: de33038bec64725648ba54b83417d198f2c0658b (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

require "tests.php";

check::functions(array('getBar','idFromGetBar'));
check::classes(array('Foo','Bar','Baz','director_alternating'));
// No new vars
check::globals(array());

$id = director_alternating::getBar()->id();
check::equal($id, director_alternating::idFromGetBar(), "idFromGetBar() failed");