Changeset 42 for trunk/tests


Ignore:
Timestamp:
Dec 18, 2005 12:16:03 AM (18 years ago)
Author:
scdev
Message:

detabbed all files ;P

Location:
trunk/tests
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/AppTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    124124//         App::dieURL('/die/to/this/url.php');
    125125//     }
    126 // 
     126//
    127127//     function test_dieboomerangurl()
    128128//     {
     
    131131//         $this->assertEquals($expected, $result);
    132132//     }
    133 // 
     133//
    134134//     function test_setboomerangurl()
    135135//     {
     
    138138//         $this->assertEquals($expected, $result);
    139139//     }
    140 // 
     140//
    141141//     function test_getboomerangurl()
    142142//     {
     
    145145//         $this->assertEquals($expected, $result);
    146146//     }
    147 // 
     147//
    148148//     function test_deleteboomerangurl()
    149149//     {
     
    152152//         $this->assertEquals($expected, $result);
    153153//     }
    154 // 
     154//
    155155//     function test_validboomerangurl()
    156156//     {
     
    159159//         $this->assertEquals($expected, $result);
    160160//     }
    161 // 
     161//
    162162//     function test_sslon()
    163163//     {
     
    166166//         $this->assertEquals($expected, $result);
    167167//     }
    168 // 
     168//
    169169//     function test_ssloff()
    170170//     {
  • trunk/tests/Auth_FileTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    7171//         $this->assertTrue($true);
    7272//     }
    73 // 
     73//
    7474//     function test_requireadminlogin()
    7575//     {
     
    7878//         $this->assertEquals($expected, $result);
    7979//     }
    80 // 
     80//
    8181//     function test__encrypt()
    8282//     {
     
    8585//         $this->assertEquals($expected, $result);
    8686//     }
    87 // 
     87//
    8888//     function test__salt()
    8989//     {
  • trunk/tests/Auth_SQLTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    5353            )
    5454        ");
    55        
     55
    5656    }
    5757
     
    212212//         $this->assertEquals($expected, $result);
    213213//     }
    214 // 
     214//
    215215//     function test_requireaccessclearance()
    216216//     {
  • trunk/tests/AuthorizeNetTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    6363    {
    6464        $result_code = $this->AuthorizeNet->process();
    65        
     65
    6666        $this->assertTrue(false != $result_code, 'Processing did not return valid response. Do you have net access?');
    6767        $this->assertEquals('3', $result_code);
     
    8989//         $this->assertEquals($expected, $result);
    9090//     }
    91 // 
     91//
    9292//     function test__processresult()
    9393//     {
  • trunk/tests/CSSTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
  • trunk/tests/DBSessionHandlerTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
  • trunk/tests/EmailTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-12-01
    1010 */
     
    3737//         $this->assertEquals($expected, $result);
    3838//     }
    39 // 
     39//
    4040//     function testgetparam()
    4141//     {
     
    4444//         $this->assertEquals($expected, $result);
    4545//     }
    46 // 
     46//
    4747//     function testsettemplate()
    4848//     {
     
    5151//         $this->assertEquals($expected, $result);
    5252//     }
    53 // 
     53//
    5454//     function testsetstring()
    5555//     {
     
    5858//         $this->assertEquals($expected, $result);
    5959//     }
    60 // 
     60//
    6161//     function testreplace()
    6262//     {
     
    6565//         $this->assertEquals($expected, $result);
    6666//     }
    67 // 
     67//
    6868//     function testsend()
    6969//     {
     
    7676    {
    7777        $testpool = file('_email_test_addresses.txt');
    78        
     78
    7979        $gc = 0;
    8080        $bc = 0;
  • trunk/tests/FormValidatorTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
  • trunk/tests/Google_APITest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/ImageThumbTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/MCVETest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/NavTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/NodeHeirarchyTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/PEditTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/PageNumbersTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/PageSequenceTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/PayPalTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    101101//         $result = $this->PayPal->incomingipnrequest();
    102102//     }
    103 // 
     103//
    104104//     function test_processipn()
    105105//     {
    106106//         $result = $this->PayPal->processipn();
    107107//     }
    108 // 
     108//
    109109//     function test_verifiedipn()
    110110//     {
  • trunk/tests/PrefsTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/RecordLockTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
  • trunk/tests/RecordVersionTest.php

    r41 r42  
    22/**
    33 * 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 *
    99 * Created with PHPUnit_Skeleton on 2005-08-09
    1010 */
     
    3737        // Use fresh user table.
    3838        $this->Auth_SQL->initDB(true);
    39        
     39
    4040        // Insert test data.
    4141        DB::query("
     
    5656            )
    5757        ");
    58        
     58
    5959        $this->Auth_SQL->login('testuser', 'testpass');
    60        
     60
    6161        $this->RecordVersion =& RecordVersion::getInstance($this->Auth_SQL);
    6262        $this->RecordVersion->setParam(array('db_table' => 'test_version_tbl'));
  • trunk/tests/ScriptTimerTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/SessionCacheTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/SortOrderTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/SpellCheckTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/TemplateGlueTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/UploadTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/UtilitiesTest.php

    r41 r42  
    55/**
    66 * 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 *
    1212 * Created with PHPUnit_Skeleton on 2005-08-09
    1313 */
  • trunk/tests/_email_test_addresses.txt

    r41 r42  
    44"Bob Smith" asdf@domain.com
    55"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
    88asdf@domain.com (hello donkey)
    99<asdf@domain.com>
  • trunk/tests/_skel.php

    r41 r42  
    3939//     if (!preg_match('/^\./', $file) && is_file($dir . '/' . $file)) {
    4040//         echo 'Proccessing ' . realpath($dir . '/' . $file) . "\n";
    41 //         
     41//
    4242//         preg_match('/([^\.]+)\..*$/i', $file, $match);
    4343//         $classname = $match[1];
    44 // 
     44//
    4545//         $ps = new PHPUnit_Skeleton($classname, '../lib/' . $file);
    46 //         
     46//
    4747//         // Generate the test class.
    4848//         // Default settings will not include any parent class methods, but
    4949//         // will include private methods.
    5050//         $ps->createTestClass();
    51 //         
     51//
    5252//         // Write the new test class to file.
    5353//         // By default, code to run the test will be included.
    5454//         $ps->writeTestClass();
    55 // 
     55//
    5656//     }
    5757// }
Note: See TracChangeset for help on using the changeset viewer.