summaryrefslogtreecommitdiffstats
path: root/3rdparty/simpletest/test/unit_tester_test.php
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/simpletest/test/unit_tester_test.php')
-rw-r--r--3rdparty/simpletest/test/unit_tester_test.php61
1 files changed, 0 insertions, 61 deletions
diff --git a/3rdparty/simpletest/test/unit_tester_test.php b/3rdparty/simpletest/test/unit_tester_test.php
deleted file mode 100644
index ce9850f09ab..00000000000
--- a/3rdparty/simpletest/test/unit_tester_test.php
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php
-// $Id: unit_tester_test.php 1748 2008-04-14 01:50:41Z lastcraft $
-require_once(dirname(__FILE__) . '/../autorun.php');
-
-class ReferenceForTesting {
-}
-
-class TestOfUnitTester extends UnitTestCase {
-
- function testAssertTrueReturnsAssertionAsBoolean() {
- $this->assertTrue($this->assertTrue(true));
- }
-
- function testAssertFalseReturnsAssertionAsBoolean() {
- $this->assertTrue($this->assertFalse(false));
- }
-
- function testAssertEqualReturnsAssertionAsBoolean() {
- $this->assertTrue($this->assertEqual(5, 5));
- }
-
- function testAssertIdenticalReturnsAssertionAsBoolean() {
- $this->assertTrue($this->assertIdentical(5, 5));
- }
-
- function testCoreAssertionsDoNotThrowErrors() {
- $this->assertIsA($this, 'UnitTestCase');
- $this->assertNotA($this, 'WebTestCase');
- }
-
- function testReferenceAssertionOnObjects() {
- $a = new ReferenceForTesting();
- $b = $a;
- $this->assertSame($a, $b);
- }
-
- function testReferenceAssertionOnScalars() {
- $a = 25;
- $b = &$a;
- $this->assertReference($a, $b);
- }
-
- function testCloneOnObjects() {
- $a = new ReferenceForTesting();
- $b = new ReferenceForTesting();
- $this->assertClone($a, $b);
- }
-
- function TODO_testCloneOnScalars() {
- $a = 25;
- $b = 25;
- $this->assertClone($a, $b);
- }
-
- function testCopyOnScalars() {
- $a = 25;
- $b = 25;
- $this->assertCopy($a, $b);
- }
-}
-?> \ No newline at end of file