IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 21, 2006, 3:17:34 PM (20 years ago)
Author:
smalle
Message:
  • Added a Root object and associated Product::Parser to query the root of the datastore.
  • The 'is_success' field in a Response now gets its value carried over from the HTTP::Response as intended.
  • The 'data' field in a Response can now be undef to indicate that no records were parsed.
  • Root::request, Product::request, FileSet::request now always return a Response object.
  • FileSets and Files will now have any additional non-standard fields parsed into the @extra array.
  • Updated tests.
File:
1 edited

Legend:

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

    r6606 r7951  
    33# Copyright (C) 2006  Joshua Hoblitt
    44#
    5 # $Id: 02_fileset_parse.t,v 1.6 2006-03-16 21:51:46 jhoblitt Exp $
     5# $Id: 02_fileset_parse.t,v 1.7 2006-07-22 01:17:34 smalle Exp $
    66
    77use strict;
     
    7676    my $parser = DataStore::FileSet::Parser->new;
    7777
    78     is($parser->parse('foobar|2006-01-0100:03:04|object'), undef,
     78    is($parser->parse('foobar|2006-01-0100:03:04Z|object'), undef,
    7979        '->parse() returns undef on failure');
    8080} qr/does not conform /,
Note: See TracChangeset for help on using the changeset viewer.