From d6276824b53fcdadd7c6505eb378d581e61e059d Mon Sep 17 00:00:00 2001 From: toolsqa Date: Thu, 26 Nov 2015 03:08:22 +0530 Subject: [PATCH 1/8] This closes #863 Same xmlsuite is added multiple times when tests are run using TestNG.SetXmlSuites method --- src/main/java/org/testng/TestNG.java | 39 +++++++++++-------- .../test/sanitycheck/CheckSuiteNamesTest.java | 33 +++++++++++++++- .../java/test/sanitycheck/SuiteListner.java | 28 +++++++++++++ 3 files changed, 81 insertions(+), 19 deletions(-) create mode 100644 src/test/java/test/sanitycheck/SuiteListner.java diff --git a/src/main/java/org/testng/TestNG.java b/src/main/java/org/testng/TestNG.java index d40c9803e8..11e5200c55 100644 --- a/src/main/java/org/testng/TestNG.java +++ b/src/main/java/org/testng/TestNG.java @@ -71,7 +71,7 @@ /** * This class is the main entry point for running tests in the TestNG framework. * Users can create their own TestNG object and invoke it in many different - * ways: + * ways *