summaryrefslogtreecommitdiff
path: root/scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php')
-rw-r--r--scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php b/scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php
index dbf2994567..541dbdf2dd 100644
--- a/scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php
+++ b/scripts/dev/generate-phpt/tests/gtOptionalSectionsTest.php
@@ -27,29 +27,29 @@ class gtOptionalSectionsTest extends PHPUnit_Framework_TestCase
$opt = new gtOptionalSections();
$opt->setOptions($clo);
}
-
+
public function testSkip() {
$clo = new gtCommandLineOptions();
$clo->parse(array('generate-phpt.php', '-s', 'skipif', '-x', 'standard'));
$opt = new gtOptionalSections();
$opt->setOptions($clo);
-
+
$opt = new gtOptionalSections();
$opt->setOptions($clo);
-
+
$this->assertEquals('standard', $opt->getSkipifExt() );
}
-
+
public function testSkipKey() {
$clo = new gtCommandLineOptions();
$clo->parse(array('generate-phpt.php', '-s', 'skipif', '-k', 'win'));
$opt = new gtOptionalSections();
$opt->setOptions($clo);
-
+
$opt = new gtOptionalSections();
$opt->setOptions($clo);
-
+
$this->assertEquals('win', $opt->getSkipifKey() );
}