Changeset 42 for trunk/tests
- Timestamp:
- Dec 18, 2005 12:16:03 AM (18 years ago)
- Location:
- trunk/tests
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/AppTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for App 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 124 124 // App::dieURL('/die/to/this/url.php'); 125 125 // } 126 // 126 // 127 127 // function test_dieboomerangurl() 128 128 // { … … 131 131 // $this->assertEquals($expected, $result); 132 132 // } 133 // 133 // 134 134 // function test_setboomerangurl() 135 135 // { … … 138 138 // $this->assertEquals($expected, $result); 139 139 // } 140 // 140 // 141 141 // function test_getboomerangurl() 142 142 // { … … 145 145 // $this->assertEquals($expected, $result); 146 146 // } 147 // 147 // 148 148 // function test_deleteboomerangurl() 149 149 // { … … 152 152 // $this->assertEquals($expected, $result); 153 153 // } 154 // 154 // 155 155 // function test_validboomerangurl() 156 156 // { … … 159 159 // $this->assertEquals($expected, $result); 160 160 // } 161 // 161 // 162 162 // function test_sslon() 163 163 // { … … 166 166 // $this->assertEquals($expected, $result); 167 167 // } 168 // 168 // 169 169 // function test_ssloff() 170 170 // { -
trunk/tests/Auth_FileTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for Auth_File 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 71 71 // $this->assertTrue($true); 72 72 // } 73 // 73 // 74 74 // function test_requireadminlogin() 75 75 // { … … 78 78 // $this->assertEquals($expected, $result); 79 79 // } 80 // 80 // 81 81 // function test__encrypt() 82 82 // { … … 85 85 // $this->assertEquals($expected, $result); 86 86 // } 87 // 87 // 88 88 // function test__salt() 89 89 // { -
trunk/tests/Auth_SQLTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for Auth_SQL 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 53 53 ) 54 54 "); 55 55 56 56 } 57 57 … … 212 212 // $this->assertEquals($expected, $result); 213 213 // } 214 // 214 // 215 215 // function test_requireaccessclearance() 216 216 // { -
trunk/tests/AuthorizeNetTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for AuthorizeNet 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 63 63 { 64 64 $result_code = $this->AuthorizeNet->process(); 65 65 66 66 $this->assertTrue(false != $result_code, 'Processing did not return valid response. Do you have net access?'); 67 67 $this->assertEquals('3', $result_code); … … 89 89 // $this->assertEquals($expected, $result); 90 90 // } 91 // 91 // 92 92 // function test__processresult() 93 93 // { -
trunk/tests/CSSTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for CSS 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ -
trunk/tests/DBSessionHandlerTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for DBSessionHandler 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ -
trunk/tests/EmailTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for Email 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-12-01 10 10 */ … … 37 37 // $this->assertEquals($expected, $result); 38 38 // } 39 // 39 // 40 40 // function testgetparam() 41 41 // { … … 44 44 // $this->assertEquals($expected, $result); 45 45 // } 46 // 46 // 47 47 // function testsettemplate() 48 48 // { … … 51 51 // $this->assertEquals($expected, $result); 52 52 // } 53 // 53 // 54 54 // function testsetstring() 55 55 // { … … 58 58 // $this->assertEquals($expected, $result); 59 59 // } 60 // 60 // 61 61 // function testreplace() 62 62 // { … … 65 65 // $this->assertEquals($expected, $result); 66 66 // } 67 // 67 // 68 68 // function testsend() 69 69 // { … … 76 76 { 77 77 $testpool = file('_email_test_addresses.txt'); 78 78 79 79 $gc = 0; 80 80 $bc = 0; -
trunk/tests/FormValidatorTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for FormValidator 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ -
trunk/tests/Google_APITest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for GoogleAPI 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/ImageThumbTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for ImageThumb 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/MCVETest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for MCVE 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/NavTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for Nav 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/NodeHeirarchyTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for NodeHeirarchy 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/PEditTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for PEdit 7 * 8 * T\he method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * T\he method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/PageNumbersTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for PageNumbers 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/PageSequenceTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for PageSequence 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/PayPalTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for PayPal 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 101 101 // $result = $this->PayPal->incomingipnrequest(); 102 102 // } 103 // 103 // 104 104 // function test_processipn() 105 105 // { 106 106 // $result = $this->PayPal->processipn(); 107 107 // } 108 // 108 // 109 109 // function test_verifiedipn() 110 110 // { -
trunk/tests/PrefsTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for Prefs 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/RecordLockTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for RecordLock 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ -
trunk/tests/RecordVersionTest.php
r41 r42 2 2 /** 3 3 * PHPUnit test case for RecordVersion 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 4 * 5 * The method skeletons below need to be filled in with 6 * real data so that the tests will run correctly. Replace 7 * all EXPECTED_VAL and PARAM strings with real data. 8 * 9 9 * Created with PHPUnit_Skeleton on 2005-08-09 10 10 */ … … 37 37 // Use fresh user table. 38 38 $this->Auth_SQL->initDB(true); 39 39 40 40 // Insert test data. 41 41 DB::query(" … … 56 56 ) 57 57 "); 58 58 59 59 $this->Auth_SQL->login('testuser', 'testpass'); 60 60 61 61 $this->RecordVersion =& RecordVersion::getInstance($this->Auth_SQL); 62 62 $this->RecordVersion->setParam(array('db_table' => 'test_version_tbl')); -
trunk/tests/ScriptTimerTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for ScriptTimer 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/SessionCacheTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for SessionCache 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/SortOrderTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for SortOrder 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/SpellCheckTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for SpellCheck 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/TemplateGlueTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for TemplateGlue 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/UploadTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for Upload 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/UtilitiesTest.php
r41 r42 5 5 /** 6 6 * PHPUnit test case for Utilities 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 7 * 8 * The method skeletons below need to be filled in with 9 * real data so that the tests will run correctly. Replace 10 * all EXPECTED_VAL and PARAM strings with real data. 11 * 12 12 * Created with PHPUnit_Skeleton on 2005-08-09 13 13 */ -
trunk/tests/_email_test_addresses.txt
r41 r42 4 4 "Bob Smith" asdf@domain.com 5 5 "Bob Smith"a sldkf &D*&F^*&^# @#*$ @#* asdf@domain.com 6 "white space" <asdf@domain.com> 7 whitespace@domain.com 6 "white space" <asdf@domain.com> 7 whitespace@domain.com 8 8 asdf@domain.com (hello donkey) 9 9 <asdf@domain.com> -
trunk/tests/_skel.php
r41 r42 39 39 // if (!preg_match('/^\./', $file) && is_file($dir . '/' . $file)) { 40 40 // echo 'Proccessing ' . realpath($dir . '/' . $file) . "\n"; 41 // 41 // 42 42 // preg_match('/([^\.]+)\..*$/i', $file, $match); 43 43 // $classname = $match[1]; 44 // 44 // 45 45 // $ps = new PHPUnit_Skeleton($classname, '../lib/' . $file); 46 // 46 // 47 47 // // Generate the test class. 48 48 // // Default settings will not include any parent class methods, but 49 49 // // will include private methods. 50 50 // $ps->createTestClass(); 51 // 51 // 52 52 // // Write the new test class to file. 53 53 // // By default, code to run the test will be included. 54 54 // $ps->writeTestClass(); 55 // 55 // 56 56 // } 57 57 // }
Note: See TracChangeset
for help on using the changeset viewer.