コード例 #1
0
ファイル: QtBasicTestCase.php プロジェクト: 0xd34df00d/Qross
 /**
  * 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";
 }