- 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
- trunk/lib/test/
- trunk/lib/test/cotta-src.zip
- trunk/lib/test/cotta.jar
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)
Added: trunk/lib/test/cotta.jar
(Binary files differ)
To unsubscribe from this list please visit:
