/** * inheritance, calling a static parents method from withing another static method: * <code>foo->staticTrMethod() calls QObject::tr()</code> */ function testCallStaticQtMethodWithinStaticPHPMethod() { echo "\ntesting foo::staticTrMethod()"; $this->assertEquals(foo::staticTrMethod("hello") == "hello", "Could not call a static Qt method!"); echo " passed"; }