[jbehave-dev] simplicating scenarios

2006-12-04 Thread Dan North
Hi gang. Please read this all the way through - it probably affects _you_. :) I reworked a lot of the scenario stuff over the last few days. Mostly it comes down to this: 1. A MultiStepScenario is made up of a bunch of Steps, defined in an assemble() method. 2. A Given, Event or Outcome is c

[jbehave-scm] [jbehave] [610] trunk/examples/hellbound/src/java/com/sirenian/hellbound/gui: [EK] Removed the duplication from 6 different ways of moving glyphs.

2006-12-04 Thread sirenian
Title: [jbehave] [610] trunk/examples/hellbound/src/java/com/sirenian/hellbound/gui: [EK] Removed the duplication from 6 different ways of moving glyphs. Revision 610 Author sirenian Date 2006-12-04 11:13:30 -0600 (Mon, 04 Dec 2006) Log Message [EK] Removed the duplication from 6 different

[jbehave-scm] [jbehave] [609] trunk/examples/hellbound/src/java/com/sirenian/hellbound/engine/Game.java: [EK] minor tidy up of game

2006-12-04 Thread sirenian
Title: [jbehave] [609] trunk/examples/hellbound/src/java/com/sirenian/hellbound/engine/Game.java: [EK] minor tidy up of game Revision 609 Author sirenian Date 2006-12-04 10:25:01 -0600 (Mon, 04 Dec 2006) Log Message [EK] minor tidy up of game Modified Paths trunk/examples/hellbound/src/j

[jbehave-dev] I put Swing back into default build

2006-12-04 Thread Elizabeth Keogh
Hi all, I have put the Swing extension behaviours back into the default build. I feel strongly that we should by default verify anything we put into the jar; if this includes the Swing harness then that should go in as well. I was taking advantage of the BehaviourLoader's weird behaviour to run

[jbehave-dev] Mocks - automatic stubbing is wrong and Simon agrees with me

2006-12-04 Thread Elizabeth Keogh
Stubbing is great, unless you're using a 3rd party library (Swing) which is calling a method (isEnabled) on your mock (Action) that you don't know about, so you spend half a day wondering why your behaviours are all broken and eventually have to look in the 3rd party source code to find out wha

Re: [jbehave-dev] broken AllBehaviours

2006-12-04 Thread Elizabeth Keogh
Dan North <[EMAIL PROTECTED]> wrote on 01/12/2006 19:26:07: > I've found that the AllBehaviours were easy enough to maintain because > in general you are only adding one new Behaviour class at a time. Hmm, I'm useless at maintaining my AllBehaviours list (you found some I wasn't running on Fri

[jbehave-dev] No more mocks in outcomes?

2006-12-04 Thread Elizabeth Keogh
Hi Dan, I notice we've lost the ability to set expectations in the outcomes... Does that mean no more mocks? I know I never used them, but I liked having the option. I can also see non-mock situations in which I want to find out what the state of the world is before the event happens, in order

Re: [jbehave-dev] weird Swing behaviour with Eclipse + Linux + Sun j2se 5.0

2006-12-04 Thread Elizabeth Keogh
Hi Dan, I'm interested in investigating. Any chance you could narrow it down to either Swing itself behaving weirdly or the Swing harness being odd by running Hellbound? The drop (space) and left, right and down (arrow) keys work. You may see other oddnesses (can't rotate yet, the glyph moves