Changeset 5490 for trunk/Nebulous-Server/t/03_server_create_object.t
- Timestamp:
- Nov 8, 2005, 3:31:07 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/03_server_create_object.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/03_server_create_object.t
r4873 r5490 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1. 5 2005-08-25 01:40:04jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.6 2005-11-09 01:31:07 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 1 1;10 use Test::More tests => 13; 11 11 12 12 use lib qw( ./t ./lib ); … … 74 74 Test::Nebulous->setup; 75 75 76 { 77 my $uri = $neb->create_object( "foo", 1 ); 78 79 ok( -e _get_file_path( $uri ), "class exists" ); 80 } 81 82 Test::Nebulous->setup; 83 84 eval { 85 $neb->create_object( "foo", 99 ); 86 }; 87 like( $@, qr/Invalid class/, "class doesn't exists" ); 88 89 Test::Nebulous->setup; 90 76 91 eval { 77 92 $neb->create_object();
Note:
See TracChangeset
for help on using the changeset viewer.
