Skip to content

Commit

Permalink
version.next
Browse files Browse the repository at this point in the history
  • Loading branch information
rmpestano committed Aug 20, 2015
1 parent c91ed30 commit d0e7931
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>parent</artifactId>
<version>0.2</version>
<version>0.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public static void tearDown() throws SQLException {
if (connection != null && !connection.isClosed()) {
connection.close();
}

}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public class MultipleDataSetsIt {
public DBUnitRule defaultExecutorRule = DBUnitRule.instance(emProvider.getConnection());




@Test
@DataSet(value = "datasets/yml/users.yml",disableConstraints = true, executorId = "exec1")
public void shouldSeedDataSetDisablingContraints() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ public class DBUnitRulesSteps {
/*@Rule not supported https://github.com/cucumber/cucumber-jvm/issues/393
public DBUnitRule dbUnitRule = DBUnitRule.instance(emProvider.getConnection());*/

DataSetExecutor executor = DataSetExecutorImpl.instance(new ConnectionHolderImpl(emProvider.getConnection()));
DataSetExecutor executor = DataSetExecutorImpl.instance("bdd-executor", new ConnectionHolderImpl(emProvider.getConnection()));

private List<User> users;


@Given("^The database is seeded with users$")
//@DataSet(value = "datasets/yml/users.yml")
public void The_database_is_seeded_with_users() {
executor.createDataSet(new DataSetModel("datasets/yml/users.yml"));
executor.createDataSet(new DataSetModel("yml/users.yml"));
}

@When("^I list users$")
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>parent</artifactId>
<version>0.2</version>
<version>0.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion jpa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.github.dbunit-rules</groupId>
<artifactId>parent</artifactId>
<version>0.2</version>
<version>0.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.github.dbunit-rules</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
<version>0.2</version>
<version>0.3-SNAPSHOT</version>

<modules>
<module>core</module>
Expand Down

0 comments on commit d0e7931

Please sign in to comment.