[svk-commit] r2987 - trunk/t/bm

nobody at bestpractical.com nobody at bestpractical.com
Thu Jul 10 11:01:57 EDT 2008


Author: clsung
Date: Thu Jul 10 11:01:49 2008
New Revision: 2987

Modified:
   trunk/t/bm/online-offline.t

Log:
- add test for http://task.hm/F96N

Modified: trunk/t/bm/online-offline.t
==============================================================================
--- trunk/t/bm/online-offline.t	(original)
+++ trunk/t/bm/online-offline.t	Thu Jul 10 11:01:49 2008
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 use strict;
 use SVK::Test;
-plan tests => 22;
+plan tests => 24;
 our $output;
 
 my ($xd, $svk) = build_test('test');
@@ -115,12 +115,18 @@
 $svk->br('--offline'); # offline the feature/foobar branch
 
 chdir ("C");
-TODO: {
+is_output ($svk, 'br', [],
+    ["Project name: MyProject",
+     "Branch: release/abc (offline)",
+     "Repository path: //local/MyProject/release/abc/C",
+     'Copied From: feature/foobar at 12']);
+
+is_output ($svk, 'br', ['--offline'],
+    ["Current branch already offline"]);
 
-    local $TODO = "test case for http://task.hm/FFAW";
 is_output ($svk, 'br', [],
     ["Project name: MyProject",
      "Branch: release/abc (offline)",
      "Repository path: //local/MyProject/release/abc/C",
      'Copied From: feature/foobar at 12']);
-}
+


More information about the svk-commit mailing list