IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 25, 2007, 1:50:34 PM (19 years ago)
Author:
jhoblitt
Message:

convert DataStore::FileSet to use URIs that end as /index.txt$ instead of /$

File:
1 edited

Legend:

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

    r15020 r15021  
    33# Copyright (C) 2006  Joshua Hoblitt
    44#
    5 # $Id: 02_fileset_parse.t,v 1.9 2007-09-25 23:37:44 jhoblitt Exp $
     5# $Id: 02_fileset_parse.t,v 1.10 2007-09-25 23:50:34 jhoblitt Exp $
    66
    77use strict;
     
    143143    is(@$results[0]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    144144    is(@$results[0]->type, 'OBJECT', 'correct type');
    145     is(@$results[0]->uri, 'http://foo.com/otis0123456/', 'correct uri');
     145    is(@$results[0]->uri, 'http://foo.com/otis0123456/index.txt', 'correct uri');
    146146
    147147    isa_ok(@$results[1], 'DataStore::FileSet');
     
    149149    is(@$results[1]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    150150    is(@$results[1]->type, 'OBJECT', 'correct type');
    151     is(@$results[1]->uri, 'http://foo.com/otis0123456/', 'correct uri');
     151    is(@$results[1]->uri, 'http://foo.com/otis0123456/index.txt', 'correct uri');
    152152
    153153    isa_ok(@$results[2], 'DataStore::FileSet');
     
    155155    is(@$results[2]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    156156    is(@$results[2]->type, 'OBJECT', 'correct type');
    157     is(@$results[2]->uri, 'http://foo.com/otis0123456/', 'correct uri');
     157    is(@$results[2]->uri, 'http://foo.com/otis0123456/index.txt', 'correct uri');
    158158
    159159    isa_ok(@$results[3], 'DataStore::FileSet');
     
    161161    is(@$results[3]->datetime, '2006-01-01T00:03:04Z', 'correct datetime');
    162162    is(@$results[3]->type, 'OBJECT', 'correct type');
    163     is(@$results[3]->uri, 'http://foo.com/otis0123456/', 'correct uri');
     163    is(@$results[3]->uri, 'http://foo.com/otis0123456/index.txt', 'correct uri');
    164164}
    165165
Note: See TracChangeset for help on using the changeset viewer.