mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
#17528788 : unittest framework added
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6001 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea7c87ec0d
commit
7619bce790
99 changed files with 31041 additions and 0 deletions
0
tests/simpletest/test/support/collector/collectable.1
Normal file
0
tests/simpletest/test/support/collector/collectable.1
Normal file
0
tests/simpletest/test/support/collector/collectable.2
Normal file
0
tests/simpletest/test/support/collector/collectable.2
Normal file
3
tests/simpletest/test/support/empty_test_file.php
Normal file
3
tests/simpletest/test/support/empty_test_file.php
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
require_once(dirname(__FILE__) . '/../../autorun.php');
|
||||
?>
|
||||
1
tests/simpletest/test/support/latin1_sample
Normal file
1
tests/simpletest/test/support/latin1_sample
Normal file
|
|
@ -0,0 +1 @@
|
|||
ㄨ眾播輥奧禆蛺姣6
|
||||
15
tests/simpletest/test/support/spl_examples.php
Normal file
15
tests/simpletest/test/support/spl_examples.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
// $Id: spl_examples.php 1262 2006-02-05 19:35:31Z lastcraft $
|
||||
|
||||
class IteratorImplementation implements Iterator {
|
||||
function current() { }
|
||||
function next() { }
|
||||
function key() { }
|
||||
function valid() { }
|
||||
function rewind() { }
|
||||
}
|
||||
|
||||
class IteratorAggregateImplementation implements IteratorAggregate {
|
||||
function getIterator() { }
|
||||
}
|
||||
?>
|
||||
|
|
@ -0,0 +1 @@
|
|||
Some more text content
|
||||
7
tests/simpletest/test/support/test1.php
Normal file
7
tests/simpletest/test/support/test1.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
class test1 extends UnitTestCase {
|
||||
function test_pass(){
|
||||
$this->assertEqual(3,1+2, "pass1");
|
||||
}
|
||||
}
|
||||
?>
|
||||
1
tests/simpletest/test/support/upload_sample.txt
Normal file
1
tests/simpletest/test/support/upload_sample.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Sample for testing file upload
|
||||
Loading…
Add table
Add a link
Reference in a new issue