Title: [795] trunk/lib: changed the AllBehaviours in core to use the scanner from cotta
Revision
795
Author
wolfdancer
Date
2007-09-07 00:19:51 -0500 (Fri, 07 Sep 2007)

Log Message

changed the AllBehaviours in core to use the scanner from cotta

Modified Paths


Added Paths

Diff

Modified: trunk/core/src/behaviour/org/jbehave/core/AllBehaviours.java (794 => 795)

--- trunk/core/src/behaviour/org/jbehave/core/AllBehaviours.java	2007-09-07 04:56:15 UTC (rev 794)
+++ trunk/core/src/behaviour/org/jbehave/core/AllBehaviours.java	2007-09-07 05:19:51 UTC (rev 795)
@@ -7,32 +7,11 @@
  */
 package org.jbehave.core;
 
-import org.jbehave.core.behaviour.BehaviourBehaviours;
+import net.sf.cotta.jbehave.BehavioursLoader;
 import org.jbehave.core.behaviour.Behaviours;
-import org.jbehave.core.exception.ExceptionBehaviours;
-import org.jbehave.core.listener.ListenerBehaviours;
-import org.jbehave.core.matchers.MatchersBehaviours;
-import org.jbehave.core.minimock.MiniMockBehaviours;
-import org.jbehave.core.mock.MockBehaviours;
-import org.jbehave.core.result.ResultBehaviours;
-import org.jbehave.core.story.StoryBehaviours;
-import org.jbehave.core.threaded.ThreadedBehaviours;
-import org.jbehave.core.util.UtilBehaviours;
 
 public class AllBehaviours implements Behaviours {
     public Class[] getBehaviours() {
-        return new Class[] {
-                BehaviourRunnerBehaviour.class,
-                BehaviourBehaviours.class,
-                ExceptionBehaviours.class,
-                ListenerBehaviours.class,
-                MatchersBehaviours.class,
-                MiniMockBehaviours.class,
-                MockBehaviours.class,
-                ResultBehaviours.class,
-                StoryBehaviours.class,
-                ThreadedBehaviours.class,
-                UtilBehaviours.class
-        };
+        return new BehavioursLoader(getClass()).loadBehaviours();
     }
 }

Modified: trunk/lib/lib.iml (794 => 795)

--- trunk/lib/lib.iml	2007-09-07 04:56:15 UTC (rev 794)
+++ trunk/lib/lib.iml	2007-09-07 05:19:51 UTC (rev 795)
@@ -26,6 +26,17 @@
         <SOURCES />
       </library>
     </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library>
+        <CLASSES>
+          <root url="" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="" />
+        </SOURCES>
+      </library>
+    </orderEntry>
     <orderEntryProperties />
   </component>
   <component name="VcsManagerConfiguration">

Added: trunk/lib/test/cotta-src.zip

(Binary files differ)
Property changes on: trunk/lib/test/cotta-src.zip ___________________________________________________________________ Name: svn:mime-type + application/octet-stream

Added: trunk/lib/test/cotta.jar

(Binary files differ)
Property changes on: trunk/lib/test/cotta.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to