summaryrefslogtreecommitdiff
path: root/scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
commit902d39a3a79c6efe93c8879575fdd5a759cf03de (patch)
treee6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php
parent581f0141b6dd8d20e71612f90b01507ed0783db8 (diff)
downloadphp-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to 'scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php')
-rw-r--r--scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php b/scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php
index df9f21c309..83178b21e7 100644
--- a/scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php
+++ b/scripts/dev/generate-phpt/tests/gtVariationTestCaseFunctionTest.php
@@ -5,55 +5,55 @@ require_once dirname(__FILE__) . '/../src/gtAutoload.php';
class gtVariationTestCaseFunctionTest extends PHPUnit_Framework_TestCase {
public function testTestCase() {
-
+
$f = new gtFunction('cos');
$f->setArgumentNames();
$f->setArgumentLists();
-
+
$optSect = new gtOptionalSections();
-
+
$vtc = gtVariationTestCase::getInstance($optSect);
$vtc->setUp($f, 1, 'int');
$vtc->constructTestCase();
-
+
$fs = $vtc->toString();
$this->assertTrue(is_string($fs));
-
+
}
public function testTestCase2() {
-
+
$f = new gtFunction('date_sunrise');
$f->setArgumentNames();
$f->setArgumentLists();
$a = $f->getMandatoryArgumentNames();
-
+
$optSect = new gtOptionalSections();
-
+
$vtc = gtVariationTestCase::getInstance($optSect);
$vtc->setUp($f, 6, 'int');
$vtc->constructTestCase();
-
+
$fs = $vtc->toString();
$this->assertTrue(is_string($fs));
-
+
}
-
+
public function testTestCase3() {
-
+
$f = new gtFunction('date_sunrise');
$f->setArgumentNames();
$f->setArgumentLists();
-
+
$optSect = new gtOptionalSections();
$vtc = gtVariationTestCase::getInstance($optSect);
$vtc->setUp($f, 6, 'array');
$vtc->constructTestCase();
-
+
$fs = $vtc->toString();
$this->assertTrue(is_string($fs));
-
+
}
}
?> \ No newline at end of file