示例#1
0
 /**
  * static method opcode handler, calling a static method from a Qt parent class:
  * <code>foo:tr()</code>
  */
 function testCallStaticQtMethod()
 {
     echo "\ntesting foo::tr()";
     $this->assertEquals(foo::tr("hello") == "hello", "Could not call a static Qt method!");
     echo " passed";
 }