IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6491


Ignore:
Timestamp:
Feb 24, 2006, 2:13:36 PM (20 years ago)
Author:
jhoblitt
Message:

minor cleanups

Location:
trunk/DataStore/t
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStore/t/02_fileset_parse.t

    r6483 r6491  
    33# Copyright (C) 2006  Joshua Hoblitt
    44#
    5 # $Id: 02_fileset_parse.t,v 1.2 2006-02-24 22:00:52 jhoblitt Exp $
     5# $Id: 02_fileset_parse.t,v 1.3 2006-02-25 00:13:36 jhoblitt Exp $
    66
    77use strict;
     
    1515=head1 NAME
    1616
    17 t/parser.t - tests DataStore::FileSet::Parser
     17t/02_fileset_parse.t - tests DataStore::FileSet::Parser
    1818
    1919=head1 SYNOPSIS
    2020   
    21     prove t/configure/configure.t
     21    prove t/02_fileset_parse.t
    2222
    2323=cut
     
    7171        '->parse() returns undef on failure');
    7272} qr/does not conform /,
    73     '->parse() fails when the fileset fields is not in the proper format';
     73    '->parse() fails when the fileset field is not in the proper format';
    7474
    7575warning_like {
     
    7979        '->parse() returns undef on failure');
    8080} qr/does not conform /,
    81     '->parse() fails when the datetime fields is not in the proper format';
     81    '->parse() fails when the datetime field is not in the proper format';
    8282
    8383warning_like {
     
    8787        '->parse() returns undef on failure');
    8888} qr/does not conform /,
    89     '->parse() fails when the type fields is not in the proper format';
     89    '->parse() fails when the type field is not in the proper format';
    9090
    9191warning_like {
     
    122122    is(@$results[0]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    123123    is(@$results[0]->type, 'object', 'correct type');
     124
    124125    isa_ok(@$results[1], 'DataStore::FileSet::Record');
    125126    is(@$results[1]->fileset, 'otis0123456', 'correct fileset');
    126127    is(@$results[1]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    127128    is(@$results[1]->type, 'object', 'correct type');
     129
    128130    isa_ok(@$results[2], 'DataStore::FileSet::Record');
    129131    is(@$results[2]->fileset, 'otis0123456', 'correct fileset');
    130132    is(@$results[2]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    131133    is(@$results[2]->type, 'object', 'correct type');
     134
    132135    isa_ok(@$results[3], 'DataStore::FileSet::Record');
    133136    is(@$results[3]->fileset, 'otis0123456', 'correct fileset');
    134137    is(@$results[3]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    135138    is(@$results[3]->type, 'object', 'correct type');
    136 
    137139}
    138140
  • trunk/DataStore/t/03_file_parse.t

    r6487 r6491  
    33# Copyright (C) 2006  Joshua Hoblitt
    44#
    5 # $Id: 03_file_parse.t,v 1.1 2006-02-25 00:09:10 jhoblitt Exp $
     5# $Id: 03_file_parse.t,v 1.2 2006-02-25 00:13:36 jhoblitt Exp $
    66
    77use strict;
     
    1515=head1 NAME
    1616
    17 t/parser.t - tests DataStore::File::Parser
     17t/03_file_parse.t - tests DataStore::File::Parser
    1818
    1919=head1 SYNOPSIS
    2020   
    21     prove t/configure/configure.t
     21    prove t/03_file_parse.t
    2222
    2323=cut
Note: See TracChangeset for help on using the changeset viewer.