[testng] 144/160: Reformat.
Eugene Zhukov
eugene-guest at moszumanska.debian.org
Tue Aug 18 10:22:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
eugene-guest pushed a commit to annotated tag testng-6.9.5
in repository testng.
commit 3aa5c098da195f7d389852f63b7ea9dc2ee9d5e3
Author: Cedric Beust <cedric at beust.com>
Date: Tue Jun 30 07:19:43 2015 -0700
Reformat.
---
.../multipleinterceptors/MultipleInterceptorsTest.java | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/test/java/test/methodinterceptors/multipleinterceptors/MultipleInterceptorsTest.java b/src/test/java/test/methodinterceptors/multipleinterceptors/MultipleInterceptorsTest.java
index 0fe23bb..c1f37a0 100644
--- a/src/test/java/test/methodinterceptors/multipleinterceptors/MultipleInterceptorsTest.java
+++ b/src/test/java/test/methodinterceptors/multipleinterceptors/MultipleInterceptorsTest.java
@@ -1,12 +1,12 @@
package test.methodinterceptors.multipleinterceptors;
+import java.util.Collections;
+
import org.testng.Assert;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;
import org.testng.annotations.Test;
-import java.util.Collections;
-
import test.SimpleBaseTest;
public class MultipleInterceptorsTest extends SimpleBaseTest {
@@ -25,13 +25,14 @@ public class MultipleInterceptorsTest extends SimpleBaseTest {
}
@Test
- // FIXME With or without preserve-order, test is working
public void testMultipleInterceptorsWithPreserveOrder() {
TestNG tng = create();
- tng.setTestSuites(Collections.singletonList(getPathToResource("/methodinterceptors/multipleinterceptors/multiple-interceptors.xml")));
+ tng.setTestSuites(Collections.singletonList(
+ getPathToResource("/methodinterceptors/multipleinterceptors/multiple-interceptors.xml")));
TestListenerAdapter tla = new TestListenerAdapter();
tng.addListener(tla);
tng.run();
- Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getDescription(), "abcabc"); // Interceptor are called twice => GITHUB #154
+ // Interceptor are called twice => GITHUB #154
+ Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getDescription(), "abcabc");
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git
More information about the pkg-java-commits
mailing list