Changeset 13205
- Timestamp:
- May 3, 2007, 2:42:53 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
Nebulous-Server/t/03_server_create_object.t (modified) (2 diffs)
-
Nebulous/t/03_server_create_object.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/03_server_create_object.t
r13131 r13205 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.1 5 2007-05-02 20:53:42jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.16 2007-05-04 00:42:53 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 2;10 use Test::More tests => 16; 11 11 12 12 use lib qw( ./t ./lib ); … … 29 29 # key 30 30 my $uri = $neb->create_object("foo"); 31 32 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 33 ok(-e $path, "file exists"); 34 uri_scheme_ok($uri, 'file'); 35 } 36 37 Test::Nebulous->setup; 38 39 { 40 # key 41 my $uri = $neb->create_object("/foo"); 42 43 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 44 ok(-e $path, "file exists"); 45 uri_scheme_ok($uri, 'file'); 46 } 47 48 Test::Nebulous->setup; 49 50 { 51 # key 52 my $uri = $neb->create_object("/foo/"); 53 54 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 55 ok(-e $path, "file exists"); 56 uri_scheme_ok($uri, 'file'); 57 } 58 59 Test::Nebulous->setup; 60 61 { 62 # key 63 my $uri = $neb->create_object("foo/"); 64 65 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 66 ok(-e $path, "file exists"); 67 uri_scheme_ok($uri, 'file'); 68 } 69 70 Test::Nebulous->setup; 71 72 { 73 # key 74 my $uri = $neb->create_object("foo/bar"); 75 76 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 77 ok(-e $path, "file exists"); 78 uri_scheme_ok($uri, 'file'); 79 } 80 81 Test::Nebulous->setup; 82 83 { 84 # key 85 my $uri = $neb->create_object("/foo/bar"); 31 86 32 87 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); -
trunk/Nebulous/t/03_server_create_object.t
r13131 r13205 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.1 5 2007-05-02 20:53:42jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.16 2007-05-04 00:42:53 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 2;10 use Test::More tests => 16; 11 11 12 12 use lib qw( ./t ./lib ); … … 29 29 # key 30 30 my $uri = $neb->create_object("foo"); 31 32 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 33 ok(-e $path, "file exists"); 34 uri_scheme_ok($uri, 'file'); 35 } 36 37 Test::Nebulous->setup; 38 39 { 40 # key 41 my $uri = $neb->create_object("/foo"); 42 43 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 44 ok(-e $path, "file exists"); 45 uri_scheme_ok($uri, 'file'); 46 } 47 48 Test::Nebulous->setup; 49 50 { 51 # key 52 my $uri = $neb->create_object("/foo/"); 53 54 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 55 ok(-e $path, "file exists"); 56 uri_scheme_ok($uri, 'file'); 57 } 58 59 Test::Nebulous->setup; 60 61 { 62 # key 63 my $uri = $neb->create_object("foo/"); 64 65 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 66 ok(-e $path, "file exists"); 67 uri_scheme_ok($uri, 'file'); 68 } 69 70 Test::Nebulous->setup; 71 72 { 73 # key 74 my $uri = $neb->create_object("foo/bar"); 75 76 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri); 77 ok(-e $path, "file exists"); 78 uri_scheme_ok($uri, 'file'); 79 } 80 81 Test::Nebulous->setup; 82 83 { 84 # key 85 my $uri = $neb->create_object("/foo/bar"); 31 86 32 87 my ($scheme, $auth, $path, $query, $frag) = uri_split($uri);
Note:
See TracChangeset
for help on using the changeset viewer.
