Show
Ignore:
Timestamp:
04/06/08 18:16:09 (9 months ago)
Author:
mikey
Message:

added support for octal numbers

Files:

Legend:

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

    r89 r134  
    2525        $tagParser = new DefinitionParser(); 
    2626        $defs      = $tagParser->parse(EXAMPLES_DIR . '/xml/defines.xml'); 
    27         $this->assertEqual($defs->countTagDefinitions(), 9); 
     27        $this->assertEqual($defs->countTagDefinitions(), 10); 
    2828         
    2929        $conf = new XmlParser(); 
     
    3333        $this->assertEqual($conf->getConfigValue('foo'), 'tomato'); 
    3434        $this->assertEqual($conf->getConfigValue('zahl'), 124); 
     35        $this->assertEqual($conf->getConfigValue('octal'), 0777); 
    3536        $this->assertEqual($conf->getConfigValue('schst')->getString(), 'TOMATO'); 
    3637        $this->assertEqual($conf->getConfigValue('complex')->render(), '<font color="red" size="3">This is a string.</font>');