Title: [767] trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories: Updated generated code in maven ITs.

Diff

Modified: trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/events/UserExecutesCommand.java (766 => 767)

--- trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/events/UserExecutesCommand.java	2007-07-15 15:22:15 UTC (rev 766)
+++ trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/events/UserExecutesCommand.java	2007-07-15 15:25:58 UTC (rev 767)
@@ -6,7 +6,7 @@
 public class UserExecutesCommand extends EventUsingMiniMock {
 
     public void occurIn(World world) {
-		// TODO     
+		org.jbehave.core.Ensure.pending("Auto-generated stub");    
     }
 
 }

Modified: trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/givens/SomethingToBeDone.java (766 => 767)

--- trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/givens/SomethingToBeDone.java	2007-07-15 15:22:15 UTC (rev 766)
+++ trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/givens/SomethingToBeDone.java	2007-07-15 15:25:58 UTC (rev 767)
@@ -6,7 +6,7 @@
 public class SomethingToBeDone extends GivenUsingMiniMock {
 
     public void setUp(World world) {
-    	// TODO
+		org.jbehave.core.Ensure.pending("Auto-generated stub");    
     }
 
 }

Modified: trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/outcomes/CommandIsExecutedSuccessfully.java (766 => 767)

--- trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/outcomes/CommandIsExecutedSuccessfully.java	2007-07-15 15:22:15 UTC (rev 766)
+++ trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/outcomes/CommandIsExecutedSuccessfully.java	2007-07-15 15:25:58 UTC (rev 767)
@@ -6,7 +6,7 @@
 public class CommandIsExecutedSuccessfully extends OutcomeUsingMiniMock {
 
     public void verify(World world) {
-    	// TODO
+		org.jbehave.core.Ensure.pending("Auto-generated stub");    
     }
 
 }

Added: trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/scenarios/UserIsAbleToDoIt.java (0 => 767)

--- trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/scenarios/UserIsAbleToDoIt.java	                        (rev 0)
+++ trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/scenarios/UserIsAbleToDoIt.java	2007-07-15 15:25:58 UTC (rev 767)
@@ -0,0 +1,13 @@
+package org.jbehave.it.stories.scenarios;
+
+import org.jbehave.core.story.domain.MultiStepScenario;
+
+public class UserIsAbleToDoIt extends MultiStepScenario {
+
+    public void specifySteps() {
+    	when(new org.jbehave.it.stories.events.UserExecutesCommand());
+     		      given(new org.jbehave.it.stories.givens.SomethingToBeDone());
+    	     		      then(new org.jbehave.it.stories.outcomes.CommandIsExecutedSuccessfully());
+    		}    
+
+}

Added: trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/stories/UserWantsToDoSomething.java (0 => 767)

--- trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/stories/UserWantsToDoSomething.java	                        (rev 0)
+++ trunk/plugins/maven/src/it/src/main/java/org/jbehave/it/stories/stories/UserWantsToDoSomething.java	2007-07-15 15:25:58 UTC (rev 767)
@@ -0,0 +1,16 @@
+package org.jbehave.it.stories.stories;
+
+import org.jbehave.core.story.domain.Narrative;
+import org.jbehave.core.story.domain.ScenarioDrivenStory;
+
+public class UserWantsToDoSomething extends ScenarioDrivenStory {
+
+    public UserWantsToDoSomething() {
+        super(new Narrative("User wants to do something", "", ""));
+    }
+    
+    public void specify() {
+        	      addScenario(new org.jbehave.it.stories.scenarios.UserIsAbleToDoIt());
+    	    }
+
+}
\ No newline at end of file


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to