Changeset 109 for trunk/tests

Show
Ignore:
Timestamp:
10/18/07 23:48:56 (1 year ago)
Author:
mikey
Message:

added constructor cdata example and test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tests/integration/TestConstructorTestCase.php

    r89 r109  
    88 */ 
    99require_once EXAMPLES_DIR . '/ConstructorColor.php'; 
     10require_once EXAMPLES_DIR . '/CDataColor.php'; 
    1011/** 
    1112 * Integration test with TestConstructor. 
     
    3839        $this->assertEqual($conf->getConfigValue('color2')->getGreen(), 222); 
    3940        $this->assertEqual($conf->getConfigValue('color2')->getBlue(), 333); 
     41         
     42        $this->assertEqual($conf->getConfigValue('color3')->getHex(), '#999999'); 
    4043    } 
    4144}