Changeset 3486
- Timestamp:
- Mar 23, 2005, 12:07:49 PM (21 years ago)
- Location:
- trunk/PS-IPP-Metadata-Config/t
- Files:
-
- 2 edited
-
03_metadata.t (modified) (3 diffs)
-
06_multi.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Metadata-Config/t/03_metadata.t
r3478 r3486 3 3 # Copyright (C) 2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_metadata.t,v 1. 1 2005-03-23 01:53:55jhoblitt Exp $5 # $Id: 03_metadata.t,v 1.2 2005-03-23 22:07:49 jhoblitt Exp $ 6 6 7 7 use strict; … … 12 12 #$::RD_TRACE = 1; 13 13 14 use Test::More tests => 5;14 use Test::More tests => 6; 15 15 use PS::IPP::Metadata::Config; 16 16 … … 102 102 BAR STR BAZ 103 103 PING STR PONG 104 END 105 END 106 END 107 END 108 END 109 END 110 }; 111 my $config = $config_parser->parse( $example ); 112 113 ok( defined( $config ), "deeply nested metadata"); 114 } 115 116 { 117 my $example = q{ 118 FOO1 METADATA 119 BAR STR BAZ 120 FOO2 METADATA 121 BAR STR BAZ 122 FOO3 METADATA 123 BAR STR BAZ 124 FOO4 METADATA 125 BAR STR BAZ 126 FOO5 METADATA 127 BAR STR BAZ 128 FOO6 METADATA 104 129 BAR STR BAZ 105 130 PING STR PONG 106 131 END 107 BAR STR BAZ108 132 PING STR PONG 109 133 END 110 BAR STR BAZ111 134 PING STR PONG 112 135 END 113 BAR STR BAZ114 136 PING STR PONG 115 137 END 116 BAR STR BAZ117 138 PING STR PONG 118 139 END 119 BAR STR BAZ120 140 PING STR PONG 121 141 END -
trunk/PS-IPP-Metadata-Config/t/06_multi.t
r3484 r3486 3 3 # Copyright (C) 2005 Joshua Hoblitt 4 4 # 5 # $Id: 06_multi.t,v 1. 2 2005-03-23 19:27:25jhoblitt Exp $5 # $Id: 06_multi.t,v 1.3 2005-03-23 22:03:52 jhoblitt Exp $ 6 6 7 7 use strict; … … 61 61 bar METADATA 62 62 foo S8 -1 63 foo STR bar baz 63 64 END 64 65 }; … … 73 74 END 74 75 foo S8 -1 76 foo STR bar baz 75 77 }; 76 78 my $config = $config_parser->parse( $example );
Note:
See TracChangeset
for help on using the changeset viewer.
