Changeset 135 for trunk/tests

Show
Ignore:
Timestamp:
04/06/08 18:18:10 (8 months ago)
Author:
mikey
Message:

added support for octal numbers

Files:

Legend:

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

    r119 r135  
    2727        $tagParser = new DefinitionParser(); 
    2828        $defs      = $tagParser->parse(EXAMPLES_DIR . '/xml/defines.xml'); 
    29         $this->assertEqual($defs->countTagDefinitions(), 9); 
     29        $this->assertEqual($defs->countTagDefinitions(), 10); 
    3030         
    3131        $conf = new XmlParser(); 
     
    3535        $this->assertEqual($conf->getConfigValue('foo'), 'tomato'); 
    3636        $this->assertEqual($conf->getConfigValue('zahl'), 124); 
     37        $this->assertEqual($conf->getConfigValue('octal'), 0777); 
    3738        $this->assertEqual($conf->getConfigValue('schst')->getString(), 'TOMATO'); 
    3839        $this->assertEqual($conf->getConfigValue('complex')->render(), '<font color="red" size="3">This is a string.</font>');