diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-05-14 23:12:16 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-05-14 23:12:16 +0200 |
commit | 8b1bc322ff1932d283c8c701384b0d74b0b1ade9 (patch) | |
tree | 28fca3f479ae49ad7d5ebe16211f4fcac254e195 /3rdparty/simpletest/test/recorder_test.php | |
parent | 6779f28af40c51a0bd3722eca2fd313130e1a367 (diff) | |
download | nextcloud-server-8b1bc322ff1932d283c8c701384b0d74b0b1ade9.tar.gz nextcloud-server-8b1bc322ff1932d283c8c701384b0d74b0b1ade9.zip |
remove simpletests internet test cases due to xss issues
Diffstat (limited to '3rdparty/simpletest/test/recorder_test.php')
-rw-r--r-- | 3rdparty/simpletest/test/recorder_test.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/3rdparty/simpletest/test/recorder_test.php b/3rdparty/simpletest/test/recorder_test.php deleted file mode 100644 index fdae4c1cccc..00000000000 --- a/3rdparty/simpletest/test/recorder_test.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -// $Id: test.php 1500 2007-04-29 14:33:31Z pp11 $ -require_once(dirname(__FILE__) . '/../autorun.php'); -require_once(dirname(__FILE__) . '/../recorder.php'); - -class TestOfRecorder extends UnitTestCase { - - function testContentOfRecorderWithOnePassAndOneFailure() { - $test = new TestSuite(); - $test->addFile(dirname(__FILE__) . '/support/recorder_sample.php'); - $recorder = new Recorder(new SimpleReporter()); - $test->run($recorder); - $this->assertEqual(count($recorder->results), 2); - $this->assertIsA($recorder->results[0], 'SimpleResultOfPass'); - $this->assertEqual('testTrueIsTrue', array_pop($recorder->results[0]->breadcrumb)); - $this->assertPattern('/ at \[.*\Wrecorder_sample\.php line 7\]/', $recorder->results[0]->message); - $this->assertIsA($recorder->results[1], 'SimpleResultOfFail'); - $this->assertEqual('testFalseIsTrue', array_pop($recorder->results[1]->breadcrumb)); - $this->assertPattern("/Expected false, got \[Boolean: true\] at \[.*\Wrecorder_sample\.php line 11\]/", - $recorder->results[1]->message); - } -} -?>
\ No newline at end of file |