This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @id com.eviware.DataSource | |
* @category flow | |
* @dependency com.xlson.groovycsv:groovycsv:1.0 | |
*/ | |
import com.xlson.groovycsv.CsvParser | |
createOutgoing( 'output' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Override | |
TestState getStartingState() | |
{ | |
return ProjectLoadedWithoutAgentsState.STATE; | |
} | |
@Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Test | |
public void shouldHaveRows() throws Exception | |
{ | |
// GIVEN | |
enterState( ProjectLoadedWithoutAgentsState.STATE ); | |
ComponentHandle fixedRate = robot.createComponent( FIXED_RATE_GENERATOR ); | |
ComponentHandle tableLog = robot.createComponent( TABLE_LOG ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Test | |
public void shouldHaveRows() throws Exception | |
{ | |
// GIVEN | |
enterState( ProjectLoadedWithoutAgentsState.STATE ); | |
ComponentHandle fixedRate = robot.createComponent( FIXED_RATE_GENERATOR ); | |
ComponentHandle tableLog = robot.createComponent( TABLE_LOG ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Test | |
public void shouldHaveRows() throws Exception | |
{ | |
// GIVEN | |
enterState( ProjectLoadedWithoutAgentsState.STATE ); | |
ComponentHandle fixedRate = robot.createComponent( FIXED_RATE_GENERATOR ); | |
ComponentHandle tableLog = robot.createComponent( TABLE_LOG ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Test | |
public void shouldHaveRows() throws Exception | |
{ | |
// GIVEN | |
enterState( ProjectLoadedWithoutAgentsState.STATE ); | |
ComponentHandle fixedRate = robot.createComponent( FIXED_RATE_GENERATOR ); | |
ComponentHandle tableLog = robot.createComponent( TABLE_LOG ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given an open project without any agents | |
And a Fixed Rate Generator is on the project canvas | |
And a TableLog is on the project canvas | |
And the Fixed Rate Generator and the TableLog are connected # How does Cucumber know which Generator and TableLog to connect? | |
When the test is run for 3 seconds | |
Then the TableLog contains rows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given an open project without any agents | |
And a Fixed Rate Generator is connected to a TableLog on the canvas | |
When the test is run for 3 seconds | |
Then the TableLog contains rows | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Test | |
public void shouldHaveRows() throws Exception | |
{ | |
// GIVEN | |
enterState( ProjectLoadedWithoutAgentsState.STATE ); | |
fixedRateGenerator_connectedTo_tableLog(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Category( IntegrationTest.class ) | |
public class TableLogTest extends FxIntegrationTest | |
{ | |
@Override | |
TestState getStartingState() | |
{ | |
return ProjectLoadedWithoutAgentsState.STATE; | |
} | |
@Test |
OlderNewer