From 3da5fbe995f971f1ac0c13f108a9d6c8325dfe11 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 9 Jul 2016 22:05:42 +0200 Subject: [PATCH] Introduce before/after test execution support in AbstractTestNGSpringContextTests Issue: SPR-4365 --- .../AbstractTestNGSpringContextTests.java | 69 +++++++---- ...ilingBeforeAndAfterMethodsTestNGTests.java | 107 ++++++++++-------- 2 files changed, 107 insertions(+), 69 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/testng/AbstractTestNGSpringContextTests.java b/spring-test/src/main/java/org/springframework/test/context/testng/AbstractTestNGSpringContextTests.java index 2be1967b38..fcffa7f3fc 100644 --- a/spring-test/src/main/java/org/springframework/test/context/testng/AbstractTestNGSpringContextTests.java +++ b/spring-test/src/main/java/org/springframework/test/context/testng/AbstractTestNGSpringContextTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -49,12 +49,11 @@ import org.testng.annotations.BeforeMethod; *

Concrete subclasses: *