SPR-5976 - Upgrade POMS to JUnit 4.6

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Mark Pollack
2009-08-05 17:48:53 +00:00
parent 651c2b7928
commit 2f66da5293
16 changed files with 71 additions and 16 deletions
+15 -2
View File
@@ -75,11 +75,11 @@
<version>10.4.2.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<version>4.6</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -95,4 +95,17 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<testResources>
<testResource>
<directory>${pom.build.sourceDirectory}</directory>
<includes>
<include>**/*.sql</include>
<include>**/*.xml</include>
</includes>
</testResource>
</testResources>
</build>
</project>
@@ -30,7 +30,7 @@ public class EmbeddedDatabaseBuilderTests {
assertDatabaseCreatedAndShutdown(db);
}
@Test
public void testBuildDerby() {
EmbeddedDatabaseBuilder builder = EmbeddedDatabaseBuilder.relativeTo(getClass());
EmbeddedDatabase db = builder.type(DERBY).script("db-schema-derby.sql").script("db-test-data.sql").build();