File: InternalTest.php

package info (click to toggle)
phpreports 0.3.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 620 kB
  • ctags: 1,149
  • sloc: php: 2,668; xml: 157; makefile: 29; python: 10; sh: 2
file content (22 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

require_once 'PHPUnit.php';

class InternalTest extends PHPUnit_TestCase
{
	function InternalTest($name)
	{
		$this->PHPUnit_TestCase($name);
	}
	
	function testInternal()
	{
		$this->assertEquals('xyz', 'xyz');
		$this->assertNull(NULL, "Aiee!  It's not null!");
		$this->assertNotNull('notnull', "Aiee! It's null!");
		$this->assertTrue(true, "Feck!  It's false!");

		$this->assertTrue(method_exists($this, 'assertContains'),
			"You have an old version of PHPUnit.  That's not going to fly");
	}
}