[testng] 255/355: Revert some changes that helped to debug

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit f96908d77075945e132d864fb9addcb4c5529eae
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Sun May 3 23:31:16 2015 +0200

    Revert some changes that helped to debug
---
 src/main/java/org/testng/TestRunner.java                                | 2 +-
 src/main/java/org/testng/internal/BaseClassFinder.java                  | 2 +-
 src/main/java/org/testng/internal/ClassInfoMap.java                     | 2 +-
 src/test/java/test/annotationtransformer/AnnotationTransformerTest.java | 1 -
 4 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/testng/TestRunner.java b/src/main/java/org/testng/TestRunner.java
index 45b4621..2772445 100644
--- a/src/main/java/org/testng/TestRunner.java
+++ b/src/main/java/org/testng/TestRunner.java
@@ -100,7 +100,7 @@ public class TestRunner
   private Date m_endDate = null;
 
   /** A map to keep track of Class <-> IClass. */
-  transient private Map<Class<?>, ITestClass> m_classMap = Maps.newLinkedHashMap(); // Changed to reproduce issue #87 (order is important)
+  transient private Map<Class<?>, ITestClass> m_classMap = Maps.newHashMap();
 
   /** Where the reports will be created. */
   private String m_outputDirectory= Constants.getDefaultValueFor(Constants.PROP_OUTPUT_DIR);
diff --git a/src/main/java/org/testng/internal/BaseClassFinder.java b/src/main/java/org/testng/internal/BaseClassFinder.java
index 1247dbe..90ac311 100755
--- a/src/main/java/org/testng/internal/BaseClassFinder.java
+++ b/src/main/java/org/testng/internal/BaseClassFinder.java
@@ -17,7 +17,7 @@ import java.util.Map;
  * @author <a href="mailto:cedric at beust.com">Cedric Beust</a>
  */
 abstract public class BaseClassFinder implements ITestClassFinder {
-  private Map<Class, IClass> m_classes = Maps.newLinkedHashMap(); // Changed to reproduce issue #87 (order is important)
+  private Map<Class, IClass> m_classes = Maps.newHashMap();
 
   @Override
   public IClass getIClass(Class cls) {
diff --git a/src/main/java/org/testng/internal/ClassInfoMap.java b/src/main/java/org/testng/internal/ClassInfoMap.java
index 50a17f4..b57a03f 100644
--- a/src/main/java/org/testng/internal/ClassInfoMap.java
+++ b/src/main/java/org/testng/internal/ClassInfoMap.java
@@ -8,7 +8,7 @@ import java.util.Map;
 import java.util.Set;
 
 public class ClassInfoMap {
-  private Map<Class<?>, XmlClass> m_map = Maps.newLinkedHashMap(); // Changed to reproduce issue #87 (order is important)
+  private Map<Class<?>, XmlClass> m_map = Maps.newHashMap();
   private boolean includeNestedClasses;
 
   public ClassInfoMap() {
diff --git a/src/test/java/test/annotationtransformer/AnnotationTransformerTest.java b/src/test/java/test/annotationtransformer/AnnotationTransformerTest.java
index 71390b5..548ebf2 100644
--- a/src/test/java/test/annotationtransformer/AnnotationTransformerTest.java
+++ b/src/test/java/test/annotationtransformer/AnnotationTransformerTest.java
@@ -60,7 +60,6 @@ public class AnnotationTransformerTest extends SimpleBaseTest {
   public void verifyAnnotationTransformerMethod() {
     TestNG tng = create(AnnotationTransformerSampleTest.class);
     tng.setPreserveOrder(true);
-    tng.setVerbose(10);
 
     MyTransformer transformer = new MyTransformer();
     tng.setAnnotationTransformer(transformer);

-- 
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