Skip to content

Commit

Permalink
Merge branch 'SPR-8116' into cleanup-3.2.x
Browse files Browse the repository at this point in the history
* SPR-8116:
  Enable execution of TestNG tests in spring-test
  • Loading branch information
cbeams committed Jan 3, 2013
2 parents ab16af5 + 3cbb136 commit 3b5e90d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ public void testNothing() {

@BeforeTransaction
public void beforeTransaction() {
org.testng.Assert.fail("always failing beforeTransaction()");
// See SPR-8116
//org.testng.Assert.fail("always failing beforeTransaction()");
}
}

Expand All @@ -250,7 +251,8 @@ public void testNothing() {

@AfterTransaction
public void afterTransaction() {
org.testng.Assert.fail("always failing afterTransaction()");
// See SPR-8116
//org.testng.Assert.fail("always failing afterTransaction()");
}
}

Expand Down

0 comments on commit 3b5e90d

Please sign in to comment.