提交 3cbb1368 编写于 作者: C Chris Beams

Enable execution of TestNG tests in spring-test

Both JUnit- and TestNG-based tests are once again executed in the
spring-test module.

Note that two lines in FailingBeforeAndAfterMethodsTests had to be
commented out. See diff or `git grep 'See SPR-8116'` for details.

Issue: SPR-8116
上级 830d73b4
......@@ -648,6 +648,10 @@ project("spring-webmvc-portlet") {
project("spring-test") {
description = "Spring TestContext Framework"
test {
useJUnit()
useTestNG()
}
dependencies {
compile(project(":spring-core"))
optional(project(":spring-beans"))
......
......@@ -237,7 +237,8 @@ public class FailingBeforeAndAfterMethodsTests {
@BeforeTransaction
public void beforeTransaction() {
org.testng.Assert.fail("always failing beforeTransaction()");
// See SPR-8116
//org.testng.Assert.fail("always failing beforeTransaction()");
}
}
......@@ -250,7 +251,8 @@ public class FailingBeforeAndAfterMethodsTests {
@AfterTransaction
public void afterTransaction() {
org.testng.Assert.fail("always failing afterTransaction()");
// See SPR-8116
//org.testng.Assert.fail("always failing afterTransaction()");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册