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() {
17
17
$ w = new APITestCaseWriter (new TasksServicesManager (), ForceTaskExecutionService::class);
18
18
$ this ->assertEquals ('tests \\apis \\WebServiceTest ' , $ w ->getName (true ));
19
19
$ this ->assertEquals (9 , $ w ->getPhpUnitVersion ());
20
+ $ this ->assertEquals (ROOT_PATH .DS .'tests ' .DS .'apis ' .DS .'WebServiceTest.php ' , $ w ->getAbsolutePath ());
20
21
$ w ->writeClass ();
21
22
$ this ->assertTrue (class_exists ('\\' .$ w ->getName (true )));
22
23
unlink ($ w ->getAbsolutePath ());
@@ -31,6 +32,7 @@ public function test01() {
31
32
$ w ->setPath (ROOT_PATH .DS .'tests ' .DS .'cool ' );
32
33
$ this ->assertEquals ('tests \\cool \\CoolTest ' , $ w ->getName (true ));
33
34
$ w ->writeClass ();
35
+ $ this ->assertEquals (ROOT_PATH .DS .'tests ' .DS .'cool ' .DS .'CoolTest.php ' , $ w ->getAbsolutePath ());
34
36
$ this ->assertTrue (file_exists ($ w ->getAbsolutePath ()));
35
37
require_once $ w ->getAbsolutePath ();
36
38
$ this ->assertTrue (class_exists ('\\' .$ w ->getName (true )));
You can’t perform that action at this time.
0 commit comments