Changeset 210


Ignore:
Timestamp:
10/24/09 20:46:23 (4 years ago)
Author:
jabra
Message:

added tests for fversion and xmlversion in xml

Location:
FierceParser/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FierceParser/trunk/examples/test1.xml

    r12 r210  
    1 <fiercescan args=" -dns thisisjustfortestingfierce.com -format xml -output result.xml" startscan="1220494203" startscanstr="Wed Sep  3 22:10:03 2008">  
     1<fiercescan args=" -dns thisisjustfortestingfierce.com -format xml -output result.xml" startscan="1220494203" startscanstr="Wed Sep  3 22:10:03 2008" fversion="2.0" xmlversion="1.0"> 
    22<domainscan domain="thisisjustfortestingfierce.com" startscan="1220494203" startscanstr="Wed Sep  3 22:10:03 2008"> 
    33    <!--  Name Servers --> 
  • FierceParser/trunk/t/Test/Parser.pm

    r19 r210  
    1818    is ( $session1->endscanstr, 'Wed Sep  3 22:10:03 2008', 'endscanstr'); 
    1919    is ( $session1->elasptime, '0', 'elasptime'); 
     20    is ( $session1->fversion, '2.0', 'fversion'); 
     21    is ( $session1->xmlversion, '1.0', 'xmlversion'); 
    2022     
    2123    my $domain_obj = $self->{parser1}->get_node('thisisjustfortestingfierce.com'); 
Note: See TracChangeset for help on using the changeset viewer.