Merge branch 'SPR-8116' into cleanup-3.2.x
* SPR-8116: Enable execution of TestNG tests in spring-test
This commit is contained in:
commit
3b5e90d242
|
@ -641,6 +641,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()");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue