Beispiel #1
0
 function test_clear()
 {
     $s1 = new QString("hello");
     $s1->clear();
     $this->assertEquals($s1->__toString(), "", "Could not clear()!");
     echo "\ntesting QString::clear() passed";
 }