PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/Examples/test-suite/php/director_frob_runme.php

#
PHP | 19 lines | 11 code | 5 blank | 3 comment | 0 complexity | c2ecfbbb23357164f5b10a98c081108b MD5 | raw file
 1<?php
 2
 3require "tests.php";
 4require "director_frob.php";
 5
 6// No new functions
 7check::functions(array(alpha_abs_method,bravo_abs_method,charlie_abs_method,ops_opint,ops_opintstarstarconst,ops_opintamp,ops_opintstar,ops_opconstintintstar,prims_ull,prims_callull,corecallbacks_on3dengineredrawn,corecallbacks_on3dengineredrawn2));
 8// No new classes
 9check::classes(array(Alpha,Bravo,Charlie,Delta,Ops,Prims,corePoint3d,coreCallbacks_On3dEngineRedrawnData,coreCallbacksOn3dEngineRedrawnData,coreCallbacks));
10// now new vars
11check::globals(array(corecallbacks_on3dengineredrawndata__eye,corecallbacks_on3dengineredrawndata__at,corecallbackson3dengineredrawndata__eye,corecallbackson3dengineredrawndata__at));
12
13$foo = new Bravo();
14$s = $foo->abs_method();
15
16check::equal($s, "Bravo::abs_method()", "s failed");
17
18check::done();
19?>