[Jifty-commit] r1889 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Aug 30 17:43:38 EDT 2006
Author: schwern
Date: Wed Aug 30 17:43:37 2006
New Revision: 1889
Added:
jifty/trunk/t/03-is_passing-no_plan.t (contents, props changed)
jifty/trunk/t/03-test-mailbox.t (contents, props changed)
Modified:
/ (props changed)
Log:
r17569 at windhund: schwern | 2006-08-30 17:28:40 -0400
Forgot to check in the tests for Jifty::Test->is_passing and is_done.
Added: jifty/trunk/t/03-is_passing-no_plan.t
==============================================================================
--- (empty file)
+++ jifty/trunk/t/03-is_passing-no_plan.t Wed Aug 30 17:43:37 2006
@@ -0,0 +1,15 @@
+#!/usr/bin/env perl -w
+
+use strict;
+
+# This is specificly testing with no_plan.
+use Jifty::Test 'no_plan';
+
+ok( !Jifty::Test->is_done );
+ok( Jifty::Test->is_done );
+ok( Jifty::Test->is_passing );
+
+ok( !Jifty::Test->test_in_isolation( sub {
+ fail();
+ return Jifty::Test->is_passing;
+}));
Added: jifty/trunk/t/03-test-mailbox.t
==============================================================================
--- (empty file)
+++ jifty/trunk/t/03-test-mailbox.t Wed Aug 30 17:43:37 2006
@@ -0,0 +1,11 @@
+#!/usr/bin/env perl -w
+
+use strict;
+
+use Jifty::Test tests => 2;
+
+Jifty::Test->setup_mailbox;
+ok -r Jifty::Test->mailbox or diag $!;
+
+Jifty::Test->teardown_mailbox;
+ok !-e Jifty::Test->mailbox or diag $!;
More information about the Jifty-commit
mailing list