Got it - was missing the trailing delimiter...

From: SULLIVAN, Ben [mailto:[email protected]]
Sent: Wednesday, August 04, 2010 15:20
To: [email protected]
Subject: [jbehave-user] ExampleTable truncating first column

Hi

I am using 3.0 RC2.  It appears my table parameter is having it's first column 
truncated when parsed into an ExamplesTable instance.  I can see the code doing 
this (line 76-78 in ExamplesTable) but I'm not sure why it is there :

if (size > 0) {
            columns.remove(0);
        }

My story looks like this:

Given a database table sourceDb.SRC_TEST_TABLE containing:
COL1|COL2
1|2
When blah blah blah
Then database table targetDb.TARGET_TEST_TABLE should contain:
COL1|COL2
2|4

I am not seeing COL1 available through the ExamplesTable API.  Am I doing 
something wrong?

Cheers

Ben
_____________________________________________
Ben Sullivan
Software Quality Engineer, Solution Delivery Corporate Applications
Suncorp Business Services
T:   +61 7 38361936
E:   61936
Level 5 Suncorp Metway Center, Ann Street, Brisbane, Australia, 4000


________________________________
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.
If this e-mail constitutes a commercial message of a type that you no longer 
wish to receive please reply to this e-mail by typing Unsubscribe in the 
subject line.

Reply via email to