コード例 #1
0
ファイル: FooTest.php プロジェクト: gqtan/maven-php-plugin
 /**
  * tests the bar function
  */
 public function testFoo()
 {
     $this->assertEquals("foo", MyMavenTestClass::getFoo());
 }
コード例 #2
0
ファイル: FooTest.php プロジェクト: gqtan/maven-php-plugin
 /**
  * tests the bar function
  */
 public function testFoo()
 {
     include "MyClass.php";
     $o = new MyMavenTestClass();
     $this->assertEquals("foo", $o->getFoo());
 }
コード例 #3
0
ファイル: FooTest.php プロジェクト: gqtan/maven-php-plugin
 /**
  * tests the bar function
  */
 public function testFoo()
 {
     include "MyClass.php";
     $this->assertEquals("bar", MyMavenTestClass::getFoo());
 }
コード例 #4
0
ファイル: FooTest.php プロジェクト: gqtan/maven-php-plugin
 /**
  * tests the bar function
  */
 public function testFoo()
 {
     include __DIR__ . "/MyClass.php";
     $this->assertEquals("foo", MyMavenTestClass::getFoo());
 }