File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
tests/webfiori/framework/test/writers Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public function test00() {
1717 $ w = new APITestCaseWriter (new TasksServicesManager (), ForceTaskExecutionService::class);
1818 $ this ->assertEquals ('tests \\apis \\WebServiceTest ' , $ w ->getName (true ));
1919 $ this ->assertEquals (9 , $ w ->getPhpUnitVersion ());
20+ $ this ->assertEquals (ROOT_PATH .DS .'tests ' .DS .'apis ' .DS .'WebServiceTest.php ' , $ w ->getAbsolutePath ());
2021 $ w ->writeClass ();
2122 $ this ->assertTrue (class_exists ('\\' .$ w ->getName (true )));
2223 unlink ($ w ->getAbsolutePath ());
@@ -31,6 +32,7 @@ public function test01() {
3132 $ w ->setPath (ROOT_PATH .DS .'tests ' .DS .'cool ' );
3233 $ this ->assertEquals ('tests \\cool \\CoolTest ' , $ w ->getName (true ));
3334 $ w ->writeClass ();
35+ $ this ->assertEquals (ROOT_PATH .DS .'tests ' .DS .'cool ' .DS .'CoolTest.php ' , $ w ->getAbsolutePath ());
3436 $ this ->assertTrue (file_exists ($ w ->getAbsolutePath ()));
3537 require_once $ w ->getAbsolutePath ();
3638 $ this ->assertTrue (class_exists ('\\' .$ w ->getName (true )));
You can’t perform that action at this time.
0 commit comments