From ba138a3746b3077ebe5b7356b5b49f21cfc30438 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 23 Jul 2018 17:38:26 +0200 Subject: =?UTF-8?q?Removed=20the=20generated-tests=20library,=20this=20is?= =?UTF-8?q?=20a=20left=20Z=C3=B6e's=20phpruntests=20repository=20it=20seem?= =?UTF-8?q?s=20and=20never=20fully=20implemented.=20The=20only=20times=20t?= =?UTF-8?q?his=20part=20of=20the=20code=20has=20been=20touched=20throughou?= =?UTF-8?q?t=20the=20years=20has=20been=20minor=20PRs=20and=20entire=20php?= =?UTF-8?q?-src=20grep=20commits.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If anything this belongs to the phpruntests.git repository. --- .../dev/generate-phpt/tests/gtIsValidClassTest.php | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 scripts/dev/generate-phpt/tests/gtIsValidClassTest.php (limited to 'scripts/dev/generate-phpt/tests/gtIsValidClassTest.php') diff --git a/scripts/dev/generate-phpt/tests/gtIsValidClassTest.php b/scripts/dev/generate-phpt/tests/gtIsValidClassTest.php deleted file mode 100644 index 51ca87879d..0000000000 --- a/scripts/dev/generate-phpt/tests/gtIsValidClassTest.php +++ /dev/null @@ -1,41 +0,0 @@ -parse(array('generate-phpt.php', '-c', 'DOMDocument')); - $ch = new gtIsValidClass(); - $this->assertTrue($ch->check($clo)); - } - - public function testNotValid() { - - $clo = new gtCommandLineOptions(); - $clo->parse(array('generate-phpt.php', '-c', 'blah')); - $ch = new gtIsValidClass(); - $this->assertFalse($ch->check($clo)); - } - - public function testNotGiven() { - - $clo = new gtCommandLineOptions(); - $clo->parse(array('generate-phpt.php','-b')); - $ch = new gtIsValidClass(); - $this->assertTrue($ch->check($clo)); - } - - public function testMessage() { - - $clo = new gtCommandLineOptions(); - $clo->parse(array('generate-phpt.php', '-c', 'blah')); - $ch = new gtIsvalidClass(); - $this->assertEquals($ch->getMessage(), gtText::get('unknownClass')); - } -} - -?> \ No newline at end of file -- cgit v1.2.1