IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2008, 3:47:08 PM (18 years ago)
Author:
jhoblitt
Message:

add support for the magical ':any' volume to Nebulous::Server:find_instances()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/07_server_find_instances.t

    r17539 r17753  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 07_server_find_instances.t,v 1.11 2008-05-06 22:10:58 jhoblitt Exp $
     5# $Id: 07_server_find_instances.t,v 1.12 2008-05-20 01:47:08 jhoblitt Exp $
    66
    77use strict;
    88use warnings FATAL => qw( all );
    99
    10 use Test::More tests => 17;
     10use Test::More tests => 19;
    1111
    1212use lib qw( ./t ./lib );
     
    7575
    7676{
     77    # key, volume
     78    my $uri = $neb->create_object('foo', 'node01');
     79
     80    my $locations = $neb->find_instances('neb://node02/foo', ":any");
     81
     82    uri_scheme_ok($locations->[0], 'file');
     83    is($uri, $locations->[0], "URIs match");
     84}
     85
     86Test::Nebulous->setup;
     87
     88{
    7789    # key
    7890    my $uri1 = $neb->create_object("foo");
Note: See TracChangeset for help on using the changeset viewer.