1.1 --- a/testng.ant/build.xml Sat Mar 10 02:54:06 2012 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,54 +0,0 @@
1.4 -<?xml version="1.0" encoding="UTF-8"?>
1.5 -<!--
1.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
1.7 -
1.8 -Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
1.9 -
1.10 -Oracle and Java are registered trademarks of Oracle and/or its
1.11 -affiliates. Other names may be trademarks of their respective owners.
1.12 -
1.13 -The contents of this file are subject to the terms of either the GNU
1.14 -General Public License Version 2 only ("GPL") or the Common
1.15 -Development and Distribution License("CDDL") (collectively, the
1.16 -"License"). You may not use this file except in compliance with the
1.17 -License. You can obtain a copy of the License at
1.18 -http://www.netbeans.org/cddl-gplv2.html or
1.19 -nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific
1.20 -language governing permissions and limitations under the License.
1.21 -When distributing the software, include this License Header
1.22 -Notice in each file and include the License file at
1.23 -nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this particular file
1.24 -as subject to the "Classpath" exception as provided by Oracle in the
1.25 -GPL Version 2 section of the License file that accompanied this code. If
1.26 -applicable, add the following below the License Header, with the fields
1.27 -enclosed by brackets [] replaced by your own identifying information:
1.28 -"Portions Copyrighted [year] [name of copyright owner]"
1.29 -
1.30 -Contributor(s):
1.31 -
1.32 -The original software is NetBeans. The initial developer of the original
1.33 -software was Sun Microsystems, Inc.; portions copyright 1997-2006 Sun
1.34 -Microsystems, Inc. All rights reserved.
1.35 -
1.36 -If you wish your version of this file to be governed by only the CDDL or
1.37 -only the GPL Version 2, indicate your decision by adding "[Contributor]
1.38 -elects to include this software in this distribution under the [CDDL or
1.39 -GPL Version 2] license." If you do not indicate a single choice of license,
1.40 -a recipient has the option to distribute your version of this file under
1.41 -either the CDDL, the GPL Version 2 or to extend the choice of license to
1.42 -its licensees as provided above. However, if you add GPL Version 2 code
1.43 -and therefore, elected the GPL Version 2 license, then the option applies
1.44 -only if the new code is made subject to such option by the copyright holder.
1.45 -
1.46 -Oracle is not responsible for the availability of third-party Web sites
1.47 -mentioned in this document. Oracle does not endorse and is not
1.48 -responsible or liable for any content, advertising, products, or other
1.49 -materials on or available from such sites or resources. Oracle will not be
1.50 -responsible or liable for any damage or loss caused or alleged to be
1.51 -caused by or in connection with use of or reliance on any such content,
1.52 -goods, or services available on or through any such sites or resources.
1.53 --->
1.54 -<project basedir="." default="netbeans" name="contrib/testng.ant">
1.55 - <description>Builds, tests, and runs the project org.netbeans.modules.testng.ant</description>
1.56 - <import file="../../nbbuild/templates/projectized.xml"/>
1.57 -</project>
2.1 --- a/testng.ant/manifest.mf Sat Mar 10 02:54:06 2012 +0100
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,5 +0,0 @@
2.4 -Manifest-Version: 1.0
2.5 -AutoUpdate-Show-In-Client: true
2.6 -OpenIDE-Module: org.netbeans.modules.testng.ant
2.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/contrib/testng/ant/Bundle.properties
2.8 -OpenIDE-Module-Specification-Version: 1.2
3.1 --- a/testng.ant/nbproject/project.properties Sat Mar 10 02:54:06 2012 +0100
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,51 +0,0 @@
3.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3.5 -#
3.6 -# Copyright \u00a9 2011 Oracle and/or its affiliates. All rights reserved.
3.7 -#
3.8 -# Oracle and Java are registered trademarks of Oracle and/or its
3.9 -# affiliates. Other names may be trademarks of their respective owners.
3.10 -#
3.11 -# The contents of this file are subject to the terms of either the GNU
3.12 -# General Public License Version 2 only ("GPL") or the Common
3.13 -# Development and Distribution License("CDDL") (collectively, the
3.14 -# "License"). You may not use this file except in compliance with the
3.15 -# License. You can obtain a copy of the License at
3.16 -# http://www.netbeans.org/cddl-gplv2.html or
3.17 -# nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific
3.18 -# language governing permissions and limitations under the License.
3.19 -# When distributing the software, include this License Header
3.20 -# Notice in each file and include the License file at
3.21 -# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this particular file
3.22 -# as subject to the "Classpath" exception as provided by Oracle in the
3.23 -# GPL Version 2 section of the License file that accompanied this code. If
3.24 -# applicable, add the following below the License Header, with the fields
3.25 -# enclosed by brackets [] replaced by your own identifying information:
3.26 -# "Portions Copyrighted [year] [name of copyright owner]"
3.27 -#
3.28 -# Contributor(s):
3.29 -#
3.30 -# The original software is NetBeans. The initial developer of the original
3.31 -# software was Sun Microsystems, Inc.; portions copyright 1997-2006 Sun
3.32 -# Microsystems, Inc. All rights reserved.
3.33 -#
3.34 -# If you wish your version of this file to be governed by only the CDDL or
3.35 -# only the GPL Version 2, indicate your decision by adding "[Contributor]
3.36 -# elects to include this software in this distribution under the [CDDL or
3.37 -# GPL Version 2] license." If you do not indicate a single choice of license,
3.38 -# a recipient has the option to distribute your version of this file under
3.39 -# either the CDDL, the GPL Version 2 or to extend the choice of license to
3.40 -# its licensees as provided above. However, if you add GPL Version 2 code
3.41 -# and therefore, elected the GPL Version 2 license, then the option applies
3.42 -# only if the new code is made subject to such option by the copyright holder.
3.43 -#
3.44 -# Oracle is not responsible for the availability of third-party Web sites
3.45 -# mentioned in this document. Oracle does not endorse and is not
3.46 -# responsible or liable for any content, advertising, products, or other
3.47 -# materials on or available from such sites or resources. Oracle will not be
3.48 -# responsible or liable for any damage or loss caused or alleged to be
3.49 -# caused by or in connection with use of or reliance on any such content,
3.50 -# goods, or services available on or through any such sites or resources.
3.51 -javac.source=1.6
3.52 -javac.compilerargs=-Xlint -Xlint:-serial
3.53 -nbm.homepage=http://wiki.netbeans.org/TestNG
3.54 -nbm.module.author=Lukas Jungmann
4.1 --- a/testng.ant/nbproject/project.xml Sat Mar 10 02:54:06 2012 +0100
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,129 +0,0 @@
4.4 -<?xml version="1.0" encoding="UTF-8"?>
4.5 -<!--
4.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4.7 -
4.8 -Copyright © 2011 Oracle and/or its affiliates. All rights reserved.
4.9 -
4.10 -Oracle and Java are registered trademarks of Oracle and/or its
4.11 -affiliates. Other names may be trademarks of their respective owners.
4.12 -
4.13 -The contents of this file are subject to the terms of either the GNU
4.14 -General Public License Version 2 only ("GPL") or the Common
4.15 -Development and Distribution License("CDDL") (collectively, the
4.16 -"License"). You may not use this file except in compliance with the
4.17 -License. You can obtain a copy of the License at
4.18 -http://www.netbeans.org/cddl-gplv2.html or
4.19 -nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific
4.20 -language governing permissions and limitations under the License.
4.21 -When distributing the software, include this License Header
4.22 -Notice in each file and include the License file at
4.23 -nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this particular file
4.24 -as subject to the "Classpath" exception as provided by Oracle in the
4.25 -GPL Version 2 section of the License file that accompanied this code. If
4.26 -applicable, add the following below the License Header, with the fields
4.27 -enclosed by brackets [] replaced by your own identifying information:
4.28 -"Portions Copyrighted [year] [name of copyright owner]"
4.29 -
4.30 -Contributor(s):
4.31 -
4.32 -The original software is NetBeans. The initial developer of the original
4.33 -software was Sun Microsystems, Inc.; portions copyright 1997-2006 Sun
4.34 -Microsystems, Inc. All rights reserved.
4.35 -
4.36 -If you wish your version of this file to be governed by only the CDDL or
4.37 -only the GPL Version 2, indicate your decision by adding "[Contributor]
4.38 -elects to include this software in this distribution under the [CDDL or
4.39 -GPL Version 2] license." If you do not indicate a single choice of license,
4.40 -a recipient has the option to distribute your version of this file under
4.41 -either the CDDL, the GPL Version 2 or to extend the choice of license to
4.42 -its licensees as provided above. However, if you add GPL Version 2 code
4.43 -and therefore, elected the GPL Version 2 license, then the option applies
4.44 -only if the new code is made subject to such option by the copyright holder.
4.45 -
4.46 -Oracle is not responsible for the availability of third-party Web sites
4.47 -mentioned in this document. Oracle does not endorse and is not
4.48 -responsible or liable for any content, advertising, products, or other
4.49 -materials on or available from such sites or resources. Oracle will not be
4.50 -responsible or liable for any damage or loss caused or alleged to be
4.51 -caused by or in connection with use of or reliance on any such content,
4.52 -goods, or services available on or through any such sites or resources.
4.53 --->
4.54 -<project xmlns="http://www.netbeans.org/ns/project/1">
4.55 - <type>org.netbeans.modules.apisupport.project</type>
4.56 - <configuration>
4.57 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
4.58 - <code-name-base>org.netbeans.modules.testng.ant</code-name-base>
4.59 - <module-dependencies>
4.60 - <dependency>
4.61 - <code-name-base>org.apache.tools.ant.module</code-name-base>
4.62 - <build-prerequisite/>
4.63 - <compile-dependency/>
4.64 - <run-dependency>
4.65 - <release-version>3</release-version>
4.66 - <specification-version>3.39</specification-version>
4.67 - </run-dependency>
4.68 - </dependency>
4.69 - <dependency>
4.70 - <code-name-base>org.netbeans.api.java.classpath</code-name-base>
4.71 - <build-prerequisite/>
4.72 - <compile-dependency/>
4.73 - <run-dependency>
4.74 - <release-version>1</release-version>
4.75 - <specification-version>1.23</specification-version>
4.76 - </run-dependency>
4.77 - </dependency>
4.78 - <dependency>
4.79 - <code-name-base>org.netbeans.modules.project.ant</code-name-base>
4.80 - <build-prerequisite/>
4.81 - <compile-dependency/>
4.82 - <run-dependency>
4.83 - <release-version>1</release-version>
4.84 - <specification-version>1.36</specification-version>
4.85 - </run-dependency>
4.86 - </dependency>
4.87 - <dependency>
4.88 - <code-name-base>org.netbeans.modules.projectapi</code-name-base>
4.89 - <build-prerequisite/>
4.90 - <compile-dependency/>
4.91 - <run-dependency>
4.92 - <release-version>1</release-version>
4.93 - <specification-version>1.29</specification-version>
4.94 - </run-dependency>
4.95 - </dependency>
4.96 - <dependency>
4.97 - <code-name-base>org.netbeans.modules.testng</code-name-base>
4.98 - <build-prerequisite/>
4.99 - <compile-dependency/>
4.100 - <run-dependency>
4.101 - <specification-version>1.8</specification-version>
4.102 - </run-dependency>
4.103 - </dependency>
4.104 - <dependency>
4.105 - <code-name-base>org.openide.execution</code-name-base>
4.106 - <build-prerequisite/>
4.107 - <compile-dependency/>
4.108 - <run-dependency>
4.109 - <specification-version>1.17</specification-version>
4.110 - </run-dependency>
4.111 - </dependency>
4.112 - <dependency>
4.113 - <code-name-base>org.openide.filesystems</code-name-base>
4.114 - <build-prerequisite/>
4.115 - <compile-dependency/>
4.116 - <run-dependency>
4.117 - <specification-version>7.35</specification-version>
4.118 - </run-dependency>
4.119 - </dependency>
4.120 - <dependency>
4.121 - <code-name-base>org.openide.util.lookup</code-name-base>
4.122 - <build-prerequisite/>
4.123 - <compile-dependency/>
4.124 - <run-dependency>
4.125 - <specification-version>8.1</specification-version>
4.126 - </run-dependency>
4.127 - </dependency>
4.128 - </module-dependencies>
4.129 - <public-packages/>
4.130 - </data>
4.131 - </configuration>
4.132 -</project>
5.1 --- a/testng.ant/src/org/netbeans/modules/contrib/testng/ant/AntTestNGSupport.java Sat Mar 10 02:54:06 2012 +0100
5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
5.3 @@ -1,221 +0,0 @@
5.4 -/*
5.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5.6 - *
5.7 - * Copyright © 2008-2012 Oracle and/or its affiliates. All rights reserved.
5.8 - *
5.9 - * The contents of this file are subject to the terms of either the GNU
5.10 - * General Public License Version 2 only ("GPL") or the Common
5.11 - * Development and Distribution License("CDDL") (collectively, the
5.12 - * "License"). You may not use this file except in compliance with the
5.13 - * License. You can obtain a copy of the License at
5.14 - * http://www.netbeans.org/cddl-gplv2.html
5.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
5.16 - * specific language governing permissions and limitations under the
5.17 - * License. When distributing the software, include this License Header
5.18 - * Notice in each file and include the License file at
5.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
5.20 - * particular file as subject to the "Classpath" exception as provided
5.21 - * by Sun in the GPL Version 2 section of the License file that
5.22 - * accompanied this code. If applicable, add the following below the
5.23 - * License Header, with the fields enclosed by brackets [] replaced by
5.24 - * your own identifying information:
5.25 - * "Portions Copyrighted [year] [name of copyright owner]"
5.26 - *
5.27 - * If you wish your version of this file to be governed by only the CDDL
5.28 - * or only the GPL Version 2, indicate your decision by adding
5.29 - * "[Contributor] elects to include this software in this distribution
5.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
5.31 - * single choice of license, a recipient has the option to distribute
5.32 - * your version of this file under either the CDDL, the GPL Version 2 or
5.33 - * to extend the choice of license to its licensees as provided above.
5.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
5.35 - * Version 2 license, then the option applies only if the new code is
5.36 - * made subject to such option by the copyright holder.
5.37 - *
5.38 - * Contributor(s):
5.39 - *
5.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
5.41 - */
5.42 -package org.netbeans.modules.contrib.testng.ant;
5.43 -
5.44 -import java.io.File;
5.45 -import java.io.IOException;
5.46 -import java.io.InputStream;
5.47 -import java.io.OutputStream;
5.48 -import java.util.Collections;
5.49 -import java.util.HashSet;
5.50 -import java.util.Properties;
5.51 -import java.util.Set;
5.52 -import java.util.logging.Level;
5.53 -import java.util.logging.Logger;
5.54 -import org.apache.tools.ant.module.api.support.ActionUtils;
5.55 -import org.netbeans.api.java.classpath.ClassPath;
5.56 -import org.netbeans.api.project.FileOwnerQuery;
5.57 -import org.netbeans.api.project.Project;
5.58 -import org.netbeans.api.project.ProjectManager;
5.59 -import org.netbeans.api.project.ProjectUtils;
5.60 -import org.netbeans.api.project.ant.AntBuildExtender;
5.61 -import org.netbeans.api.project.ant.AntBuildExtender.Extension;
5.62 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
5.63 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
5.64 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
5.65 -import org.netbeans.modules.contrib.testng.spi.XMLSuiteSupport;
5.66 -import org.netbeans.spi.project.ant.AntArtifactProvider;
5.67 -import org.openide.filesystems.FileLock;
5.68 -import org.openide.filesystems.FileObject;
5.69 -import org.openide.filesystems.FileUtil;
5.70 -import org.openide.util.lookup.ServiceProvider;
5.71 -
5.72 -/**
5.73 - *
5.74 - * @author lukas
5.75 - */
5.76 -@ServiceProvider(service=TestNGSupportImplementation.class)
5.77 -public class AntTestNGSupport extends TestNGSupportImplementation {
5.78 -
5.79 - private static final Logger LOGGER = Logger.getLogger(AntTestNGSupport.class.getName());
5.80 - private static final Set<Action> SUPPORTED_ACTIONS;
5.81 -
5.82 - static {
5.83 - Set<Action> s = new HashSet<Action>();
5.84 - s.add(Action.CREATE_TEST);
5.85 - s.add(Action.RUN_FAILED);
5.86 - s.add(Action.RUN_TESTMETHOD);
5.87 - s.add(Action.RUN_TESTSUITE);
5.88 - s.add(Action.DEBUG_TEST);
5.89 - s.add(Action.DEBUG_TESTMETHOD);
5.90 - s.add(Action.DEBUG_TESTSUITE);
5.91 - SUPPORTED_ACTIONS = Collections.unmodifiableSet(s);
5.92 - }
5.93 -
5.94 - @Override
5.95 - public boolean isActionSupported(Action action, Project p) {
5.96 - return p != null && p.getLookup().lookup(AntArtifactProvider.class) != null && SUPPORTED_ACTIONS.contains(action);
5.97 - }
5.98 -
5.99 - @Override
5.100 - public void configureProject(FileObject createdFile) {
5.101 - try {
5.102 - addLibrary(createdFile);
5.103 - } catch (IOException ex) {
5.104 - LOGGER.log(Level.SEVERE, null, ex);
5.105 - }
5.106 - Project p = FileOwnerQuery.getOwner(createdFile);
5.107 - AntBuildExtender extender = p.getLookup().lookup(AntBuildExtender.class);
5.108 - if (extender != null) {
5.109 - String ID = "test-ng-1.0"; //NOI18N
5.110 - Extension extension = extender.getExtension(ID);
5.111 - if (extension == null) {
5.112 - LOGGER.log(Level.FINER, "Extensible targets: {0}", extender.getExtensibleTargets());
5.113 - try {
5.114 - // create testng-build.xml
5.115 - FileObject testng = p.getProjectDirectory().getFileObject("nbproject").createData("testng-impl", "xml"); //NOI18N
5.116 - InputStream is = AntTestNGSupport.class.getResourceAsStream("testng-build.xml"); //NOI18N
5.117 - FileLock lock = testng.lock();
5.118 - OutputStream os = testng.getOutputStream(lock);
5.119 - try {
5.120 - FileUtil.copy(is, os);
5.121 - } finally {
5.122 - if (is != null) {
5.123 - is.close();
5.124 - }
5.125 - if (os != null) {
5.126 - os.close();
5.127 - }
5.128 - lock.releaseLock();
5.129 - }
5.130 - extension = extender.addExtension(ID, testng);
5.131 - extension.addDependency("-pre-pre-compile", "-reinit-tasks"); //NOI18N
5.132 - ProjectManager.getDefault().saveProject(p);
5.133 - } catch (IOException ex) {
5.134 - LOGGER.log(Level.SEVERE, null, ex);
5.135 - }
5.136 - }
5.137 - }
5.138 - }
5.139 -
5.140 - @Override
5.141 - public TestExecutor createExecutor(Project p) {
5.142 - return new AntExecutor(p);
5.143 - }
5.144 -
5.145 - private static class AntExecutor implements TestNGSupportImplementation.TestExecutor {
5.146 -
5.147 - private static final String failedConfPath = "build/test/results/testng-failed.xml"; //NOI18N
5.148 - private Project p;
5.149 -
5.150 - public AntExecutor(Project p) {
5.151 - this.p = p;
5.152 - }
5.153 -
5.154 - @Override
5.155 - public boolean hasFailedTests() {
5.156 - FileObject projectHome = p.getProjectDirectory();
5.157 - //XXX - should rather listen on a fileobject??
5.158 - FileUtil.refreshFor(FileUtil.toFile(projectHome));
5.159 - FileObject failedTestsConfig = projectHome.getFileObject(failedConfPath);
5.160 - return failedTestsConfig != null && failedTestsConfig.isValid();
5.161 - }
5.162 -
5.163 - @Override
5.164 - public void execute(Action action, TestConfig config) throws IOException {
5.165 - FileObject projectHome = p.getProjectDirectory();
5.166 - Properties props = new Properties();
5.167 - if (config.doRerun()) {
5.168 - FileObject failedTestsConfig = projectHome.getFileObject(failedConfPath);
5.169 - props.put("testng.config", FileUtil.getRelativePath(projectHome, failedTestsConfig));
5.170 - } else {
5.171 - if (Action.RUN_TESTSUITE.equals(action)) {
5.172 - props.put("testng.config", FileUtil.toFile(config.getTest()).getAbsolutePath());
5.173 - } else if (Action.DEBUG_TESTSUITE.equals(action)) {
5.174 - props.put("test.class.or.method", FileUtil.toFile(config.getTest()).getAbsolutePath());
5.175 - } else if (Action.RUN_TESTMETHOD.equals(action)) {
5.176 - File f = XMLSuiteSupport.createSuiteforMethod(
5.177 - FileUtil.normalizeFile(new File(System.getProperty("java.io.tmpdir"))), //NOI18N
5.178 - ProjectUtils.getInformation(p).getDisplayName(),
5.179 - config.getPackageName(),
5.180 - config.getClassName(),
5.181 - config.getMethodName());
5.182 - f = FileUtil.normalizeFile(f);
5.183 - props.put("testng.config", f.getAbsolutePath());
5.184 - } else {
5.185 - String cls = config.getPackageName() != null
5.186 - ? config.getPackageName() + "." + config.getClassName()
5.187 - : config.getClassName();
5.188 - props.put("test.class", cls);
5.189 - if (config.getMethodName() != null && config.getMethodName().trim().length() > 0) {
5.190 - props.put("test.class.or.method", "-methods " + cls + "." + config.getMethodName());
5.191 - }
5.192 - }
5.193 - }
5.194 - try {
5.195 - String target = "run-testng"; //NOI18N
5.196 - if (Action.DEBUG_TEST.equals(action) || Action.DEBUG_TESTMETHOD.equals(action) || Action.DEBUG_TESTSUITE.equals(action)) {
5.197 - target = "debug-testng"; //NOI18N
5.198 - FileObject test = config.getTest();
5.199 - FileObject[] testRoots = ClassPath.getClassPath(test, ClassPath.SOURCE).getRoots();
5.200 - FileObject testRoot = null;
5.201 - for (FileObject root : testRoots) {
5.202 - if (FileUtil.isParentOf(root, test)) {
5.203 - testRoot = root;
5.204 - break;
5.205 - }
5.206 - }
5.207 - assert testRoot != null;
5.208 - if (Action.DEBUG_TESTSUITE.equals(action)) {
5.209 - props.put("javac.includes", //NOI18N
5.210 - ActionUtils.antIncludesList(new FileObject[]{testRoot}, testRoot, true));
5.211 - } else {
5.212 - props.put("javac.includes", //NOI18N
5.213 - ActionUtils.antIncludesList(new FileObject[]{test}, testRoot));
5.214 - }
5.215 - }
5.216 - ActionUtils.runTarget(projectHome.getFileObject("build.xml"), new String[]{target}, props); //NOI18N
5.217 - } catch (IOException ex) {
5.218 - LOGGER.log(Level.SEVERE, null, ex);
5.219 - } catch (IllegalArgumentException ex) {
5.220 - LOGGER.log(Level.SEVERE, null, ex);
5.221 - }
5.222 - }
5.223 - }
5.224 -}
6.1 --- a/testng.ant/src/org/netbeans/modules/contrib/testng/ant/Bundle.properties Sat Mar 10 02:54:06 2012 +0100
6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
6.3 @@ -1,52 +0,0 @@
6.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6.5 -#
6.6 -# Copyright \u00a9 2011 Oracle and/or its affiliates. All rights reserved.
6.7 -#
6.8 -# Oracle and Java are registered trademarks of Oracle and/or its
6.9 -# affiliates. Other names may be trademarks of their respective owners.
6.10 -#
6.11 -# The contents of this file are subject to the terms of either the GNU
6.12 -# General Public License Version 2 only ("GPL") or the Common
6.13 -# Development and Distribution License("CDDL") (collectively, the
6.14 -# "License"). You may not use this file except in compliance with the
6.15 -# License. You can obtain a copy of the License at
6.16 -# http://www.netbeans.org/cddl-gplv2.html or
6.17 -# nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific
6.18 -# language governing permissions and limitations under the License.
6.19 -# When distributing the software, include this License Header
6.20 -# Notice in each file and include the License file at
6.21 -# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this particular file
6.22 -# as subject to the "Classpath" exception as provided by Oracle in the
6.23 -# GPL Version 2 section of the License file that accompanied this code. If
6.24 -# applicable, add the following below the License Header, with the fields
6.25 -# enclosed by brackets [] replaced by your own identifying information:
6.26 -# "Portions Copyrighted [year] [name of copyright owner]"
6.27 -#
6.28 -# Contributor(s):
6.29 -#
6.30 -# The original software is NetBeans. The initial developer of the original
6.31 -# software was Sun Microsystems, Inc.; portions copyright 1997-2006 Sun
6.32 -# Microsystems, Inc. All rights reserved.
6.33 -#
6.34 -# If you wish your version of this file to be governed by only the CDDL or
6.35 -# only the GPL Version 2, indicate your decision by adding "[Contributor]
6.36 -# elects to include this software in this distribution under the [CDDL or
6.37 -# GPL Version 2] license." If you do not indicate a single choice of license,
6.38 -# a recipient has the option to distribute your version of this file under
6.39 -# either the CDDL, the GPL Version 2 or to extend the choice of license to
6.40 -# its licensees as provided above. However, if you add GPL Version 2 code
6.41 -# and therefore, elected the GPL Version 2 license, then the option applies
6.42 -# only if the new code is made subject to such option by the copyright holder.
6.43 -#
6.44 -# Oracle is not responsible for the availability of third-party Web sites
6.45 -# mentioned in this document. Oracle does not endorse and is not
6.46 -# responsible or liable for any content, advertising, products, or other
6.47 -# materials on or available from such sites or resources. Oracle will not be
6.48 -# responsible or liable for any damage or loss caused or alleged to be
6.49 -# caused by or in connection with use of or reliance on any such content,
6.50 -# goods, or services available on or through any such sites or resources.
6.51 -OpenIDE-Module-Display-Category=Testing Tools
6.52 -OpenIDE-Module-Long-Description=\
6.53 - Integrates TestNG actions into Ant based projects.
6.54 -OpenIDE-Module-Name=Ant TestNG support
6.55 -OpenIDE-Module-Short-Description=Support for TestNG framework in Ant projects
7.1 --- a/testng.ant/src/org/netbeans/modules/contrib/testng/ant/testng-build.xml Sat Mar 10 02:54:06 2012 +0100
7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
7.3 @@ -1,220 +0,0 @@
7.4 -<?xml version="1.0" encoding="UTF-8"?>
7.5 -<!--
7.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
7.7 -
7.8 -Copyright © 1997-2012 Oracle and/or its affiliates. All rights reserved.
7.9 -
7.10 -
7.11 -The contents of this file are subject to the terms of either the GNU
7.12 -General Public License Version 2 only ("GPL") or the Common
7.13 -Development and Distribution License("CDDL") (collectively, the
7.14 -"License"). You may not use this file except in compliance with the
7.15 -License. You can obtain a copy of the License at
7.16 -http://www.netbeans.org/cddl-gplv2.html
7.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
7.18 -specific language governing permissions and limitations under the
7.19 -License. When distributing the software, include this License Header
7.20 -Notice in each file and include the License file at
7.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
7.22 -particular file as subject to the "Classpath" exception as provided
7.23 -by Sun in the GPL Version 2 section of the License file that
7.24 -accompanied this code. If applicable, add the following below the
7.25 -License Header, with the fields enclosed by brackets [] replaced by
7.26 -your own identifying information:
7.27 -"Portions Copyrighted [year] [name of copyright owner]"
7.28 -
7.29 -Contributor(s):
7.30 -
7.31 -The Original Software is NetBeans. The Initial Developer of the Original
7.32 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
7.33 -Microsystems, Inc. All Rights Reserved.
7.34 -
7.35 -If you wish your version of this file to be governed by only the CDDL
7.36 -or only the GPL Version 2, indicate your decision by adding
7.37 -"[Contributor] elects to include this software in this distribution
7.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
7.39 -single choice of license, a recipient has the option to distribute
7.40 -your version of this file under either the CDDL, the GPL Version 2 or
7.41 -to extend the choice of license to its licensees as provided above.
7.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
7.43 -Version 2 license, then the option applies only if the new code is
7.44 -made subject to such option by the copyright holder.
7.45 --->
7.46 -<project name="testng-impl" default="default" basedir="..">
7.47 - <target name="default">
7.48 - <echo message="Default target is not set."/>
7.49 - </target>
7.50 -
7.51 - <target name="-init-env">
7.52 - <condition property="run.jvmargs.prop" value="${run.jvmargs}" else="">
7.53 - <isset property="run.jvmargs"/>
7.54 - </condition>
7.55 - <!-- IDE sets this when CoS off + CTRL+F6 -->
7.56 - <property name="test.includes" value="**/*.java"/>
7.57 - <condition property="test.name.arg" value="-testname ${test.class}" else="">
7.58 - <isset property="test.class"/>
7.59 - </condition>
7.60 - </target>
7.61 -
7.62 - <!-- Call testng ant task -->
7.63 - <target name="-init-macrodef-testng">
7.64 - <macrodef name="testng-ant">
7.65 - <attribute default="${includes}" name="includes"/>
7.66 - <attribute default="${excludes}" name="excludes"/>
7.67 - <attribute default="**" name="testincludes"/>
7.68 - <sequential>
7.69 - <fileset id="mixed.tests" dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
7.70 - <filename name="@{testincludes}"/>
7.71 - </fileset>
7.72 - <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}"/>
7.73 - <testng mode="MIXED" classfilesetref="mixed.tests" workingDir="${basedir}" failureProperty="tests.failed" outputdir="${build.test.results.dir}">
7.74 - <classpath>
7.75 - <pathelement path="${run.test.classpath}"/>
7.76 - <pathelement path="${j2ee.platform.classpath}"/>
7.77 - <pathelement path="${build.test.classes.dir}"/>
7.78 - </classpath>
7.79 - <propertyset>
7.80 - <propertyref prefix="test-sys-prop."/>
7.81 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
7.82 - </propertyset>
7.83 - <jvmarg line="${run.jvmargs.prop}"/>
7.84 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
7.85 - </testng>
7.86 - </sequential>
7.87 - </macrodef>
7.88 - <macrodef name="testng-ant-xml">
7.89 - <attribute name="testSuite" default="${build.dir}/generated/testng/temp-testng-customsuite.xml"/>
7.90 - <sequential>
7.91 - <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}"/>
7.92 - <testng workingDir="${basedir}" failureProperty="tests.failed" outputdir="${build.test.results.dir}">
7.93 - <classpath>
7.94 - <pathelement path="${run.test.classpath}"/>
7.95 - <pathelement path="${j2ee.platform.classpath}"/>
7.96 - <pathelement path="${build.test.classes.dir}"/>
7.97 - </classpath>
7.98 - <xmlfileset file="@{testSuite}"/>
7.99 - <propertyset>
7.100 - <propertyref prefix="test-sys-prop."/>
7.101 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
7.102 - </propertyset>
7.103 - <jvmarg line="${run.jvmargs.prop}"/>
7.104 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
7.105 - </testng>
7.106 - </sequential>
7.107 - </macrodef>
7.108 - </target>
7.109 -
7.110 - <target name="-init-macrodef-testng-debug">
7.111 - <macrodef name="testng-debug">
7.112 - <attribute default="${main.class}" name="classname"/>
7.113 - <attribute default="${debug.classpath}" name="classpath"/>
7.114 - <element name="customize" optional="true"/>
7.115 - <sequential>
7.116 - <java classname="@{classname}" dir="${work.dir}" fork="true">
7.117 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
7.118 - <jvmarg line="${debug-args-line}"/>
7.119 - <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
7.120 - <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
7.121 - <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
7.122 - <jvmarg line="${run.jvmargs.prop}"/>
7.123 - <classpath>
7.124 - <path path="@{classpath}"/>
7.125 - </classpath>
7.126 - <syspropertyset>
7.127 - <propertyref prefix="run-sys-prop."/>
7.128 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
7.129 - </syspropertyset>
7.130 - <customize/>
7.131 - </java>
7.132 - </sequential>
7.133 - </macrodef>
7.134 - </target>
7.135 -
7.136 - <!-- redefine project specific junit macros to run testng instead -->
7.137 - <target name="-testng">
7.138 - <!-- Java SE projects -->
7.139 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
7.140 - <attribute default="${includes}" name="includes"/>
7.141 - <attribute default="${excludes}" name="excludes"/>
7.142 - <attribute default="**" name="testincludes"/>
7.143 - <sequential>
7.144 - <testng-ant includes="@{includes}" excludes="@{excludes}" testincludes="@{testincludes}"/>
7.145 - </sequential>
7.146 - </macrodef>
7.147 -
7.148 - <!-- Web Projects -->
7.149 - <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
7.150 - <attribute default="${includes}" name="includes"/>
7.151 - <attribute default="${excludes}" name="excludes"/>
7.152 - <attribute default="**" name="testincludes"/>
7.153 - <sequential>
7.154 - <testng-ant includes="@{includes}" excludes="@{excludes}" testincludes="@{testincludes}"/>
7.155 - </sequential>
7.156 - </macrodef>
7.157 -
7.158 - <!-- EJB Projects -->
7.159 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
7.160 - <attribute default="${includes}" name="includes"/>
7.161 - <attribute default="${excludes}" name="excludes"/>
7.162 - <attribute default="**" name="testincludes"/>
7.163 - <sequential>
7.164 - <testng-ant includes="@{includes}" excludes="@{excludes}" testincludes="@{testincludes}"/>
7.165 - </sequential>
7.166 - </macrodef>
7.167 -
7.168 - <!-- Java EE application client projects -->
7.169 - <macrodef name="junit" uri="http://www.netbeans.org/ns/car-project/1">
7.170 - <attribute default="${includes}" name="includes"/>
7.171 - <attribute default="${excludes}" name="excludes"/>
7.172 - <attribute default="**" name="testincludes"/>
7.173 - <sequential>
7.174 - <testng-ant includes="@{includes}" excludes="@{excludes}" testincludes="@{testincludes}"/>
7.175 - </sequential>
7.176 - </macrodef>
7.177 - </target>
7.178 -
7.179 - <target name="-reinit-tasks" depends="-init-env, -init-macrodef-testng, -init-macrodef-testng-debug, -testng" />
7.180 -
7.181 - <target name="-run-testng-default" unless="testng.config">
7.182 - <testng-ant/>
7.183 - </target>
7.184 -
7.185 - <target name="-run-testng-custom" if="testng.config">
7.186 - <testng-ant-xml testSuite="${testng.config}"/>
7.187 - </target>
7.188 -
7.189 - <target name="run-testng" depends="compile-test, -init-macrodef-testng, -run-testng-default, -run-testng-custom"/>
7.190 -
7.191 - <!-- DEBUG -->
7.192 - <target name="debug-testng" depends="-init-env, init, compile-test-single, -debug-start-debugger-test, -debug-start-debuggee-testng"/>
7.193 -
7.194 - <target depends="init,compile-test,-debug-start-debuggee-testng" if="have.tests" name="-debug-start-debuggee-test"/>
7.195 -
7.196 - <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-testng">
7.197 - <condition property="valid.test.in">
7.198 - <or>
7.199 - <isset property="test.class"/>
7.200 - <isset property="test.class.or.method"/>
7.201 - </or>
7.202 - </condition>
7.203 - <fail unless="valid.test.in">Must select one file in the IDE or set test.class or testng.config</fail>
7.204 - <delete dir="${build.test.results.dir}" quiet="true"/>
7.205 - <mkdir dir="${build.test.results.dir}"/>
7.206 - <property name="test.class.or.method" value="-testclass ${test.class}"/>
7.207 - <testng-debug classname="org.testng.TestNG" classpath="${debug.test.classpath}:${j2ee.platform.classpath}">
7.208 - <customize>
7.209 - <syspropertyset>
7.210 - <propertyref prefix="test-sys-prop."/>
7.211 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
7.212 - </syspropertyset>
7.213 - <jvmarg value="-ea"/>
7.214 - <arg line="-mixed"/>
7.215 - <arg line="-d ${build.test.results.dir}"/>
7.216 - <arg line="-listener org.testng.reporters.VerboseReporter"/>
7.217 - <arg line="${test.name.arg}"/>
7.218 - <arg line="${test.class.or.method}"/>
7.219 - </customize>
7.220 - </testng-debug>
7.221 - </target>
7.222 -
7.223 -</project>
8.1 --- a/testng.maven/build.xml Sat Mar 10 02:54:06 2012 +0100
8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
8.3 @@ -1,46 +0,0 @@
8.4 -<?xml version="1.0" encoding="UTF-8"?>
8.5 -<!--
8.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
8.7 -
8.8 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
8.9 -
8.10 -
8.11 -The contents of this file are subject to the terms of either the GNU
8.12 -General Public License Version 2 only ("GPL") or the Common
8.13 -Development and Distribution License("CDDL") (collectively, the
8.14 -"License"). You may not use this file except in compliance with the
8.15 -License. You can obtain a copy of the License at
8.16 -http://www.netbeans.org/cddl-gplv2.html
8.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
8.18 -specific language governing permissions and limitations under the
8.19 -License. When distributing the software, include this License Header
8.20 -Notice in each file and include the License file at
8.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
8.22 -particular file as subject to the "Classpath" exception as provided
8.23 -by Sun in the GPL Version 2 section of the License file that
8.24 -accompanied this code. If applicable, add the following below the
8.25 -License Header, with the fields enclosed by brackets [] replaced by
8.26 -your own identifying information:
8.27 -"Portions Copyrighted [year] [name of copyright owner]"
8.28 -
8.29 -Contributor(s):
8.30 -
8.31 -The Original Software is NetBeans. The Initial Developer of the Original
8.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
8.33 -Microsystems, Inc. All Rights Reserved.
8.34 -
8.35 -If you wish your version of this file to be governed by only the CDDL
8.36 -or only the GPL Version 2, indicate your decision by adding
8.37 -"[Contributor] elects to include this software in this distribution
8.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
8.39 -single choice of license, a recipient has the option to distribute
8.40 -your version of this file under either the CDDL, the GPL Version 2 or
8.41 -to extend the choice of license to its licensees as provided above.
8.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
8.43 -Version 2 license, then the option applies only if the new code is
8.44 -made subject to such option by the copyright holder.
8.45 --->
8.46 -<project basedir="." default="netbeans" name="contrib/testng.maven">
8.47 - <description>Builds, tests, and runs the project org.netbeans.modules.testng.maven</description>
8.48 - <import file="../../nbbuild/templates/projectized.xml"/>
8.49 -</project>
9.1 --- a/testng.maven/manifest.mf Sat Mar 10 02:54:06 2012 +0100
9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
9.3 @@ -1,5 +0,0 @@
9.4 -Manifest-Version: 1.0
9.5 -AutoUpdate-Show-In-Client: true
9.6 -OpenIDE-Module: org.netbeans.modules.testng.maven
9.7 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/contrib/testng/maven/Bundle.properties
9.8 -OpenIDE-Module-Specification-Version: 1.8
10.1 --- a/testng.maven/nbproject/project.properties Sat Mar 10 02:54:06 2012 +0100
10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
10.3 @@ -1,51 +0,0 @@
10.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
10.5 -#
10.6 -# Copyright \u00a9 2011 Oracle and/or its affiliates. All rights reserved.
10.7 -#
10.8 -# Oracle and Java are registered trademarks of Oracle and/or its
10.9 -# affiliates. Other names may be trademarks of their respective owners.
10.10 -#
10.11 -# The contents of this file are subject to the terms of either the GNU
10.12 -# General Public License Version 2 only ("GPL") or the Common
10.13 -# Development and Distribution License("CDDL") (collectively, the
10.14 -# "License"). You may not use this file except in compliance with the
10.15 -# License. You can obtain a copy of the License at
10.16 -# http://www.netbeans.org/cddl-gplv2.html or
10.17 -# nbbuild/licenses/CDDL-GPL-2-CP. See the License for the specific
10.18 -# language governing permissions and limitations under the License.
10.19 -# When distributing the software, include this License Header
10.20 -# Notice in each file and include the License file at
10.21 -# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this particular file
10.22 -# as subject to the "Classpath" exception as provided by Oracle in the
10.23 -# GPL Version 2 section of the License file that accompanied this code. If
10.24 -# applicable, add the following below the License Header, with the fields
10.25 -# enclosed by brackets [] replaced by your own identifying information:
10.26 -# "Portions Copyrighted [year] [name of copyright owner]"
10.27 -#
10.28 -# Contributor(s):
10.29 -#
10.30 -# The original software is NetBeans. The initial developer of the original
10.31 -# software was Sun Microsystems, Inc.; portions copyright 1997-2006 Sun
10.32 -# Microsystems, Inc. All rights reserved.
10.33 -#
10.34 -# If you wish your version of this file to be governed by only the CDDL or
10.35 -# only the GPL Version 2, indicate your decision by adding "[Contributor]
10.36 -# elects to include this software in this distribution under the [CDDL or
10.37 -# GPL Version 2] license." If you do not indicate a single choice of license,
10.38 -# a recipient has the option to distribute your version of this file under
10.39 -# either the CDDL, the GPL Version 2 or to extend the choice of license to
10.40 -# its licensees as provided above. However, if you add GPL Version 2 code
10.41 -# and therefore, elected the GPL Version 2 license, then the option applies
10.42 -# only if the new code is made subject to such option by the copyright holder.
10.43 -#
10.44 -# Oracle is not responsible for the availability of third-party Web sites
10.45 -# mentioned in this document. Oracle does not endorse and is not
10.46 -# responsible or liable for any content, advertising, products, or other
10.47 -# materials on or available from such sites or resources. Oracle will not be
10.48 -# responsible or liable for any damage or loss caused or alleged to be
10.49 -# caused by or in connection with use of or reliance on any such content,
10.50 -# goods, or services available on or through any such sites or resources.
10.51 -javac.source=1.5
10.52 -javac.compilerargs=-Xlint -Xlint:-serial
10.53 -nbm.homepage=http://wiki.netbeans.org/TestNG
10.54 -nbm.module.author=Lukas Jungmann
11.1 --- a/testng.maven/nbproject/project.xml Sat Mar 10 02:54:06 2012 +0100
11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
11.3 @@ -1,151 +0,0 @@
11.4 -<?xml version="1.0" encoding="UTF-8"?>
11.5 -<!--
11.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
11.7 -
11.8 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
11.9 -
11.10 -
11.11 -The contents of this file are subject to the terms of either the GNU
11.12 -General Public License Version 2 only ("GPL") or the Common
11.13 -Development and Distribution License("CDDL") (collectively, the
11.14 -"License"). You may not use this file except in compliance with the
11.15 -License. You can obtain a copy of the License at
11.16 -http://www.netbeans.org/cddl-gplv2.html
11.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
11.18 -specific language governing permissions and limitations under the
11.19 -License. When distributing the software, include this License Header
11.20 -Notice in each file and include the License file at
11.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
11.22 -particular file as subject to the "Classpath" exception as provided
11.23 -by Sun in the GPL Version 2 section of the License file that
11.24 -accompanied this code. If applicable, add the following below the
11.25 -License Header, with the fields enclosed by brackets [] replaced by
11.26 -your own identifying information:
11.27 -"Portions Copyrighted [year] [name of copyright owner]"
11.28 -
11.29 -Contributor(s):
11.30 -
11.31 -The Original Software is NetBeans. The Initial Developer of the Original
11.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
11.33 -Microsystems, Inc. All Rights Reserved.
11.34 -
11.35 -If you wish your version of this file to be governed by only the CDDL
11.36 -or only the GPL Version 2, indicate your decision by adding
11.37 -"[Contributor] elects to include this software in this distribution
11.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
11.39 -single choice of license, a recipient has the option to distribute
11.40 -your version of this file under either the CDDL, the GPL Version 2 or
11.41 -to extend the choice of license to its licensees as provided above.
11.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
11.43 -Version 2 license, then the option applies only if the new code is
11.44 -made subject to such option by the copyright holder.
11.45 --->
11.46 -<project xmlns="http://www.netbeans.org/ns/project/1">
11.47 - <type>org.netbeans.modules.apisupport.project</type>
11.48 - <configuration>
11.49 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
11.50 - <code-name-base>org.netbeans.modules.testng.maven</code-name-base>
11.51 - <module-dependencies>
11.52 - <dependency>
11.53 - <code-name-base>org.netbeans.modules.maven</code-name-base>
11.54 - <build-prerequisite/>
11.55 - <compile-dependency/>
11.56 - <run-dependency>
11.57 - <release-version>1-2</release-version>
11.58 - <specification-version>1.0.4</specification-version>
11.59 - </run-dependency>
11.60 - </dependency>
11.61 - <dependency>
11.62 - <code-name-base>org.netbeans.modules.maven.model</code-name-base>
11.63 - <build-prerequisite/>
11.64 - <compile-dependency/>
11.65 - <run-dependency>
11.66 - <release-version>1</release-version>
11.67 - <specification-version>1.1.1</specification-version>
11.68 - </run-dependency>
11.69 - </dependency>
11.70 - <dependency>
11.71 - <code-name-base>org.netbeans.modules.projectapi</code-name-base>
11.72 - <build-prerequisite/>
11.73 - <compile-dependency/>
11.74 - <run-dependency>
11.75 - <release-version>1</release-version>
11.76 - <specification-version>1.19</specification-version>
11.77 - </run-dependency>
11.78 - </dependency>
11.79 - <dependency>
11.80 - <code-name-base>org.netbeans.modules.testng</code-name-base>
11.81 - <build-prerequisite/>
11.82 - <compile-dependency/>
11.83 - <run-dependency>
11.84 - <specification-version>1.8</specification-version>
11.85 - </run-dependency>
11.86 - </dependency>
11.87 - <dependency>
11.88 - <code-name-base>org.netbeans.modules.xml.xam</code-name-base>
11.89 - <build-prerequisite/>
11.90 - <compile-dependency/>
11.91 - <run-dependency>
11.92 - <release-version>1</release-version>
11.93 - <specification-version>1.5</specification-version>
11.94 - </run-dependency>
11.95 - </dependency>
11.96 - <dependency>
11.97 - <code-name-base>org.openide.execution</code-name-base>
11.98 - <build-prerequisite/>
11.99 - <compile-dependency/>
11.100 - <run-dependency>
11.101 - <specification-version>1.17</specification-version>
11.102 - </run-dependency>
11.103 - </dependency>
11.104 - <dependency>
11.105 - <code-name-base>org.openide.filesystems</code-name-base>
11.106 - <build-prerequisite/>
11.107 - <compile-dependency/>
11.108 - <run-dependency>
11.109 - <specification-version>7.35</specification-version>
11.110 - </run-dependency>
11.111 - </dependency>
11.112 - <dependency>
11.113 - <code-name-base>org.openide.io</code-name-base>
11.114 - <build-prerequisite/>
11.115 - <compile-dependency/>
11.116 - <run-dependency>
11.117 - <specification-version>1.30</specification-version>
11.118 - </run-dependency>
11.119 - </dependency>
11.120 - <dependency>
11.121 - <code-name-base>org.openide.util</code-name-base>
11.122 - <build-prerequisite/>
11.123 - <compile-dependency/>
11.124 - <run-dependency>
11.125 - <specification-version>8.21</specification-version>
11.126 - </run-dependency>
11.127 - </dependency>
11.128 - <dependency>
11.129 - <code-name-base>org.openide.util.lookup</code-name-base>
11.130 - <build-prerequisite/>
11.131 - <compile-dependency/>
11.132 - <run-dependency>
11.133 - <specification-version>8.1</specification-version>
11.134 - </run-dependency>
11.135 - </dependency>
11.136 - </module-dependencies>
11.137 - <test-dependencies>
11.138 - <test-type>
11.139 - <name>unit</name>
11.140 - <test-dependency>
11.141 - <code-name-base>org.netbeans.libs.junit4</code-name-base>
11.142 - <compile-dependency/>
11.143 - </test-dependency>
11.144 - <test-dependency>
11.145 - <code-name-base>org.netbeans.modules.nbjunit</code-name-base>
11.146 - <recursive/>
11.147 - <compile-dependency/>
11.148 - </test-dependency>
11.149 - </test-type>
11.150 - </test-dependencies>
11.151 - <public-packages/>
11.152 - </data>
11.153 - </configuration>
11.154 -</project>
12.1 --- a/testng.maven/src/org/netbeans/modules/contrib/testng/maven/Bundle.properties Sat Mar 10 02:54:06 2012 +0100
12.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
12.3 @@ -1,44 +0,0 @@
12.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
12.5 -#
12.6 -# Copyright \u00a9 1997-2011 Oracle and/or its affiliates. All rights reserved.
12.7 -#
12.8 -# The contents of this file are subject to the terms of either the GNU
12.9 -# General Public License Version 2 only ("GPL") or the Common
12.10 -# Development and Distribution License("CDDL") (collectively, the
12.11 -# "License"). You may not use this file except in compliance with the
12.12 -# License. You can obtain a copy of the License at
12.13 -# http://www.netbeans.org/cddl-gplv2.html
12.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
12.15 -# specific language governing permissions and limitations under the
12.16 -# License. When distributing the software, include this License Header
12.17 -# Notice in each file and include the License file at
12.18 -# nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
12.19 -# particular file as subject to the "Classpath" exception as provided
12.20 -# by Sun in the GPL Version 2 section of the License file that
12.21 -# accompanied this code. If applicable, add the following below the
12.22 -# License Header, with the fields enclosed by brackets [] replaced by
12.23 -# your own identifying information:
12.24 -# "Portions Copyrighted [year] [name of copyright owner]"
12.25 -#
12.26 -# Contributor(s):
12.27 -#
12.28 -# The Original Software is NetBeans. The Initial Developer of the Original
12.29 -# Software is Sun Microsystems, Inc. Portions Copyright 2006-2008 Sun
12.30 -# Microsystems, Inc. All Rights Reserved.
12.31 -#
12.32 -# If you wish your version of this file to be governed by only the CDDL
12.33 -# or only the GPL Version 2, indicate your decision by adding
12.34 -# "[Contributor] elects to include this software in this distribution
12.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
12.36 -# single choice of license, a recipient has the option to distribute
12.37 -# your version of this file under either the CDDL, the GPL Version 2 or
12.38 -# to extend the choice of license to its licensees as provided above.
12.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
12.40 -# Version 2 license, then the option applies only if the new code is
12.41 -# made subject to such option by the copyright holder.
12.42 -
12.43 -OpenIDE-Module-Display-Category=Testing Tools
12.44 -OpenIDE-Module-Name=Maven TestNG Support
12.45 -OpenIDE-Module-Long-Description=\
12.46 - Integrates TestNG actions into Maven projects.
12.47 -OpenIDE-Module-Short-Description=Support for TestNG framework in Maven projects
13.1 --- a/testng.maven/src/org/netbeans/modules/contrib/testng/maven/MavenModelUtils.java Sat Mar 10 02:54:06 2012 +0100
13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
13.3 @@ -1,131 +0,0 @@
13.4 -/*
13.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
13.6 - *
13.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
13.8 - *
13.9 - * The contents of this file are subject to the terms of either the GNU
13.10 - * General Public License Version 2 only ("GPL") or the Common
13.11 - * Development and Distribution License("CDDL") (collectively, the
13.12 - * "License"). You may not use this file except in compliance with the
13.13 - * License. You can obtain a copy of the License at
13.14 - * http://www.netbeans.org/cddl-gplv2.html
13.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
13.16 - * specific language governing permissions and limitations under the
13.17 - * License. When distributing the software, include this License Header
13.18 - * Notice in each file and include the License file at
13.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
13.20 - * particular file as subject to the "Classpath" exception as provided
13.21 - * by Sun in the GPL Version 2 section of the License file that
13.22 - * accompanied this code. If applicable, add the following below the
13.23 - * License Header, with the fields enclosed by brackets [] replaced by
13.24 - * your own identifying information:
13.25 - * "Portions Copyrighted [year] [name of copyright owner]"
13.26 - *
13.27 - * If you wish your version of this file to be governed by only the CDDL
13.28 - * or only the GPL Version 2, indicate your decision by adding
13.29 - * "[Contributor] elects to include this software in this distribution
13.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
13.31 - * single choice of license, a recipient has the option to distribute
13.32 - * your version of this file under either the CDDL, the GPL Version 2 or
13.33 - * to extend the choice of license to its licensees as provided above.
13.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
13.35 - * Version 2 license, then the option applies only if the new code is
13.36 - * made subject to such option by the copyright holder.
13.37 - *
13.38 - * Contributor(s):
13.39 - *
13.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
13.41 - */
13.42 -package org.netbeans.modules.contrib.testng.maven;
13.43 -
13.44 -import java.util.Collections;
13.45 -import java.util.logging.Logger;
13.46 -import org.netbeans.modules.maven.api.Constants;
13.47 -import org.netbeans.modules.maven.model.ModelOperation;
13.48 -import org.netbeans.modules.maven.model.Utilities;
13.49 -import org.netbeans.modules.maven.model.pom.Activation;
13.50 -import org.netbeans.modules.maven.model.pom.ActivationProperty;
13.51 -import org.netbeans.modules.maven.model.pom.BuildBase;
13.52 -import org.netbeans.modules.maven.model.pom.Configuration;
13.53 -import org.netbeans.modules.maven.model.pom.POMExtensibilityElement;
13.54 -import org.netbeans.modules.maven.model.pom.POMModel;
13.55 -import org.netbeans.modules.maven.model.pom.POMQName;
13.56 -import org.netbeans.modules.maven.model.pom.Plugin;
13.57 -import org.netbeans.modules.maven.model.pom.Profile;
13.58 -import org.netbeans.modules.xml.xam.Model.State;
13.59 -import org.openide.filesystems.FileObject;
13.60 -
13.61 -/*
13.62 -<profiles>
13.63 -<profile>
13.64 -<id>netbeans-private-xxx</id>
13.65 -<activation>
13.66 -<property>
13.67 -<name>netbeans.testng.action</name>
13.68 -</property>
13.69 -</activation>
13.70 -<build>
13.71 -<plugins>
13.72 -<plugin>
13.73 -<groupId>org.apache.maven.plugins</groupId>
13.74 -<artifactId>maven-surefire-plugin</artifactId>
13.75 -<configuration>
13.76 -<suiteXmlFiles>
13.77 -<suiteXmlFile>testng.xml</suiteXmlFile>
13.78 -</suiteXmlFiles>
13.79 -</configuration>
13.80 -</plugin>
13.81 -</plugins>
13.82 -</build>
13.83 -</profile>
13.84 -</profiles>
13.85 - */
13.86 -/**
13.87 - *
13.88 - * @author lukas
13.89 - */
13.90 -public class MavenModelUtils {
13.91 -
13.92 - private static final Logger LOGGER = Logger.getLogger(MavenModelUtils.class.getName());
13.93 -
13.94 - private static final String PROFILE_NAME = "netbeans-private-testng"; //NOI18N
13.95 -
13.96 - public static void addProfile(FileObject fo, final String fileName) {
13.97 - assert fo != null;
13.98 - ModelOperation<POMModel> operation = new ModelOperation<POMModel>() {
13.99 - public void performOperation(POMModel model) {
13.100 - if (!State.VALID.equals(model.getState())) {
13.101 - return;
13.102 - }
13.103 - Profile prof = model.getProject().findProfileById(PROFILE_NAME);
13.104 - if (prof != null) {
13.105 - return;
13.106 - }
13.107 - prof = model.getFactory().createProfile();
13.108 - prof.setId(PROFILE_NAME);
13.109 - Activation act = model.getFactory().createActivation();
13.110 - ActivationProperty prop = model.getFactory().createActivationProperty();
13.111 - prop.setName("netbeans.testng.action"); //NOI18N
13.112 - act.setActivationProperty(prop);
13.113 - prof.setActivation(act);
13.114 -
13.115 - BuildBase base = model.getFactory().createBuildBase();
13.116 - Plugin plug = model.getFactory().createPlugin();
13.117 - plug.setGroupId(Constants.GROUP_APACHE_PLUGINS);
13.118 - plug.setArtifactId(Constants.PLUGIN_SUREFIRE);
13.119 - plug.setVersion("2.11"); //NOI18N
13.120 - Configuration conf = model.getFactory().createConfiguration();
13.121 - POMExtensibilityElement suite = model.getFactory().createPOMExtensibilityElement(
13.122 - POMQName.createQName("suiteXmlFiles", model.getPOMQNames().isNSAware()));//NOI18N
13.123 - suite.setChildElementText("suiteXmlFile", fileName, //NOI18N
13.124 - POMQName.createQName("suiteXmlFile", model.getPOMQNames().isNSAware()));//NOI18N
13.125 - conf.addExtensibilityElement(suite);
13.126 - plug.setConfiguration(conf);
13.127 - base.addPlugin(plug);
13.128 - prof.setBuildBase(base);
13.129 - model.getProject().addProfile(prof);
13.130 - }
13.131 - };
13.132 - Utilities.performPOMModelOperations(fo, Collections.singletonList(operation));
13.133 - }
13.134 -}
13.135 \ No newline at end of file
14.1 --- a/testng.maven/src/org/netbeans/modules/contrib/testng/maven/MavenTestNGSupport.java Sat Mar 10 02:54:06 2012 +0100
14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
14.3 @@ -1,200 +0,0 @@
14.4 -/*
14.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
14.6 - *
14.7 - * Copyright © 2008-2012 Oracle and/or its affiliates. All rights reserved.
14.8 - *
14.9 - * The contents of this file are subject to the terms of either the GNU
14.10 - * General Public License Version 2 only ("GPL") or the Common
14.11 - * Development and Distribution License("CDDL") (collectively, the
14.12 - * "License"). You may not use this file except in compliance with the
14.13 - * License. You can obtain a copy of the License at
14.14 - * http://www.netbeans.org/cddl-gplv2.html
14.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
14.16 - * specific language governing permissions and limitations under the
14.17 - * License. When distributing the software, include this License Header
14.18 - * Notice in each file and include the License file at
14.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
14.20 - * particular file as subject to the "Classpath" exception as provided
14.21 - * by Sun in the GPL Version 2 section of the License file that
14.22 - * accompanied this code. If applicable, add the following below the
14.23 - * License Header, with the fields enclosed by brackets [] replaced by
14.24 - * your own identifying information:
14.25 - * "Portions Copyrighted [year] [name of copyright owner]"
14.26 - *
14.27 - * If you wish your version of this file to be governed by only the CDDL
14.28 - * or only the GPL Version 2, indicate your decision by adding
14.29 - * "[Contributor] elects to include this software in this distribution
14.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
14.31 - * single choice of license, a recipient has the option to distribute
14.32 - * your version of this file under either the CDDL, the GPL Version 2 or
14.33 - * to extend the choice of license to its licensees as provided above.
14.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
14.35 - * Version 2 license, then the option applies only if the new code is
14.36 - * made subject to such option by the copyright holder.
14.37 - *
14.38 - * Contributor(s):
14.39 - *
14.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
14.41 - */
14.42 -package org.netbeans.modules.contrib.testng.maven;
14.43 -
14.44 -import java.io.File;
14.45 -import java.io.IOException;
14.46 -import java.util.Collections;
14.47 -import java.util.HashSet;
14.48 -import java.util.Set;
14.49 -import java.util.logging.Level;
14.50 -import java.util.logging.Logger;
14.51 -import org.netbeans.api.project.FileOwnerQuery;
14.52 -import org.netbeans.api.project.Project;
14.53 -import org.netbeans.api.project.ProjectUtils;
14.54 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
14.55 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
14.56 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
14.57 -import org.netbeans.modules.contrib.testng.spi.XMLSuiteSupport;
14.58 -import org.netbeans.modules.maven.api.NbMavenProject;
14.59 -import org.netbeans.modules.maven.api.execute.RunConfig;
14.60 -import org.netbeans.modules.maven.api.execute.RunUtils;
14.61 -import org.openide.execution.ExecutorTask;
14.62 -import org.openide.filesystems.FileObject;
14.63 -import org.openide.filesystems.FileUtil;
14.64 -import org.openide.util.lookup.Lookups;
14.65 -import org.openide.util.lookup.ServiceProvider;
14.66 -
14.67 -/**
14.68 - *
14.69 - * @author lukas
14.70 - */
14.71 -@ServiceProvider(service=TestNGSupportImplementation.class)
14.72 -public class MavenTestNGSupport extends TestNGSupportImplementation {
14.73 -
14.74 - private static final Logger LOGGER = Logger.getLogger(MavenTestNGSupport.class.getName());
14.75 - private static final Set<Action> SUPPORTED_ACTIONS;
14.76 -
14.77 - static {
14.78 - Set<Action> s = new HashSet<Action>();
14.79 - s.add(Action.CREATE_TEST);
14.80 - s.add(Action.RUN_FAILED);
14.81 - s.add(Action.RUN_TESTMETHOD);
14.82 - s.add(Action.RUN_TESTSUITE);
14.83 - s.add(Action.DEBUG_TESTSUITE);
14.84 - SUPPORTED_ACTIONS = Collections.unmodifiableSet(s);
14.85 - }
14.86 -
14.87 - public boolean isActionSupported(Action action,Project p) {
14.88 - return p != null && p.getLookup().lookup(NbMavenProject.class) != null && SUPPORTED_ACTIONS.contains(action);
14.89 - }
14.90 -
14.91 - public void configureProject(FileObject createdFile) {
14.92 - try {
14.93 - addLibrary(createdFile);
14.94 - } catch (IOException ex) {
14.95 - LOGGER.log(Level.SEVERE, null, ex);
14.96 - }
14.97 - Project p = FileOwnerQuery.getOwner(createdFile);
14.98 - FileObject pom = p.getProjectDirectory().getFileObject("pom.xml"); //NOI18N
14.99 - MavenModelUtils.addProfile(pom, "target/nb-private/testng-suite.xml"); //NOI18N
14.100 - }
14.101 -
14.102 - public TestExecutor createExecutor(Project p) {
14.103 - return new MavenExecutor(p);
14.104 - }
14.105 -
14.106 - private static class MavenExecutor implements TestExecutor {
14.107 -
14.108 - private static final String failedConfPath = "target/surefire-reports/testng-failed.xml"; //NOI18N
14.109 - private static final String failedConfPath2 = "target/surefire-reports/testng-native-results/testng-failed.xml"; //NOI18N
14.110 - private static final String resultsPath = "target/surefire-reports/testng-native-results/testng-results.xml"; //NOI18N
14.111 - private Project p;
14.112 -
14.113 - public MavenExecutor(Project p) {
14.114 - this.p = p;
14.115 - }
14.116 -
14.117 - public boolean hasFailedTests() {
14.118 - return getFailedConfig() != null;
14.119 - }
14.120 -
14.121 - public void execute(Action action, TestConfig config) throws IOException {
14.122 - RunConfig rc;
14.123 - if (Action.DEBUG_TESTSUITE.equals(action)
14.124 - || Action.DEBUG_TEST.equals(action)
14.125 - || Action.DEBUG_TESTMETHOD.equals(action)) {
14.126 - rc = new TestNGActionsProvider().createConfigForDefaultAction("testng.debug", p, Lookups.singleton(config.getTest()));
14.127 - } else {
14.128 - rc = new TestNGActionsProvider().createConfigForDefaultAction("testng.test", p, Lookups.singleton(config.getTest()));
14.129 - }
14.130 -// MavenProject mp = rc.getMavenProject();
14.131 - rc.setProperty("netbeans.testng.action", "true"); //NOI18N
14.132 - if (config.doRerun()) {
14.133 - copy(getFailedConfig());
14.134 -// mp.addPlugin(createPluginDef(failedConfPath));
14.135 - } else {
14.136 - File f = null;
14.137 - if (Action.RUN_TESTSUITE.equals(action) || Action.DEBUG_TESTSUITE.equals(action)) {
14.138 - f = FileUtil.toFile(config.getTest());
14.139 - } else {
14.140 - f = XMLSuiteSupport.createSuiteforMethod(
14.141 - new File(System.getProperty("java.io.tmpdir")), //NOI18N
14.142 - ProjectUtils.getInformation(p).getDisplayName(),
14.143 - config.getPackageName(),
14.144 - config.getClassName(),
14.145 - config.getMethodName());
14.146 - }
14.147 - f = FileUtil.normalizeFile(f);
14.148 - copy(FileUtil.toFileObject(f));
14.149 -// mp.addPlugin(createPluginDef(FileUtil.getRelativePath(p.getProjectDirectory(), FileUtil.toFileObject(f))));
14.150 - }
14.151 - ExecutorTask task = RunUtils.executeMaven(rc);
14.152 -
14.153 - }
14.154 -
14.155 - private FileObject getFailedConfig() {
14.156 - FileObject fo = p.getProjectDirectory();
14.157 - //XXX - should rather listen on a fileobject??
14.158 - FileUtil.refreshFor(FileUtil.toFile(fo));
14.159 - FileObject cfg = fo.getFileObject(failedConfPath);
14.160 - if (cfg == null || !cfg.isValid()) {
14.161 - cfg = fo.getFileObject(failedConfPath2);
14.162 - }
14.163 - return cfg;
14.164 - }
14.165 -
14.166 - private FileObject copy(FileObject source) throws IOException {
14.167 - FileObject fo = p.getProjectDirectory();
14.168 - //target/nb-private/tesng-suite.xml
14.169 - FileObject folder = FileUtil.createFolder(fo, "target/nb-private"); //NOI18N
14.170 - FileObject cfg = folder.getFileObject("testng-suite", "xml"); //NOI18N
14.171 - if (cfg != null) {
14.172 - cfg.delete();
14.173 - }
14.174 - return FileUtil.copyFile(source, folder, "testng-suite"); //NOI18N
14.175 - }
14.176 -
14.177 -// private Plugin createPluginDef(String testDesc) {
14.178 -// Plugin plugin = new Plugin();
14.179 -// plugin.setGroupId("org.apache.maven.plugins");
14.180 -// plugin.setArtifactId("maven-surefire-plugin");
14.181 -// plugin.setVersion("2.4.2");
14.182 -//
14.183 -// Xpp3Dom dom = (Xpp3Dom) plugin.getConfiguration();
14.184 -// if (dom == null) {
14.185 -// dom = new Xpp3Dom("configuration");
14.186 -// plugin.setConfiguration(dom);
14.187 -// }
14.188 -//
14.189 -// Xpp3Dom dom2 = dom.getChild("suiteXmlFiles");
14.190 -// if (dom2 == null) {
14.191 -// dom2 = new Xpp3Dom("suiteXmlFiles");
14.192 -// dom.addChild(dom2);
14.193 -// }
14.194 -// Xpp3Dom dom3 = dom2.getChild("suiteXmlFile");
14.195 -// if (dom3 == null) {
14.196 -// dom3 = new Xpp3Dom("suiteXmlFile");
14.197 -// dom3.setValue(testDesc);
14.198 -// dom2.addChild(dom3);
14.199 -// }
14.200 -// return plugin;
14.201 -// }
14.202 - }
14.203 -}
15.1 --- a/testng.maven/src/org/netbeans/modules/contrib/testng/maven/TestNGActionsProvider.java Sat Mar 10 02:54:06 2012 +0100
15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
15.3 @@ -1,80 +0,0 @@
15.4 -/*
15.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
15.6 - *
15.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
15.8 - *
15.9 - * The contents of this file are subject to the terms of either the GNU
15.10 - * General Public License Version 2 only ("GPL") or the Common
15.11 - * Development and Distribution License("CDDL") (collectively, the
15.12 - * "License"). You may not use this file except in compliance with the
15.13 - * License. You can obtain a copy of the License at
15.14 - * http://www.netbeans.org/cddl-gplv2.html
15.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
15.16 - * specific language governing permissions and limitations under the
15.17 - * License. When distributing the software, include this License Header
15.18 - * Notice in each file and include the License file at
15.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
15.20 - * particular file as subject to the "Classpath" exception as provided
15.21 - * by Sun in the GPL Version 2 section of the License file that
15.22 - * accompanied this code. If applicable, add the following below the
15.23 - * License Header, with the fields enclosed by brackets [] replaced by
15.24 - * your own identifying information:
15.25 - * "Portions Copyrighted [year] [name of copyright owner]"
15.26 - *
15.27 - * If you wish your version of this file to be governed by only the CDDL
15.28 - * or only the GPL Version 2, indicate your decision by adding
15.29 - * "[Contributor] elects to include this software in this distribution
15.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
15.31 - * single choice of license, a recipient has the option to distribute
15.32 - * your version of this file under either the CDDL, the GPL Version 2 or
15.33 - * to extend the choice of license to its licensees as provided above.
15.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
15.35 - * Version 2 license, then the option applies only if the new code is
15.36 - * made subject to such option by the copyright holder.
15.37 - *
15.38 - * Contributor(s):
15.39 - *
15.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
15.41 - */
15.42 -
15.43 -package org.netbeans.modules.contrib.testng.maven;
15.44 -
15.45 -import java.io.InputStream;
15.46 -import org.netbeans.api.project.Project;
15.47 -import org.netbeans.modules.maven.spi.actions.AbstractMavenActionsProvider;
15.48 -import org.netbeans.modules.maven.spi.actions.MavenActionsProvider;
15.49 -import org.openide.util.Lookup;
15.50 -import org.openide.util.lookup.ServiceProvider;
15.51 -
15.52 -/**
15.53 - *
15.54 - * @author lukas
15.55 - */
15.56 -@ServiceProvider(service=MavenActionsProvider.class, position=53)
15.57 -public class TestNGActionsProvider extends AbstractMavenActionsProvider {
15.58 -
15.59 - /** Creates a new instance of TestNGActionsProvider */
15.60 - public TestNGActionsProvider() {
15.61 - }
15.62 -
15.63 - @Override
15.64 - public boolean isActionEnable(String action, Project project, Lookup lookup) {
15.65 - if (action.startsWith("testng.")) { //NOI18N
15.66 - return true;
15.67 - }
15.68 - return super.isActionEnable(action, project, lookup);
15.69 - }
15.70 -
15.71 -
15.72 - @Override
15.73 - protected InputStream getActionDefinitionStream() {
15.74 - String path = "/org/netbeans/modules/contrib/testng/maven/testngActionMappings.xml"; //NOI18N
15.75 - InputStream in = getClass().getResourceAsStream(path);
15.76 - if (in == null) {
15.77 - assert false : "No instream for " + path; //NOI18N
15.78 - return null;
15.79 - }
15.80 - return in;
15.81 - }
15.82 -
15.83 -}
16.1 --- a/testng.maven/src/org/netbeans/modules/contrib/testng/maven/testngActionMappings.xml Sat Mar 10 02:54:06 2012 +0100
16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
16.3 @@ -1,68 +0,0 @@
16.4 -<?xml version="1.0" encoding="UTF-8"?>
16.5 -<!--
16.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
16.7 -
16.8 -Copyright © 2008-2012 Oracle and/or its affiliates. All rights reserved.
16.9 -
16.10 -
16.11 -The contents of this file are subject to the terms of either the GNU
16.12 -General Public License Version 2 only ("GPL") or the Common
16.13 -Development and Distribution License("CDDL") (collectively, the
16.14 -"License"). You may not use this file except in compliance with the
16.15 -License. You can obtain a copy of the License at
16.16 -http://www.netbeans.org/cddl-gplv2.html
16.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
16.18 -specific language governing permissions and limitations under the
16.19 -License. When distributing the software, include this License Header
16.20 -Notice in each file and include the License file at
16.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
16.22 -particular file as subject to the "Classpath" exception as provided
16.23 -by Sun in the GPL Version 2 section of the License file that
16.24 -accompanied this code. If applicable, add the following below the
16.25 -License Header, with the fields enclosed by brackets [] replaced by
16.26 -your own identifying information:
16.27 -"Portions Copyrighted [year] [name of copyright owner]"
16.28 -
16.29 -Contributor(s):
16.30 -
16.31 -The Original Software is NetBeans. The Initial Developer of the Original
16.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
16.33 -Microsystems, Inc. All Rights Reserved.
16.34 -
16.35 -If you wish your version of this file to be governed by only the CDDL
16.36 -or only the GPL Version 2, indicate your decision by adding
16.37 -"[Contributor] elects to include this software in this distribution
16.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
16.39 -single choice of license, a recipient has the option to distribute
16.40 -your version of this file under either the CDDL, the GPL Version 2 or
16.41 -to extend the choice of license to its licensees as provided above.
16.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
16.43 -Version 2 license, then the option applies only if the new code is
16.44 -made subject to such option by the copyright holder.
16.45 --->
16.46 -<actions>
16.47 - <action>
16.48 - <actionName>testng.test</actionName>
16.49 - <packagings>
16.50 - <packaging>*</packaging>
16.51 - </packagings>
16.52 - <goals>
16.53 - <goal>test-compile</goal>
16.54 - <goal>surefire:test</goal>
16.55 - </goals>
16.56 - </action>
16.57 - <action>
16.58 - <actionName>testng.debug</actionName>
16.59 - <packagings>
16.60 - <packaging>*</packaging>
16.61 - </packagings>
16.62 - <goals>
16.63 - <goal>test-compile</goal>
16.64 - <goal>surefire:test</goal>
16.65 - </goals>
16.66 - <properties>
16.67 - <jpda.listen>true</jpda.listen>
16.68 - <maven.surefire.debug>-Xdebug -Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=${jpda.address}</maven.surefire.debug>
16.69 - </properties>
16.70 - </action>
16.71 -</actions>
16.72 \ No newline at end of file
17.1 --- a/testng.maven/test/unit/data/pom.xml Sat Mar 10 02:54:06 2012 +0100
17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
17.3 @@ -1,78 +0,0 @@
17.4 -<?xml version="1.0" encoding="UTF-8"?>
17.5 -<!--
17.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
17.7 -
17.8 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
17.9 -
17.10 -
17.11 -The contents of this file are subject to the terms of either the GNU
17.12 -General Public License Version 2 only ("GPL") or the Common
17.13 -Development and Distribution License("CDDL") (collectively, the
17.14 -"License"). You may not use this file except in compliance with the
17.15 -License. You can obtain a copy of the License at
17.16 -http://www.netbeans.org/cddl-gplv2.html
17.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
17.18 -specific language governing permissions and limitations under the
17.19 -License. When distributing the software, include this License Header
17.20 -Notice in each file and include the License file at
17.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
17.22 -particular file as subject to the "Classpath" exception as provided
17.23 -by Sun in the GPL Version 2 section of the License file that
17.24 -accompanied this code. If applicable, add the following below the
17.25 -License Header, with the fields enclosed by brackets [] replaced by
17.26 -your own identifying information:
17.27 -"Portions Copyrighted [year] [name of copyright owner]"
17.28 -
17.29 -Contributor(s):
17.30 -
17.31 -The Original Software is NetBeans. The Initial Developer of the Original
17.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
17.33 -Microsystems, Inc. All Rights Reserved.
17.34 -
17.35 -If you wish your version of this file to be governed by only the CDDL
17.36 -or only the GPL Version 2, indicate your decision by adding
17.37 -"[Contributor] elects to include this software in this distribution
17.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
17.39 -single choice of license, a recipient has the option to distribute
17.40 -your version of this file under either the CDDL, the GPL Version 2 or
17.41 -to extend the choice of license to its licensees as provided above.
17.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
17.43 -Version 2 license, then the option applies only if the new code is
17.44 -made subject to such option by the copyright holder.
17.45 --->
17.46 -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
17.47 - <modelVersion>4.0.0</modelVersion>
17.48 - <groupId>com.mycompany</groupId>
17.49 - <artifactId>tesngsample</artifactId>
17.50 - <packaging>jar</packaging>
17.51 - <version>1.0-SNAPSHOT</version>
17.52 - <name>tesngsample</name>
17.53 - <url>http://maven.apache.org</url>
17.54 - <build>
17.55 - <plugins>
17.56 - <plugin>
17.57 - <artifactId>maven-compiler-plugin</artifactId>
17.58 - <version>2.0.2</version>
17.59 - <configuration>
17.60 - <source>1.5</source>
17.61 - <target>1.5</target>
17.62 - </configuration>
17.63 - </plugin>
17.64 - </plugins>
17.65 - </build>
17.66 - <dependencies>
17.67 - <dependency>
17.68 - <groupId>junit</groupId>
17.69 - <artifactId>junit</artifactId>
17.70 - <version>3.8.1</version>
17.71 - <scope>test</scope>
17.72 - </dependency>
17.73 - <dependency>
17.74 - <groupId>org.testng</groupId>
17.75 - <artifactId>testng</artifactId>
17.76 - <version>5.8</version>
17.77 - <scope>test</scope>
17.78 - <classifier>jdk15</classifier>
17.79 - </dependency>
17.80 - </dependencies>
17.81 -</project>
18.1 --- a/testng.maven/test/unit/src/org/netbeans/modules/contrib/testng/maven/MavenModelUtilsTest.java Sat Mar 10 02:54:06 2012 +0100
18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
18.3 @@ -1,65 +0,0 @@
18.4 -/*
18.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
18.6 - *
18.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
18.8 - *
18.9 - * The contents of this file are subject to the terms of either the GNU
18.10 - * General Public License Version 2 only ("GPL") or the Common
18.11 - * Development and Distribution License("CDDL") (collectively, the
18.12 - * "License"). You may not use this file except in compliance with the
18.13 - * License. You can obtain a copy of the License at
18.14 - * http://www.netbeans.org/cddl-gplv2.html
18.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
18.16 - * specific language governing permissions and limitations under the
18.17 - * License. When distributing the software, include this License Header
18.18 - * Notice in each file and include the License file at
18.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
18.20 - * particular file as subject to the "Classpath" exception as provided
18.21 - * by Sun in the GPL Version 2 section of the License file that
18.22 - * accompanied this code. If applicable, add the following below the
18.23 - * License Header, with the fields enclosed by brackets [] replaced by
18.24 - * your own identifying information:
18.25 - * "Portions Copyrighted [year] [name of copyright owner]"
18.26 - *
18.27 - * If you wish your version of this file to be governed by only the CDDL
18.28 - * or only the GPL Version 2, indicate your decision by adding
18.29 - * "[Contributor] elects to include this software in this distribution
18.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
18.31 - * single choice of license, a recipient has the option to distribute
18.32 - * your version of this file under either the CDDL, the GPL Version 2 or
18.33 - * to extend the choice of license to its licensees as provided above.
18.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
18.35 - * Version 2 license, then the option applies only if the new code is
18.36 - * made subject to such option by the copyright holder.
18.37 - *
18.38 - * Contributor(s):
18.39 - *
18.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
18.41 - */
18.42 -
18.43 -package org.netbeans.modules.contrib.testng.maven;
18.44 -
18.45 -import java.io.File;
18.46 -import org.netbeans.junit.NbTestCase;
18.47 -import org.openide.filesystems.FileObject;
18.48 -import org.openide.filesystems.FileUtil;
18.49 -
18.50 -/**
18.51 - *
18.52 - * @author lukas
18.53 - */
18.54 -public class MavenModelUtilsTest extends NbTestCase {
18.55 -
18.56 - public MavenModelUtilsTest(String s) {
18.57 - super(s);
18.58 - }
18.59 -
18.60 - /**
18.61 - * Test of addProfile method, of class MavenModelUtils.
18.62 - */
18.63 - public void testAddProfile() {
18.64 - FileObject fo = FileUtil.toFileObject(new File(getDataDir(), "pom.xml"));
18.65 - MavenModelUtils.addProfile(fo, "sample.xml");
18.66 - }
18.67 -
18.68 -}
18.69 \ No newline at end of file
19.1 --- a/testng/build.xml Sat Mar 10 02:54:06 2012 +0100
19.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
19.3 @@ -1,46 +0,0 @@
19.4 -<?xml version="1.0" encoding="UTF-8"?>
19.5 -<!--
19.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
19.7 -
19.8 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
19.9 -
19.10 -
19.11 -The contents of this file are subject to the terms of either the GNU
19.12 -General Public License Version 2 only ("GPL") or the Common
19.13 -Development and Distribution License("CDDL") (collectively, the
19.14 -"License"). You may not use this file except in compliance with the
19.15 -License. You can obtain a copy of the License at
19.16 -http://www.netbeans.org/cddl-gplv2.html
19.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
19.18 -specific language governing permissions and limitations under the
19.19 -License. When distributing the software, include this License Header
19.20 -Notice in each file and include the License file at
19.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
19.22 -particular file as subject to the "Classpath" exception as provided
19.23 -by Sun in the GPL Version 2 section of the License file that
19.24 -accompanied this code. If applicable, add the following below the
19.25 -License Header, with the fields enclosed by brackets [] replaced by
19.26 -your own identifying information:
19.27 -"Portions Copyrighted [year] [name of copyright owner]"
19.28 -
19.29 -Contributor(s):
19.30 -
19.31 -The Original Software is NetBeans. The Initial Developer of the Original
19.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
19.33 -Microsystems, Inc. All Rights Reserved.
19.34 -
19.35 -If you wish your version of this file to be governed by only the CDDL
19.36 -or only the GPL Version 2, indicate your decision by adding
19.37 -"[Contributor] elects to include this software in this distribution
19.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
19.39 -single choice of license, a recipient has the option to distribute
19.40 -your version of this file under either the CDDL, the GPL Version 2 or
19.41 -to extend the choice of license to its licensees as provided above.
19.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
19.43 -Version 2 license, then the option applies only if the new code is
19.44 -made subject to such option by the copyright holder.
19.45 --->
19.46 -<project name="contrib/testng" default="netbeans" basedir=".">
19.47 - <description>Builds, tests, and runs the project org.netbeans.modules.contrib.testng.</description>
19.48 - <import file="../../nbbuild/templates/projectized.xml"/>
19.49 -</project>
20.1 --- a/testng/external/binaries-list Sat Mar 10 02:54:06 2012 +0100
20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
20.3 @@ -1,2 +0,0 @@
20.4 -E7BFAE2637CEB90F1E73B3DD684E7FDD0B15C971 testng-6.4.1beta.jar
20.5 -2E9626482BB9C0828BE5D57B3EA7097E08B82BE2 testng-6.4beta-javadoc.zip
20.6 \ No newline at end of file
21.1 --- a/testng/manifest.mf Sat Mar 10 02:54:06 2012 +0100
21.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
21.3 @@ -1,6 +0,0 @@
21.4 -Manifest-Version: 1.0
21.5 -AutoUpdate-Show-In-Client: false
21.6 -OpenIDE-Module: org.netbeans.modules.testng
21.7 -OpenIDE-Module-Layer: org/netbeans/modules/contrib/testng/resources/layer.xml
21.8 -OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/contrib/testng/Bundle.properties
21.9 -OpenIDE-Module-Specification-Version: 1.8
22.1 --- a/testng/nbproject/project.properties Sat Mar 10 02:54:06 2012 +0100
22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
22.3 @@ -1,48 +0,0 @@
22.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
22.5 -#
22.6 -# Copyright \u00a9 1997-2011 Oracle and/or its affiliates. All rights reserved.
22.7 -#
22.8 -# The contents of this file are subject to the terms of either the GNU
22.9 -# General Public License Version 2 only ("GPL") or the Common
22.10 -# Development and Distribution License("CDDL") (collectively, the
22.11 -# "License"). You may not use this file except in compliance with the
22.12 -# License. You can obtain a copy of the License at
22.13 -# http://www.netbeans.org/cddl-gplv2.html
22.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
22.15 -# specific language governing permissions and limitations under the
22.16 -# License. When distributing the software, include this License Header
22.17 -# Notice in each file and include the License file at
22.18 -# nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
22.19 -# particular file as subject to the "Classpath" exception as provided
22.20 -# by Sun in the GPL Version 2 section of the License file that
22.21 -# accompanied this code. If applicable, add the following below the
22.22 -# License Header, with the fields enclosed by brackets [] replaced by
22.23 -# your own identifying information:
22.24 -# "Portions Copyrighted [year] [name of copyright owner]"
22.25 -#
22.26 -# Contributor(s):
22.27 -#
22.28 -# The Original Software is NetBeans. The Initial Developer of the Original
22.29 -# Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
22.30 -# Microsystems, Inc. All Rights Reserved.
22.31 -#
22.32 -# If you wish your version of this file to be governed by only the CDDL
22.33 -# or only the GPL Version 2, indicate your decision by adding
22.34 -# "[Contributor] elects to include this software in this distribution
22.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
22.36 -# single choice of license, a recipient has the option to distribute
22.37 -# your version of this file under either the CDDL, the GPL Version 2 or
22.38 -# to extend the choice of license to its licensees as provided above.
22.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
22.40 -# Version 2 license, then the option applies only if the new code is
22.41 -# made subject to such option by the copyright holder.
22.42 -javac.source=1.5
22.43 -javac.compilerargs=-Xlint -Xlint:-serial
22.44 -nbm.homepage=http://wiki.netbeans.org/TestNG
22.45 -nbm.module.author=Lukas Jungmann
22.46 -release.external/testng-6.4.1beta.jar=modules/ext/testng/testng-6.4.1beta.jar
22.47 -release.external/testng-6.4beta-javadoc.zip=modules/ext/testng/testng-6.4beta-javadoc.zip
22.48 -jnlp.indirect.jars=\
22.49 - modules/ext/testng/testng-6.4.1beta.jar,\
22.50 - modules/ext/testng/testng-6.4beta-javadoc.zip
22.51 -is.autoload=true
23.1 --- a/testng/nbproject/project.xml Sat Mar 10 02:54:06 2012 +0100
23.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
23.3 @@ -1,465 +0,0 @@
23.4 -<?xml version="1.0" encoding="UTF-8"?>
23.5 -<!--
23.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
23.7 -
23.8 -Copyright © 2008-2012 Oracle and/or its affiliates. All rights reserved.
23.9 -
23.10 -
23.11 -The contents of this file are subject to the terms of either the GNU
23.12 -General Public License Version 2 only ("GPL") or the Common
23.13 -Development and Distribution License("CDDL") (collectively, the
23.14 -"License"). You may not use this file except in compliance with the
23.15 -License. You can obtain a copy of the License at
23.16 -http://www.netbeans.org/cddl-gplv2.html
23.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
23.18 -specific language governing permissions and limitations under the
23.19 -License. When distributing the software, include this License Header
23.20 -Notice in each file and include the License file at
23.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
23.22 -particular file as subject to the "Classpath" exception as provided
23.23 -by Sun in the GPL Version 2 section of the License file that
23.24 -accompanied this code. If applicable, add the following below the
23.25 -License Header, with the fields enclosed by brackets [] replaced by
23.26 -your own identifying information:
23.27 -"Portions Copyrighted [year] [name of copyright owner]"
23.28 -
23.29 -Contributor(s):
23.30 -
23.31 -The Original Software is NetBeans. The Initial Developer of the Original
23.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
23.33 -Microsystems, Inc. All Rights Reserved.
23.34 -
23.35 -If you wish your version of this file to be governed by only the CDDL
23.36 -or only the GPL Version 2, indicate your decision by adding
23.37 -"[Contributor] elects to include this software in this distribution
23.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
23.39 -single choice of license, a recipient has the option to distribute
23.40 -your version of this file under either the CDDL, the GPL Version 2 or
23.41 -to extend the choice of license to its licensees as provided above.
23.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
23.43 -Version 2 license, then the option applies only if the new code is
23.44 -made subject to such option by the copyright holder.
23.45 --->
23.46 -<project xmlns="http://www.netbeans.org/ns/project/1">
23.47 - <type>org.netbeans.modules.apisupport.project</type>
23.48 - <configuration>
23.49 - <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
23.50 - <code-name-base>org.netbeans.modules.testng</code-name-base>
23.51 - <module-dependencies>
23.52 - <dependency>
23.53 - <code-name-base>org.apache.tools.ant.module</code-name-base>
23.54 - <build-prerequisite/>
23.55 - <compile-dependency/>
23.56 - <run-dependency>
23.57 - <release-version>3</release-version>
23.58 - <specification-version>3.30</specification-version>
23.59 - </run-dependency>
23.60 - </dependency>
23.61 - <dependency>
23.62 - <code-name-base>org.netbeans.api.java</code-name-base>
23.63 - <build-prerequisite/>
23.64 - <compile-dependency/>
23.65 - <run-dependency>
23.66 - <release-version>1</release-version>
23.67 - <specification-version>1.17</specification-version>
23.68 - </run-dependency>
23.69 - </dependency>
23.70 - <dependency>
23.71 - <code-name-base>org.netbeans.api.java.classpath</code-name-base>
23.72 - <build-prerequisite/>
23.73 - <compile-dependency/>
23.74 - <run-dependency>
23.75 - <release-version>1</release-version>
23.76 - <specification-version>1.31</specification-version>
23.77 - </run-dependency>
23.78 - </dependency>
23.79 - <dependency>
23.80 - <code-name-base>org.netbeans.api.progress</code-name-base>
23.81 - <build-prerequisite/>
23.82 - <compile-dependency/>
23.83 - <run-dependency>
23.84 - <release-version>1</release-version>
23.85 - <specification-version>1.27</specification-version>
23.86 - </run-dependency>
23.87 - </dependency>
23.88 - <dependency>
23.89 - <code-name-base>org.netbeans.api.xml</code-name-base>
23.90 - <build-prerequisite/>
23.91 - <compile-dependency/>
23.92 - <run-dependency>
23.93 - <release-version>1</release-version>
23.94 - <specification-version>1.29</specification-version>
23.95 - </run-dependency>
23.96 - </dependency>
23.97 - <dependency>
23.98 - <code-name-base>org.netbeans.core.multiview</code-name-base>
23.99 - <build-prerequisite/>
23.100 - <compile-dependency/>
23.101 - <run-dependency>
23.102 - <release-version>1</release-version>
23.103 - <specification-version>1.28</specification-version>
23.104 - </run-dependency>
23.105 - </dependency>
23.106 - <dependency>
23.107 - <code-name-base>org.netbeans.libs.javacapi</code-name-base>
23.108 - <build-prerequisite/>
23.109 - <compile-dependency/>
23.110 - <run-dependency>
23.111 - <specification-version>0.7</specification-version>
23.112 - </run-dependency>
23.113 - </dependency>
23.114 - <dependency>
23.115 - <code-name-base>org.netbeans.modules.editor</code-name-base>
23.116 - <build-prerequisite/>
23.117 - <compile-dependency/>
23.118 - <run-dependency>
23.119 - <release-version>3</release-version>
23.120 - <specification-version>1.60</specification-version>
23.121 - </run-dependency>
23.122 - </dependency>
23.123 - <dependency>
23.124 - <code-name-base>org.netbeans.modules.editor.lib</code-name-base>
23.125 - <build-prerequisite/>
23.126 - <compile-dependency/>
23.127 - <run-dependency>
23.128 - <release-version>3</release-version>
23.129 - <specification-version>3.18</specification-version>
23.130 - </run-dependency>
23.131 - </dependency>
23.132 - <dependency>
23.133 - <code-name-base>org.netbeans.modules.editor.lib2</code-name-base>
23.134 - <build-prerequisite/>
23.135 - <compile-dependency/>
23.136 - <run-dependency>
23.137 - <release-version>1</release-version>
23.138 - <specification-version>1.54</specification-version>
23.139 - </run-dependency>
23.140 - </dependency>
23.141 - <dependency>
23.142 - <code-name-base>org.netbeans.modules.extexecution</code-name-base>
23.143 - <build-prerequisite/>
23.144 - <compile-dependency/>
23.145 - <run-dependency>
23.146 - <release-version>2</release-version>
23.147 - <specification-version>1.19</specification-version>
23.148 - </run-dependency>
23.149 - </dependency>
23.150 - <dependency>
23.151 - <code-name-base>org.netbeans.modules.gsf.testrunner</code-name-base>
23.152 - <build-prerequisite/>
23.153 - <compile-dependency/>
23.154 - <run-dependency>
23.155 - <specification-version>1.16</specification-version>
23.156 - </run-dependency>
23.157 - </dependency>
23.158 - <dependency>
23.159 - <code-name-base>org.netbeans.modules.java.platform</code-name-base>
23.160 - <build-prerequisite/>
23.161 - <compile-dependency/>
23.162 - <run-dependency>
23.163 - <release-version>1</release-version>
23.164 - <specification-version>1.11</specification-version>
23.165 - </run-dependency>
23.166 - </dependency>
23.167 - <dependency>
23.168 - <code-name-base>org.netbeans.modules.java.project</code-name-base>
23.169 - <build-prerequisite/>
23.170 - <compile-dependency/>
23.171 - <run-dependency>
23.172 - <release-version>1</release-version>
23.173 - <specification-version>1.17</specification-version>
23.174 - </run-dependency>
23.175 - </dependency>
23.176 - <dependency>
23.177 - <code-name-base>org.netbeans.modules.java.source</code-name-base>
23.178 - <build-prerequisite/>
23.179 - <compile-dependency/>
23.180 - <run-dependency>
23.181 - <specification-version>0.36</specification-version>
23.182 - </run-dependency>
23.183 - </dependency>
23.184 - <dependency>
23.185 - <code-name-base>org.netbeans.modules.java.sourceui</code-name-base>
23.186 - <build-prerequisite/>
23.187 - <compile-dependency/>
23.188 - <run-dependency>
23.189 - <release-version>1</release-version>
23.190 - <specification-version>1.26</specification-version>
23.191 - </run-dependency>
23.192 - </dependency>
23.193 - <dependency>
23.194 - <code-name-base>org.netbeans.modules.lexer</code-name-base>
23.195 - <build-prerequisite/>
23.196 - <compile-dependency/>
23.197 - <run-dependency>
23.198 - <release-version>2</release-version>
23.199 - <specification-version>1.43</specification-version>
23.200 - </run-dependency>
23.201 - </dependency>
23.202 - <dependency>
23.203 - <code-name-base>org.netbeans.modules.project.ant</code-name-base>
23.204 - <build-prerequisite/>
23.205 - <compile-dependency/>
23.206 - <run-dependency>
23.207 - <release-version>1</release-version>
23.208 - <specification-version>1.20</specification-version>
23.209 - </run-dependency>
23.210 - </dependency>
23.211 - <dependency>
23.212 - <code-name-base>org.netbeans.modules.project.libraries</code-name-base>
23.213 - <build-prerequisite/>
23.214 - <compile-dependency/>
23.215 - <run-dependency>
23.216 - <release-version>1</release-version>
23.217 - <specification-version>1.19</specification-version>
23.218 - </run-dependency>
23.219 - </dependency>
23.220 - <dependency>
23.221 - <code-name-base>org.netbeans.modules.projectapi</code-name-base>
23.222 - <build-prerequisite/>
23.223 - <compile-dependency/>
23.224 - <run-dependency>
23.225 - <release-version>1</release-version>
23.226 - <specification-version>1.15</specification-version>
23.227 - </run-dependency>
23.228 - </dependency>
23.229 - <dependency>
23.230 - <code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
23.231 - <build-prerequisite/>
23.232 - <compile-dependency/>
23.233 - <run-dependency>
23.234 - <release-version>1</release-version>
23.235 - <specification-version>1.30.0.6</specification-version>
23.236 - </run-dependency>
23.237 - </dependency>
23.238 - <dependency>
23.239 - <code-name-base>org.netbeans.modules.xml.lexer</code-name-base>
23.240 - <build-prerequisite/>
23.241 - <compile-dependency/>
23.242 - <run-dependency>
23.243 - <specification-version>1.16</specification-version>
23.244 - </run-dependency>
23.245 - </dependency>
23.246 - <dependency>
23.247 - <code-name-base>org.openide.awt</code-name-base>
23.248 - <build-prerequisite/>
23.249 - <compile-dependency/>
23.250 - <run-dependency>
23.251 - <specification-version>7.39</specification-version>
23.252 - </run-dependency>
23.253 - </dependency>
23.254 - <dependency>
23.255 - <code-name-base>org.openide.dialogs</code-name-base>
23.256 - <build-prerequisite/>
23.257 - <compile-dependency/>
23.258 - <run-dependency>
23.259 - <specification-version>7.7</specification-version>
23.260 - </run-dependency>
23.261 - </dependency>
23.262 - <dependency>
23.263 - <code-name-base>org.openide.filesystems</code-name-base>
23.264 - <build-prerequisite/>
23.265 - <compile-dependency/>
23.266 - <run-dependency>
23.267 - <specification-version>7.19</specification-version>
23.268 - </run-dependency>
23.269 - </dependency>
23.270 - <dependency>
23.271 - <code-name-base>org.openide.loaders</code-name-base>
23.272 - <build-prerequisite/>
23.273 - <compile-dependency/>
23.274 - <run-dependency>
23.275 - <specification-version>6.10</specification-version>
23.276 - </run-dependency>
23.277 - </dependency>
23.278 - <dependency>
23.279 - <code-name-base>org.openide.modules</code-name-base>
23.280 - <build-prerequisite/>
23.281 - <compile-dependency/>
23.282 - <run-dependency>
23.283 - <specification-version>7.7</specification-version>
23.284 - </run-dependency>
23.285 - </dependency>
23.286 - <dependency>
23.287 - <code-name-base>org.openide.nodes</code-name-base>
23.288 - <build-prerequisite/>
23.289 - <compile-dependency/>
23.290 - <run-dependency>
23.291 - <specification-version>7.4.0.1</specification-version>
23.292 - </run-dependency>
23.293 - </dependency>
23.294 - <dependency>
23.295 - <code-name-base>org.openide.text</code-name-base>
23.296 - <build-prerequisite/>
23.297 - <compile-dependency/>
23.298 - <run-dependency>
23.299 - <specification-version>6.19</specification-version>
23.300 - </run-dependency>
23.301 - </dependency>
23.302 - <dependency>
23.303 - <code-name-base>org.openide.util</code-name-base>
23.304 - <build-prerequisite/>
23.305 - <compile-dependency/>
23.306 - <run-dependency>
23.307 - <specification-version>8.0</specification-version>
23.308 - </run-dependency>
23.309 - </dependency>
23.310 - <dependency>
23.311 - <code-name-base>org.openide.util.lookup</code-name-base>
23.312 - <build-prerequisite/>
23.313 - <compile-dependency/>
23.314 - <run-dependency>
23.315 - <specification-version>8.0</specification-version>
23.316 - </run-dependency>
23.317 - </dependency>
23.318 - <dependency>
23.319 - <code-name-base>org.openide.windows</code-name-base>
23.320 - <build-prerequisite/>
23.321 - <compile-dependency/>
23.322 - <run-dependency>
23.323 - <specification-version>6.49</specification-version>
23.324 - </run-dependency>
23.325 - </dependency>
23.326 - </module-dependencies>
23.327 - <test-dependencies>
23.328 - <test-type>
23.329 - <name>unit</name>
23.330 - <test-dependency>
23.331 - <code-name-base>org.netbeans.api.java</code-name-base>
23.332 - <compile-dependency/>
23.333 - </test-dependency>
23.334 - <test-dependency>
23.335 - <code-name-base>org.netbeans.core.startup</code-name-base>
23.336 - </test-dependency>
23.337 - <test-dependency>
23.338 - <code-name-base>org.netbeans.insane</code-name-base>
23.339 - <compile-dependency/>
23.340 - </test-dependency>
23.341 - <test-dependency>
23.342 - <code-name-base>org.netbeans.libs.freemarker</code-name-base>
23.343 - <compile-dependency/>
23.344 - </test-dependency>
23.345 - <test-dependency>
23.346 - <code-name-base>org.netbeans.libs.junit4</code-name-base>
23.347 - <compile-dependency/>
23.348 - </test-dependency>
23.349 - <test-dependency>
23.350 - <code-name-base>org.netbeans.modules.editor</code-name-base>
23.351 - <compile-dependency/>
23.352 - </test-dependency>
23.353 - <test-dependency>
23.354 - <code-name-base>org.netbeans.modules.editor.guards</code-name-base>
23.355 - <compile-dependency/>
23.356 - </test-dependency>
23.357 - <test-dependency>
23.358 - <code-name-base>org.netbeans.modules.editor.mimelookup</code-name-base>
23.359 - <compile-dependency/>
23.360 - <test/>
23.361 - </test-dependency>
23.362 - <test-dependency>
23.363 - <code-name-base>org.netbeans.modules.editor.mimelookup.impl</code-name-base>
23.364 - </test-dependency>
23.365 - <test-dependency>
23.366 - <code-name-base>org.netbeans.modules.editor.util</code-name-base>
23.367 - </test-dependency>
23.368 - <test-dependency>
23.369 - <code-name-base>org.netbeans.modules.java.guards</code-name-base>
23.370 - <compile-dependency/>
23.371 - </test-dependency>
23.372 - <test-dependency>
23.373 - <code-name-base>org.netbeans.modules.java.lexer</code-name-base>
23.374 - <compile-dependency/>
23.375 - </test-dependency>
23.376 - <test-dependency>
23.377 - <code-name-base>org.netbeans.modules.java.project</code-name-base>
23.378 - <compile-dependency/>
23.379 - </test-dependency>
23.380 - <test-dependency>
23.381 - <code-name-base>org.netbeans.modules.java.source</code-name-base>
23.382 - <recursive/>
23.383 - <compile-dependency/>
23.384 - <test/>
23.385 - </test-dependency>
23.386 - <test-dependency>
23.387 - <code-name-base>org.netbeans.modules.lexer</code-name-base>
23.388 - <compile-dependency/>
23.389 - </test-dependency>
23.390 - <test-dependency>
23.391 - <code-name-base>org.netbeans.modules.masterfs</code-name-base>
23.392 - </test-dependency>
23.393 - <test-dependency>
23.394 - <code-name-base>org.netbeans.modules.nbjunit</code-name-base>
23.395 - <recursive/>
23.396 - <compile-dependency/>
23.397 - </test-dependency>
23.398 - <test-dependency>
23.399 - <code-name-base>org.netbeans.modules.parsing.api</code-name-base>
23.400 - <compile-dependency/>
23.401 - <test/>
23.402 - </test-dependency>
23.403 - <test-dependency>
23.404 - <code-name-base>org.netbeans.modules.parsing.lucene</code-name-base>
23.405 - <compile-dependency/>
23.406 - <test/>
23.407 - </test-dependency>
23.408 - <test-dependency>
23.409 - <code-name-base>org.netbeans.modules.progress.ui</code-name-base>
23.410 - </test-dependency>
23.411 - <test-dependency>
23.412 - <code-name-base>org.netbeans.modules.projectui</code-name-base>
23.413 - <compile-dependency/>
23.414 - </test-dependency>
23.415 - <test-dependency>
23.416 - <code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
23.417 - <compile-dependency/>
23.418 - </test-dependency>
23.419 - <test-dependency>
23.420 - <code-name-base>org.netbeans.modules.tasklist.ui</code-name-base>
23.421 - <compile-dependency/>
23.422 - </test-dependency>
23.423 - <test-dependency>
23.424 - <code-name-base>org.netbeans.spi.editor.hints</code-name-base>
23.425 - <compile-dependency/>
23.426 - </test-dependency>
23.427 - <test-dependency>
23.428 - <code-name-base>org.openide.dialogs</code-name-base>
23.429 - </test-dependency>
23.430 - <test-dependency>
23.431 - <code-name-base>org.openide.filesystems</code-name-base>
23.432 - </test-dependency>
23.433 - <test-dependency>
23.434 - <code-name-base>org.openide.nodes</code-name-base>
23.435 - <compile-dependency/>
23.436 - <test/>
23.437 - </test-dependency>
23.438 - <test-dependency>
23.439 - <code-name-base>org.openide.options</code-name-base>
23.440 - </test-dependency>
23.441 - <test-dependency>
23.442 - <code-name-base>org.openide.text</code-name-base>
23.443 - </test-dependency>
23.444 - <test-dependency>
23.445 - <code-name-base>org.openide.util</code-name-base>
23.446 - <compile-dependency/>
23.447 - <test/>
23.448 - </test-dependency>
23.449 - <test-dependency>
23.450 - <code-name-base>org.openide.util.lookup</code-name-base>
23.451 - <compile-dependency/>
23.452 - <test/>
23.453 - </test-dependency>
23.454 - </test-type>
23.455 - </test-dependencies>
23.456 - <friend-packages>
23.457 - <friend>org.netbeans.modules.testng.ant</friend>
23.458 - <friend>org.netbeans.modules.testng.maven</friend>
23.459 - <package>org.netbeans.modules.contrib.testng.api</package>
23.460 - <package>org.netbeans.modules.contrib.testng.spi</package>
23.461 - </friend-packages>
23.462 - <class-path-extension>
23.463 - <runtime-relative-path>ext/testng/testng-6.4.1beta.jar</runtime-relative-path>
23.464 - <binary-origin>external/testng-6.4.1beta.jar</binary-origin>
23.465 - </class-path-extension>
23.466 - </data>
23.467 - </configuration>
23.468 -</project>
24.1 --- a/testng/src/org/netbeans/modules/contrib/testng/Bundle.properties Sat Mar 10 02:54:06 2012 +0100
24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
24.3 @@ -1,53 +0,0 @@
24.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
24.5 -#
24.6 -# Copyright \u00a9 1997-2012 Oracle and/or its affiliates. All rights reserved.
24.7 -#
24.8 -# The contents of this file are subject to the terms of either the GNU
24.9 -# General Public License Version 2 only ("GPL") or the Common
24.10 -# Development and Distribution License("CDDL") (collectively, the
24.11 -# "License"). You may not use this file except in compliance with the
24.12 -# License. You can obtain a copy of the License at
24.13 -# http://www.netbeans.org/cddl-gplv2.html
24.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
24.15 -# specific language governing permissions and limitations under the
24.16 -# License. When distributing the software, include this License Header
24.17 -# Notice in each file and include the License file at
24.18 -# nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
24.19 -# particular file as subject to the "Classpath" exception as provided
24.20 -# by Sun in the GPL Version 2 section of the License file that
24.21 -# accompanied this code. If applicable, add the following below the
24.22 -# License Header, with the fields enclosed by brackets [] replaced by
24.23 -# your own identifying information:
24.24 -# "Portions Copyrighted [year] [name of copyright owner]"
24.25 -#
24.26 -# Contributor(s):
24.27 -#
24.28 -# The Original Software is NetBeans. The Initial Developer of the Original
24.29 -# Software is Sun Microsystems, Inc. Portions Copyright 2006-2008 Sun
24.30 -# Microsystems, Inc. All Rights Reserved.
24.31 -#
24.32 -# If you wish your version of this file to be governed by only the CDDL
24.33 -# or only the GPL Version 2, indicate your decision by adding
24.34 -# "[Contributor] elects to include this software in this distribution
24.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
24.36 -# single choice of license, a recipient has the option to distribute
24.37 -# your version of this file under either the CDDL, the GPL Version 2 or
24.38 -# to extend the choice of license to its licensees as provided above.
24.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
24.40 -# Version 2 license, then the option applies only if the new code is
24.41 -# made subject to such option by the copyright holder.
24.42 -
24.43 -OpenIDE-Module-Display-Category=Testing Tools
24.44 -OpenIDE-Module-Long-Description=\
24.45 - The TestNG Support module allows you to create test classes suitable for the TestNG framework.
24.46 -OpenIDE-Module-Name=TestNG Support
24.47 -OpenIDE-Module-Short-Description=Support for TestNG framework
24.48 -Services/MIMEResolver/testng-suite-resolver.xml=TestNGSuite Files
24.49 -Templates/TestNG=TestNG
24.50 -Templates/TestNG/TestNGTestSuite.xml=TestNG Test Suite
24.51 -Templates/TestNG/TestNGTest.java=TestNG Test Case
24.52 -TestNG=TestNG 6.0.1
24.53 -Loaders/text/x-testng+xml/Factories/org-netbeans-modules-contrib-testng-TestNGSuiteDataLoader.instance=TestNG Suite Files
24.54 -
24.55 -LBL_GoToDeclaration=Go to Declaration
24.56 -goto_source_source_not_found=Source file for {0} not found.
25.1 --- a/testng/src/org/netbeans/modules/contrib/testng/NewTestSuiteWizardIterator.java Sat Mar 10 02:54:06 2012 +0100
25.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
25.3 @@ -1,242 +0,0 @@
25.4 -/*
25.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
25.6 - *
25.7 - * Copyright 2011-2012 Oracle and/or its affiliates. All rights reserved.
25.8 - *
25.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
25.10 - * Other names may be trademarks of their respective owners.
25.11 - *
25.12 - * The contents of this file are subject to the terms of either the GNU
25.13 - * General Public License Version 2 only ("GPL") or the Common
25.14 - * Development and Distribution License("CDDL") (collectively, the
25.15 - * "License"). You may not use this file except in compliance with the
25.16 - * License. You can obtain a copy of the License at
25.17 - * http://www.netbeans.org/cddl-gplv2.html
25.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
25.19 - * specific language governing permissions and limitations under the
25.20 - * License. When distributing the software, include this License Header
25.21 - * Notice in each file and include the License file at
25.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
25.23 - * particular file as subject to the "Classpath" exception as provided
25.24 - * by Oracle in the GPL Version 2 section of the License file that
25.25 - * accompanied this code. If applicable, add the following below the
25.26 - * License Header, with the fields enclosed by brackets [] replaced by
25.27 - * your own identifying information:
25.28 - * "Portions Copyrighted [year] [name of copyright owner]"
25.29 - *
25.30 - * If you wish your version of this file to be governed by only the CDDL
25.31 - * or only the GPL Version 2, indicate your decision by adding
25.32 - * "[Contributor] elects to include this software in this distribution
25.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
25.34 - * single choice of license, a recipient has the option to distribute
25.35 - * your version of this file under either the CDDL, the GPL Version 2 or
25.36 - * to extend the choice of license to its licensees as provided above.
25.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
25.38 - * Version 2 license, then the option applies only if the new code is
25.39 - * made subject to such option by the copyright holder.
25.40 - *
25.41 - * Contributor(s):
25.42 - *
25.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
25.44 - */
25.45 -package org.netbeans.modules.contrib.testng;
25.46 -
25.47 -import java.awt.Component;
25.48 -import java.io.IOException;
25.49 -import java.util.*;
25.50 -import javax.swing.JComponent;
25.51 -import javax.swing.event.ChangeListener;
25.52 -import org.netbeans.api.java.project.JavaProjectConstants;
25.53 -import org.netbeans.api.project.*;
25.54 -import org.netbeans.api.templates.TemplateRegistration;
25.55 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
25.56 -import org.netbeans.spi.project.ui.templates.support.Templates;
25.57 -import org.openide.WizardDescriptor;
25.58 -import org.openide.filesystems.FileObject;
25.59 -import org.openide.filesystems.FileUtil;
25.60 -import org.openide.loaders.DataFolder;
25.61 -import org.openide.loaders.DataObject;
25.62 -
25.63 -@TemplateRegistration(folder = "TestNG", position = 2000,
25.64 - content = "resources/testng.xml.template",
25.65 - scriptEngine = "freemarker",
25.66 - displayName = "#Templates/TestNG/TestNGTestSuite.xml",
25.67 - description = "/org/netbeans/modules/contrib/testng/resources/newTestSuite.html",
25.68 - iconBase = "org/netbeans/modules/contrib/testng/resources/testng.gif")
25.69 -public final class NewTestSuiteWizardIterator implements WizardDescriptor.InstantiatingIterator<WizardDescriptor> {
25.70 -
25.71 - private transient int index;
25.72 - private transient WizardDescriptor.Panel[] panels;
25.73 - private transient WizardDescriptor wiz;
25.74 -
25.75 - public NewTestSuiteWizardIterator() {
25.76 - }
25.77 -
25.78 -
25.79 - private WizardDescriptor.Panel[] createPanels(final WizardDescriptor wizardDescriptor) {
25.80 - // Ask for Java folders
25.81 - Project project = Templates.getProject(wizardDescriptor);
25.82 - Sources sources = ProjectUtils.getSources(project);
25.83 - SourceGroup[] groups = getTestRoots(sources);
25.84 - if (groups.length == 0) {
25.85 - if (SourceGroupModifier.createSourceGroup(project, JavaProjectConstants.SOURCES_TYPE_JAVA, JavaProjectConstants.SOURCES_HINT_TEST) != null) {
25.86 - groups = getTestRoots(sources);
25.87 - }
25.88 - }
25.89 - if (groups.length == 0) {
25.90 - groups = sources.getSourceGroups(Sources.TYPE_GENERIC);
25.91 - }
25.92 - return new WizardDescriptor.Panel[]{
25.93 - Templates.buildSimpleTargetChooser(project, groups).create()
25.94 - };
25.95 - }
25.96 -
25.97 - private String[] createSteps(String[] before, WizardDescriptor.Panel[] panels) {
25.98 - assert panels != null;
25.99 - // hack to use the steps set before this panel processed
25.100 - int diff = 0;
25.101 - if (before == null) {
25.102 - before = new String[0];
25.103 - } else if (before.length > 0) {
25.104 - diff = ("...".equals(before[before.length - 1])) ? 1 : 0; // NOI18N
25.105 - }
25.106 - String[] res = new String[(before.length - diff) + panels.length];
25.107 - for (int i = 0; i < res.length; i++) {
25.108 - if (i < (before.length - diff)) {
25.109 - res[i] = before[i];
25.110 - } else {
25.111 - res[i] = panels[i - before.length + diff].getComponent().getName();
25.112 - }
25.113 - }
25.114 - return res;
25.115 - }
25.116 -
25.117 - public Set<DataObject> instantiate() throws IOException {
25.118 - FileObject dir = Templates.getTargetFolder(wiz);
25.119 - String targetName = Templates.getTargetName(wiz);
25.120 -
25.121 - DataFolder df = DataFolder.findFolder(dir);
25.122 - FileObject template = Templates.getTemplate(wiz);
25.123 -
25.124 - DataObject dTemplate = DataObject.find(template);
25.125 - String pkgName = getSelectedPackageName(dir);
25.126 - String suiteName = pkgName + " suite";
25.127 - String projectName = ProjectUtils.getInformation(FileOwnerQuery.getOwner(dir)).getName();
25.128 - if (pkgName == null || pkgName.trim().length() < 1) {
25.129 - pkgName = ".*"; //NOI18N
25.130 - suiteName = "All tests for " + projectName;
25.131 - }
25.132 -
25.133 - Map<String, String> props = new HashMap<String, String>();
25.134 - props.put("name", projectName);
25.135 - props.put("suiteName", suiteName);
25.136 - props.put("pkg", pkgName);
25.137 -
25.138 - DataObject dobj = dTemplate.createFromTemplate(df, targetName, props);
25.139 -
25.140 - FileObject createdFile = DataObject.find(dobj.getPrimaryFile()).getPrimaryFile();
25.141 - TestNGSupport.findTestNGSupport(FileOwnerQuery.getOwner(createdFile)).configureProject(createdFile);
25.142 - return Collections.singleton(dobj);
25.143 - }
25.144 -
25.145 - public void initialize(WizardDescriptor wiz) {
25.146 - this.wiz = wiz;
25.147 - index = 0;
25.148 - panels = createPanels(wiz);
25.149 - // Make sure list of steps is accurate.
25.150 - String[] beforeSteps = null;
25.151 - Object prop = wiz.getProperty("WizardPanel_contentData"); // NOI18N
25.152 - if (prop != null && prop instanceof String[]) {
25.153 - beforeSteps = (String[]) prop;
25.154 - }
25.155 - String[] steps = createSteps(beforeSteps, panels);
25.156 - for (int i = 0; i < panels.length; i++) {
25.157 - Component c = panels[i].getComponent();
25.158 - if (steps[i] == null) {
25.159 - // Default step name to component name of panel.
25.160 - // Mainly useful for getting the name of the target
25.161 - // chooser to appear in the list of steps.
25.162 - steps[i] = c.getName();
25.163 - }
25.164 - if (c instanceof JComponent) { // assume Swing components
25.165 - JComponent jc = (JComponent) c;
25.166 - // Step #.
25.167 - jc.putClientProperty("WizardPanel_contentSelectedIndex", Integer.valueOf(i)); // NOI18N
25.168 - // Step name (actually the whole list for reference).
25.169 - jc.putClientProperty("WizardPanel_contentData", steps); // NOI18N
25.170 - }
25.171 - }
25.172 - }
25.173 -
25.174 - public void uninitialize(WizardDescriptor wiz) {
25.175 - this.wiz = null;
25.176 - panels = null;
25.177 - }
25.178 -
25.179 - public String name() {
25.180 - return ""; // NOI18N
25.181 - }
25.182 -
25.183 - public boolean hasNext() {
25.184 - return index < panels.length - 1;
25.185 - }
25.186 -
25.187 - public boolean hasPrevious() {
25.188 - return index > 0;
25.189 - }
25.190 -
25.191 - public void nextPanel() {
25.192 - if (!hasNext()) {
25.193 - throw new NoSuchElementException();
25.194 - }
25.195 - index++;
25.196 - }
25.197 -
25.198 - public void previousPanel() {
25.199 - if (!hasPrevious()) {
25.200 - throw new NoSuchElementException();
25.201 - }
25.202 - index--;
25.203 - }
25.204 -
25.205 - public WizardDescriptor.Panel current() {
25.206 - return panels[index];
25.207 - }
25.208 -
25.209 - public final void addChangeListener(ChangeListener l) {
25.210 - }
25.211 -
25.212 - public final void removeChangeListener(ChangeListener l) {
25.213 - }
25.214 -
25.215 - private static String getSelectedPackageName(FileObject targetFolder) {
25.216 - Project project = FileOwnerQuery.getOwner(targetFolder);
25.217 - Sources sources = ProjectUtils.getSources(project);
25.218 - SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
25.219 - String packageName = null;
25.220 - for (int i = 0; i < groups.length && packageName == null; i++) {
25.221 - packageName = FileUtil.getRelativePath(groups[i].getRootFolder(), targetFolder);
25.222 - }
25.223 - if (packageName != null) {
25.224 - packageName = packageName.replaceAll("/", "."); // NOI18N
25.225 - }
25.226 - return packageName;
25.227 - }
25.228 -
25.229 - private SourceGroup[] getTestRoots(Sources srcs) {
25.230 - SourceGroup[] groups = srcs.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
25.231 - assert groups != null : "Cannot return null from Sources.getSourceGroups: " + srcs;
25.232 -
25.233 - //XXX - have to filter out regular source roots, there should
25.234 - //be better way to do this... (Hint: use UnitTestForSourceQuery)
25.235 - //${test - Ant based projects
25.236 - //2TestSourceRoot - Maven projects
25.237 - List<SourceGroup> result = new ArrayList<SourceGroup>(2);
25.238 - for (SourceGroup sg : groups) {
25.239 - if (sg.getName().startsWith("${test") || "2TestSourceRoot".equals(sg.getName())) { //NOI18N
25.240 - result.add(sg);
25.241 - }
25.242 - }
25.243 - return result.toArray(new SourceGroup[result.size()]);
25.244 - }
25.245 -}
26.1 --- a/testng/src/org/netbeans/modules/contrib/testng/NewTestWizardIterator.java Sat Mar 10 02:54:06 2012 +0100
26.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
26.3 @@ -1,239 +0,0 @@
26.4 -/*
26.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
26.6 - *
26.7 - * Copyright © 2008-2012 Oracle and/or its affiliates. All rights reserved.
26.8 - *
26.9 - * The contents of this file are subject to the terms of either the GNU
26.10 - * General Public License Version 2 only ("GPL") or the Common
26.11 - * Development and Distribution License("CDDL") (collectively, the
26.12 - * "License"). You may not use this file except in compliance with the
26.13 - * License. You can obtain a copy of the License at
26.14 - * http://www.netbeans.org/cddl-gplv2.html
26.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
26.16 - * specific language governing permissions and limitations under the
26.17 - * License. When distributing the software, include this License Header
26.18 - * Notice in each file and include the License file at
26.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
26.20 - * particular file as subject to the "Classpath" exception as provided
26.21 - * by Sun in the GPL Version 2 section of the License file that
26.22 - * accompanied this code. If applicable, add the following below the
26.23 - * License Header, with the fields enclosed by brackets [] replaced by
26.24 - * your own identifying information:
26.25 - * "Portions Copyrighted [year] [name of copyright owner]"
26.26 - *
26.27 - * If you wish your version of this file to be governed by only the CDDL
26.28 - * or only the GPL Version 2, indicate your decision by adding
26.29 - * "[Contributor] elects to include this software in this distribution
26.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
26.31 - * single choice of license, a recipient has the option to distribute
26.32 - * your version of this file under either the CDDL, the GPL Version 2 or
26.33 - * to extend the choice of license to its licensees as provided above.
26.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
26.35 - * Version 2 license, then the option applies only if the new code is
26.36 - * made subject to such option by the copyright holder.
26.37 - *
26.38 - * Contributor(s):
26.39 - *
26.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
26.41 - */
26.42 -package org.netbeans.modules.contrib.testng;
26.43 -
26.44 -import java.awt.Component;
26.45 -import java.io.IOException;
26.46 -import java.util.*;
26.47 -import javax.swing.JComponent;
26.48 -import javax.swing.event.ChangeListener;
26.49 -import org.netbeans.api.java.project.JavaProjectConstants;
26.50 -import org.netbeans.api.project.*;
26.51 -import org.netbeans.api.templates.TemplateRegistration;
26.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
26.53 -import org.netbeans.spi.java.project.support.ui.templates.JavaTemplates;
26.54 -import org.netbeans.spi.project.ui.templates.support.Templates;
26.55 -import org.openide.WizardDescriptor;
26.56 -import org.openide.filesystems.FileObject;
26.57 -import org.openide.filesystems.FileUtil;
26.58 -import org.openide.loaders.DataFolder;
26.59 -import org.openide.loaders.DataObject;
26.60 -
26.61 -/**
26.62 - * Wizard to create a new TestNG file.
26.63 - */
26.64 -@TemplateRegistration(folder = "TestNG", position = 1000,
26.65 - content = "resources/EmptyTestNGTest.java.template",
26.66 - scriptEngine = "freemarker",
26.67 - displayName = "#Templates/TestNG/TestNGTest.java",
26.68 - iconBase = "org/netbeans/modules/contrib/testng/resources/testng.gif",
26.69 - description = "/org/netbeans/modules/contrib/testng/resources/newTest.html")
26.70 -public final class NewTestWizardIterator implements WizardDescriptor.InstantiatingIterator {
26.71 -
26.72 - private transient int index;
26.73 - private transient WizardDescriptor.Panel[] panels;
26.74 - private transient WizardDescriptor wiz;
26.75 -
26.76 - public NewTestWizardIterator() {
26.77 - }
26.78 -
26.79 - private WizardDescriptor.Panel[] createPanels(final WizardDescriptor wizardDescriptor) {
26.80 - // Ask for Java folders
26.81 - Project project = Templates.getProject(wizardDescriptor);
26.82 - Sources sources = ProjectUtils.getSources(project);
26.83 - SourceGroup[] groups = getTestRoots(sources);
26.84 - if (groups.length == 0) {
26.85 - if (SourceGroupModifier.createSourceGroup(project, JavaProjectConstants.SOURCES_TYPE_JAVA, JavaProjectConstants.SOURCES_HINT_TEST) != null) {
26.86 - groups = getTestRoots(sources);
26.87 - }
26.88 - }
26.89 - if (groups.length == 0) {
26.90 - groups = sources.getSourceGroups(Sources.TYPE_GENERIC);
26.91 - return new WizardDescriptor.Panel[]{
26.92 - Templates.buildSimpleTargetChooser(project, groups).create()
26.93 - };
26.94 - } else {
26.95 - return new WizardDescriptor.Panel[]{
26.96 - JavaTemplates.createPackageChooser(project, groups)
26.97 - };
26.98 - }
26.99 - }
26.100 -
26.101 - private String[] createSteps(String[] before, WizardDescriptor.Panel[] panels) {
26.102 - assert panels != null;
26.103 - // hack to use the steps set before this panel processed
26.104 - int diff = 0;
26.105 - if (before == null) {
26.106 - before = new String[0];
26.107 - } else if (before.length > 0) {
26.108 - diff = ("...".equals(before[before.length - 1])) ? 1 : 0; // NOI18N
26.109 - }
26.110 - String[] res = new String[(before.length - diff) + panels.length];
26.111 - for (int i = 0; i < res.length; i++) {
26.112 - if (i < (before.length - diff)) {
26.113 - res[i] = before[i];
26.114 - } else {
26.115 - res[i] = panels[i - before.length + diff].getComponent().getName();
26.116 - }
26.117 - }
26.118 - return res;
26.119 - }
26.120 -
26.121 - public Set<FileObject> instantiate() throws IOException {
26.122 - FileObject dir = Templates.getTargetFolder(wiz);
26.123 - String targetName = Templates.getTargetName(wiz);
26.124 -
26.125 - DataFolder df = DataFolder.findFolder(dir);
26.126 - FileObject template = Templates.getTemplate(wiz);
26.127 -
26.128 - DataObject dTemplate = DataObject.find(template);
26.129 - String pkgName = getSelectedPackageName(dir);
26.130 - DataObject dobj;
26.131 - if (pkgName == null) {
26.132 - dobj = dTemplate.createFromTemplate(df, targetName);
26.133 - } else {
26.134 - dobj = dTemplate.createFromTemplate(df, targetName, Collections.singletonMap("package", pkgName)); // NOI18N
26.135 - }
26.136 -
26.137 - FileObject createdFile = dobj.getPrimaryFile();
26.138 - TestNGSupport.findTestNGSupport(FileOwnerQuery.getOwner(createdFile)).configureProject(createdFile);
26.139 - return Collections.singleton(createdFile);
26.140 - }
26.141 -
26.142 - public void initialize(WizardDescriptor wiz) {
26.143 - this.wiz = wiz;
26.144 - index = 0;
26.145 - panels = createPanels(wiz);
26.146 - // Make sure list of steps is accurate.
26.147 - String[] beforeSteps = null;
26.148 - Object prop = wiz.getProperty("WizardPanel_contentData"); // NOI18N
26.149 - if (prop != null && prop instanceof String[]) {
26.150 - beforeSteps = (String[]) prop;
26.151 - }
26.152 - String[] steps = createSteps(beforeSteps, panels);
26.153 - for (int i = 0; i < panels.length; i++) {
26.154 - Component c = panels[i].getComponent();
26.155 - if (steps[i] == null) {
26.156 - // Default step name to component name of panel.
26.157 - // Mainly useful for getting the name of the target
26.158 - // chooser to appear in the list of steps.
26.159 - steps[i] = c.getName();
26.160 - }
26.161 - if (c instanceof JComponent) { // assume Swing components
26.162 - JComponent jc = (JComponent) c;
26.163 - // Step #.
26.164 - jc.putClientProperty("WizardPanel_contentSelectedIndex", Integer.valueOf(i)); // NOI18N
26.165 - // Step name (actually the whole list for reference).
26.166 - jc.putClientProperty("WizardPanel_contentData", steps); // NOI18N
26.167 - }
26.168 - }
26.169 - }
26.170 -
26.171 - public void uninitialize(WizardDescriptor wiz) {
26.172 - this.wiz = null;
26.173 - panels = null;
26.174 - }
26.175 -
26.176 - public String name() {
26.177 - return ""; // NOI18N
26.178 - }
26.179 -
26.180 - public boolean hasNext() {
26.181 - return index < panels.length - 1;
26.182 - }
26.183 -
26.184 - public boolean hasPrevious() {
26.185 - return index > 0;
26.186 - }
26.187 -
26.188 - public void nextPanel() {
26.189 - if (!hasNext()) {
26.190 - throw new NoSuchElementException();
26.191 - }
26.192 - index++;
26.193 - }
26.194 -
26.195 - public void previousPanel() {
26.196 - if (!hasPrevious()) {
26.197 - throw new NoSuchElementException();
26.198 - }
26.199 - index--;
26.200 - }
26.201 -
26.202 - public WizardDescriptor.Panel current() {
26.203 - return panels[index];
26.204 - }
26.205 -
26.206 - public final void addChangeListener(ChangeListener l) {
26.207 - }
26.208 -
26.209 - public final void removeChangeListener(ChangeListener l) {
26.210 - }
26.211 -
26.212 - private static String getSelectedPackageName(FileObject targetFolder) {
26.213 - Project project = FileOwnerQuery.getOwner(targetFolder);
26.214 - Sources sources = ProjectUtils.getSources(project);
26.215 - SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
26.216 - String packageName = null;
26.217 - for (int i = 0; i < groups.length && packageName == null; i++) {
26.218 - packageName = FileUtil.getRelativePath(groups[i].getRootFolder(), targetFolder);
26.219 - }
26.220 - if (packageName != null) {
26.221 - packageName = packageName.replaceAll("/", "."); // NOI18N
26.222 - }
26.223 - return packageName;
26.224 - }
26.225 -
26.226 - private SourceGroup[] getTestRoots(Sources srcs) {
26.227 - SourceGroup[] groups = srcs.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
26.228 - assert groups != null : "Cannot return null from Sources.getSourceGroups: " + srcs;
26.229 -
26.230 - //XXX - have to filter out regular source roots, there should
26.231 - //be better way to do this... (Hint: use UnitTestForSourceQuery)
26.232 - //${test - Ant based projects
26.233 - //2TestSourceRoot - Maven projects
26.234 - List<SourceGroup> result = new ArrayList<SourceGroup>(2);
26.235 - for (SourceGroup sg : groups) {
26.236 - if (sg.getName().startsWith("${test") || "2TestSourceRoot".equals(sg.getName())) { //NOI18N
26.237 - result.add(sg);
26.238 - }
26.239 - }
26.240 - return result.toArray(new SourceGroup[result.size()]);
26.241 - }
26.242 -}
27.1 --- a/testng/src/org/netbeans/modules/contrib/testng/TestNGEntityResolver.java Sat Mar 10 02:54:06 2012 +0100
27.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
27.3 @@ -1,63 +0,0 @@
27.4 -/*
27.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
27.6 - *
27.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
27.8 - *
27.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
27.10 - * Other names may be trademarks of their respective owners.
27.11 - *
27.12 - * The contents of this file are subject to the terms of either the GNU
27.13 - * General Public License Version 2 only ("GPL") or the Common
27.14 - * Development and Distribution License("CDDL") (collectively, the
27.15 - * "License"). You may not use this file except in compliance with the
27.16 - * License. You can obtain a copy of the License at
27.17 - * http://www.netbeans.org/cddl-gplv2.html
27.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
27.19 - * specific language governing permissions and limitations under the
27.20 - * License. When distributing the software, include this License Header
27.21 - * Notice in each file and include the License file at
27.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
27.23 - * particular file as subject to the "Classpath" exception as provided
27.24 - * by Oracle in the GPL Version 2 section of the License file that
27.25 - * accompanied this code. If applicable, add the following below the
27.26 - * License Header, with the fields enclosed by brackets [] replaced by
27.27 - * your own identifying information:
27.28 - * "Portions Copyrighted [year] [name of copyright owner]"
27.29 - *
27.30 - * If you wish your version of this file to be governed by only the CDDL
27.31 - * or only the GPL Version 2, indicate your decision by adding
27.32 - * "[Contributor] elects to include this software in this distribution
27.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
27.34 - * single choice of license, a recipient has the option to distribute
27.35 - * your version of this file under either the CDDL, the GPL Version 2 or
27.36 - * to extend the choice of license to its licensees as provided above.
27.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
27.38 - * Version 2 license, then the option applies only if the new code is
27.39 - * made subject to such option by the copyright holder.
27.40 - *
27.41 - * Contributor(s):
27.42 - *
27.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
27.44 - */
27.45 -package org.netbeans.modules.contrib.testng;
27.46 -
27.47 -import java.io.IOException;
27.48 -import org.openide.util.lookup.ServiceProvider;
27.49 -import org.xml.sax.EntityResolver;
27.50 -import org.xml.sax.InputSource;
27.51 -import org.xml.sax.SAXException;
27.52 -
27.53 -/**
27.54 - *
27.55 - * @author Lukas Jungmann
27.56 - */
27.57 -@ServiceProvider(service = EntityResolver.class)
27.58 -public class TestNGEntityResolver implements EntityResolver {
27.59 -
27.60 - public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
27.61 - if ("http://testng.org/testng-1.0.dtd".equals(systemId)) { //NOI18N
27.62 - return new InputSource(TestNGEntityResolver.class.getResourceAsStream("/testng-1.0.dtd")); //NOI18N
27.63 - }
27.64 - return null;
27.65 - }
27.66 -}
28.1 --- a/testng/src/org/netbeans/modules/contrib/testng/TestNGSuiteDataObject.java Sat Mar 10 02:54:06 2012 +0100
28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
28.3 @@ -1,87 +0,0 @@
28.4 -/*
28.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
28.6 - *
28.7 - * Copyright 2011-2012 Oracle and/or its affiliates. All rights reserved.
28.8 - *
28.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
28.10 - * Other names may be trademarks of their respective owners.
28.11 - *
28.12 - * The contents of this file are subject to the terms of either the GNU
28.13 - * General Public License Version 2 only ("GPL") or the Common
28.14 - * Development and Distribution License("CDDL") (collectively, the
28.15 - * "License"). You may not use this file except in compliance with the
28.16 - * License. You can obtain a copy of the License at
28.17 - * http://www.netbeans.org/cddl-gplv2.html
28.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
28.19 - * specific language governing permissions and limitations under the
28.20 - * License. When distributing the software, include this License Header
28.21 - * Notice in each file and include the License file at
28.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
28.23 - * particular file as subject to the "Classpath" exception as provided
28.24 - * by Oracle in the GPL Version 2 section of the License file that
28.25 - * accompanied this code. If applicable, add the following below the
28.26 - * License Header, with the fields enclosed by brackets [] replaced by
28.27 - * your own identifying information:
28.28 - * "Portions Copyrighted [year] [name of copyright owner]"
28.29 - *
28.30 - * If you wish your version of this file to be governed by only the CDDL
28.31 - * or only the GPL Version 2, indicate your decision by adding
28.32 - * "[Contributor] elects to include this software in this distribution
28.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
28.34 - * single choice of license, a recipient has the option to distribute
28.35 - * your version of this file under either the CDDL, the GPL Version 2 or
28.36 - * to extend the choice of license to its licensees as provided above.
28.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
28.38 - * Version 2 license, then the option applies only if the new code is
28.39 - * made subject to such option by the copyright holder.
28.40 - *
28.41 - * Contributor(s):
28.42 - *
28.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
28.44 - */
28.45 -package org.netbeans.modules.contrib.testng;
28.46 -
28.47 -import java.io.IOException;
28.48 -import org.netbeans.core.spi.multiview.MultiViewElement;
28.49 -import org.netbeans.core.spi.multiview.text.MultiViewEditorElement;
28.50 -import org.netbeans.spi.xml.cookies.CheckXMLSupport;
28.51 -import org.netbeans.spi.xml.cookies.DataObjectAdapters;
28.52 -import org.netbeans.spi.xml.cookies.ValidateXMLSupport;
28.53 -import org.openide.filesystems.FileObject;
28.54 -import org.openide.loaders.DataObjectExistsException;
28.55 -import org.openide.loaders.MultiDataObject;
28.56 -import org.openide.loaders.MultiFileLoader;
28.57 -import org.openide.nodes.CookieSet;
28.58 -import org.openide.util.Lookup;
28.59 -import org.openide.util.NbBundle;
28.60 -import org.openide.windows.TopComponent;
28.61 -
28.62 -public class TestNGSuiteDataObject extends MultiDataObject {
28.63 -
28.64 - public static final String MIME_TYPE = "text/x-testng+xml";
28.65 -
28.66 - public TestNGSuiteDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {
28.67 - super(pf, loader);
28.68 - CookieSet cookies = getCookieSet();
28.69 - cookies.add(new CheckXMLSupport(DataObjectAdapters.inputSource(this)));
28.70 - cookies.add(new ValidateXMLSupport(DataObjectAdapters.inputSource(this)));
28.71 - registerEditor(MIME_TYPE, true);
28.72 - }
28.73 -
28.74 - @Override
28.75 - protected int associateLookup() {
28.76 - return 1;
28.77 - }
28.78 -
28.79 - @MultiViewElement.Registration(displayName = "#CTL_SourceTabCaption",
28.80 - iconBase = "org/netbeans/modules/contrib/testng/resources/testng.gif",
28.81 - persistenceType = TopComponent.PERSISTENCE_ONLY_OPENED,
28.82 - preferredID = "testng",
28.83 - mimeType = MIME_TYPE,
28.84 - position = 1
28.85 - )
28.86 - @NbBundle.Messages("CTL_SourceTabCaption=&Source")
28.87 - public static MultiViewEditorElement createMultiViewEditorElement(Lookup context) {
28.88 - return new MultiViewEditorElement(context);
28.89 - }
28.90 -}
29.1 --- a/testng/src/org/netbeans/modules/contrib/testng/TestNGSuiteHyperlingProvider.java Sat Mar 10 02:54:06 2012 +0100
29.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
29.3 @@ -1,342 +0,0 @@
29.4 -/*
29.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
29.6 - *
29.7 - * Copyright 2012 Oracle and/or its affiliates. All rights reserved.
29.8 - *
29.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
29.10 - * Other names may be trademarks of their respective owners.
29.11 - *
29.12 - * The contents of this file are subject to the terms of either the GNU
29.13 - * General Public License Version 2 only ("GPL") or the Common
29.14 - * Development and Distribution License("CDDL") (collectively, the
29.15 - * "License"). You may not use this file except in compliance with the
29.16 - * License. You can obtain a copy of the License at
29.17 - * http://www.netbeans.org/cddl-gplv2.html
29.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
29.19 - * specific language governing permissions and limitations under the
29.20 - * License. When distributing the software, include this License Header
29.21 - * Notice in each file and include the License file at
29.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
29.23 - * particular file as subject to the "Classpath" exception as provided
29.24 - * by Oracle in the GPL Version 2 section of the License file that
29.25 - * accompanied this code. If applicable, add the following below the
29.26 - * License Header, with the fields enclosed by brackets [] replaced by
29.27 - * your own identifying information:
29.28 - * "Portions Copyrighted [year] [name of copyright owner]"
29.29 - *
29.30 - * If you wish your version of this file to be governed by only the CDDL
29.31 - * or only the GPL Version 2, indicate your decision by adding
29.32 - * "[Contributor] elects to include this software in this distribution
29.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
29.34 - * single choice of license, a recipient has the option to distribute
29.35 - * your version of this file under either the CDDL, the GPL Version 2 or
29.36 - * to extend the choice of license to its licensees as provided above.
29.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
29.38 - * Version 2 license, then the option applies only if the new code is
29.39 - * made subject to such option by the copyright holder.
29.40 - *
29.41 - * Contributor(s):
29.42 - *
29.43 - * Portions Copyrighted 2012 Sun Microsystems, Inc.
29.44 - */
29.45 -package org.netbeans.modules.contrib.testng;
29.46 -
29.47 -import java.io.File;
29.48 -import java.io.IOException;
29.49 -import java.text.MessageFormat;
29.50 -import java.util.Collections;
29.51 -import java.util.List;
29.52 -import java.util.Map;
29.53 -import java.util.concurrent.ConcurrentHashMap;
29.54 -import java.util.concurrent.atomic.AtomicBoolean;
29.55 -import javax.lang.model.element.Element;
29.56 -import javax.lang.model.element.ElementKind;
29.57 -import javax.lang.model.element.TypeElement;
29.58 -import javax.swing.text.Document;
29.59 -import javax.swing.text.JTextComponent;
29.60 -import javax.swing.text.StyledDocument;
29.61 -import org.netbeans.api.editor.EditorRegistry;
29.62 -import org.netbeans.api.java.source.ClasspathInfo;
29.63 -import org.netbeans.api.java.source.CompilationController;
29.64 -import org.netbeans.api.java.source.JavaSource;
29.65 -import org.netbeans.api.java.source.Task;
29.66 -import org.netbeans.api.java.source.ui.ElementOpen;
29.67 -import org.netbeans.api.lexer.Token;
29.68 -import org.netbeans.api.lexer.TokenHierarchy;
29.69 -import org.netbeans.api.lexer.TokenSequence;
29.70 -import org.netbeans.api.progress.ProgressUtils;
29.71 -import org.netbeans.api.xml.lexer.XMLTokenId;
29.72 -import org.netbeans.lib.editor.hyperlink.spi.HyperlinkProvider;
29.73 -import org.netbeans.modules.editor.NbEditorUtilities;
29.74 -import org.openide.awt.StatusDisplayer;
29.75 -import org.openide.cookies.OpenCookie;
29.76 -import org.openide.filesystems.FileObject;
29.77 -import org.openide.filesystems.FileUtil;
29.78 -import org.openide.loaders.DataObject;
29.79 -import org.openide.loaders.DataObjectNotFoundException;
29.80 -import org.openide.nodes.Node;
29.81 -import org.openide.util.Exceptions;
29.82 -import org.openide.util.NbBundle;
29.83 -
29.84 -/**
29.85 - *
29.86 - * @author lukas
29.87 - */
29.88 -public class TestNGSuiteHyperlingProvider implements HyperlinkProvider {
29.89 -
29.90 - private int startOffset;
29.91 - private int endOffset;
29.92 - private String file;
29.93 - private String method;
29.94 - private LinkType targetType;
29.95 - private static final Map<String, LinkType> linkMap = new ConcurrentHashMap<String, LinkType>();
29.96 -
29.97 - private enum LinkType {
29.98 -
29.99 - RESOURCE,
29.100 - JAVA_SOURCE;
29.101 - }
29.102 -
29.103 - static {
29.104 - linkMap.put("suite-file#path", LinkType.RESOURCE);
29.105 - linkMap.put("class#name", LinkType.JAVA_SOURCE);
29.106 - linkMap.put("listener#class-name", LinkType.JAVA_SOURCE);
29.107 - linkMap.put("selector-class#name", LinkType.JAVA_SOURCE);
29.108 - linkMap.put("include#name", LinkType.JAVA_SOURCE);
29.109 - linkMap.put("exclude#name", LinkType.JAVA_SOURCE);
29.110 -// linkMap.put("class/methods/include#name", LinkType.JAVA_SOURCE);
29.111 -// linkMap.put("class/methods/exclude#name", LinkType.JAVA_SOURCE);
29.112 - }
29.113 -
29.114 - public TestNGSuiteHyperlingProvider() {
29.115 - }
29.116 -
29.117 - public boolean isHyperlinkPoint(Document doc, int offset) {
29.118 - JTextComponent target = EditorRegistry.lastFocusedComponent();
29.119 - final StyledDocument styledDoc = (StyledDocument) target.getDocument();
29.120 - if (styledDoc == null) {
29.121 - return false;
29.122 - }
29.123 -
29.124 - // Work only with the open editor
29.125 - //and the editor has to be the active component:
29.126 - if ((target == null) || (target.getDocument() != doc)) {
29.127 - return false;
29.128 - }
29.129 -
29.130 - TokenHierarchy hi = TokenHierarchy.get(doc);
29.131 - TokenSequence<XMLTokenId> ts = hi.tokenSequence(XMLTokenId.language());
29.132 - ts.move(offset);
29.133 - ts.moveNext();
29.134 - Token<XMLTokenId> tok = ts.token();
29.135 - if (tok != null) {
29.136 - int tokOffset = ts.offset();
29.137 - Token<XMLTokenId> t = getAttribute(ts);
29.138 - if (t == null) {
29.139 - return false;
29.140 - }
29.141 - String xpath = "#" + t.text().toString();
29.142 - t = getParentElement(ts);
29.143 - xpath = getElementName(t) + xpath;
29.144 -
29.145 - targetType = linkMap.get(xpath);
29.146 - if (targetType == null) {
29.147 - return false;
29.148 - }
29.149 -
29.150 - if (xpath.startsWith("include") || xpath.startsWith("exclude")) {
29.151 - t = getParentElement(ts);
29.152 - if ("methods".equals(getElementName(t))) {
29.153 - method = tok.text().toString();
29.154 - getParentElement(ts); // <class ...> element
29.155 - file = getAttributeValue(ts, "name");
29.156 - } else {
29.157 - return false;
29.158 - }
29.159 - } else {
29.160 - method = null;
29.161 - }
29.162 - startOffset = tokOffset + 1;
29.163 - endOffset = startOffset + tok.text().length() - 2;
29.164 - if (method == null) {
29.165 - file = tok.text().subSequence(1, tok.text().length() - 1).toString();
29.166 - } else {
29.167 - method = method.substring(1, method.length() - 1);
29.168 - }
29.169 - return true;
29.170 - }
29.171 - return false;
29.172 - }
29.173 -
29.174 - public int[] getHyperlinkSpan(Document doc, int offset) {
29.175 - JTextComponent target = EditorRegistry.lastFocusedComponent();
29.176 - final StyledDocument styledDoc = (StyledDocument) target.getDocument();
29.177 - if (styledDoc == null) {
29.178 - return null;
29.179 - }
29.180 -
29.181 - // Return the position, which was set in the isHyperlink method:
29.182 - return new int[]{startOffset, endOffset};
29.183 - }
29.184 -
29.185 - public void performClickAction(final Document doc, final int offset) {
29.186 - final AtomicBoolean cancel = new AtomicBoolean();
29.187 - ProgressUtils.runOffEventDispatchThread(new Runnable() {
29.188 -
29.189 - public void run() {
29.190 - performGoTo(doc, offset, file, method, targetType, cancel);
29.191 - }
29.192 - }, NbBundle.getMessage(TestNGSuiteHyperlingProvider.class, "LBL_GoToDeclaration"), cancel, false);
29.193 - }
29.194 -
29.195 - private Token<XMLTokenId> getAttribute(TokenSequence<XMLTokenId> ts) {
29.196 - Token<XMLTokenId> tok = ts.token();
29.197 - if (tok.id() == XMLTokenId.VALUE) {
29.198 - while (ts.movePrevious()) {
29.199 - tok = ts.token();
29.200 - switch (tok.id()) {
29.201 - case ARGUMENT:
29.202 - return tok;
29.203 - case OPERATOR:
29.204 - case EOL:
29.205 - case ERROR:
29.206 - case WS:
29.207 - continue;
29.208 - default:
29.209 - return null;
29.210 - }
29.211 - }
29.212 - }
29.213 - return null;
29.214 - }
29.215 -
29.216 - private Token<XMLTokenId> getParentElement(TokenSequence<XMLTokenId> ts) {
29.217 - int depth = 0;
29.218 - while (ts.movePrevious()) {
29.219 - Token<XMLTokenId> prev = ts.token();
29.220 - switch (prev.id()) {
29.221 - case TAG:
29.222 - if (prev.text().length() == 1) {
29.223 - continue;
29.224 - }
29.225 - if (prev.text().toString().contains("/")) {
29.226 - depth++;
29.227 - continue;
29.228 - }
29.229 - depth--;
29.230 - if (depth == -1) {
29.231 - return prev;
29.232 - }
29.233 - continue;
29.234 - default:
29.235 - continue;
29.236 - }
29.237 - }
29.238 - return null;
29.239 - }
29.240 -
29.241 - private String getElementName(Token<XMLTokenId> tok) {
29.242 - return tok.text().toString().substring(1);
29.243 - }
29.244 -
29.245 - private String getAttributeValue(TokenSequence<XMLTokenId> ts, String name) {
29.246 - boolean readValue = false;
29.247 - while (ts.moveNext()) {
29.248 - Token<XMLTokenId> next = ts.token();
29.249 -
29.250 - switch (next.id()) {
29.251 - case ARGUMENT:
29.252 - if (name.equals(next.text().toString())) {
29.253 - readValue = true;
29.254 - }
29.255 - continue;
29.256 - case VALUE:
29.257 - if (readValue) {
29.258 - CharSequence val = next.text().subSequence(1, next.text().length() - 1);
29.259 - return val.toString();
29.260 - }
29.261 - continue;
29.262 - case OPERATOR:
29.263 - case EOL:
29.264 - case ERROR:
29.265 - case WS:
29.266 - continue;
29.267 - default:
29.268 - return null;
29.269 - }
29.270 - }
29.271 - return null;
29.272 - }
29.273 -
29.274 - private void performGoTo(Document doc, int offset, final String file, final String method, final LinkType type, AtomicBoolean cancel) {
29.275 - switch (type) {
29.276 - case RESOURCE:
29.277 - FileObject fo = NbEditorUtilities.getFileObject(doc);
29.278 - File target = new File(file);
29.279 - FileObject targetFO;
29.280 - if (target.isAbsolute()) {
29.281 - targetFO = FileUtil.toFileObject(FileUtil.normalizeFile(target));
29.282 - } else {
29.283 - targetFO = fo.getParent().getFileObject(file);
29.284 - }
29.285 - if (targetFO.isData() && targetFO.isValid() && !targetFO.isVirtual()) {
29.286 - openInEditor(targetFO);
29.287 - } else {
29.288 - String key = "goto_source_source_not_found"; //NOI18N
29.289 - String msg = NbBundle.getMessage(TestNGSuiteHyperlingProvider.class, key);
29.290 - StatusDisplayer.getDefault().setStatusText(MessageFormat.format(msg, new Object[]{file}));
29.291 - }
29.292 - break;
29.293 - case JAVA_SOURCE:
29.294 - final ClasspathInfo cp = ClasspathInfo.create(doc);
29.295 - JavaSource js = JavaSource.create(cp, Collections.EMPTY_LIST);
29.296 - try {
29.297 - js.runUserActionTask(new Task<CompilationController>() {
29.298 -
29.299 - @Override
29.300 - public void run(CompilationController cc) throws Exception {
29.301 - cc.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
29.302 - Element element = cc.getElements().getTypeElement(file.trim());
29.303 - if (element != null) {
29.304 - if (method != null) {
29.305 - List<? extends Element> enclosedElements = cc.getElements().getAllMembers((TypeElement) element);
29.306 - for (Element e : enclosedElements) {
29.307 - if (e.getKind() == ElementKind.METHOD) {
29.308 - if (e.getSimpleName().toString().equals(method)) {
29.309 - element = e;
29.310 - break;
29.311 - }
29.312 - }
29.313 - }
29.314 - }
29.315 - if (!ElementOpen.open(cp, element)) {
29.316 - String key = "goto_source_source_not_found"; //NOI18N
29.317 - String msg = NbBundle.getMessage(TestNGSuiteHyperlingProvider.class, key);
29.318 - StatusDisplayer.getDefault().setStatusText(MessageFormat.format(msg, new Object[]{file}));
29.319 - }
29.320 - }
29.321 - }
29.322 - }, false);
29.323 - } catch (IOException ex) {
29.324 - Exceptions.printStackTrace(ex);
29.325 - }
29.326 - break;
29.327 - }
29.328 - }
29.329 -
29.330 - private void openInEditor(FileObject fo) {
29.331 - DataObject dobj;
29.332 - try {
29.333 - dobj = DataObject.find(fo);
29.334 - } catch (DataObjectNotFoundException e) {
29.335 - Exceptions.printStackTrace(e);
29.336 - return;
29.337 - }
29.338 - if (dobj != null) {
29.339 - Node.Cookie cookie = dobj.getLookup().lookup(OpenCookie.class);
29.340 - if (cookie != null) {
29.341 - ((OpenCookie) cookie).open();
29.342 - }
29.343 - }
29.344 - }
29.345 -}
30.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/Bundle.properties Sat Mar 10 02:54:06 2012 +0100
30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
30.3 @@ -1,46 +0,0 @@
30.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
30.5 -#
30.6 -# Copyright \u00a9 1997-2011 Oracle and/or its affiliates. All rights reserved.
30.7 -#
30.8 -# The contents of this file are subject to the terms of either the GNU
30.9 -# General Public License Version 2 only ("GPL") or the Common
30.10 -# Development and Distribution License("CDDL") (collectively, the
30.11 -# "License"). You may not use this file except in compliance with the
30.12 -# License. You can obtain a copy of the License at
30.13 -# http://www.netbeans.org/cddl-gplv2.html
30.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
30.15 -# specific language governing permissions and limitations under the
30.16 -# License. When distributing the software, include this License Header
30.17 -# Notice in each file and include the License file at
30.18 -# nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
30.19 -# particular file as subject to the "Classpath" exception as provided
30.20 -# by Sun in the GPL Version 2 section of the License file that
30.21 -# accompanied this code. If applicable, add the following below the
30.22 -# License Header, with the fields enclosed by brackets [] replaced by
30.23 -# your own identifying information:
30.24 -# "Portions Copyrighted [year] [name of copyright owner]"
30.25 -#
30.26 -# Contributor(s):
30.27 -#
30.28 -# The Original Software is NetBeans. The Initial Developer of the Original
30.29 -# Software is Sun Microsystems, Inc. Portions Copyright 2006-2008 Sun
30.30 -# Microsystems, Inc. All Rights Reserved.
30.31 -#
30.32 -# If you wish your version of this file to be governed by only the CDDL
30.33 -# or only the GPL Version 2, indicate your decision by adding
30.34 -# "[Contributor] elects to include this software in this distribution
30.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
30.36 -# single choice of license, a recipient has the option to distribute
30.37 -# your version of this file under either the CDDL, the GPL Version 2 or
30.38 -# to extend the choice of license to its licensees as provided above.
30.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
30.40 -# Version 2 license, then the option applies only if the new code is
30.41 -# made subject to such option by the copyright holder.
30.42 -
30.43 -CTL_CreateTestAction=Create Test...
30.44 -CTL_DebugTestClassAction=Debug Test Class
30.45 -CTL_DebugTestMethodAction=Debug
30.46 -CTL_RerunFailedTestsAction=Re-run Failed Tests
30.47 -CTL_RunTestClassAction=Run Test Class
30.48 -CTL_RunTestMethodAction=Run Test Method
30.49 -DummyUI.jLabel1.text=Test Name:
31.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/CreateTestAction.java Sat Mar 10 02:54:06 2012 +0100
31.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
31.3 @@ -1,200 +0,0 @@
31.4 -/*
31.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
31.6 - *
31.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
31.8 - *
31.9 - * The contents of this file are subject to the terms of either the GNU
31.10 - * General Public License Version 2 only ("GPL") or the Common
31.11 - * Development and Distribution License("CDDL") (collectively, the
31.12 - * "License"). You may not use this file except in compliance with the
31.13 - * License. You can obtain a copy of the License at
31.14 - * http://www.netbeans.org/cddl-gplv2.html
31.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
31.16 - * specific language governing permissions and limitations under the
31.17 - * License. When distributing the software, include this License Header
31.18 - * Notice in each file and include the License file at
31.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
31.20 - * particular file as subject to the "Classpath" exception as provided
31.21 - * by Sun in the GPL Version 2 section of the License file that
31.22 - * accompanied this code. If applicable, add the following below the
31.23 - * License Header, with the fields enclosed by brackets [] replaced by
31.24 - * your own identifying information:
31.25 - * "Portions Copyrighted [year] [name of copyright owner]"
31.26 - *
31.27 - * If you wish your version of this file to be governed by only the CDDL
31.28 - * or only the GPL Version 2, indicate your decision by adding
31.29 - * "[Contributor] elects to include this software in this distribution
31.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
31.31 - * single choice of license, a recipient has the option to distribute
31.32 - * your version of this file under either the CDDL, the GPL Version 2 or
31.33 - * to extend the choice of license to its licensees as provided above.
31.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
31.35 - * Version 2 license, then the option applies only if the new code is
31.36 - * made subject to such option by the copyright holder.
31.37 - *
31.38 - * Contributor(s):
31.39 - *
31.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
31.41 - */
31.42 -package org.netbeans.modules.contrib.testng.actions;
31.43 -
31.44 -import java.io.IOException;
31.45 -import java.net.URL;
31.46 -import java.util.Collections;
31.47 -import java.util.logging.Level;
31.48 -import java.util.logging.Logger;
31.49 -import javax.swing.SwingUtilities;
31.50 -import org.netbeans.api.java.classpath.ClassPath;
31.51 -import org.netbeans.api.java.queries.UnitTestForSourceQuery;
31.52 -import org.netbeans.api.project.FileOwnerQuery;
31.53 -import org.netbeans.api.project.Project;
31.54 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
31.55 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
31.56 -import org.openide.DialogDescriptor;
31.57 -import org.openide.DialogDisplayer;
31.58 -import org.openide.awt.ActionID;
31.59 -import org.openide.awt.ActionReference;
31.60 -import org.openide.awt.ActionReferences;
31.61 -import org.openide.awt.ActionRegistration;
31.62 -import org.openide.cookies.EditorCookie;
31.63 -import org.openide.cookies.LineCookie;
31.64 -import org.openide.filesystems.FileObject;
31.65 -import org.openide.filesystems.FileUtil;
31.66 -import org.openide.filesystems.URLMapper;
31.67 -import org.openide.loaders.DataFolder;
31.68 -import org.openide.loaders.DataObject;
31.69 -import org.openide.loaders.DataObjectNotFoundException;
31.70 -import org.openide.nodes.Node;
31.71 -import org.openide.text.Line;
31.72 -import org.openide.util.HelpCtx;
31.73 -import org.openide.util.NbBundle;
31.74 -import org.openide.util.actions.CookieAction;
31.75 -
31.76 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.CreateTestAction", category = "TestNG")
31.77 -@ActionRegistration(displayName = "#CTL_CreateTestAction")
31.78 -@ActionReferences(value = {
31.79 - @ActionReference(path = "Loaders/text/x-java/Actions", position = 2192),
31.80 - @ActionReference(path = "Editors/text/x-java/Popup/TestNG", position = 100)})
31.81 -public final class CreateTestAction extends CookieAction {
31.82 -
31.83 - private static final Logger LOGGER = Logger.getLogger(CreateTestAction.class.getName());
31.84 -
31.85 - @Override
31.86 - protected boolean enable(Node[] activatedNodes) {
31.87 - if (super.enable(activatedNodes)) {
31.88 - DataObject dataObject = activatedNodes[0].getLookup().lookup(DataObject.class);
31.89 - Project p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
31.90 - return TestNGSupport.isActionSupported(Action.CREATE_TEST, p);
31.91 - }
31.92 - return false;
31.93 - }
31.94 -
31.95 - protected void performAction(Node[] activatedNodes) {
31.96 - DataObject dataObject = activatedNodes[0].getLookup().lookup(DataObject.class);
31.97 - FileObject pFile = dataObject.getPrimaryFile();
31.98 - ClassPath cp = ClassPath.getClassPath(pFile, ClassPath.SOURCE);
31.99 - FileObject cpRoot = cp.findOwnerRoot(pFile);
31.100 - //XXX - find proper package name from java file using JAVAC API
31.101 - String s = FileUtil.getRelativePath(cpRoot, pFile);
31.102 - DummyUI gui = new DummyUI(s.substring(0, s.length() - 5).replace('/', '.') + "Test");
31.103 - Object result = DialogDisplayer.getDefault().notify(new DialogDescriptor(gui, "Create TestNG Test"));
31.104 - if (DialogDescriptor.OK_OPTION.equals(result)) {
31.105 - FileObject templateFO = FileUtil.getConfigFile("Templates/TestNG/EmptyTestNGTest.java");
31.106 - DataObject templateDO = null;
31.107 - try {
31.108 - templateDO = DataObject.find(templateFO);
31.109 - } catch (DataObjectNotFoundException ex) {
31.110 - LOGGER.log(Level.FINER, null, ex);
31.111 - }
31.112 - String n = gui.getTestName();
31.113 - String pkg = n.indexOf(".") > -1
31.114 - ? n.substring(0, n.lastIndexOf("."))
31.115 - : null;
31.116 - String name = n.substring(n.lastIndexOf('.') + 1);
31.117 - URL[] test = UnitTestForSourceQuery.findUnitTests(cpRoot);
31.118 - FileObject testFolder = null;
31.119 - if (test.length > 0) {
31.120 - testFolder = URLMapper.findFileObject(test[0]);
31.121 - }
31.122 - if (testFolder == null) {
31.123 - try {
31.124 - FileObject pRoot = FileOwnerQuery.getOwner(pFile).getProjectDirectory();
31.125 - testFolder = pRoot.createFolder("test"); //NOI18N
31.126 - } catch (IOException ex) {
31.127 - LOGGER.log(Level.SEVERE, null, ex);
31.128 - }
31.129 - }
31.130 - FileObject targetFolder = testFolder;
31.131 - if (pkg != null) {
31.132 - try {
31.133 - targetFolder = FileUtil.createFolder(testFolder, pkg.replace('.', '/'));
31.134 - } catch (IOException ex) {
31.135 - LOGGER.log(Level.SEVERE, null, ex);
31.136 - }
31.137 - }
31.138 - if (templateDO != null) {
31.139 - DataObject createdFile = null;
31.140 - try {
31.141 - createdFile = templateDO.createFromTemplate(DataFolder.findFolder(targetFolder), name, Collections.singletonMap("package", pkg));
31.142 - } catch (IOException ex) {
31.143 - LOGGER.log(Level.SEVERE, null, ex);
31.144 - }
31.145 - FileObject newFile = createdFile.getPrimaryFile();
31.146 - TestNGSupport.findTestNGSupport(FileOwnerQuery.getOwner(newFile)).configureProject(newFile);
31.147 - final LineCookie lc = createdFile.getCookie(LineCookie.class);
31.148 - if (lc != null) {
31.149 - SwingUtilities.invokeLater(new Runnable() {
31.150 -
31.151 - public void run() {
31.152 - //XXX - should find correct line # programatically
31.153 - Line l = lc.getLineSet().getOriginal(16);
31.154 - l.show(Line.ShowOpenType.OPEN, Line.ShowVisibilityType.FOCUS);
31.155 - }
31.156 - });
31.157 - } else {
31.158 - final EditorCookie ec = createdFile.getCookie(EditorCookie.class);
31.159 - if (ec != null) {
31.160 - SwingUtilities.invokeLater(new Runnable() {
31.161 -
31.162 - public void run() {
31.163 - ec.open();
31.164 -
31.165 - }
31.166 - });
31.167 - } else {
31.168 - LOGGER.info("Didn't get LineCookie nor EditorCookie for: " + createdFile.getPrimaryFile()); //NOI18N
31.169 - }
31.170 - }
31.171 - }
31.172 - }
31.173 - }
31.174 -
31.175 - protected int mode() {
31.176 - return CookieAction.MODE_EXACTLY_ONE;
31.177 - }
31.178 -
31.179 - public String getName() {
31.180 - return NbBundle.getMessage(CreateTestAction.class, "CTL_CreateTestAction");
31.181 - }
31.182 -
31.183 - protected Class[] cookieClasses() {
31.184 - return new Class[]{DataObject.class};
31.185 - }
31.186 -
31.187 - @Override
31.188 - protected void initialize() {
31.189 - super.initialize();
31.190 - // see org.openide.util.actions.SystemAction.iconResource() Javadoc for more details
31.191 - putValue("noIconInMenu", Boolean.TRUE);
31.192 - }
31.193 -
31.194 - public HelpCtx getHelpCtx() {
31.195 - return HelpCtx.DEFAULT_HELP;
31.196 - }
31.197 -
31.198 - @Override
31.199 - protected boolean asynchronous() {
31.200 - return false;
31.201 - }
31.202 -}
31.203 -
32.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/DebugSuiteAction.java Sat Mar 10 02:54:06 2012 +0100
32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
32.3 @@ -1,129 +0,0 @@
32.4 -/*
32.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
32.6 - *
32.7 - * Copyright 2012 Oracle and/or its affiliates. All rights reserved.
32.8 - *
32.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
32.10 - * Other names may be trademarks of their respective owners.
32.11 - *
32.12 - * The contents of this file are subject to the terms of either the GNU
32.13 - * General Public License Version 2 only ("GPL") or the Common
32.14 - * Development and Distribution License("CDDL") (collectively, the
32.15 - * "License"). You may not use this file except in compliance with the
32.16 - * License. You can obtain a copy of the License at
32.17 - * http://www.netbeans.org/cddl-gplv2.html
32.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
32.19 - * specific language governing permissions and limitations under the
32.20 - * License. When distributing the software, include this License Header
32.21 - * Notice in each file and include the License file at
32.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
32.23 - * particular file as subject to the "Classpath" exception as provided
32.24 - * by Oracle in the GPL Version 2 section of the License file that
32.25 - * accompanied this code. If applicable, add the following below the
32.26 - * License Header, with the fields enclosed by brackets [] replaced by
32.27 - * your own identifying information:
32.28 - * "Portions Copyrighted [year] [name of copyright owner]"
32.29 - *
32.30 - * If you wish your version of this file to be governed by only the CDDL
32.31 - * or only the GPL Version 2, indicate your decision by adding
32.32 - * "[Contributor] elects to include this software in this distribution
32.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
32.34 - * single choice of license, a recipient has the option to distribute
32.35 - * your version of this file under either the CDDL, the GPL Version 2 or
32.36 - * to extend the choice of license to its licensees as provided above.
32.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
32.38 - * Version 2 license, then the option applies only if the new code is
32.39 - * made subject to such option by the copyright holder.
32.40 - *
32.41 - * Contributor(s):
32.42 - *
32.43 - * Portions Copyrighted 2012 Sun Microsystems, Inc.
32.44 - */
32.45 -package org.netbeans.modules.contrib.testng.actions;
32.46 -
32.47 -import java.io.IOException;
32.48 -import java.util.logging.Level;
32.49 -import java.util.logging.Logger;
32.50 -import org.netbeans.api.project.FileOwnerQuery;
32.51 -import org.netbeans.api.project.Project;
32.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
32.53 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
32.54 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
32.55 -import org.netbeans.spi.project.SingleMethod;
32.56 -import org.openide.awt.ActionID;
32.57 -import org.openide.awt.ActionReference;
32.58 -import org.openide.awt.ActionReferences;
32.59 -import org.openide.awt.ActionRegistration;
32.60 -import org.openide.filesystems.FileObject;
32.61 -import org.openide.loaders.DataObject;
32.62 -import org.openide.nodes.Node;
32.63 -import org.openide.util.HelpCtx;
32.64 -import org.openide.util.Lookup;
32.65 -import org.openide.util.NbBundle;
32.66 -import org.openide.util.actions.NodeAction;
32.67 -
32.68 -/**
32.69 - *
32.70 - * @author lukas
32.71 - */
32.72 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.DebugSuiteAction", category="Build")
32.73 -@ActionRegistration(displayName = "#CTL_DebugSuiteAction")
32.74 -@ActionReferences(value = {
32.75 - @ActionReference(path = "Loaders/text/x-testng+xml/Actions", position = 270)})
32.76 -@NbBundle.Messages("CTL_DebugSuiteAction=&Debug Test File")
32.77 -public class DebugSuiteAction extends NodeAction {
32.78 -
32.79 - private static final Logger LOGGER = Logger.getLogger(org.netbeans.modules.contrib.testng.actions.DebugSuiteAction.class.getName());
32.80 -
32.81 - public DebugSuiteAction() {
32.82 - }
32.83 -
32.84 - @Override
32.85 - protected boolean enable(Node[] activatedNodes) {
32.86 - if (activatedNodes.length != 1) {
32.87 - return false;
32.88 - }
32.89 - Lookup l = activatedNodes[0].getLookup();
32.90 - DataObject dataObject = l.lookup(DataObject.class);
32.91 - if (dataObject != null) {
32.92 - Project p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
32.93 - return TestNGSupport.isActionSupported(TestNGSupport.Action.DEBUG_TESTSUITE, p);
32.94 - }
32.95 - SingleMethod sm = l.lookup(SingleMethod.class);
32.96 - if (sm != null) {
32.97 - Project p = FileOwnerQuery.getOwner(sm.getFile());
32.98 - return TestNGSupport.isActionSupported(TestNGSupport.Action.DEBUG_TESTSUITE, p);
32.99 - }
32.100 - return false;
32.101 - }
32.102 -
32.103 - @Override
32.104 - protected void performAction(Node[] activatedNodes) {
32.105 - Lookup l = activatedNodes[0].getLookup();
32.106 - FileObject fo = l.lookup(FileObject.class);
32.107 - assert fo != null;
32.108 - Project p = FileOwnerQuery.getOwner(fo);
32.109 - TestNGSupportImplementation.TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
32.110 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, null, null, null);
32.111 - try {
32.112 - exec.execute(TestNGSupport.Action.DEBUG_TESTSUITE, conf);
32.113 - } catch (IOException ex) {
32.114 - LOGGER.log(Level.SEVERE, null, ex);
32.115 - }
32.116 - }
32.117 -
32.118 - @Override
32.119 - public String getName() {
32.120 - return NbBundle.getMessage(DebugSuiteAction.class, "CTL_DebugSuiteAction");
32.121 - }
32.122 -
32.123 - @Override
32.124 - public HelpCtx getHelpCtx() {
32.125 - return HelpCtx.DEFAULT_HELP;
32.126 - }
32.127 -
32.128 - @Override
32.129 - protected boolean asynchronous() {
32.130 - return false;
32.131 - }
32.132 -}
33.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/DebugTestClassAction.java Sat Mar 10 02:54:06 2012 +0100
33.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
33.3 @@ -1,148 +0,0 @@
33.4 -/*
33.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33.6 - *
33.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
33.8 - *
33.9 - * The contents of this file are subject to the terms of either the GNU
33.10 - * General Public License Version 2 only ("GPL") or the Common
33.11 - * Development and Distribution License("CDDL") (collectively, the
33.12 - * "License"). You may not use this file except in compliance with the
33.13 - * License. You can obtain a copy of the License at
33.14 - * http://www.netbeans.org/cddl-gplv2.html
33.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
33.16 - * specific language governing permissions and limitations under the
33.17 - * License. When distributing the software, include this License Header
33.18 - * Notice in each file and include the License file at
33.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
33.20 - * particular file as subject to the "Classpath" exception as provided
33.21 - * by Sun in the GPL Version 2 section of the License file that
33.22 - * accompanied this code. If applicable, add the following below the
33.23 - * License Header, with the fields enclosed by brackets [] replaced by
33.24 - * your own identifying information:
33.25 - * "Portions Copyrighted [year] [name of copyright owner]"
33.26 - *
33.27 - * If you wish your version of this file to be governed by only the CDDL
33.28 - * or only the GPL Version 2, indicate your decision by adding
33.29 - * "[Contributor] elects to include this software in this distribution
33.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
33.31 - * single choice of license, a recipient has the option to distribute
33.32 - * your version of this file under either the CDDL, the GPL Version 2 or
33.33 - * to extend the choice of license to its licensees as provided above.
33.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
33.35 - * Version 2 license, then the option applies only if the new code is
33.36 - * made subject to such option by the copyright holder.
33.37 - *
33.38 - * Contributor(s):
33.39 - *
33.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
33.41 - */
33.42 -package org.netbeans.modules.contrib.testng.actions;
33.43 -
33.44 -import java.io.IOException;
33.45 -import java.util.logging.Level;
33.46 -import java.util.logging.Logger;
33.47 -import javax.swing.JEditorPane;
33.48 -import org.netbeans.api.java.source.JavaSource;
33.49 -import org.netbeans.api.project.FileOwnerQuery;
33.50 -import org.netbeans.api.project.Project;
33.51 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
33.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
33.53 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
33.54 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation.TestExecutor;
33.55 -import org.openide.awt.ActionID;
33.56 -import org.openide.awt.ActionReference;
33.57 -import org.openide.awt.ActionRegistration;
33.58 -import org.openide.cookies.EditorCookie;
33.59 -import org.openide.filesystems.FileObject;
33.60 -import org.openide.loaders.DataObject;
33.61 -import org.openide.nodes.Node;
33.62 -import org.openide.util.HelpCtx;
33.63 -import org.openide.util.Lookup;
33.64 -import org.openide.util.NbBundle;
33.65 -import org.openide.util.actions.NodeAction;
33.66 -
33.67 -/**
33.68 - *
33.69 - * @author lukas
33.70 - */
33.71 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.DebugTestClassAction", category = "TestNG")
33.72 -@ActionRegistration(displayName = "#CTL_DebugTestClassAction")
33.73 -@ActionReference(path = "Editors/text/x-java/Popup/TestNG", position = 600)
33.74 -public class DebugTestClassAction extends NodeAction {
33.75 -
33.76 - private static final Logger LOGGER = Logger.getLogger(DebugTestClassAction.class.getName());
33.77 -
33.78 - @Override
33.79 - protected boolean enable(Node[] activatedNodes) {
33.80 - if (activatedNodes.length != 1) {
33.81 - return false;
33.82 - }
33.83 - Lookup l = activatedNodes[0].getLookup();
33.84 - FileObject fo = l.lookup(FileObject.class);
33.85 - DataObject dataObject = l.lookup(DataObject.class);
33.86 - if (fo == null && dataObject != null) {
33.87 - fo = dataObject.getPrimaryFile();
33.88 - }
33.89 - if (fo != null) {
33.90 - Project p = FileOwnerQuery.getOwner(fo);
33.91 - return TestNGSupport.isActionSupported(Action.DEBUG_TEST, p);
33.92 - }
33.93 - return false;
33.94 - }
33.95 -
33.96 - @Override
33.97 - protected void performAction(Node[] activatedNodes) {
33.98 - Lookup l = activatedNodes[0].getLookup();
33.99 - FileObject fo = l.lookup(FileObject.class);
33.100 - EditorCookie ec = l.lookup(EditorCookie.class);
33.101 - if (fo == null && ec == null) {
33.102 - throw new UnsupportedOperationException();
33.103 - }
33.104 - TestClassInfoTask task = null;
33.105 - if (ec != null) {
33.106 - JEditorPane[] panes = ec.getOpenedPanes();
33.107 - if (panes.length > 0) {
33.108 - final int cursor = panes[0].getCaret().getDot();
33.109 - JavaSource js = JavaSource.forDocument(panes[0].getDocument());
33.110 - task = new TestClassInfoTask(cursor);
33.111 - try {
33.112 - js.runUserActionTask(task, true);
33.113 - } catch (IOException ex) {
33.114 - LOGGER.log(Level.FINE, null, ex);
33.115 - }
33.116 - fo = js.getFileObjects().iterator().next();
33.117 - }
33.118 - } else {
33.119 - JavaSource js = JavaSource.forFileObject(fo);
33.120 - task = new TestClassInfoTask(0);
33.121 - try {
33.122 - js.runUserActionTask(task, true);
33.123 - } catch (IOException ex) {
33.124 - LOGGER.log(Level.FINE, null, ex);
33.125 - }
33.126 - }
33.127 - Project p = FileOwnerQuery.getOwner(fo);
33.128 - TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
33.129 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, task.getPackageName(), task.getClassName(), null);
33.130 - try {
33.131 - exec.execute(Action.DEBUG_TEST, conf);
33.132 - } catch (IOException ex) {
33.133 - LOGGER.log(Level.SEVERE, null, ex);
33.134 - }
33.135 - }
33.136 -
33.137 - @Override
33.138 - public String getName() {
33.139 - return NbBundle.getMessage(DebugTestClassAction.class, "CTL_DebugTestClassAction");
33.140 - }
33.141 -
33.142 - @Override
33.143 - public HelpCtx getHelpCtx() {
33.144 - return new HelpCtx(DebugTestClassAction.class);
33.145 - }
33.146 -
33.147 - @Override
33.148 - protected boolean asynchronous() {
33.149 - return false;
33.150 - }
33.151 -}
34.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/DebugTestMethodAction.java Sat Mar 10 02:54:06 2012 +0100
34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
34.3 @@ -1,167 +0,0 @@
34.4 -/*
34.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
34.6 - *
34.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
34.8 - *
34.9 - * The contents of this file are subject to the terms of either the GNU
34.10 - * General Public License Version 2 only ("GPL") or the Common
34.11 - * Development and Distribution License("CDDL") (collectively, the
34.12 - * "License"). You may not use this file except in compliance with the
34.13 - * License. You can obtain a copy of the License at
34.14 - * http://www.netbeans.org/cddl-gplv2.html
34.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
34.16 - * specific language governing permissions and limitations under the
34.17 - * License. When distributing the software, include this License Header
34.18 - * Notice in each file and include the License file at
34.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
34.20 - * particular file as subject to the "Classpath" exception as provided
34.21 - * by Sun in the GPL Version 2 section of the License file that
34.22 - * accompanied this code. If applicable, add the following below the
34.23 - * License Header, with the fields enclosed by brackets [] replaced by
34.24 - * your own identifying information:
34.25 - * "Portions Copyrighted [year] [name of copyright owner]"
34.26 - *
34.27 - * If you wish your version of this file to be governed by only the CDDL
34.28 - * or only the GPL Version 2, indicate your decision by adding
34.29 - * "[Contributor] elects to include this software in this distribution
34.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
34.31 - * single choice of license, a recipient has the option to distribute
34.32 - * your version of this file under either the CDDL, the GPL Version 2 or
34.33 - * to extend the choice of license to its licensees as provided above.
34.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
34.35 - * Version 2 license, then the option applies only if the new code is
34.36 - * made subject to such option by the copyright holder.
34.37 - *
34.38 - * Contributor(s):
34.39 - *
34.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
34.41 - */
34.42 -package org.netbeans.modules.contrib.testng.actions;
34.43 -
34.44 -import java.io.IOException;
34.45 -import java.util.logging.Level;
34.46 -import java.util.logging.Logger;
34.47 -import javax.swing.JEditorPane;
34.48 -import org.netbeans.api.java.source.JavaSource;
34.49 -import org.netbeans.api.project.FileOwnerQuery;
34.50 -import org.netbeans.api.project.Project;
34.51 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
34.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
34.53 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
34.54 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation.TestExecutor;
34.55 -import org.netbeans.spi.project.SingleMethod;
34.56 -import org.openide.awt.ActionID;
34.57 -import org.openide.awt.ActionReference;
34.58 -import org.openide.awt.ActionRegistration;
34.59 -import org.openide.cookies.EditorCookie;
34.60 -import org.openide.filesystems.FileObject;
34.61 -import org.openide.loaders.DataObject;
34.62 -import org.openide.nodes.Node;
34.63 -import org.openide.util.HelpCtx;
34.64 -import org.openide.util.Lookup;
34.65 -import org.openide.util.NbBundle;
34.66 -import org.openide.util.actions.NodeAction;
34.67 -
34.68 -/**
34.69 - *
34.70 - * @author lukas
34.71 - */
34.72 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.DebugTestMethodAction", category = "TestNG")
34.73 -@ActionRegistration(displayName = "#CTL_DebugTestMethodAction")
34.74 -@ActionReference(path = "Editors/text/x-java/Popup/TestNG", position = 500)
34.75 -public class DebugTestMethodAction extends NodeAction {
34.76 -
34.77 - private static final Logger LOGGER = Logger.getLogger(RunTestMethodAction.class.getName());
34.78 -
34.79 - @Override
34.80 - protected boolean enable(Node[] activatedNodes) {
34.81 - if (activatedNodes.length != 1) {
34.82 - return false;
34.83 - }
34.84 - Lookup l = activatedNodes[0].getLookup();
34.85 - DataObject dataObject = l.lookup(DataObject.class);
34.86 - if (dataObject != null) {
34.87 - Project p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
34.88 - return TestNGSupport.isActionSupported(Action.DEBUG_TESTMETHOD, p);
34.89 - }
34.90 - SingleMethod sm = l.lookup(SingleMethod.class);
34.91 - if (sm != null) {
34.92 - Project p = FileOwnerQuery.getOwner(sm.getFile());
34.93 - return TestNGSupport.isActionSupported(Action.DEBUG_TESTMETHOD, p);
34.94 - }
34.95 - return false;
34.96 - }
34.97 -
34.98 - protected void performAction(Node[] activatedNodes) {
34.99 - Lookup l = activatedNodes[0].getLookup();
34.100 - EditorCookie ec = l.lookup(EditorCookie.class);
34.101 - SingleMethod sm = l.lookup(SingleMethod.class);
34.102 - if (ec == null && sm == null) {
34.103 - //should not happen
34.104 - throw new UnsupportedOperationException();
34.105 - }
34.106 - FileObject fo = null;
34.107 - String testMethod = null;
34.108 - TestClassInfoTask task = new TestClassInfoTask(0);
34.109 - if (ec != null) {
34.110 - JEditorPane[] panes = ec.getOpenedPanes();
34.111 - if (panes.length > 0) {
34.112 - final int cursor = panes[0].getCaret().getDot();
34.113 - JavaSource js = JavaSource.forDocument(panes[0].getDocument());
34.114 - task = new TestClassInfoTask(cursor);
34.115 - try {
34.116 - js.runUserActionTask(task, true);
34.117 - } catch (IOException ex) {
34.118 - LOGGER.log(Level.WARNING, null, ex);
34.119 - }
34.120 - if (task.getMethodName() == null) {
34.121 - //TODO - cursor is outside of a method or a given method is not a test
34.122 - //so let allow user to choose any available method within given class
34.123 - //using some UI
34.124 - }
34.125 - DataObject dobj = l.lookup(DataObject.class);
34.126 - fo = dobj.getPrimaryFile();
34.127 - testMethod = task.getMethodName();
34.128 - }
34.129 - }
34.130 - if (sm != null) {
34.131 - fo = sm.getFile();
34.132 - testMethod = sm.getMethodName();
34.133 - JavaSource js = JavaSource.forFileObject(fo);
34.134 - try {
34.135 - js.runUserActionTask(task, true);
34.136 - } catch (IOException ex) {
34.137 - LOGGER.log(Level.WARNING, null, ex);
34.138 - }
34.139 - }
34.140 - assert fo != null;
34.141 - Project p = FileOwnerQuery.getOwner(fo);
34.142 - TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
34.143 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, task.getPackageName(), task.getClassName(), testMethod);
34.144 - try {
34.145 - exec.execute(Action.DEBUG_TESTMETHOD, conf);
34.146 - } catch (IOException ex) {
34.147 - LOGGER.log(Level.SEVERE, null, ex);
34.148 - }
34.149 - }
34.150 -
34.151 - public String getName() {
34.152 - return NbBundle.getMessage(RunTestMethodAction.class, "CTL_DebugTestMethodAction");
34.153 - }
34.154 -
34.155 - @Override
34.156 - protected void initialize() {
34.157 - super.initialize();
34.158 - // see org.openide.util.actions.SystemAction.iconResource() Javadoc for more details
34.159 - putValue("noIconInMenu", Boolean.TRUE);
34.160 - }
34.161 -
34.162 - public HelpCtx getHelpCtx() {
34.163 - return HelpCtx.DEFAULT_HELP;
34.164 - }
34.165 -
34.166 - @Override
34.167 - protected boolean asynchronous() {
34.168 - return false;
34.169 - }
34.170 -}
35.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/DummyUI.form Sat Mar 10 02:54:06 2012 +0100
35.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
35.3 @@ -1,52 +0,0 @@
35.4 -<?xml version="1.1" encoding="UTF-8" ?>
35.5 -
35.6 -<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
35.7 - <AuxValues>
35.8 - <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
35.9 - <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
35.10 - <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
35.11 - <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
35.12 - <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
35.13 - <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
35.14 - <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
35.15 - <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
35.16 - <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
35.17 - </AuxValues>
35.18 -
35.19 - <Layout>
35.20 - <DimensionLayout dim="0">
35.21 - <Group type="103" groupAlignment="0" attributes="0">
35.22 - <Group type="102" attributes="0">
35.23 - <EmptySpace max="-2" attributes="0"/>
35.24 - <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
35.25 - <EmptySpace type="unrelated" max="-2" attributes="0"/>
35.26 - <Component id="jTextField1" pref="315" max="32767" attributes="0"/>
35.27 - <EmptySpace max="-2" attributes="0"/>
35.28 - </Group>
35.29 - </Group>
35.30 - </DimensionLayout>
35.31 - <DimensionLayout dim="1">
35.32 - <Group type="103" groupAlignment="0" attributes="0">
35.33 - <Group type="102" alignment="0" attributes="0">
35.34 - <EmptySpace max="-2" attributes="0"/>
35.35 - <Group type="103" groupAlignment="3" attributes="0">
35.36 - <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
35.37 - <Component id="jTextField1" alignment="3" min="-2" max="-2" attributes="0"/>
35.38 - </Group>
35.39 - <EmptySpace max="32767" attributes="0"/>
35.40 - </Group>
35.41 - </Group>
35.42 - </DimensionLayout>
35.43 - </Layout>
35.44 - <SubComponents>
35.45 - <Component class="javax.swing.JLabel" name="jLabel1">
35.46 - <Properties>
35.47 - <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
35.48 - <ResourceString bundle="org/netbeans/modules/contrib/testng/actions/Bundle.properties" key="DummyUI.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString("{key}")"/>
35.49 - </Property>
35.50 - </Properties>
35.51 - </Component>
35.52 - <Component class="javax.swing.JTextField" name="jTextField1">
35.53 - </Component>
35.54 - </SubComponents>
35.55 -</Form>
36.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/DummyUI.java Sat Mar 10 02:54:06 2012 +0100
36.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
36.3 @@ -1,98 +0,0 @@
36.4 -/*
36.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
36.6 - *
36.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
36.8 - *
36.9 - * The contents of this file are subject to the terms of either the GNU
36.10 - * General Public License Version 2 only ("GPL") or the Common
36.11 - * Development and Distribution License("CDDL") (collectively, the
36.12 - * "License"). You may not use this file except in compliance with the
36.13 - * License. You can obtain a copy of the License at
36.14 - * http://www.netbeans.org/cddl-gplv2.html
36.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
36.16 - * specific language governing permissions and limitations under the
36.17 - * License. When distributing the software, include this License Header
36.18 - * Notice in each file and include the License file at
36.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
36.20 - * particular file as subject to the "Classpath" exception as provided
36.21 - * by Sun in the GPL Version 2 section of the License file that
36.22 - * accompanied this code. If applicable, add the following below the
36.23 - * License Header, with the fields enclosed by brackets [] replaced by
36.24 - * your own identifying information:
36.25 - * "Portions Copyrighted [year] [name of copyright owner]"
36.26 - *
36.27 - * If you wish your version of this file to be governed by only the CDDL
36.28 - * or only the GPL Version 2, indicate your decision by adding
36.29 - * "[Contributor] elects to include this software in this distribution
36.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
36.31 - * single choice of license, a recipient has the option to distribute
36.32 - * your version of this file under either the CDDL, the GPL Version 2 or
36.33 - * to extend the choice of license to its licensees as provided above.
36.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
36.35 - * Version 2 license, then the option applies only if the new code is
36.36 - * made subject to such option by the copyright holder.
36.37 - *
36.38 - * Contributor(s):
36.39 - *
36.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
36.41 - */
36.42 -package org.netbeans.modules.contrib.testng.actions;
36.43 -
36.44 -/**
36.45 - *
36.46 - * @author lukas
36.47 - */
36.48 -public class DummyUI extends javax.swing.JPanel {
36.49 -
36.50 - /** Creates new form DummyUI */
36.51 - public DummyUI(String s) {
36.52 - initComponents();
36.53 - jTextField1.setText(s);
36.54 - }
36.55 -
36.56 - /** This method is called from within the constructor to
36.57 - * initialize the form.
36.58 - * WARNING: Do NOT modify this code. The content of this method is
36.59 - * always regenerated by the Form Editor.
36.60 - */
36.61 - @SuppressWarnings("unchecked")
36.62 - // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
36.63 - private void initComponents() {
36.64 -
36.65 - jLabel1 = new javax.swing.JLabel();
36.66 - jTextField1 = new javax.swing.JTextField();
36.67 -
36.68 - jLabel1.setText(org.openide.util.NbBundle.getBundle(DummyUI.class).getString("DummyUI.jLabel1.text")); // NOI18N
36.69 -
36.70 - javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
36.71 - this.setLayout(layout);
36.72 - layout.setHorizontalGroup(
36.73 - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
36.74 - .addGroup(layout.createSequentialGroup()
36.75 - .addContainerGap()
36.76 - .addComponent(jLabel1)
36.77 - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
36.78 - .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 315, Short.MAX_VALUE)
36.79 - .addContainerGap())
36.80 - );
36.81 - layout.setVerticalGroup(
36.82 - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
36.83 - .addGroup(layout.createSequentialGroup()
36.84 - .addContainerGap()
36.85 - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
36.86 - .addComponent(jLabel1)
36.87 - .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
36.88 - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
36.89 - );
36.90 - }// </editor-fold>//GEN-END:initComponents
36.91 -
36.92 -
36.93 - // Variables declaration - do not modify//GEN-BEGIN:variables
36.94 - private javax.swing.JLabel jLabel1;
36.95 - private javax.swing.JTextField jTextField1;
36.96 - // End of variables declaration//GEN-END:variables
36.97 -
36.98 - String getTestName() {
36.99 - return jTextField1.getText();
36.100 - }
36.101 -}
37.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/RerunFailedTestsAction.java Sat Mar 10 02:54:06 2012 +0100
37.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
37.3 @@ -1,133 +0,0 @@
37.4 -/*
37.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
37.6 - *
37.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
37.8 - *
37.9 - * The contents of this file are subject to the terms of either the GNU
37.10 - * General Public License Version 2 only ("GPL") or the Common
37.11 - * Development and Distribution License("CDDL") (collectively, the
37.12 - * "License"). You may not use this file except in compliance with the
37.13 - * License. You can obtain a copy of the License at
37.14 - * http://www.netbeans.org/cddl-gplv2.html
37.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
37.16 - * specific language governing permissions and limitations under the
37.17 - * License. When distributing the software, include this License Header
37.18 - * Notice in each file and include the License file at
37.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
37.20 - * particular file as subject to the "Classpath" exception as provided
37.21 - * by Sun in the GPL Version 2 section of the License file that
37.22 - * accompanied this code. If applicable, add the following below the
37.23 - * License Header, with the fields enclosed by brackets [] replaced by
37.24 - * your own identifying information:
37.25 - * "Portions Copyrighted [year] [name of copyright owner]"
37.26 - *
37.27 - * If you wish your version of this file to be governed by only the CDDL
37.28 - * or only the GPL Version 2, indicate your decision by adding
37.29 - * "[Contributor] elects to include this software in this distribution
37.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
37.31 - * single choice of license, a recipient has the option to distribute
37.32 - * your version of this file under either the CDDL, the GPL Version 2 or
37.33 - * to extend the choice of license to its licensees as provided above.
37.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
37.35 - * Version 2 license, then the option applies only if the new code is
37.36 - * made subject to such option by the copyright holder.
37.37 - *
37.38 - * Contributor(s):
37.39 - *
37.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
37.41 - */
37.42 -package org.netbeans.modules.contrib.testng.actions;
37.43 -
37.44 -import java.io.IOException;
37.45 -import java.util.logging.Level;
37.46 -import java.util.logging.Logger;
37.47 -import org.netbeans.api.project.FileOwnerQuery;
37.48 -import org.netbeans.api.project.Project;
37.49 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
37.50 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
37.51 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
37.52 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation.TestExecutor;
37.53 -import org.openide.awt.ActionID;
37.54 -import org.openide.awt.ActionReference;
37.55 -import org.openide.awt.ActionReferences;
37.56 -import org.openide.awt.ActionRegistration;
37.57 -import org.openide.loaders.DataObject;
37.58 -import org.openide.nodes.Node;
37.59 -import org.openide.util.HelpCtx;
37.60 -import org.openide.util.Lookup;
37.61 -import org.openide.util.NbBundle;
37.62 -import org.openide.util.actions.NodeAction;
37.63 -
37.64 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.RerunFailedTestsAction", category = "TestNG")
37.65 -@ActionRegistration(displayName = "#CTL_RerunFailedTestsAction")
37.66 -@ActionReferences(value = {
37.67 - @ActionReference(path = "Loaders/text/x-java/Actions", position = 2195),
37.68 - @ActionReference(path = "Editors/text/x-java/Popup/TestNG", position = 400)})
37.69 -public final class RerunFailedTestsAction extends NodeAction {
37.70 -
37.71 - private static final Logger LOGGER = Logger.getLogger(RerunFailedTestsAction.class.getName());
37.72 -
37.73 - public RerunFailedTestsAction() {
37.74 - }
37.75 -
37.76 - @Override
37.77 - protected boolean enable(Node[] activatedNodes) {
37.78 - if (activatedNodes.length != 1) {
37.79 - return false;
37.80 - }
37.81 - Lookup l = activatedNodes[0].getLookup();
37.82 - Project p = l.lookup(Project.class);
37.83 - if (p == null) {
37.84 - DataObject dataObject = l.lookup(DataObject.class);
37.85 - if (dataObject != null && dataObject.getPrimaryFile() != null) {
37.86 - p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
37.87 - } else {
37.88 - return false;
37.89 - }
37.90 - }
37.91 - if (TestNGSupport.isActionSupported(Action.RUN_FAILED, p)) {
37.92 - return TestNGSupport.findTestNGSupport(p).createExecutor(p).hasFailedTests();
37.93 - }
37.94 - return false;
37.95 - }
37.96 -
37.97 - protected void performAction(Node[] activatedNodes) {
37.98 - Lookup l = activatedNodes[0].getLookup();
37.99 - Project p = l.lookup(Project.class);
37.100 - if (p == null) {
37.101 - DataObject dataObject = l.lookup(DataObject.class);
37.102 - if (dataObject != null) {
37.103 - p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
37.104 - }
37.105 - }
37.106 - TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
37.107 - assert exec.hasFailedTests();
37.108 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(p.getProjectDirectory(), true, null, null, null);
37.109 - try {
37.110 - exec.execute(Action.RUN_FAILED, conf);
37.111 - } catch (IOException ex) {
37.112 - LOGGER.log(Level.SEVERE, null, ex);
37.113 - }
37.114 - }
37.115 -
37.116 - public String getName() {
37.117 - return NbBundle.getMessage(RerunFailedTestsAction.class, "CTL_RerunFailedTestsAction");
37.118 - }
37.119 -
37.120 - @Override
37.121 - protected void initialize() {
37.122 - super.initialize();
37.123 - // see org.openide.util.actions.SystemAction.iconResource() Javadoc for more details
37.124 - putValue("noIconInMenu", Boolean.TRUE);
37.125 - }
37.126 -
37.127 - public HelpCtx getHelpCtx() {
37.128 - return HelpCtx.DEFAULT_HELP;
37.129 - }
37.130 -
37.131 - @Override
37.132 - protected boolean asynchronous() {
37.133 - return false;
37.134 - }
37.135 -}
37.136 -
38.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/RunSuiteAction.java Sat Mar 10 02:54:06 2012 +0100
38.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
38.3 @@ -1,130 +0,0 @@
38.4 -/*
38.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
38.6 - *
38.7 - * Copyright 2011-2012 Oracle and/or its affiliates. All rights reserved.
38.8 - *
38.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
38.10 - * Other names may be trademarks of their respective owners.
38.11 - *
38.12 - * The contents of this file are subject to the terms of either the GNU
38.13 - * General Public License Version 2 only ("GPL") or the Common
38.14 - * Development and Distribution License("CDDL") (collectively, the
38.15 - * "License"). You may not use this file except in compliance with the
38.16 - * License. You can obtain a copy of the License at
38.17 - * http://www.netbeans.org/cddl-gplv2.html
38.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
38.19 - * specific language governing permissions and limitations under the
38.20 - * License. When distributing the software, include this License Header
38.21 - * Notice in each file and include the License file at
38.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
38.23 - * particular file as subject to the "Classpath" exception as provided
38.24 - * by Oracle in the GPL Version 2 section of the License file that
38.25 - * accompanied this code. If applicable, add the following below the
38.26 - * License Header, with the fields enclosed by brackets [] replaced by
38.27 - * your own identifying information:
38.28 - * "Portions Copyrighted [year] [name of copyright owner]"
38.29 - *
38.30 - * If you wish your version of this file to be governed by only the CDDL
38.31 - * or only the GPL Version 2, indicate your decision by adding
38.32 - * "[Contributor] elects to include this software in this distribution
38.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
38.34 - * single choice of license, a recipient has the option to distribute
38.35 - * your version of this file under either the CDDL, the GPL Version 2 or
38.36 - * to extend the choice of license to its licensees as provided above.
38.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
38.38 - * Version 2 license, then the option applies only if the new code is
38.39 - * made subject to such option by the copyright holder.
38.40 - *
38.41 - * Contributor(s):
38.42 - *
38.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
38.44 - */
38.45 -package org.netbeans.modules.contrib.testng.actions;
38.46 -
38.47 -import java.io.IOException;
38.48 -import java.util.logging.Level;
38.49 -import java.util.logging.Logger;
38.50 -import org.netbeans.api.project.FileOwnerQuery;
38.51 -import org.netbeans.api.project.Project;
38.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
38.53 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
38.54 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
38.55 -import org.netbeans.spi.project.SingleMethod;
38.56 -import org.openide.awt.ActionID;
38.57 -import org.openide.awt.ActionReference;
38.58 -import org.openide.awt.ActionReferences;
38.59 -import org.openide.awt.ActionRegistration;
38.60 -import org.openide.filesystems.FileObject;
38.61 -import org.openide.loaders.DataObject;
38.62 -import org.openide.nodes.Node;
38.63 -import org.openide.util.HelpCtx;
38.64 -import org.openide.util.Lookup;
38.65 -import org.openide.util.NbBundle;
38.66 -import org.openide.util.NbBundle.Messages;
38.67 -import org.openide.util.actions.NodeAction;
38.68 -
38.69 -/**
38.70 - *
38.71 - * @author lukas
38.72 - */
38.73 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.RunSuiteAction", category="Build")
38.74 -@ActionRegistration(displayName = "#CTL_RunSuiteAction")
38.75 -@ActionReferences(value = {
38.76 - @ActionReference(path = "Loaders/text/x-testng+xml/Actions", position = 250)})
38.77 -@Messages("CTL_RunSuiteAction=&Test File")
38.78 -public class RunSuiteAction extends NodeAction {
38.79 -
38.80 - private static final Logger LOGGER = Logger.getLogger(RunSuiteAction.class.getName());
38.81 -
38.82 - public RunSuiteAction() {
38.83 - }
38.84 -
38.85 - @Override
38.86 - protected boolean enable(Node[] activatedNodes) {
38.87 - if (activatedNodes.length != 1) {
38.88 - return false;
38.89 - }
38.90 - Lookup l = activatedNodes[0].getLookup();
38.91 - DataObject dataObject = l.lookup(DataObject.class);
38.92 - if (dataObject != null) {
38.93 - Project p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
38.94 - return TestNGSupport.isActionSupported(TestNGSupport.Action.RUN_TESTSUITE, p);
38.95 - }
38.96 - SingleMethod sm = l.lookup(SingleMethod.class);
38.97 - if (sm != null) {
38.98 - Project p = FileOwnerQuery.getOwner(sm.getFile());
38.99 - return TestNGSupport.isActionSupported(TestNGSupport.Action.RUN_TESTSUITE, p);
38.100 - }
38.101 - return false;
38.102 - }
38.103 -
38.104 - @Override
38.105 - protected void performAction(Node[] activatedNodes) {
38.106 - Lookup l = activatedNodes[0].getLookup();
38.107 - FileObject fo = l.lookup(FileObject.class);
38.108 - assert fo != null;
38.109 - Project p = FileOwnerQuery.getOwner(fo);
38.110 - TestNGSupportImplementation.TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
38.111 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, null, null, null);
38.112 - try {
38.113 - exec.execute(TestNGSupport.Action.RUN_TESTSUITE, conf);
38.114 - } catch (IOException ex) {
38.115 - LOGGER.log(Level.SEVERE, null, ex);
38.116 - }
38.117 - }
38.118 -
38.119 - @Override
38.120 - public String getName() {
38.121 - return NbBundle.getMessage(RunSuiteAction.class, "CTL_RunSuiteAction");
38.122 - }
38.123 -
38.124 - @Override
38.125 - public HelpCtx getHelpCtx() {
38.126 - return HelpCtx.DEFAULT_HELP;
38.127 - }
38.128 -
38.129 - @Override
38.130 - protected boolean asynchronous() {
38.131 - return false;
38.132 - }
38.133 -}
39.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/RunTestMethodAction.java Sat Mar 10 02:54:06 2012 +0100
39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
39.3 @@ -1,167 +0,0 @@
39.4 -/*
39.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
39.6 - *
39.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
39.8 - *
39.9 - * The contents of this file are subject to the terms of either the GNU
39.10 - * General Public License Version 2 only ("GPL") or the Common
39.11 - * Development and Distribution License("CDDL") (collectively, the
39.12 - * "License"). You may not use this file except in compliance with the
39.13 - * License. You can obtain a copy of the License at
39.14 - * http://www.netbeans.org/cddl-gplv2.html
39.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
39.16 - * specific language governing permissions and limitations under the
39.17 - * License. When distributing the software, include this License Header
39.18 - * Notice in each file and include the License file at
39.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
39.20 - * particular file as subject to the "Classpath" exception as provided
39.21 - * by Sun in the GPL Version 2 section of the License file that
39.22 - * accompanied this code. If applicable, add the following below the
39.23 - * License Header, with the fields enclosed by brackets [] replaced by
39.24 - * your own identifying information:
39.25 - * "Portions Copyrighted [year] [name of copyright owner]"
39.26 - *
39.27 - * If you wish your version of this file to be governed by only the CDDL
39.28 - * or only the GPL Version 2, indicate your decision by adding
39.29 - * "[Contributor] elects to include this software in this distribution
39.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
39.31 - * single choice of license, a recipient has the option to distribute
39.32 - * your version of this file under either the CDDL, the GPL Version 2 or
39.33 - * to extend the choice of license to its licensees as provided above.
39.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
39.35 - * Version 2 license, then the option applies only if the new code is
39.36 - * made subject to such option by the copyright holder.
39.37 - *
39.38 - * Contributor(s):
39.39 - *
39.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
39.41 - */
39.42 -package org.netbeans.modules.contrib.testng.actions;
39.43 -
39.44 -import java.io.IOException;
39.45 -import java.util.logging.Level;
39.46 -import java.util.logging.Logger;
39.47 -import javax.swing.JEditorPane;
39.48 -import org.netbeans.api.java.source.JavaSource;
39.49 -import org.netbeans.api.project.FileOwnerQuery;
39.50 -import org.netbeans.api.project.Project;
39.51 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
39.52 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
39.53 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
39.54 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation.TestExecutor;
39.55 -import org.netbeans.spi.project.SingleMethod;
39.56 -import org.openide.awt.ActionID;
39.57 -import org.openide.awt.ActionReference;
39.58 -import org.openide.awt.ActionReferences;
39.59 -import org.openide.awt.ActionRegistration;
39.60 -import org.openide.cookies.EditorCookie;
39.61 -import org.openide.filesystems.FileObject;
39.62 -import org.openide.loaders.DataObject;
39.63 -import org.openide.nodes.Node;
39.64 -import org.openide.util.HelpCtx;
39.65 -import org.openide.util.Lookup;
39.66 -import org.openide.util.NbBundle;
39.67 -import org.openide.util.actions.NodeAction;
39.68 -
39.69 -@ActionID(id = "org.netbeans.modules.contrib.testng.actions.RunTestMethodAction", category = "TestNG")
39.70 -@ActionRegistration(displayName = "#CTL_RunTestMethodAction")
39.71 -@ActionReferences(value = {
39.72 - @ActionReference(path = "Loaders/text/x-java/Actions", position = 2194),
39.73 - @ActionReference(path = "Editors/text/x-java/Popup/TestNG", position = 200)})
39.74 -public final class RunTestMethodAction extends NodeAction {
39.75 -
39.76 - private static final Logger LOGGER = Logger.getLogger(RunTestMethodAction.class.getName());
39.77 -
39.78 - @Override
39.79 - protected boolean enable(Node[] activatedNodes) {
39.80 - if (activatedNodes.length != 1) {
39.81 - return false;
39.82 - }
39.83 - Lookup l = activatedNodes[0].getLookup();
39.84 - DataObject dataObject = l.lookup(DataObject.class);
39.85 - if (dataObject != null) {
39.86 - Project p = FileOwnerQuery.getOwner(dataObject.getPrimaryFile());
39.87 - return TestNGSupport.isActionSupported(Action.RUN_TESTMETHOD, p);
39.88 - }
39.89 - SingleMethod sm = l.lookup(SingleMethod.class);
39.90 - if (sm != null) {
39.91 - Project p = FileOwnerQuery.getOwner(sm.getFile());
39.92 - return TestNGSupport.isActionSupported(Action.RUN_TESTMETHOD, p);
39.93 - }
39.94 - return false;
39.95 - }
39.96 -
39.97 - protected void performAction(Node[] activatedNodes) {
39.98 - Lookup l = activatedNodes[0].getLookup();
39.99 - EditorCookie ec = l.lookup(EditorCookie.class);
39.100 - SingleMethod sm = l.lookup(SingleMethod.class);
39.101 - if (ec == null && sm == null) {
39.102 - //should not happen
39.103 - throw new UnsupportedOperationException();
39.104 - }
39.105 - FileObject fo = null;
39.106 - String testMethod = null;
39.107 - TestClassInfoTask task = new TestClassInfoTask(0);
39.108 - if (ec != null) {
39.109 - JEditorPane[] panes = ec.getOpenedPanes();
39.110 - if (panes.length > 0) {
39.111 - final int cursor = panes[0].getCaret().getDot();
39.112 - JavaSource js = JavaSource.forDocument(panes[0].getDocument());
39.113 - task = new TestClassInfoTask(cursor);
39.114 - try {
39.115 - js.runUserActionTask(task, true);
39.116 - } catch (IOException ex) {
39.117 - LOGGER.log(Level.WARNING, null, ex);
39.118 - }
39.119 - if (task.getMethodName() == null) {
39.120 - //TODO - cursor is outside of a method or a given method is not a test
39.121 - //so let allow user to choose any available method within given class
39.122 - //using some UI
39.123 - }
39.124 - DataObject dobj = l.lookup(DataObject.class);
39.125 - fo = dobj.getPrimaryFile();
39.126 - testMethod = task.getMethodName();
39.127 - }
39.128 - }
39.129 - if (sm != null) {
39.130 - fo = sm.getFile();
39.131 - testMethod = sm.getMethodName();
39.132 - JavaSource js = JavaSource.forFileObject(fo);
39.133 - try {
39.134 - js.runUserActionTask(task, true);
39.135 - } catch (IOException ex) {
39.136 - LOGGER.log(Level.WARNING, null, ex);
39.137 - }
39.138 - }
39.139 - assert fo != null;
39.140 - Project p = FileOwnerQuery.getOwner(fo);
39.141 - TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
39.142 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, task.getPackageName(), task.getClassName(), testMethod);
39.143 - try {
39.144 - exec.execute(Action.RUN_TESTMETHOD, conf);
39.145 - } catch (IOException ex) {
39.146 - LOGGER.log(Level.SEVERE, null, ex);
39.147 - }
39.148 - }
39.149 -
39.150 - public String getName() {
39.151 - return NbBundle.getMessage(RunTestMethodAction.class, "CTL_RunTestMethodAction");
39.152 - }
39.153 -
39.154 - @Override
39.155 - protected void initialize() {
39.156 - super.initialize();
39.157 - // see org.openide.util.actions.SystemAction.iconResource() Javadoc for more details
39.158 - putValue("noIconInMenu", Boolean.TRUE);
39.159 - }
39.160 -
39.161 - public HelpCtx getHelpCtx() {
39.162 - return HelpCtx.DEFAULT_HELP;
39.163 - }
39.164 -
39.165 - @Override
39.166 - protected boolean asynchronous() {
39.167 - return false;
39.168 - }
39.169 -}
39.170 -
40.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/TestClassInfoTask.java Sat Mar 10 02:54:06 2012 +0100
40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
40.3 @@ -1,121 +0,0 @@
40.4 -/*
40.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
40.6 - *
40.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
40.8 - *
40.9 - * The contents of this file are subject to the terms of either the GNU
40.10 - * General Public License Version 2 only ("GPL") or the Common
40.11 - * Development and Distribution License("CDDL") (collectively, the
40.12 - * "License"). You may not use this file except in compliance with the
40.13 - * License. You can obtain a copy of the License at
40.14 - * http://www.netbeans.org/cddl-gplv2.html
40.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
40.16 - * specific language governing permissions and limitations under the
40.17 - * License. When distributing the software, include this License Header
40.18 - * Notice in each file and include the License file at
40.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
40.20 - * particular file as subject to the "Classpath" exception as provided
40.21 - * by Sun in the GPL Version 2 section of the License file that
40.22 - * accompanied this code. If applicable, add the following below the
40.23 - * License Header, with the fields enclosed by brackets [] replaced by
40.24 - * your own identifying information:
40.25 - * "Portions Copyrighted [year] [name of copyright owner]"
40.26 - *
40.27 - * If you wish your version of this file to be governed by only the CDDL
40.28 - * or only the GPL Version 2, indicate your decision by adding
40.29 - * "[Contributor] elects to include this software in this distribution
40.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
40.31 - * single choice of license, a recipient has the option to distribute
40.32 - * your version of this file under either the CDDL, the GPL Version 2 or
40.33 - * to extend the choice of license to its licensees as provided above.
40.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
40.35 - * Version 2 license, then the option applies only if the new code is
40.36 - * made subject to such option by the copyright holder.
40.37 - *
40.38 - * Contributor(s):
40.39 - *
40.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
40.41 - */
40.42 -package org.netbeans.modules.contrib.testng.actions;
40.43 -
40.44 -import com.sun.source.tree.Tree.Kind;
40.45 -import com.sun.source.util.TreePath;
40.46 -import java.util.Iterator;
40.47 -import java.util.List;
40.48 -import javax.lang.model.element.AnnotationMirror;
40.49 -import javax.lang.model.element.Element;
40.50 -import javax.lang.model.element.ElementKind;
40.51 -import javax.lang.model.element.TypeElement;
40.52 -import javax.lang.model.util.Elements;
40.53 -import org.netbeans.api.java.source.CancellableTask;
40.54 -import org.netbeans.api.java.source.CompilationController;
40.55 -import org.netbeans.api.java.source.JavaSource.Phase;
40.56 -
40.57 -/**
40.58 - *
40.59 - * @author lukas
40.60 - */
40.61 -final class TestClassInfoTask implements CancellableTask<CompilationController> {
40.62 -
40.63 - private final int caretPosition;
40.64 - private String packageName;
40.65 - private String className;
40.66 - private String methodName;
40.67 -
40.68 - /**
40.69 - * <b>DO NOT USE!</b> Package private due to use in tests
40.70 - */
40.71 - static String ANNOTATION = "org.testng.annotations.Test"; //NOI18N
40.72 -
40.73 - TestClassInfoTask(int caretPosition) {
40.74 - this.caretPosition = caretPosition;
40.75 - }
40.76 -
40.77 - public void cancel() {
40.78 - }
40.79 -
40.80 - public void run(CompilationController controller) throws Exception {
40.81 - controller.toPhase(Phase.RESOLVED);
40.82 - TypeElement typeElement = null;
40.83 - List<? extends TypeElement> topLevelElements = controller.getTopLevelElements();
40.84 - for (Iterator<? extends TypeElement> it = topLevelElements.iterator(); it.hasNext();) {
40.85 - typeElement = it.next();
40.86 - if (typeElement.getKind() == ElementKind.CLASS) {
40.87 - className = typeElement.getSimpleName().toString();
40.88 - break;
40.89 - }
40.90 - }
40.91 - Elements elements = controller.getElements();
40.92 - if (typeElement != null) {
40.93 - packageName = elements.getPackageOf(typeElement).getQualifiedName().toString();
40.94 - }
40.95 - TreePath tp = controller.getTreeUtilities().pathFor(caretPosition);
40.96 - while (tp != null && tp.getLeaf().getKind() != Kind.METHOD) {
40.97 - tp = tp.getParentPath();
40.98 - }
40.99 - if (tp != null) {
40.100 - Element element = controller.getTrees().getElement(tp);
40.101 - List<? extends AnnotationMirror> allAnnotationMirrors = elements.getAllAnnotationMirrors(element);
40.102 - for (Iterator<? extends AnnotationMirror> it = allAnnotationMirrors.iterator(); it.hasNext();) {
40.103 - AnnotationMirror annotationMirror = it.next();
40.104 - typeElement = (TypeElement) annotationMirror.getAnnotationType().asElement();
40.105 - if (typeElement.getQualifiedName().contentEquals(ANNOTATION)) {
40.106 - methodName = element.getSimpleName().toString();
40.107 - break;
40.108 - }
40.109 - }
40.110 - }
40.111 - }
40.112 -
40.113 - String getClassName() {
40.114 - return className;
40.115 - }
40.116 -
40.117 - String getMethodName() {
40.118 - return methodName;
40.119 - }
40.120 -
40.121 - String getPackageName() {
40.122 - return packageName;
40.123 - }
40.124 -}
41.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/TestConfigAccessor.java Sat Mar 10 02:54:06 2012 +0100
41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
41.3 @@ -1,75 +0,0 @@
41.4 -/*
41.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
41.6 - *
41.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
41.8 - *
41.9 - * The contents of this file are subject to the terms of either the GNU
41.10 - * General Public License Version 2 only ("GPL") or the Common
41.11 - * Development and Distribution License("CDDL") (collectively, the
41.12 - * "License"). You may not use this file except in compliance with the
41.13 - * License. You can obtain a copy of the License at
41.14 - * http://www.netbeans.org/cddl-gplv2.html
41.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
41.16 - * specific language governing permissions and limitations under the
41.17 - * License. When distributing the software, include this License Header
41.18 - * Notice in each file and include the License file at
41.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
41.20 - * particular file as subject to the "Classpath" exception as provided
41.21 - * by Sun in the GPL Version 2 section of the License file that
41.22 - * accompanied this code. If applicable, add the following below the
41.23 - * License Header, with the fields enclosed by brackets [] replaced by
41.24 - * your own identifying information:
41.25 - * "Portions Copyrighted [year] [name of copyright owner]"
41.26 - *
41.27 - * If you wish your version of this file to be governed by only the CDDL
41.28 - * or only the GPL Version 2, indicate your decision by adding
41.29 - * "[Contributor] elects to include this software in this distribution
41.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
41.31 - * single choice of license, a recipient has the option to distribute
41.32 - * your version of this file under either the CDDL, the GPL Version 2 or
41.33 - * to extend the choice of license to its licensees as provided above.
41.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
41.35 - * Version 2 license, then the option applies only if the new code is
41.36 - * made subject to such option by the copyright holder.
41.37 - *
41.38 - * Contributor(s):
41.39 - *
41.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
41.41 - */
41.42 -package org.netbeans.modules.contrib.testng.actions;
41.43 -
41.44 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
41.45 -import org.openide.filesystems.FileObject;
41.46 -
41.47 -public abstract class TestConfigAccessor {
41.48 -
41.49 - protected TestConfigAccessor() {
41.50 - }
41.51 -
41.52 - private static volatile TestConfigAccessor accessor;
41.53 -
41.54 - public static void setDefault(TestConfigAccessor accessor) {
41.55 - if (TestConfigAccessor.accessor != null) {
41.56 - throw new IllegalStateException("Already initialized accessor");
41.57 - }
41.58 - TestConfigAccessor.accessor = accessor;
41.59 - }
41.60 -
41.61 - public static TestConfigAccessor getDefault() {
41.62 - if (accessor != null) {
41.63 - return accessor;
41.64 - }
41.65 - // invokes static initializer of TestConfig.class
41.66 - // that will assign value to the DEFAULT field above
41.67 - Class c = TestConfig.class;
41.68 - try {
41.69 - Class.forName(c.getName(), true, c.getClassLoader());
41.70 - } catch (ClassNotFoundException ex) {
41.71 - assert false : ex;
41.72 - }
41.73 - assert accessor != null : "The accessor field must be initialized";
41.74 - return accessor;
41.75 - }
41.76 -
41.77 - public abstract TestConfig createTestConfig(FileObject test, boolean rerun, String pkgName, String className, String methodName);
41.78 -}
42.1 --- a/testng/src/org/netbeans/modules/contrib/testng/actions/TestNGActionProvider.java Sat Mar 10 02:54:06 2012 +0100
42.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
42.3 @@ -1,106 +0,0 @@
42.4 -/*
42.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
42.6 - *
42.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
42.8 - *
42.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
42.10 - * Other names may be trademarks of their respective owners.
42.11 - *
42.12 - * The contents of this file are subject to the terms of either the GNU
42.13 - * General Public License Version 2 only ("GPL") or the Common
42.14 - * Development and Distribution License("CDDL") (collectively, the
42.15 - * "License"). You may not use this file except in compliance with the
42.16 - * License. You can obtain a copy of the License at
42.17 - * http://www.netbeans.org/cddl-gplv2.html
42.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
42.19 - * specific language governing permissions and limitations under the
42.20 - * License. When distributing the software, include this License Header
42.21 - * Notice in each file and include the License file at
42.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
42.23 - * particular file as subject to the "Classpath" exception as provided
42.24 - * by Oracle in the GPL Version 2 section of the License file that
42.25 - * accompanied this code. If applicable, add the following below the
42.26 - * License Header, with the fields enclosed by brackets [] replaced by
42.27 - * your own identifying information:
42.28 - * "Portions Copyrighted [year] [name of copyright owner]"
42.29 - *
42.30 - * If you wish your version of this file to be governed by only the CDDL
42.31 - * or only the GPL Version 2, indicate your decision by adding
42.32 - * "[Contributor] elects to include this software in this distribution
42.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
42.34 - * single choice of license, a recipient has the option to distribute
42.35 - * your version of this file under either the CDDL, the GPL Version 2 or
42.36 - * to extend the choice of license to its licensees as provided above.
42.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
42.38 - * Version 2 license, then the option applies only if the new code is
42.39 - * made subject to such option by the copyright holder.
42.40 - *
42.41 - * Contributor(s):
42.42 - *
42.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
42.44 - */
42.45 -package org.netbeans.modules.contrib.testng.actions;
42.46 -
42.47 -import java.io.IOException;
42.48 -import java.util.logging.Level;
42.49 -import java.util.logging.Logger;
42.50 -import org.netbeans.api.java.source.JavaSource;
42.51 -import org.netbeans.api.project.FileOwnerQuery;
42.52 -import org.netbeans.api.project.Project;
42.53 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
42.54 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
42.55 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
42.56 -import org.netbeans.spi.project.ActionProvider;
42.57 -import org.netbeans.spi.project.SingleMethod;
42.58 -import org.openide.filesystems.FileObject;
42.59 -import org.openide.util.Lookup;
42.60 -import org.openide.util.lookup.ServiceProvider;
42.61 -
42.62 -/**
42.63 - *
42.64 - * @author lukas
42.65 - */
42.66 -@ServiceProvider(service = ActionProvider.class)
42.67 -public class TestNGActionProvider implements ActionProvider {
42.68 -
42.69 - private static final Logger LOGGER = Logger.getLogger(TestNGActionProvider.class.getName());
42.70 - private static final String[] SUPPORTED_ACTIONS = {
42.71 - SingleMethod.COMMAND_RUN_SINGLE_METHOD,
42.72 - SingleMethod.COMMAND_DEBUG_SINGLE_METHOD
42.73 - };
42.74 -
42.75 - public TestNGActionProvider() {
42.76 - }
42.77 -
42.78 - public String[] getSupportedActions() {
42.79 - return SUPPORTED_ACTIONS;
42.80 - }
42.81 -
42.82 - public boolean isActionEnabled(String command, Lookup context) throws IllegalArgumentException {
42.83 - return context.lookup(SingleMethod.class) != null;
42.84 - }
42.85 -
42.86 - public void invokeAction(String command, Lookup context) throws IllegalArgumentException {
42.87 - TestNGSupport.Action action = SingleMethod.COMMAND_RUN_SINGLE_METHOD.equals(command)
42.88 - ? TestNGSupport.Action.RUN_TESTMETHOD
42.89 - : TestNGSupport.Action.DEBUG_TESTMETHOD;
42.90 - SingleMethod sm = context.lookup(SingleMethod.class);
42.91 - FileObject fo = sm.getFile();
42.92 -
42.93 - TestClassInfoTask task = new TestClassInfoTask(0);
42.94 - JavaSource js = JavaSource.forFileObject(fo);
42.95 - try {
42.96 - js.runUserActionTask(task, true);
42.97 - } catch (IOException ex) {
42.98 - LOGGER.log(Level.WARNING, null, ex);
42.99 - }
42.100 - Project p = FileOwnerQuery.getOwner(fo);
42.101 - TestNGSupportImplementation.TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
42.102 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(fo, false, task.getPackageName(), task.getClassName(), sm.getMethodName());
42.103 - try {
42.104 - exec.execute(action, conf);
42.105 - } catch (IOException ex) {
42.106 - LOGGER.log(Level.SEVERE, null, ex);
42.107 - }
42.108 - }
42.109 -}
43.1 --- a/testng/src/org/netbeans/modules/contrib/testng/api/TestNGSupport.java Sat Mar 10 02:54:06 2012 +0100
43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
43.3 @@ -1,126 +0,0 @@
43.4 -/*
43.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
43.6 - *
43.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
43.8 - *
43.9 - * The contents of this file are subject to the terms of either the GNU
43.10 - * General Public License Version 2 only ("GPL") or the Common
43.11 - * Development and Distribution License("CDDL") (collectively, the
43.12 - * "License"). You may not use this file except in compliance with the
43.13 - * License. You can obtain a copy of the License at
43.14 - * http://www.netbeans.org/cddl-gplv2.html
43.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
43.16 - * specific language governing permissions and limitations under the
43.17 - * License. When distributing the software, include this License Header
43.18 - * Notice in each file and include the License file at
43.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
43.20 - * particular file as subject to the "Classpath" exception as provided
43.21 - * by Sun in the GPL Version 2 section of the License file that
43.22 - * accompanied this code. If applicable, add the following below the
43.23 - * License Header, with the fields enclosed by brackets [] replaced by
43.24 - * your own identifying information:
43.25 - * "Portions Copyrighted [year] [name of copyright owner]"
43.26 - *
43.27 - * If you wish your version of this file to be governed by only the CDDL
43.28 - * or only the GPL Version 2, indicate your decision by adding
43.29 - * "[Contributor] elects to include this software in this distribution
43.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
43.31 - * single choice of license, a recipient has the option to distribute
43.32 - * your version of this file under either the CDDL, the GPL Version 2 or
43.33 - * to extend the choice of license to its licensees as provided above.
43.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
43.35 - * Version 2 license, then the option applies only if the new code is
43.36 - * made subject to such option by the copyright holder.
43.37 - *
43.38 - * Contributor(s):
43.39 - *
43.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
43.41 - */
43.42 -package org.netbeans.modules.contrib.testng.api;
43.43 -
43.44 -import java.util.ArrayList;
43.45 -import java.util.List;
43.46 -import org.netbeans.api.project.Project;
43.47 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
43.48 -import org.openide.util.Lookup;
43.49 -import org.openide.util.LookupEvent;
43.50 -import org.openide.util.LookupListener;
43.51 -
43.52 -/**
43.53 - *
43.54 - * @author lukas
43.55 - */
43.56 -public final class TestNGSupport {
43.57 -
43.58 - private static Lookup.Result<TestNGSupportImplementation> implementations;
43.59 - /** Cache of all available TestNGSupportImplementation instances. */
43.60 - private static List<TestNGSupportImplementation> cache;
43.61 -
43.62 - public static enum Action {
43.63 - CREATE_TEST,
43.64 - RUN_FAILED,
43.65 - RUN_TESTMETHOD,
43.66 - RUN_TESTSUITE,
43.67 - DEBUG_TEST,
43.68 - DEBUG_TESTMETHOD,
43.69 - DEBUG_TESTSUITE
43.70 - }
43.71 -
43.72 - private TestNGSupport() {
43.73 - }
43.74 -
43.75 - /**
43.76 - * Look for instance of TestNGSupportImplementation supporting given project
43.77 - * in the default lookup
43.78 - *
43.79 - * @param p
43.80 - * @return TestNGSupportImplementation instance for given project; null if
43.81 - * there's not any
43.82 - */
43.83 - public static final TestNGSupportImplementation findTestNGSupport(Project p) {
43.84 - for (TestNGSupportImplementation s: getInstances()) {
43.85 - for (Action a : Action.values()) {
43.86 - if (s.isActionSupported(a, p)) {
43.87 - return s;
43.88 - }
43.89 - }
43.90 - }
43.91 - return null;
43.92 - }
43.93 -
43.94 - /**
43.95 - * Check if at least one of TestNGSupportImplementation instances
43.96 - * registered in the default lookup supports given project
43.97 - *
43.98 - * @param p project
43.99 - *
43.100 - * @return true if at least one instance of TestNGSupportImplementation
43.101 - * supporting given project is found, false otherwise
43.102 - */
43.103 - public static final boolean isActionSupported(Action action, Project p) {
43.104 - for (TestNGSupportImplementation s: getInstances()) {
43.105 - if (s.isActionSupported(action, p)) {
43.106 - return true;
43.107 - }
43.108 - }
43.109 - return false;
43.110 - }
43.111 -
43.112 - private static synchronized List<TestNGSupportImplementation> getInstances() {
43.113 - if (implementations == null) {
43.114 - implementations = Lookup.getDefault().lookup(new Lookup.Template<TestNGSupportImplementation>(TestNGSupportImplementation.class));
43.115 - implementations.addLookupListener(new LookupListener() {
43.116 -
43.117 - public void resultChanged(LookupEvent ev) {
43.118 - synchronized (TestNGSupport.class) {
43.119 - cache = null;
43.120 - }
43.121 - }
43.122 - });
43.123 - }
43.124 - if (cache == null) {
43.125 - cache = new ArrayList<TestNGSupportImplementation>(implementations.allInstances());
43.126 - }
43.127 - return cache;
43.128 - }
43.129 -}
44.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/AntSessionInfo.java Sat Mar 10 02:54:06 2012 +0100
44.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
44.3 @@ -1,105 +0,0 @@
44.4 -/*
44.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
44.6 - *
44.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
44.8 - *
44.9 - * The contents of this file are subject to the terms of either the GNU
44.10 - * General Public License Version 2 only ("GPL") or the Common
44.11 - * Development and Distribution License("CDDL") (collectively, the
44.12 - * "License"). You may not use this file except in compliance with the
44.13 - * License. You can obtain a copy of the License at
44.14 - * http://www.netbeans.org/cddl-gplv2.html
44.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
44.16 - * specific language governing permissions and limitations under the
44.17 - * License. When distributing the software, include this License Header
44.18 - * Notice in each file and include the License file at
44.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
44.20 - * particular file as subject to the "Classpath" exception as provided
44.21 - * by Sun in the GPL Version 2 section of the License file that
44.22 - * accompanied this code. If applicable, add the following below the
44.23 - * License Header, with the fields enclosed by brackets [] replaced by
44.24 - * your own identifying information:
44.25 - * "Portions Copyrighted [year] [name of copyright owner]"
44.26 - *
44.27 - * Contributor(s):
44.28 - *
44.29 - * The Original Software is NetBeans. The Initial Developer of the Original
44.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
44.31 - * Microsystems, Inc. All Rights Reserved.
44.32 - *
44.33 - * If you wish your version of this file to be governed by only the CDDL
44.34 - * or only the GPL Version 2, indicate your decision by adding
44.35 - * "[Contributor] elects to include this software in this distribution
44.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
44.37 - * single choice of license, a recipient has the option to distribute
44.38 - * your version of this file under either the CDDL, the GPL Version 2 or
44.39 - * to extend the choice of license to its licensees as provided above.
44.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
44.41 - * Version 2 license, then the option applies only if the new code is
44.42 - * made subject to such option by the copyright holder.
44.43 - */
44.44 -package org.netbeans.modules.contrib.testng.output;
44.45 -
44.46 -import org.netbeans.modules.gsf.testrunner.api.TestSession.SessionType;
44.47 -
44.48 -/**
44.49 - * Holds information about an <code>AntSession</code>.
44.50 - *
44.51 - * @author Marian Petras
44.52 - * @see TestNGAntLogger
44.53 - */
44.54 -final class AntSessionInfo {
44.55 -
44.56 - TestNGOutputReader outputReader = null;
44.57 - /** */
44.58 - private long timeOfTestTaskStart;
44.59 - /** */
44.60 - private SessionType currentSessionType;
44.61 - /**
44.62 - * type of the session - one of the <code>SESSION_TYPE_xxx</code> constants
44.63 - */
44.64 - private SessionType sessionType;
44.65 -
44.66 - /** Suite name, defaults to "Ant suite" */
44.67 - private String sessionName = "Ant suite";
44.68 -
44.69 - /**
44.70 - */
44.71 - AntSessionInfo() {
44.72 - }
44.73 -
44.74 - /**
44.75 - */
44.76 - long getTimeOfTestTaskStart() {
44.77 - return timeOfTestTaskStart;
44.78 - }
44.79 -
44.80 - void setTimeOfTestTaskStart(long time) {
44.81 - timeOfTestTaskStart = time;
44.82 - }
44.83 -
44.84 - SessionType getCurrentSessionType() {
44.85 - return currentSessionType;
44.86 - }
44.87 -
44.88 - void setCurrentSessionType(SessionType currentTaskType) {
44.89 - this.currentSessionType = currentTaskType;
44.90 - }
44.91 -
44.92 - SessionType getSessionType() {
44.93 - return sessionType;
44.94 - }
44.95 -
44.96 - void setSessionType(SessionType sessionType) {
44.97 - this.sessionType = sessionType;
44.98 - }
44.99 -
44.100 - String getSessionName() {
44.101 - return sessionName;
44.102 - }
44.103 -
44.104 - void setSessionName(String sessionName) {
44.105 - this.sessionName = sessionName;
44.106 - }
44.107 -
44.108 -}
45.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/Bundle.properties Sat Mar 10 02:54:06 2012 +0100
45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
45.3 @@ -1,43 +0,0 @@
45.4 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
45.5 -#
45.6 -# Copyright \u00a9 1997-2011 Oracle and/or its affiliates. All rights reserved.
45.7 -#
45.8 -# The contents of this file are subject to the terms of either the GNU
45.9 -# General Public License Version 2 only ("GPL") or the Common
45.10 -# Development and Distribution License("CDDL") (collectively, the
45.11 -# "License"). You may not use this file except in compliance with the
45.12 -# License. You can obtain a copy of the License at
45.13 -# http://www.netbeans.org/cddl-gplv2.html
45.14 -# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
45.15 -# specific language governing permissions and limitations under the
45.16 -# License. When distributing the software, include this License Header
45.17 -# Notice in each file and include the License file at
45.18 -# nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
45.19 -# particular file as subject to the "Classpath" exception as provided
45.20 -# by Sun in the GPL Version 2 section of the License file that
45.21 -# accompanied this code. If applicable, add the following below the
45.22 -# License Header, with the fields enclosed by brackets [] replaced by
45.23 -# your own identifying information:
45.24 -# "Portions Copyrighted [year] [name of copyright owner]"
45.25 -#
45.26 -# Contributor(s):
45.27 -#
45.28 -# The Original Software is NetBeans. The Initial Developer of the Original
45.29 -# Software is Sun Microsystems, Inc. Portions Copyright 2006-2008 Sun
45.30 -# Microsystems, Inc. All Rights Reserved.
45.31 -#
45.32 -# If you wish your version of this file to be governed by only the CDDL
45.33 -# or only the GPL Version 2, indicate your decision by adding
45.34 -# "[Contributor] elects to include this software in this distribution
45.35 -# under the [CDDL or GPL Version 2] license." If you do not indicate a
45.36 -# single choice of license, a recipient has the option to distribute
45.37 -# your version of this file under either the CDDL, the GPL Version 2 or
45.38 -# to extend the choice of license to its licensees as provided above.
45.39 -# However, if you add GPL Version 2 code and therefore, elected the GPL
45.40 -# Version 2 license, then the option applies only if the new code is
45.41 -# made subject to such option by the copyright holder.
45.42 -
45.43 -LBL_GotoSource=Go to Source
45.44 -LBL_RerunTest=Run Again
45.45 -LBL_DebugTest=Debug
45.46 -UNKNOWN_NAME=???
46.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/CallstackFrameNode.java Sat Mar 10 02:54:06 2012 +0100
46.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
46.3 @@ -1,75 +0,0 @@
46.4 -/*
46.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
46.6 - *
46.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
46.8 - *
46.9 - * The contents of this file are subject to the terms of either the GNU
46.10 - * General Public License Version 2 only ("GPL") or the Common
46.11 - * Development and Distribution License("CDDL") (collectively, the
46.12 - * "License"). You may not use this file except in compliance with the
46.13 - * License. You can obtain a copy of the License at
46.14 - * http://www.netbeans.org/cddl-gplv2.html
46.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
46.16 - * specific language governing permissions and limitations under the
46.17 - * License. When distributing the software, include this License Header
46.18 - * Notice in each file and include the License file at
46.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
46.20 - * particular file as subject to the "Classpath" exception as provided
46.21 - * by Sun in the GPL Version 2 section of the License file that
46.22 - * accompanied this code. If applicable, add the following below the
46.23 - * License Header, with the fields enclosed by brackets [] replaced by
46.24 - * your own identifying information:
46.25 - * "Portions Copyrighted [year] [name of copyright owner]"
46.26 - *
46.27 - * Contributor(s):
46.28 - *
46.29 - * The Original Software is NetBeans. The Initial Developer of the Original
46.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
46.31 - * Microsystems, Inc. All Rights Reserved.
46.32 - *
46.33 - * If you wish your version of this file to be governed by only the CDDL
46.34 - * or only the GPL Version 2, indicate your decision by adding
46.35 - * "[Contributor] elects to include this software in this distribution
46.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
46.37 - * single choice of license, a recipient has the option to distribute
46.38 - * your version of this file under either the CDDL, the GPL Version 2 or
46.39 - * to extend the choice of license to its licensees as provided above.
46.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
46.41 - * Version 2 license, then the option applies only if the new code is
46.42 - * made subject to such option by the copyright holder.
46.43 - */
46.44 -
46.45 -package org.netbeans.modules.contrib.testng.output;
46.46 -import java.util.ArrayList;
46.47 -import java.util.List;
46.48 -import javax.swing.Action;
46.49 -
46.50 -/**
46.51 - *
46.52 - * @author Marian Petras
46.53 - */
46.54 -final class CallstackFrameNode extends org.netbeans.modules.gsf.testrunner.api.CallstackFrameNode {
46.55 -
46.56 - /**
46.57 - * Creates a node for a call stack frame.
46.58 - * @param frameInfo string specifying the call stack frame
46.59 - */
46.60 - CallstackFrameNode(String frameInfo, String displayName) {
46.61 - super(frameInfo, displayName);
46.62 - }
46.63 -
46.64 - @Override
46.65 - public Action[] getActions(boolean context) {
46.66 - List<Action> actions = new ArrayList<Action>();
46.67 - Action preferred = getPreferredAction();
46.68 - if (preferred != null){
46.69 - actions.add(preferred);
46.70 - }
46.71 - return actions.toArray(new Action[actions.size()]);
46.72 - }
46.73 -
46.74 - @Override
46.75 - public Action getPreferredAction() {
46.76 - return new JumpAction(this, frameInfo);
46.77 - }
46.78 -}
47.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/JumpAction.java Sat Mar 10 02:54:06 2012 +0100
47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
47.3 @@ -1,103 +0,0 @@
47.4 -/*
47.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
47.6 - *
47.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
47.8 - *
47.9 - * The contents of this file are subject to the terms of either the GNU
47.10 - * General Public License Version 2 only ("GPL") or the Common
47.11 - * Development and Distribution License("CDDL") (collectively, the
47.12 - * "License"). You may not use this file except in compliance with the
47.13 - * License. You can obtain a copy of the License at
47.14 - * http://www.netbeans.org/cddl-gplv2.html
47.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
47.16 - * specific language governing permissions and limitations under the
47.17 - * License. When distributing the software, include this License Header
47.18 - * Notice in each file and include the License file at
47.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
47.20 - * particular file as subject to the "Classpath" exception as provided
47.21 - * by Sun in the GPL Version 2 section of the License file that
47.22 - * accompanied this code. If applicable, add the following below the
47.23 - * License Header, with the fields enclosed by brackets [] replaced by
47.24 - * your own identifying information:
47.25 - * "Portions Copyrighted [year] [name of copyright owner]"
47.26 - *
47.27 - * Contributor(s):
47.28 - *
47.29 - * The Original Software is NetBeans. The Initial Developer of the Original
47.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
47.31 - * Microsystems, Inc. All Rights Reserved.
47.32 - *
47.33 - * If you wish your version of this file to be governed by only the CDDL
47.34 - * or only the GPL Version 2, indicate your decision by adding
47.35 - * "[Contributor] elects to include this software in this distribution
47.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
47.37 - * single choice of license, a recipient has the option to distribute
47.38 - * your version of this file under either the CDDL, the GPL Version 2 or
47.39 - * to extend the choice of license to its licensees as provided above.
47.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
47.41 - * Version 2 license, then the option applies only if the new code is
47.42 - * made subject to such option by the copyright holder.
47.43 - */
47.44 -
47.45 -package org.netbeans.modules.contrib.testng.output;
47.46 -
47.47 -import java.awt.event.ActionEvent;
47.48 -import javax.swing.AbstractAction;
47.49 -import javax.swing.Action;
47.50 -import org.netbeans.modules.gsf.testrunner.api.TestSuite;
47.51 -import org.openide.nodes.Node;
47.52 -import org.openide.util.NbBundle;
47.53 -
47.54 -/**
47.55 - *
47.56 - * @author Marian Petras
47.57 - */
47.58 -final class JumpAction extends AbstractAction {
47.59 -
47.60 - /** */
47.61 - private final Node node;
47.62 - /** */
47.63 - private final String callstackFrameInfo;
47.64 -
47.65 - /** Creates a new instance of JumpAction */
47.66 - public JumpAction(Node node, String callstackFrameInfo) {
47.67 - this.node = node;
47.68 - this.callstackFrameInfo = callstackFrameInfo;
47.69 - }
47.70 -
47.71 - /**
47.72 - * If the <code>callstackFrameInfo</code> is not <code>null</code>,
47.73 - * tries to jump to the callstack frame source code. Otherwise does nothing.
47.74 - */
47.75 - public void actionPerformed(ActionEvent e) {
47.76 - if (node instanceof TestNGSuiteNode){
47.77 - //TODO: open xml file on a particular line...
47.78 - OutputUtils.openTestsuite((TestNGSuiteNode)node);
47.79 - } else if (node instanceof CallstackFrameNode){
47.80 - OutputUtils.openCallstackFrame(node, callstackFrameInfo);
47.81 - } else if (node instanceof TestNGMethodNode){
47.82 - OutputUtils.openTestMethod((TestNGMethodNode)node);
47.83 - }
47.84 - }
47.85 -
47.86 - @Override
47.87 - public boolean isEnabled() {
47.88 - if (node instanceof TestNGSuiteNode) {
47.89 - TestSuite suite = ((TestNGSuiteNode) node).getSuite();
47.90 - if ((suite != null) && (suite instanceof TestNGTestSuite)) {
47.91 - return ((TestNGTestSuite) suite).getSuiteFO() != null;
47.92 - }
47.93 - }
47.94 - return super.isEnabled();
47.95 - }
47.96 -
47.97 - @Override
47.98 - public Object getValue(String key) {
47.99 - if (key.equals(Action.NAME)) {
47.100 - return NbBundle.getMessage(JumpAction.class, "LBL_GotoSource"); //NOI18N
47.101 - }else{
47.102 - return super.getValue(key);
47.103 - }
47.104 - }
47.105 -
47.106 -}
48.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/OutputUtils.java Sat Mar 10 02:54:06 2012 +0100
48.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
48.3 @@ -1,330 +0,0 @@
48.4 -/*
48.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
48.6 - *
48.7 - * Copyright © 1997-2012 Oracle and/or its affiliates. All rights reserved.
48.8 - *
48.9 - * The contents of this file are subject to the terms of either the GNU
48.10 - * General Public License Version 2 only ("GPL") or the Common
48.11 - * Development and Distribution License("CDDL") (collectively, the
48.12 - * "License"). You may not use this file except in compliance with the
48.13 - * License. You can obtain a copy of the License at
48.14 - * http://www.netbeans.org/cddl-gplv2.html
48.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
48.16 - * specific language governing permissions and limitations under the
48.17 - * License. When distributing the software, include this License Header
48.18 - * Notice in each file and include the License file at
48.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
48.20 - * particular file as subject to the "Classpath" exception as provided
48.21 - * by Sun in the GPL Version 2 section of the License file that
48.22 - * accompanied this code. If applicable, add the following below the
48.23 - * License Header, with the fields enclosed by brackets [] replaced by
48.24 - * your own identifying information:
48.25 - * "Portions Copyrighted [year] [name of copyright owner]"
48.26 - *
48.27 - * Contributor(s):
48.28 - *
48.29 - * The Original Software is NetBeans. The Initial Developer of the Original
48.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
48.31 - * Microsystems, Inc. All Rights Reserved.
48.32 - *
48.33 - * If you wish your version of this file to be governed by only the CDDL
48.34 - * or only the GPL Version 2, indicate your decision by adding
48.35 - * "[Contributor] elects to include this software in this distribution
48.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
48.37 - * single choice of license, a recipient has the option to distribute
48.38 - * your version of this file under either the CDDL, the GPL Version 2 or
48.39 - * to extend the choice of license to its licensees as provided above.
48.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
48.41 - * Version 2 license, then the option applies only if the new code is
48.42 - * made subject to such option by the copyright holder.
48.43 - */
48.44 -package org.netbeans.modules.contrib.testng.output;
48.45 -
48.46 -import com.sun.source.tree.CompilationUnitTree;
48.47 -import com.sun.source.tree.Tree;
48.48 -import com.sun.source.util.Trees;
48.49 -import java.io.IOException;
48.50 -import java.util.List;
48.51 -import java.util.logging.Level;
48.52 -import java.util.logging.Logger;
48.53 -import javax.lang.model.element.Element;
48.54 -import javax.lang.model.element.ElementKind;
48.55 -import javax.lang.model.element.ExecutableElement;
48.56 -import static javax.lang.model.util.ElementFilter.methodsIn;
48.57 -import javax.swing.Action;
48.58 -import org.netbeans.api.extexecution.print.LineConvertors.FileLocator;
48.59 -import org.netbeans.api.java.source.CompilationController;
48.60 -import org.netbeans.api.java.source.JavaSource;
48.61 -import org.netbeans.api.java.source.JavaSource.Phase;
48.62 -import org.netbeans.api.java.source.Task;
48.63 -import org.netbeans.modules.gsf.testrunner.api.TestSuite;
48.64 -import org.netbeans.modules.gsf.testrunner.api.Trouble;
48.65 -import org.openide.cookies.EditorCookie;
48.66 -import org.openide.filesystems.FileObject;
48.67 -import org.openide.loaders.DataObject;
48.68 -import org.openide.loaders.DataObjectNotFoundException;
48.69 -import org.openide.nodes.Node;
48.70 -import org.openide.text.Line;
48.71 -import org.openide.text.Line.ShowOpenType;
48.72 -import org.openide.text.Line.ShowVisibilityType;
48.73 -
48.74 -/**
48.75 - *
48.76 - * @author Marian Petras
48.77 - */
48.78 -final class OutputUtils {
48.79 -
48.80 - private static final Logger LOGGER = Logger.getLogger(OutputUtils.class.getName());
48.81 - static final Action[] NO_ACTIONS = new Action[0];
48.82 -
48.83 - private OutputUtils() {
48.84 - }
48.85 -
48.86 - static void openTestsuite(TestNGSuiteNode node) {
48.87 - TestSuite suite = node.getSuite();
48.88 - if ((suite != null) && (suite instanceof TestSuite)) {
48.89 - final FileObject fo = ((TestNGTestSuite) suite).getSuiteFO();
48.90 - if (fo != null) {
48.91 - int[] location = XmlSuiteHandler.getSuiteLocation(fo, suite.getName());
48.92 - openFile(fo, location[0], location[1]);
48.93 - }
48.94 - }
48.95 - }
48.96 -
48.97 - static void openTestMethod(final TestNGMethodNode node) {
48.98 - final FileObject fo = node.getTestcase().getClassFileObject();
48.99 - if (fo != null) {
48.100 - final long[] line = new long[]{0};
48.101 - JavaSource javaSource = JavaSource.forFileObject(fo);
48.102 - if (javaSource != null) {
48.103 - try {
48.104 - javaSource.runUserActionTask(new Task<CompilationController>() {
48.105 -
48.106 - public void run(CompilationController compilationController) throws Exception {
48.107 - compilationController.toPhase(Phase.ELEMENTS_RESOLVED);
48.108 - Trees trees = compilationController.getTrees();
48.109 - CompilationUnitTree compilationUnitTree = compilationController.getCompilationUnit();
48.110 - List<? extends Tree> typeDecls = compilationUnitTree.getTypeDecls();
48.111 - for (Tree tree : typeDecls) {
48.112 - Element element = trees.getElement(trees.getPath(compilationUnitTree, tree));
48.113 - if (element != null && element.getKind() == ElementKind.CLASS && element.getSimpleName().contentEquals(fo.getName())) {
48.114 - List<? extends ExecutableElement> methodElements = methodsIn(element.getEnclosedElements());
48.115 - for (Element child : methodElements) {
48.116 - if (child.getSimpleName().contentEquals(node.getTestcase().getTestName())) {
48.117 - long pos = trees.getSourcePositions().getStartPosition(compilationUnitTree, trees.getTree(child));
48.118 - line[0] = compilationUnitTree.getLineMap().getLineNumber(pos);
48.119 - break;
48.120 - }
48.121 - }
48.122 - break;
48.123 - }
48.124 - }
48.125 - }
48.126 - }, true);
48.127 -
48.128 - } catch (IOException ioe) {
48.129 - LOGGER.log(Level.WARNING, null, ioe);
48.130 - }
48.131 - }
48.132 - openFile(fo, (int) line[0]);
48.133 - }
48.134 - }
48.135 -
48.136 - static void openCallstackFrame(Node node, String frameInfo) {
48.137 - TestNGMethodNode methodNode = getTestMethodNode(node);
48.138 - FileLocator locator = methodNode.getTestcase().getSession().getFileLocator();
48.139 - if (locator == null) {
48.140 - return;
48.141 - }
48.142 - final int[] lineNumStorage = new int[1];
48.143 - FileObject file = getFile(frameInfo, lineNumStorage, locator);
48.144 - if ((file == null) && (methodNode.getTestcase().getTrouble() != null)) {
48.145 - String[] st = methodNode.getTestcase().getTrouble().getStackTrace();
48.146 - if ((st != null) && (st.length > 0)) {
48.147 - file = getFile(st[st.length - 1], lineNumStorage, locator);
48.148 - }
48.149 - }
48.150 - openFile(file, lineNumStorage[0]);
48.151 - }
48.152 -
48.153 - /**
48.154 - * Determines the most interesting frame for the user.
48.155 - * When user double-clicks on a failed test method, the editor will jump
48.156 - * to the location corresponding to that frame.
48.157 - *
48.158 - * @param trouble description of the test failure
48.159 - * @return string describing the chosen call-stack frame,
48.160 - * or {@code null} if no frame has been chosen
48.161 - */
48.162 - static String determineStackFrame(Trouble trouble) {
48.163 - String[] frames = trouble.getStackTrace();
48.164 - return ((frames != null) && (frames.length != 0))
48.165 - ? frames[frames.length - 1]
48.166 - : null;
48.167 - }
48.168 -
48.169 - /**
48.170 - */
48.171 - private static TestNGMethodNode getTestMethodNode(Node node) {
48.172 - while (!(node instanceof TestNGMethodNode)) {
48.173 - node = node.getParentNode();
48.174 - }
48.175 - return (TestNGMethodNode) node;
48.176 - }
48.177 -
48.178 - /**
48.179 - * Returns FileObject corresponding to the given callstack line.
48.180 - *
48.181 - * @param callstackLine string representation of a callstack window
48.182 - * returned by the JUnit framework
48.183 - */
48.184 - private static FileObject getFile(final String callstackLine,
48.185 - final int[] lineNumStorage,
48.186 - final FileLocator locator) {
48.187 - String line = RegexpUtils.specialTrim(callstackLine);
48.188 - if (line.startsWith(RegexpUtils.CALLSTACK_LINE_PREFIX_CATCH)) {
48.189 - line = line.substring(RegexpUtils.CALLSTACK_LINE_PREFIX_CATCH.length());
48.190 - }
48.191 - if (line.startsWith(RegexpUtils.CALLSTACK_LINE_PREFIX)) {
48.192 - line = line.substring(RegexpUtils.CALLSTACK_LINE_PREFIX.length());
48.193 - }
48.194 -
48.195 - /* Get the part before brackets (if any brackets present): */
48.196 - int bracketIndex = line.indexOf('(');
48.197 - String beforeBrackets = (bracketIndex == -1)
48.198 - ? line
48.199 - : line.substring(0, bracketIndex).trim();
48.200 - String inBrackets = (bracketIndex == -1)
48.201 - ? (String) null
48.202 - : line.substring(
48.203 - bracketIndex + 1,
48.204 - line.lastIndexOf(')'));
48.205 -
48.206 - /* Get the method name and the class name: */
48.207 - int lastDotIndex = beforeBrackets.lastIndexOf('.');
48.208 - String clsName = (lastDotIndex == -1)
48.209 - ? beforeBrackets
48.210 - : beforeBrackets.substring(0, lastDotIndex);
48.211 -// String methodName = beforeBrackets.substring(lastDotIndex + 1);
48.212 -
48.213 - /* Get the file name and line number: */
48.214 - String fileName = null;
48.215 - int lineNum = -1;
48.216 - if (inBrackets != null) {
48.217 - // RegexpUtils.getInstance() retns instance from ResultPanelTree
48.218 - if (RegexpUtils.getInstance().getLocationInFilePattern().matcher(inBrackets).matches()) {
48.219 - int ddotIndex = inBrackets.lastIndexOf(':'); //srch from end
48.220 - if (ddotIndex == -1) {
48.221 - fileName = inBrackets;
48.222 - } else {
48.223 - fileName = inBrackets.substring(0, ddotIndex);
48.224 - try {
48.225 - lineNum = Integer.parseInt(
48.226 - inBrackets.substring(ddotIndex + 1));
48.227 - if (lineNum <= 0) {
48.228 - lineNum = 1;
48.229 - }
48.230 - } catch (NumberFormatException ex) {
48.231 - /* should never happen as it passed the regexp */
48.232 - assert false;
48.233 - }
48.234 - }
48.235 - }
48.236 - }
48.237 -
48.238 - /* Find the file: */
48.239 - FileObject file;
48.240 - String thePath;
48.241 -
48.242 - //PENDING - Once 'thePath' is found for a given <clsName, fileName>
48.243 - // pair, it could be cached for further uses
48.244 - // (during a single AntSession).
48.245 -
48.246 - String clsNameSlash = clsName.replace('.', '/');
48.247 - String slashName, ending;
48.248 - int lastSlashIndex;
48.249 -
48.250 - if (fileName == null) {
48.251 - lastSlashIndex = clsNameSlash.length();
48.252 - slashName = clsNameSlash;
48.253 - ending = ".java"; //NOI18N
48.254 - } else {
48.255 - lastSlashIndex = clsNameSlash.lastIndexOf('/');
48.256 - slashName = (lastSlashIndex != -1)
48.257 - ? clsNameSlash.substring(0, lastSlashIndex)
48.258 - : clsNameSlash;
48.259 - ending = '/' + fileName;
48.260 - }
48.261 - file = locator.find(thePath = (slashName + ending));
48.262 - while ((file == null) && (lastSlashIndex != -1)) {
48.263 - slashName = slashName.substring(0, lastSlashIndex);
48.264 - file = locator.find(thePath = (slashName + ending));
48.265 - if (file == null) {
48.266 - lastSlashIndex = slashName.lastIndexOf(
48.267 - '/', lastSlashIndex - 1);
48.268 - }
48.269 - }
48.270 - if ((file == null) && (fileName != null)) {
48.271 - file = locator.find(thePath = fileName);
48.272 - }
48.273 -
48.274 - /* Return the file (or null if no matching file was found): */
48.275 - if (file == null) {
48.276 - lineNum = -1;
48.277 - }
48.278 - lineNumStorage[0] = lineNum;
48.279 - return file;
48.280 - }
48.281 -
48.282 - static void openFile(FileObject file, int lineNum) {
48.283 - openFile(file, lineNum, Integer.MIN_VALUE);
48.284 - }
48.285 -
48.286 - static void openFile(FileObject file, int lineNum, int columnNum) {
48.287 -
48.288 - /*
48.289 - * Most of the following code was copied from the Ant module, method
48.290 - * org.apache.tools.ant.module.run.Hyperlink.outputLineAction(...).
48.291 - */
48.292 -
48.293 - if (file == null) {
48.294 - java.awt.Toolkit.getDefaultToolkit().beep();
48.295 - return;
48.296 - }
48.297 -
48.298 - try {
48.299 - DataObject dob = DataObject.find(file);
48.300 - EditorCookie ed = dob.getLookup().lookup(EditorCookie.class);
48.301 - if (ed != null
48.302 - && /* not true e.g. for *_ja.properties */ file == dob.getPrimaryFile()) {
48.303 - if (lineNum == -1) {
48.304 - // OK, just open it.
48.305 - ed.open();
48.306 - } else {
48.307 - ed.openDocument();//XXX getLineSet doesn't do it for you
48.308 - try {
48.309 - Line l = ed.getLineSet().getOriginal(lineNum - 1);
48.310 - if (!l.isDeleted()) {
48.311 - if (columnNum != Integer.MIN_VALUE) {
48.312 - l.show(ShowOpenType.OPEN, ShowVisibilityType.FOCUS, columnNum);
48.313 - } else {
48.314 - l.show(ShowOpenType.OPEN, ShowVisibilityType.FOCUS);
48.315 - }
48.316 - }
48.317 - } catch (IndexOutOfBoundsException ioobe) {
48.318 - // Probably harmless. Bogus line number.
48.319 - ed.open();
48.320 - }
48.321 - }
48.322 - } else {
48.323 - java.awt.Toolkit.getDefaultToolkit().beep();
48.324 - }
48.325 - } catch (DataObjectNotFoundException ex1) {
48.326 - LOGGER.log(Level.WARNING, null, ex1);
48.327 - } catch (IOException ex2) {
48.328 - // XXX see above, should not be necessary to call openDocument
48.329 - // at all
48.330 - LOGGER.log(Level.WARNING, null, ex2);
48.331 - }
48.332 - }
48.333 -}
49.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/RegexpUtils.java Sat Mar 10 02:54:06 2012 +0100
49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
49.3 @@ -1,471 +0,0 @@
49.4 -/*
49.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
49.6 - *
49.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
49.8 - *
49.9 - * The contents of this file are subject to the terms of either the GNU
49.10 - * General Public License Version 2 only ("GPL") or the Common
49.11 - * Development and Distribution License("CDDL") (collectively, the
49.12 - * "License"). You may not use this file except in compliance with the
49.13 - * License. You can obtain a copy of the License at
49.14 - * http://www.netbeans.org/cddl-gplv2.html
49.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
49.16 - * specific language governing permissions and limitations under the
49.17 - * License. When distributing the software, include this License Header
49.18 - * Notice in each file and include the License file at
49.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
49.20 - * particular file as subject to the "Classpath" exception as provided
49.21 - * by Sun in the GPL Version 2 section of the License file that
49.22 - * accompanied this code. If applicable, add the following below the
49.23 - * License Header, with the fields enclosed by brackets [] replaced by
49.24 - * your own identifying information:
49.25 - * "Portions Copyrighted [year] [name of copyright owner]"
49.26 - *
49.27 - * Contributor(s):
49.28 - *
49.29 - * The Original Software is NetBeans. The Initial Developer of the Original
49.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
49.31 - * Microsystems, Inc. All Rights Reserved.
49.32 - *
49.33 - * If you wish your version of this file to be governed by only the CDDL
49.34 - * or only the GPL Version 2, indicate your decision by adding
49.35 - * "[Contributor] elects to include this software in this distribution
49.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
49.37 - * single choice of license, a recipient has the option to distribute
49.38 - * your version of this file under either the CDDL, the GPL Version 2 or
49.39 - * to extend the choice of license to its licensees as provided above.
49.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
49.41 - * Version 2 license, then the option applies only if the new code is
49.42 - * made subject to such option by the copyright holder.
49.43 - */
49.44 -
49.45 -package org.netbeans.modules.contrib.testng.output;
49.46 -
49.47 -import java.lang.ref.Reference;
49.48 -import java.lang.ref.WeakReference;
49.49 -import java.util.regex.Pattern;
49.50 -import org.testng.reporters.VerboseReporter;
49.51 -
49.52 -/**
49.53 - * Utility class providing various parsing routines for parsing TestNG output.
49.54 - *
49.55 - * @author Marian Petras
49.56 - */
49.57 -final class RegexpUtils {
49.58 -
49.59 -/** */
49.60 - private static final String JAVA_ID_START_REGEX
49.61 - = "\\p{javaJavaIdentifierStart}"; //NOI18N
49.62 - /** */
49.63 - private static final String JAVA_ID_PART_REGEX
49.64 - = "\\p{javaJavaIdentifierPart}"; //NOI18N
49.65 - /** */
49.66 - public static final String JAVA_ID_REGEX
49.67 - = "(?:" + JAVA_ID_START_REGEX + ')' + //NOI18N
49.68 - "(?:" + JAVA_ID_PART_REGEX + ")*"; //NOI18N
49.69 - /** */
49.70 - public static final String JAVA_ID_REGEX_FULL
49.71 - = JAVA_ID_REGEX + "(?:\\." + JAVA_ID_REGEX + ")*"; //NOI18N
49.72 -
49.73 - static final String RUNNING_SUITE_REGEX = "[^\"]*\"([^\"]+)\" [a-z]+ \"(\\d+)\"[^:]*: ([^\\)]*)\\)";
49.74 - static final String TEST_REGEX = "[^\"]*\"([^\"]+)\" - ([^\\(]+)(\\(([^\\)]*)\\)([^:]+: (.*)\\))?( finished in (\\d+) ms)?)?";
49.75 - static final String STATS_REGEX = "\\D+(\\d+)\\D+(\\d+)(\\D+(\\d+))?";
49.76 -
49.77 - /** */
49.78 - static final String TESTSUITE_PREFIX = "[TestNGAntTask]";//"Testsuite: "; //NOI18N
49.79 - /** */
49.80 - static final String TESTSUITE_STATS_PREFIX = "Tests run: "; //NOI18N
49.81 - /** */
49.82 - static final String FLOAT_NUMBER_REGEX
49.83 - = "[0-9]*(?:\\.[0-9]+)?"; //NOI18N
49.84 - /** */
49.85 - static final String SECONDS_REGEX
49.86 - = "s(?:ec(?:ond)?(?:s|\\(s\\))?)?"; //NOI18N
49.87 - /** */
49.88 - static final String TESTSUITE_STATS_REGEX
49.89 - = "Tests run: +([0-9]+)," + //NOI18N
49.90 - " +Failures: +([0-9]+), +Errors: +([0-9]+)," + //NOI18N
49.91 - " +Time elapsed: +(.+)" + SECONDS_REGEX; //NOI18N
49.92 - /** */
49.93 - static final String OUTPUT_DELIMITER_PREFIX = "--------"; //NOI18N
49.94 - /** */
49.95 - static final String STDOUT_LABEL = "Output"; //NOI18N
49.96 - /** */
49.97 - static final String STDERR_LABEL = "Error"; //NOI18N
49.98 - /** */
49.99 - static final String OUTPUT_DELIMITER_REGEX
49.100 - = "-{8,} (?:Standard (" //NOI18N
49.101 - + STDOUT_LABEL + '|' + STDERR_LABEL + ")|-{3,}) -{8,}"; //NOI18N
49.102 - /** */
49.103 - static final String TESTCASE_PREFIX = "Testcase: "; //NOI18N
49.104 - /** */
49.105 - static final String TESTCASE_ISSUE_REGEX
49.106 - = "\\p{Blank}*(?:(FAILED) *|(?i:.*\\berror\\b.*))"; //NOI18N
49.107 - /** */
49.108 - static final String TESTCASE_HEADER_PLAIN_REGEX
49.109 - = "\\p{Blank}*(" + JAVA_ID_REGEX //NOI18N
49.110 - + ")\\p{Blank}+took\\p{Blank}+(.+)" + SECONDS_REGEX; //NOI18N
49.111 - /** */
49.112 - static final String TESTCASE_HEADER_BRIEF_REGEX
49.113 - = "\\p{Blank}*(" + JAVA_ID_REGEX //NOI18N
49.114 - + ") *\\( *(" + JAVA_ID_REGEX_FULL //NOI18N
49.115 - + ") *\\) *:" + TESTCASE_ISSUE_REGEX; //NOI18N
49.116 - /** */
49.117 - static final String TESTCASE_EXCEPTION_REGEX
49.118 - = "((?:" + JAVA_ID_REGEX_FULL //NOI18N
49.119 - + "\\.?(?:Exception|Error|ComparisonFailure))" //NOI18N
49.120 - + "|java\\.lang\\.Throwable)" //NOI18N
49.121 - + "(?: *: *(.*))?"; //NOI18N
49.122 - /** */
49.123 - static final String CALLSTACK_LINE_PREFIX = "at "; //NOI18N
49.124 - /** */
49.125 - static final String CALLSTACK_LINE_PREFIX_CATCH = "[catch] "; //NOI18N
49.126 - /** */
49.127 - static final String CALLSTACK_LINE_REGEX
49.128 - = "(?:\\t\\t?| +| *\\t? *\\[catch\\] )" //NOI18N
49.129 - + CALLSTACK_LINE_PREFIX
49.130 - + JAVA_ID_REGEX + "(?:\\." //NOI18N
49.131 - + JAVA_ID_REGEX + ")+" //NOI18N
49.132 - + "(?: ?\\([^()]+\\))?"; //NOI18N
49.133 - /** */
49.134 - static final String NESTED_EXCEPTION_PREFIX = "Caused by: "; //NOI18N
49.135 - /** */
49.136 - static final String NESTED_EXCEPTION_REGEX
49.137 - = "(" + JAVA_ID_REGEX_FULL + ")(?:: (.*))?";//NOI18N
49.138 - static final String LOCATION_IN_FILE_REGEX
49.139 - = JAVA_ID_REGEX_FULL + "(?:\\:[0-9]+)?"; //NOI18N
49.140 - /** */
49.141 - static final String XML_DECL_PREFIX = "<?xml"; //NOI18N
49.142 - /** */
49.143 - static final String XML_SPACE_REGEX
49.144 - = "[ \\t\\r\\n]"; //NOI18N
49.145 - /** */
49.146 - static final String XML_EQ_REGEX
49.147 - = XML_SPACE_REGEX + '*' + '=' + XML_SPACE_REGEX + '*';
49.148 - /** */
49.149 - static final String XML_ENC_REGEX
49.150 - = "[A-Za-z][-A-Za-z0-9._]*"; //NOI18N
49.151 - /** */
49.152 - static final String XML_DECL_REGEX
49.153 - = "\\Q" + XML_DECL_PREFIX + "\\E" //NOI18N
49.154 - + XML_SPACE_REGEX + '+' + "version" //version //NOI18N
49.155 - + XML_EQ_REGEX + "(?:\"1\\.0\"|'1\\.0')" //NOI18N
49.156 - + "(?:" //NOI18N
49.157 - + XML_SPACE_REGEX + '+' + "encoding" //encoding //NOI18N
49.158 - + XML_EQ_REGEX + "(['\"])[A-Za-z][-A-Za-z0-9._]*\\1"//NOI18N
49.159 - + ")?" //NOI18N
49.160 - + "(?:" //NOI18N
49.161 - + XML_SPACE_REGEX + '+' + "standalone" //standalone //NOI18N
49.162 - + XML_EQ_REGEX + "(['\"])(?:yes|no)\\2" //NOI18N
49.163 - + ")?" //NOI18N
49.164 - + XML_SPACE_REGEX + '*' + "\\?>"; //NOI18N
49.165 -
49.166 - /** */
49.167 - static final String TEST_LISTENER_PREFIX = VerboseReporter.LISTENER_PREFIX;
49.168 - /** */
49.169 - static final String TESTS_COUNT_PREFIX = "tests to run: "; //NOI18N
49.170 - /** */
49.171 - static final String START_OF_TEST_PREFIX = "startTest"; //NOI18N
49.172 - /** */
49.173 - static final String END_OF_TEST_PREFIX = "endTest"; //NOI18N
49.174 - static final String ADD_FAILURE_PREFIX = "addFailure"; //NOI18N
49.175 - static final String ADD_ERROR_PREFIX = "addError"; //NOI18N
49.176 -
49.177 - static final String COMPARISON_REGEX = ".*expected:<(.*)\\[(.*)\\](.*)> but was:<(.*)\\[(.*)\\](.*)>$"; //NOI18N
49.178 - static final String COMPARISON_HIDDEN_REGEX = ".*expected:<(.*)> but was:<(.*)>$"; //NOI18N
49.179 -
49.180 - /**
49.181 - * Regexp matching part of a Java task's invocation debug message
49.182 - * that specificies the classpath.
49.183 - * Hack to find the classpath an Ant task is using.
49.184 - * Cf. Commandline.describeArguments, issue #28190.<br />
49.185 - * Captured groups:
49.186 - * <ol>
49.187 - * <li>the classpath
49.188 - * </ol>
49.189 - * <!-- copied from JavaAntLogger -->
49.190 - */
49.191 - static final Pattern CLASSPATH_ARGS
49.192 - = Pattern.compile("\r?\n'-classpath'\r?\n'(.*)'\r?\n"); //NOI18N
49.193 - /**
49.194 - * Regexp matching part of a Java task's invocation debug message
49.195 - * that specificies java executable.
49.196 - * Hack to find JDK used for execution.
49.197 - * <!-- copied from JavaAntLogger -->
49.198 - */
49.199 - static final Pattern JAVA_EXECUTABLE
49.200 - = Pattern.compile("^Executing '(.*)' with arguments:$", //NOI18N
49.201 - Pattern.MULTILINE);
49.202 -
49.203 - /** */
49.204 - private static Reference<RegexpUtils> instRef;
49.205 -
49.206 - /**
49.207 - */
49.208 - static synchronized RegexpUtils getInstance() {
49.209 - RegexpUtils instance = (instRef != null) ? instRef.get() : null;
49.210 - if (instance == null) {
49.211 - instance = new RegexpUtils();
49.212 - instRef = new WeakReference<RegexpUtils>(instance);
49.213 - }
49.214 - return instance;
49.215 - }
49.216 -
49.217 - /** Creates a new instance of RegexpUtils */
49.218 - private RegexpUtils() { }
49.219 -
49.220 - private volatile Pattern fullJavaIdPattern, suiteStatsPattern,
49.221 - outputDelimPattern, testcaseIssuePattern,
49.222 - testcaseExceptPattern, callstackLinePattern,
49.223 - nestedExceptPattern,
49.224 - locationInFilePattern,
49.225 - testcaseHeaderBriefPattern,
49.226 - testcaseHeaderPlainPattern,
49.227 - xmlDeclPattern, floatNumPattern,
49.228 - comparisonPattern, comparisonHiddenPattern;
49.229 -
49.230 - //<editor-fold defaultstate="collapsed" desc=" Note about synchronization ">
49.231 - /*
49.232 - * If-blocks in the following methods should be synchronized to ensure that
49.233 - * the patterns are not compiled twice if the methods are called by two or
49.234 - * more threads concurrently.
49.235 - *
49.236 - * But synchronization is quite expensive so I let them unsynchronized.
49.237 - * It may happen that a single pattern is compiled multiple times but
49.238 - * it does not cause any functional problem. I just marked the variables
49.239 - * as 'volatile' so that once the pattern is compiled (and the variable
49.240 - * set), subsequent invocations from other threads will find the actual
49.241 - * non-null value.
49.242 - */
49.243 - //</editor-fold>
49.244 -
49.245 - /** */
49.246 - Pattern getFullJavaIdPattern() {
49.247 - if (fullJavaIdPattern == null) {
49.248 - fullJavaIdPattern
49.249 - = Pattern.compile(JAVA_ID_REGEX_FULL);
49.250 - }
49.251 - return fullJavaIdPattern;
49.252 - }
49.253 -
49.254 - /** */
49.255 - Pattern getSuiteStatsPattern() {
49.256 - if (suiteStatsPattern == null) {
49.257 - suiteStatsPattern = Pattern.compile(TESTSUITE_STATS_REGEX);
49.258 - }
49.259 - return suiteStatsPattern;
49.260 - }
49.261 -
49.262 - /** */
49.263 - Pattern getOutputDelimPattern() {
49.264 - if (outputDelimPattern == null) {
49.265 - outputDelimPattern = Pattern.compile(OUTPUT_DELIMITER_REGEX);
49.266 - }
49.267 - return outputDelimPattern;
49.268 - }
49.269 -
49.270 - /** */
49.271 - Pattern getTestcaseHeaderBriefPattern() {
49.272 - if (testcaseHeaderBriefPattern == null) {
49.273 - testcaseHeaderBriefPattern = Pattern.compile(TESTCASE_HEADER_BRIEF_REGEX);
49.274 - }
49.275 - return testcaseHeaderBriefPattern;
49.276 - }
49.277 -
49.278 - /** */
49.279 - Pattern getTestcaseHeaderPlainPattern() {
49.280 - if (testcaseHeaderPlainPattern == null) {
49.281 - testcaseHeaderPlainPattern = Pattern.compile(TESTCASE_HEADER_PLAIN_REGEX);
49.282 - }
49.283 - return testcaseHeaderPlainPattern;
49.284 - }
49.285 -
49.286 - /** */
49.287 - Pattern getTestcaseIssuePattern() {
49.288 - if (testcaseIssuePattern == null) {
49.289 - testcaseIssuePattern = Pattern.compile(TESTCASE_ISSUE_REGEX);
49.290 - }
49.291 - return testcaseIssuePattern;
49.292 - }
49.293 -
49.294 - /** */
49.295 - Pattern getTestcaseExceptionPattern() {
49.296 - if (testcaseExceptPattern == null) {
49.297 - testcaseExceptPattern = Pattern.compile(TESTCASE_EXCEPTION_REGEX);
49.298 - }
49.299 - return testcaseExceptPattern;
49.300 - }
49.301 -
49.302 - /**
49.303 - */
49.304 - Pattern getNestedExceptionPattern() {
49.305 - if (nestedExceptPattern == null) {
49.306 - nestedExceptPattern = Pattern.compile(NESTED_EXCEPTION_REGEX);
49.307 - }
49.308 - return nestedExceptPattern;
49.309 - }
49.310 -
49.311 - /** */
49.312 - Pattern getCallstackLinePattern() {
49.313 - if (callstackLinePattern == null) {
49.314 - callstackLinePattern = Pattern.compile(CALLSTACK_LINE_REGEX);
49.315 - }
49.316 - return callstackLinePattern;
49.317 - }
49.318 -
49.319 - /** */
49.320 - Pattern getLocationInFilePattern() {
49.321 - if (locationInFilePattern == null) {
49.322 - locationInFilePattern = Pattern.compile(LOCATION_IN_FILE_REGEX);
49.323 - }
49.324 - return locationInFilePattern;
49.325 - }
49.326 -
49.327 - /** */
49.328 - Pattern getXmlDeclPattern() {
49.329 - if (xmlDeclPattern == null) {
49.330 - xmlDeclPattern = Pattern.compile(XML_DECL_REGEX);
49.331 - }
49.332 - return xmlDeclPattern;
49.333 - }
49.334 -
49.335 - /** */
49.336 - Pattern getFloatNumPattern() {
49.337 - if (floatNumPattern == null) {
49.338 - floatNumPattern = Pattern.compile(FLOAT_NUMBER_REGEX);
49.339 - }
49.340 - return floatNumPattern;
49.341 - }
49.342 -
49.343 - /** */
49.344 - Pattern getComparisonPattern() {
49.345 - if (comparisonPattern == null) {
49.346 - comparisonPattern = Pattern.compile(COMPARISON_REGEX);
49.347 - }
49.348 - return comparisonPattern;
49.349 - }
49.350 -
49.351 - /** */
49.352 - Pattern getComparisonHiddenPattern() {
49.353 - if (comparisonHiddenPattern == null) {
49.354 - comparisonHiddenPattern = Pattern.compile(COMPARISON_HIDDEN_REGEX);
49.355 - }
49.356 - return comparisonHiddenPattern;
49.357 - }
49.358 -
49.359 -
49.360 - /**
49.361 - * Parses a floating-point number describing elapsed time.
49.362 - * The returned number is a number of elapsed milliseconds.
49.363 - *
49.364 - * @param string represeting non-negative floating-point number of seconds
49.365 - * @return integer representing number of milliseconds (rounded)
49.366 - * @exception java.lang.NumberFormatException
49.367 - * if the passed string does not match
49.368 - * the {@link #FLOAT_NUMBER_REGEX} pattern
49.369 - */
49.370 - int parseTimeMillis(String timeString) throws NumberFormatException {
49.371 - int secs, millis;
49.372 - final int dotIndex = timeString.indexOf('.');
49.373 - if (dotIndex == -1) {
49.374 - secs = Integer.parseInt(timeString);
49.375 - millis = 0;
49.376 - } else {
49.377 - secs = (dotIndex == 0)
49.378 - ? 0
49.379 - : Integer.parseInt(timeString.substring(0, dotIndex));
49.380 -
49.381 - String fractString = timeString.substring(dotIndex + 1);
49.382 - if (fractString.length() > 4) {
49.383 - fractString = fractString.substring(0, 4);
49.384 - }
49.385 - int fractNum = Integer.parseInt(fractString);
49.386 - switch (fractString.length()) {
49.387 - case 1:
49.388 - millis = 100 * fractNum;
49.389 - break;
49.390 - case 2:
49.391 - millis = 10 * fractNum;
49.392 - break;
49.393 - case 3:
49.394 - millis = fractNum;
49.395 - break;
49.396 - case 4:
49.397 - millis = (fractNum + 5) / 10;
49.398 - break;
49.399 - default:
49.400 - assert false;
49.401 - millis = 0;
49.402 - break;
49.403 - }
49.404 - }
49.405 - return 1000 * secs + millis;
49.406 - }
49.407 -
49.408 - /**
49.409 - * Parses a floating-point number describing elapsed time.
49.410 - * The returned number is a number of elapsed milliseconds.
49.411 - *
49.412 - * @param string represeting non-negative floating-point number of seconds
49.413 - * @return integer representing number of milliseconds (rounded),
49.414 - * or <code>-1</code> if the passed string is <code>null</code>
49.415 - * or if it does not match the {@link #FLOAT_NUMBER_REGEX} pattern
49.416 - */
49.417 - int parseTimeMillisNoNFE(String timeStr) {
49.418 - if ((timeStr == null)
49.419 - || !getFloatNumPattern().matcher(timeStr).matches()) {
49.420 - return -1;
49.421 - }
49.422 - try {
49.423 - return parseTimeMillis(timeStr);
49.424 - } catch (NumberFormatException ex) {
49.425 - assert false;
49.426 - return -1;
49.427 - }
49.428 - }
49.429 -
49.430 - /**
49.431 - * Trims leading and trailing spaces and tabs from a string.
49.432 - *
49.433 - * @param string string to remove spaces and tabs from
49.434 - * @return the trimmed string, or the passed string if no trimming
49.435 - * was necessary
49.436 - */
49.437 - static String specialTrim(String string) {
49.438 -
49.439 - /* Handle the trivial case: */
49.440 - final int len = string.length();
49.441 - if (len == 0) {
49.442 - return string;
49.443 - }
49.444 -
49.445 - final char[] chars = string.toCharArray();
49.446 - char c;
49.447 -
49.448 - int lead = 0;
49.449 - while (lead < len) {
49.450 - c = chars[lead];
49.451 - if ((c != ' ') && (c != '\t')) {
49.452 - break;
49.453 - }
49.454 - lead++;
49.455 - }
49.456 -
49.457 - /* Handle a corner case: */
49.458 - if (lead == len) {
49.459 - return string.substring(len);
49.460 - }
49.461 -
49.462 - int trail = len;
49.463 - do {
49.464 - c = chars[--trail];
49.465 - } while ((c == ' ') || (c == '\t'));
49.466 -
49.467 - if ((lead == 0) && (trail == len - 1)) {
49.468 - return string;
49.469 - } else {
49.470 - return string.substring(lead, trail + 1);
49.471 - }
49.472 - }
49.473 -
49.474 -}
50.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestMethodNodeAction.java Sat Mar 10 02:54:06 2012 +0100
50.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
50.3 @@ -1,112 +0,0 @@
50.4 -/*
50.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
50.6 - *
50.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
50.8 - *
50.9 - * The contents of this file are subject to the terms of either the GNU
50.10 - * General Public License Version 2 only ("GPL") or the Common
50.11 - * Development and Distribution License("CDDL") (collectively, the
50.12 - * "License"). You may not use this file except in compliance with the
50.13 - * License. You can obtain a copy of the License at
50.14 - * http://www.netbeans.org/cddl-gplv2.html
50.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
50.16 - * specific language governing permissions and limitations under the
50.17 - * License. When distributing the software, include this License Header
50.18 - * Notice in each file and include the License file at
50.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
50.20 - * particular file as subject to the "Classpath" exception as provided
50.21 - * by Sun in the GPL Version 2 section of the License file that
50.22 - * accompanied this code. If applicable, add the following below the
50.23 - * License Header, with the fields enclosed by brackets [] replaced by
50.24 - * your own identifying information:
50.25 - * "Portions Copyrighted [year] [name of copyright owner]"
50.26 - *
50.27 - * If you wish your version of this file to be governed by only the CDDL
50.28 - * or only the GPL Version 2, indicate your decision by adding
50.29 - * "[Contributor] elects to include this software in this distribution
50.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
50.31 - * single choice of license, a recipient has the option to distribute
50.32 - * your version of this file under either the CDDL, the GPL Version 2 or
50.33 - * to extend the choice of license to its licensees as provided above.
50.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
50.35 - * Version 2 license, then the option applies only if the new code is
50.36 - * made subject to such option by the copyright holder.
50.37 - *
50.38 - * Contributor(s):
50.39 - *
50.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
50.41 - */
50.42 -
50.43 -package org.netbeans.modules.contrib.testng.output;
50.44 -
50.45 -import java.awt.event.ActionEvent;
50.46 -import java.beans.PropertyChangeListener;
50.47 -import javax.swing.Action;
50.48 -import org.netbeans.spi.project.ActionProvider;
50.49 -import org.openide.util.Lookup;
50.50 -import org.openide.util.NbBundle;
50.51 -
50.52 -/**
50.53 - * Action for execution of an arbitrary command using a project's
50.54 - * {@code ActionProvider}.
50.55 - *
50.56 - * @author Marian Petras
50.57 - */
50.58 -final class TestMethodNodeAction implements Action {
50.59 -
50.60 - private final ActionProvider actionProvider;
50.61 - private final Lookup context;
50.62 - private final String command;
50.63 - private final String bundleKey;
50.64 -
50.65 - public TestMethodNodeAction(ActionProvider actionProvider,
50.66 - Lookup context,
50.67 - String command,
50.68 - String nameBundleKey) {
50.69 - this.actionProvider = actionProvider;
50.70 - this.context = context;
50.71 - this.command = command;
50.72 - this.bundleKey = nameBundleKey;
50.73 - }
50.74 -
50.75 - public void actionPerformed(ActionEvent ev) {
50.76 - actionProvider.invokeAction(command, context);
50.77 - }
50.78 -
50.79 - public Object getValue(String key) {
50.80 - if (key == null) {
50.81 - return null;
50.82 - }
50.83 -
50.84 - if (key.equals(Action.NAME)) {
50.85 - return NbBundle.getMessage(TestMethodNodeAction.class, bundleKey);
50.86 - } else if (key.equals(Action.ACTION_COMMAND_KEY)) {
50.87 - return command;
50.88 - } else {
50.89 - return null;
50.90 - }
50.91 - }
50.92 -
50.93 - public void putValue(String key, Object value) {
50.94 - throw new UnsupportedOperationException(
50.95 - "This should not be called."); //NOI18N
50.96 - }
50.97 -
50.98 - public boolean isEnabled() {
50.99 - return true;
50.100 - }
50.101 -
50.102 - public void setEnabled(boolean b) {
50.103 - throw new UnsupportedOperationException(
50.104 - "This should not be called."); //NOI18N
50.105 - }
50.106 -
50.107 - public void addPropertyChangeListener(PropertyChangeListener listener) {
50.108 - //no property changes - no listeners
50.109 - }
50.110 -
50.111 - public void removePropertyChangeListener(PropertyChangeListener listener) {
50.112 - //no property changes - no listeners
50.113 - }
50.114 -
50.115 -}
51.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGAntLogger.java Sat Mar 10 02:54:06 2012 +0100
51.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
51.3 @@ -1,457 +0,0 @@
51.4 -/*
51.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
51.6 - *
51.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
51.8 - *
51.9 - * The contents of this file are subject to the terms of either the GNU
51.10 - * General Public License Version 2 only ("GPL") or the Common
51.11 - * Development and Distribution License("CDDL") (collectively, the
51.12 - * "License"). You may not use this file except in compliance with the
51.13 - * License. You can obtain a copy of the License at
51.14 - * http://www.netbeans.org/cddl-gplv2.html
51.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
51.16 - * specific language governing permissions and limitations under the
51.17 - * License. When distributing the software, include this License Header
51.18 - * Notice in each file and include the License file at
51.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
51.20 - * particular file as subject to the "Classpath" exception as provided
51.21 - * by Sun in the GPL Version 2 section of the License file that
51.22 - * accompanied this code. If applicable, add the following below the
51.23 - * License Header, with the fields enclosed by brackets [] replaced by
51.24 - * your own identifying information:
51.25 - * "Portions Copyrighted [year] [name of copyright owner]"
51.26 - *
51.27 - * Contributor(s):
51.28 - *
51.29 - * The Original Software is NetBeans. The Initial Developer of the Original
51.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
51.31 - * Microsystems, Inc. All Rights Reserved.
51.32 - *
51.33 - * If you wish your version of this file to be governed by only the CDDL
51.34 - * or only the GPL Version 2, indicate your decision by adding
51.35 - * "[Contributor] elects to include this software in this distribution
51.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
51.37 - * single choice of license, a recipient has the option to distribute
51.38 - * your version of this file under either the CDDL, the GPL Version 2 or
51.39 - * to extend the choice of license to its licensees as provided above.
51.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
51.41 - * Version 2 license, then the option applies only if the new code is
51.42 - * made subject to such option by the copyright holder.
51.43 - */
51.44 -package org.netbeans.modules.contrib.testng.output;
51.45 -
51.46 -import java.io.File;
51.47 -import java.util.*;
51.48 -import org.apache.tools.ant.module.spi.AntEvent;
51.49 -import org.apache.tools.ant.module.spi.AntLogger;
51.50 -import org.apache.tools.ant.module.spi.AntSession;
51.51 -import org.apache.tools.ant.module.spi.TaskStructure;
51.52 -import org.netbeans.api.project.FileOwnerQuery;
51.53 -import org.netbeans.api.project.Project;
51.54 -import org.netbeans.modules.gsf.testrunner.api.Report;
51.55 -import org.netbeans.modules.gsf.testrunner.api.TestSession.SessionType;
51.56 -import org.openide.filesystems.FileUtil;
51.57 -import org.openide.util.lookup.ServiceProvider;
51.58 -
51.59 -/**
51.60 - * Ant logger interested in task "junit",
51.61 - * dispatching events to instances of the {@link TestNGOutputReader} class.
51.62 - * There is one <code>TestNGOutputReader</code> instance created per each
51.63 - * Ant session.
51.64 - *
51.65 - * @see TestNGOutputReader
51.66 - * @see Report
51.67 - * @author Marian Petras
51.68 - * @author Lukas Jungmann
51.69 - */
51.70 -@ServiceProvider(service = AntLogger.class)
51.71 -public final class TestNGAntLogger extends AntLogger {
51.72 -
51.73 - /** levels of interest for logging (info, warning, error, ...) */
51.74 - private static final int[] LEVELS_OF_INTEREST = {
51.75 - AntEvent.LOG_INFO,
51.76 - AntEvent.LOG_WARN, //test failures
51.77 - AntEvent.LOG_VERBOSE, //our test listener
51.78 - AntEvent.LOG_ERR
51.79 - };
51.80 - public static final String TASK_JAVA = "java"; //NOI18N
51.81 - public static final String TASK_TESTNG = "testng"; //NOI18N
51.82 - private static final String[] INTERESTING_TASKS = {TASK_JAVA, TASK_TESTNG};
51.83 - private static final String ANT_TEST_RUNNER_CLASS_NAME =
51.84 - "org.testng.TestNG";//NOI18N
51.85 -
51.86 - /**
51.87 - * Default constructor for lookup
51.88 - */
51.89 - public TestNGAntLogger() {
51.90 - }
51.91 -
51.92 - @Override
51.93 - public boolean interestedInSession(AntSession session) {
51.94 - return true;
51.95 - }
51.96 -
51.97 - @Override
51.98 - public String[] interestedInTargets(AntSession session) {
51.99 - return AntLogger.ALL_TARGETS;
51.100 - }
51.101 -
51.102 - @Override
51.103 - public String[] interestedInTasks(AntSession session) {
51.104 - return INTERESTING_TASKS;
51.105 - }
51.106 -
51.107 - /**
51.108 - * Detects type of the Ant task currently running.
51.109 - *
51.110 - * @param event event produced by the currently running Ant session
51.111 - * @return {@code TaskType.TEST_TASK} if the task is a JUnit test task,
51.112 - * {@code TaskType.DEBUGGING_TEST_TASK} if the task is a JUnit
51.113 - * test task running in debugging mode,
51.114 - * {@code TaskType.OTHER_TASK} if the task is not a JUnit test
51.115 - * task;
51.116 - * or {@code null} if no Ant task is currently running
51.117 - */
51.118 - private static SessionType detectSessionType(AntEvent event) {
51.119 - final String taskName = event.getTaskName();
51.120 -
51.121 - if (taskName == null) {
51.122 - return null;
51.123 - }
51.124 -
51.125 - if (taskName.equals(TASK_TESTNG)) {
51.126 - return SessionType.TEST;
51.127 - }
51.128 -
51.129 - if (taskName.equals(TASK_JAVA)) {
51.130 - TaskStructure taskStructure = event.getTaskStructure();
51.131 -
51.132 - String className = taskStructure.getAttribute("classname"); //NOI18N
51.133 - if (className == null) {
51.134 - return null;
51.135 - }
51.136 -
51.137 - className = event.evaluate(className);
51.138 - if (className.equals("org.testng.TestNG")) { //NOI18N
51.139 - TaskStructure[] nestedElems = taskStructure.getChildren();
51.140 - for (TaskStructure ts : nestedElems) {
51.141 - if (ts.getName().equals("jvmarg")) { //NOI18N
51.142 - String a;
51.143 - if ((a = ts.getAttribute("value")) != null) { //NOI18N
51.144 - if (event.evaluate(a).equals("-Xdebug")) { //NOI18N
51.145 - return SessionType.DEBUG;
51.146 - }
51.147 - } else if ((a = ts.getAttribute("line")) != null) {//NOI18N
51.148 - for (String part : parseCmdLine(event.evaluate(a))) {
51.149 - if (part.equals("-Xdebug")) { //NOI18N
51.150 - return SessionType.DEBUG;
51.151 - }
51.152 - }
51.153 - }
51.154 - }
51.155 - }
51.156 - return SessionType.TEST;
51.157 - }
51.158 - return null;
51.159 - }
51.160 - assert false : "Unhandled task name"; //NOI18N
51.161 - return null;
51.162 - }
51.163 -
51.164 - /**
51.165 - * Parses the given command-line string into individual arguments.
51.166 - * @param cmdLine command-line to be parsed
51.167 - * @return list of invidividual parts of the given command-line,
51.168 - * or an empty list if the command-line was empty
51.169 - */
51.170 - private static List<String> parseCmdLine(String cmdLine) {
51.171 - cmdLine = cmdLine.trim();
51.172 -
51.173 - /* maybe the command-line is empty: */
51.174 - if (cmdLine.length() == 0) {
51.175 - return Collections.<String>emptyList();
51.176 - }
51.177 -
51.178 - final char[] chars = cmdLine.toCharArray();
51.179 -
51.180 - /* maybe the command-line contains just one part: */
51.181 - boolean simple = true;
51.182 - for (char c : chars) {
51.183 - if ((c == ' ') || (c == '"') || (c == '\'')) {
51.184 - simple = false;
51.185 - break;
51.186 - }
51.187 - }
51.188 - if (simple) {
51.189 - return Collections.<String>singletonList(cmdLine);
51.190 - }
51.191 -
51.192 - /* OK, so it is not trivial: */
51.193 - List<String> result = new ArrayList<String>(4);
51.194 - StringBuilder buf = new StringBuilder(20);
51.195 - final int stateBeforeWord = 0;
51.196 - final int stateAfterWord = 1;
51.197 - final int stateInSingleQuote = 2;
51.198 - final int stateInDoubleQuote = 3;
51.199 - int state = stateBeforeWord;
51.200 - for (int i = 0; i < chars.length; i++) {
51.201 - char c = chars[i];
51.202 - switch (state) {
51.203 - case stateBeforeWord:
51.204 - if (c == '"') {
51.205 - state = stateInDoubleQuote;
51.206 - } else if (c == '\'') {
51.207 - state = stateInSingleQuote;
51.208 - } else if (c == ' ') {
51.209 - //do nothing - remain in state "before word"
51.210 - } else {
51.211 - buf.append(c);
51.212 - state = stateAfterWord;
51.213 - }
51.214 - break;
51.215 - case stateInDoubleQuote:
51.216 - if (c == '"') {
51.217 - state = stateAfterWord;
51.218 - } else {
51.219 - buf.append(c);
51.220 - }
51.221 - break;
51.222 - case stateInSingleQuote:
51.223 - if (c == '\'') {
51.224 - state = stateAfterWord;
51.225 - } else {
51.226 - buf.append(c);
51.227 - }
51.228 - break;
51.229 - case stateAfterWord:
51.230 - if (c == '"') {
51.231 - state = stateInDoubleQuote;
51.232 - } else if (c == '\'') {
51.233 - state = stateInSingleQuote;
51.234 - } else if (c == ' ') {
51.235 - result.add(buf.toString());
51.236 - buf = new StringBuilder(20);
51.237 - state = stateBeforeWord;
51.238 - }
51.239 - break;
51.240 - default:
51.241 - assert false;
51.242 - }
51.243 - }
51.244 - assert state != stateBeforeWord; //thanks to cmdLine.trim()
51.245 - result.add(buf.toString());
51.246 -
51.247 - return result;
51.248 - }
51.249 -
51.250 - /**
51.251 - * Tells whether the given task type is a test task type or not.
51.252 - *
51.253 - * @param taskType taskType to be checked; may be {@code null}
51.254 - * @return {@code true} if the given task type marks a test task;
51.255 - * {@code false} otherwise
51.256 - */
51.257 - private static boolean isTestSessionType(SessionType sessionType) {
51.258 - return sessionType != null;
51.259 - }
51.260 -
51.261 - @Override
51.262 - public boolean interestedInScript(File script, AntSession session) {
51.263 - return true;
51.264 - }
51.265 -
51.266 - @Override
51.267 - public int[] interestedInLogLevels(AntSession session) {
51.268 - return LEVELS_OF_INTEREST;
51.269 - }
51.270 -
51.271 - /**
51.272 - */
51.273 - @Override
51.274 - public void messageLogged(final AntEvent event) {
51.275 - if (isTestTaskRunning(event)) {
51.276 - if (event.getLogLevel() != AntEvent.LOG_VERBOSE) {
51.277 - getOutputReader(event).messageLogged(event);
51.278 - } else {
51.279 - /* verbose messages are logged no matter which task produced them */
51.280 - getOutputReader(event).verboseMessageLogged(event);
51.281 - }
51.282 - }
51.283 - }
51.284 -
51.285 - /**
51.286 - */
51.287 - private boolean isTestTaskRunning(AntEvent event) {
51.288 - return isTestSessionType(getSessionInfo(event.getSession()).getCurrentSessionType());
51.289 - }
51.290 -
51.291 - /**
51.292 - */
51.293 - @Override
51.294 - public void taskStarted(final AntEvent event) {
51.295 - SessionType sessionType = detectSessionType(event);
51.296 - if (isTestSessionType(sessionType)) {
51.297 - AntSessionInfo sessionInfo = getSessionInfo(event.getSession());
51.298 - assert !isTestSessionType(sessionInfo.getCurrentSessionType());
51.299 - sessionInfo.setTimeOfTestTaskStart(System.currentTimeMillis());
51.300 - sessionInfo.setCurrentSessionType(sessionType);
51.301 - if (sessionInfo.getSessionType() == null) {
51.302 - sessionInfo.setSessionType(sessionType);
51.303 - }
51.304 - String suiteName = null;
51.305 - String logLevel = null;
51.306 - TaskStructure struct = event.getTaskStructure();
51.307 - if (TASK_TESTNG.equals(struct.getName())) {
51.308 - suiteName = struct.getAttribute("suitename");
51.309 - logLevel = struct.getAttribute("verbose");
51.310 - if (logLevel == null) {
51.311 - logLevel = struct.getAttribute("log");
51.312 - }
51.313 - } else if (TASK_JAVA.equals(struct.getName())) {
51.314 - TaskStructure[] nestedElems = struct.getChildren();
51.315 - for (TaskStructure ts : nestedElems) {
51.316 - if (ts.getName().equals("arg")) { //NOI18N
51.317 - String a = ts.getAttribute("line");
51.318 - if (a != null) {
51.319 - String[] args = event.evaluate(a).split(" ");
51.320 - int size = args.length;
51.321 - for (int i = 0; i < size; i++) {
51.322 - String curr = args[i];
51.323 - if ("-suitename".equals(curr)) {
51.324 - suiteName = i + 1 < size ? args[i + 1] : null;
51.325 - i++;
51.326 - } else if ("-log".equals(curr) || "-verbose".equals(curr)) {
51.327 - logLevel = i + 1 < size ? args[i + 1] : null;
51.328 - i++;
51.329 - }
51.330 - }
51.331 - }
51.332 - }
51.333 - }
51.334 -
51.335 - } else {
51.336 - assert false : "Unexpeted task " + struct.getName();
51.337 - }
51.338 - /*
51.339 - * Count the test classes in the try-catch block so that
51.340 - * 'testTaskStarted(...)' is called even if counting fails (throws
51.341 - * an exception):
51.342 - */
51.343 - //would have to parse all incoming xmls, take includes/excludes
51.344 - //into accout, dependencies between tests, groups etc
51.345 -// int testClassCount;
51.346 -// try {
51.347 -// testClassCount = TestCounter.getTestClassCount(event);
51.348 -// } catch (Exception ex) {
51.349 -// testClassCount = 0;
51.350 -// Logger.getLogger(TestNGAntLogger.class.getName()).log(Level.SEVERE, null, ex);
51.351 -// }
51.352 -
51.353 - if (suiteName != null) {
51.354 - sessionInfo.setSessionName(event.evaluate(suiteName));
51.355 - }
51.356 - boolean offline = false;
51.357 - if (logLevel != null) {
51.358 - int lvl;
51.359 - try {
51.360 - lvl = Integer.valueOf(event.evaluate(logLevel));
51.361 - } catch (NumberFormatException nfe) {
51.362 - lvl = -1;
51.363 - }
51.364 - //logging is explicitly turned off by the user, so show only final
51.365 - //results computed off-line from testng-results.xml file
51.366 - offline = lvl == 0;
51.367 - }
51.368 - getOutputReader(event).testTaskStarted(offline, event);
51.369 -// getOutputReader(event).testTaskStarted(testClassCount, hasXmlOutput, event);
51.370 - }
51.371 - }
51.372 -
51.373 - /**
51.374 - */
51.375 - @Override
51.376 - public void taskFinished(final AntEvent event) {
51.377 - AntSessionInfo sessionInfo = getSessionInfo(event.getSession());
51.378 - if (isTestSessionType(sessionInfo.getCurrentSessionType())) {
51.379 - getOutputReader(event).testTaskFinished();
51.380 - sessionInfo.setCurrentSessionType(null);
51.381 - }
51.382 - }
51.383 -
51.384 - /**
51.385 - */
51.386 - @Override
51.387 - public void buildFinished(final AntEvent event) {
51.388 - AntSession session = event.getSession();
51.389 - AntSessionInfo sessionInfo = getSessionInfo(session);
51.390 -
51.391 - if (isTestSessionType(sessionInfo.getSessionType())) {
51.392 - getOutputReader(event).buildFinished(event);
51.393 - }
51.394 -
51.395 - session.putCustomData(this, null); //forget AntSessionInfo
51.396 - }
51.397 -
51.398 - /**
51.399 - * Retrieve existing or creates a new reader for the given session.
51.400 - *
51.401 - * @param session session to return a reader for
51.402 - * @return output reader for the session
51.403 - */
51.404 - private TestNGOutputReader getOutputReader(final AntEvent event) {
51.405 - assert isTestSessionType(getSessionInfo(event.getSession()).getSessionType());
51.406 -
51.407 - final AntSession session = event.getSession();
51.408 - final AntSessionInfo sessionInfo = getSessionInfo(session);
51.409 - TestNGOutputReader outputReader = sessionInfo.outputReader;
51.410 - if (outputReader == null) {
51.411 - String projectDir = null;
51.412 - Project project = null;
51.413 - try {
51.414 - projectDir = event.getProperty("work.dir"); //NOI18N
51.415 - } catch (Exception e) {
51.416 - }// Maven throws exception for this property
51.417 - try {
51.418 - if (projectDir == null) {
51.419 - projectDir = event.getProperty("basedir"); // NOI18N
51.420 - }
51.421 - if ((projectDir != null) && (projectDir.length() != 0)) {
51.422 - File f = FileUtil.normalizeFile(new File(projectDir));
51.423 - project = FileOwnerQuery.getOwner(FileUtil.toFileObject(f)); //NOI18N
51.424 - }
51.425 - } catch (Exception e) {
51.426 - }
51.427 - Properties props = new Properties();
51.428 - String[] propsOfInterest = {"javac.includes", "classname", "methodname", "work.dir", "classpath", "platform.java"};//NOI18N
51.429 - for(String prop:propsOfInterest) {
51.430 - String val = event.getProperty(prop);
51.431 - if (val!=null) {
51.432 - props.setProperty(prop, val);
51.433 - }
51.434 - }
51.435 - outputReader = new TestNGOutputReader(
51.436 - session,
51.437 - sessionInfo,
51.438 - project,
51.439 - props);
51.440 - sessionInfo.outputReader = outputReader;
51.441 - }
51.442 - return outputReader;
51.443 - }
51.444 -
51.445 - /**
51.446 - */
51.447 - private AntSessionInfo getSessionInfo(final AntSession session) {
51.448 - Object o = session.getCustomData(this);
51.449 - assert (o == null) || (o instanceof AntSessionInfo);
51.450 -
51.451 - AntSessionInfo sessionInfo;
51.452 - if (o != null) {
51.453 - sessionInfo = (AntSessionInfo) o;
51.454 - } else {
51.455 - sessionInfo = new AntSessionInfo();
51.456 - session.putCustomData(this, sessionInfo);
51.457 - }
51.458 - return sessionInfo;
51.459 - }
51.460 -}
52.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGExecutionManager.java Sat Mar 10 02:54:06 2012 +0100
52.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
52.3 @@ -1,195 +0,0 @@
52.4 -/*
52.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
52.6 - *
52.7 - * Copyright © 2009-2012 Oracle and/or its affiliates. All rights reserved.
52.8 - *
52.9 - * The contents of this file are subject to the terms of either the GNU
52.10 - * General Public License Version 2 only ("GPL") or the Common
52.11 - * Development and Distribution License("CDDL") (collectively, the
52.12 - * "License"). You may not use this file except in compliance with the
52.13 - * License. You can obtain a copy of the License at
52.14 - * http://www.netbeans.org/cddl-gplv2.html
52.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
52.16 - * specific language governing permissions and limitations under the
52.17 - * License. When distributing the software, include this License Header
52.18 - * Notice in each file and include the License file at
52.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
52.20 - * particular file as subject to the "Classpath" exception as provided
52.21 - * by Sun in the GPL Version 2 section of the License file that
52.22 - * accompanied this code. If applicable, add the following below the
52.23 - * License Header, with the fields enclosed by brackets [] replaced by
52.24 - * your own identifying information:
52.25 - * "Portions Copyrighted [year] [name of copyright owner]"
52.26 - *
52.27 - * If you wish your version of this file to be governed by only the CDDL
52.28 - * or only the GPL Version 2, indicate your decision by adding
52.29 - * "[Contributor] elects to include this software in this distribution
52.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
52.31 - * single choice of license, a recipient has the option to distribute
52.32 - * your version of this file under either the CDDL, the GPL Version 2 or
52.33 - * to extend the choice of license to its licensees as provided above.
52.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
52.35 - * Version 2 license, then the option applies only if the new code is
52.36 - * made subject to such option by the copyright holder.
52.37 - *
52.38 - * Contributor(s):
52.39 - *
52.40 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
52.41 - */
52.42 -package org.netbeans.modules.contrib.testng.output;
52.43 -
52.44 -import java.io.File;
52.45 -import java.io.IOException;
52.46 -import java.util.Properties;
52.47 -import java.util.Set;
52.48 -import java.util.logging.Level;
52.49 -import java.util.logging.Logger;
52.50 -import javax.swing.event.ChangeListener;
52.51 -import org.apache.tools.ant.module.spi.AntSession;
52.52 -import org.netbeans.api.project.Project;
52.53 -import org.netbeans.modules.contrib.testng.actions.TestConfigAccessor;
52.54 -import org.netbeans.modules.contrib.testng.api.TestNGSupport;
52.55 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
52.56 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
52.57 -import org.netbeans.modules.gsf.testrunner.api.RerunHandler;
52.58 -import org.netbeans.modules.gsf.testrunner.api.RerunType;
52.59 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
52.60 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
52.61 -import org.netbeans.spi.project.ActionProvider;
52.62 -import org.netbeans.spi.project.SingleMethod;
52.63 -import org.openide.filesystems.FileObject;
52.64 -import org.openide.loaders.DataObject;
52.65 -import org.openide.util.Lookup;
52.66 -import org.openide.util.lookup.Lookups;
52.67 -
52.68 -/**
52.69 - *
52.70 - * @author answer
52.71 - */
52.72 -public class TestNGExecutionManager implements RerunHandler {
52.73 -
52.74 - private File scriptFile = null;
52.75 - private String[] targets = null;
52.76 - private Properties properties;
52.77 - private TestSession testSession;
52.78 - private Lookup lookup = Lookup.EMPTY;
52.79 -
52.80 - private static final Logger LOGGER = Logger.getLogger(TestNGExecutionManager.class.getName());
52.81 -
52.82 - public TestNGExecutionManager(AntSession session, TestSession testSession, Properties props) {
52.83 - this.testSession = testSession;
52.84 - this.properties = props;
52.85 - try {
52.86 - scriptFile = session.getOriginatingScript();
52.87 - targets = session.getOriginatingTargets();
52.88 - //transform known ant targets to the action names
52.89 - for (int i = 0; i < targets.length; i++) {
52.90 - if (targets[i].equals("test-single")) { //NOI18N
52.91 - targets[i] = ActionProvider.COMMAND_TEST_SINGLE;
52.92 - } else if (targets[i].equals("debug-test")) { //NOI18N
52.93 - targets[i] = ActionProvider.COMMAND_DEBUG_TEST_SINGLE;
52.94 - }
52.95 - }
52.96 -
52.97 - String javacIncludes = properties.getProperty("javac.includes");//NOI18N
52.98 - if (javacIncludes != null) {
52.99 - FileObject testFO = testSession.getFileLocator().find(javacIncludes);
52.100 - if (testFO != null) {
52.101 - lookup = Lookups.fixed(DataObject.find(testFO));
52.102 - }
52.103 - }
52.104 -
52.105 - if (targets.length == 0) {
52.106 - String className = properties.getProperty("classname"); //NOI18N
52.107 - String methodName = properties.getProperty("methodname"); //NOI18N
52.108 - if (className != null) {
52.109 - FileObject testFO = testSession.getFileLocator().find(className.replace('.', '/') + ".java"); //NOI18N
52.110 - if (methodName != null) {
52.111 - SingleMethod methodSpec = new SingleMethod(testFO, methodName);
52.112 - lookup = Lookups.singleton(methodSpec);
52.113 - } else {
52.114 - lookup = Lookups.fixed(DataObject.find(testFO));
52.115 - }
52.116 - }
52.117 - if (scriptFile.getName().equals("testng.xml")) { //NOI18N
52.118 - if (methodName != null) {
52.119 - targets = new String[]{SingleMethod.COMMAND_RUN_SINGLE_METHOD};
52.120 - } else {
52.121 - targets = new String[]{ActionProvider.COMMAND_TEST_SINGLE};
52.122 - }
52.123 - } else if (scriptFile.getName().equals("testng-debug.xml")) { //NOI18N
52.124 - if (methodName != null) {
52.125 - targets = new String[]{SingleMethod.COMMAND_DEBUG_SINGLE_METHOD};
52.126 - } else {
52.127 - targets = new String[]{ActionProvider.COMMAND_DEBUG_TEST_SINGLE};
52.128 - }
52.129 - }
52.130 - }
52.131 - } catch (Exception e) {
52.132 - LOGGER.log(Level.SEVERE, null, e);
52.133 - }
52.134 - }
52.135 -
52.136 - public void rerun() {
52.137 - Project project = testSession.getProject();
52.138 - ActionProvider actionProvider = project.getLookup().lookup(ActionProvider.class);
52.139 - actionProvider.invokeAction(targets[0], lookup);
52.140 - }
52.141 -
52.142 - public void rerun(Set<Testcase> tests) {
52.143 - Project p = testSession.getProject();
52.144 - TestNGSupportImplementation.TestExecutor exec = TestNGSupport.findTestNGSupport(p).createExecutor(p);
52.145 - TestConfig conf = TestConfigAccessor.getDefault().createTestConfig(p.getProjectDirectory(), true, null, null, null);
52.146 - try {
52.147 - exec.execute(TestNGSupport.Action.RUN_FAILED, conf);
52.148 - } catch (IOException ex) {
52.149 - LOGGER.log(Level.SEVERE, null, ex);
52.150 - }
52.151 - }
52.152 -
52.153 - public boolean enabled(RerunType type) {
52.154 - switch (type){
52.155 - case ALL:
52.156 - return true;
52.157 - case CUSTOM:
52.158 - Project p = testSession.getProject();
52.159 - if (TestNGSupport.isActionSupported(TestNGSupport.Action.RUN_FAILED, p)) {
52.160 - return TestNGSupport.findTestNGSupport(p).createExecutor(p).hasFailedTests();
52.161 - }
52.162 - return false;
52.163 - default:
52.164 - return false;
52.165 - }
52.166 - }
52.167 -
52.168 -// public boolean enabled() {
52.169 -// if ((scriptFile == null) || (targets == null) || (targets.length == 0)) {
52.170 -// return false;
52.171 -// }
52.172 -//
52.173 -// Project project = testSession.getProject();
52.174 -// ActionProvider actionProvider = project.getLookup().lookup(ActionProvider.class);
52.175 -// if (actionProvider != null) {
52.176 -// boolean runSupported = false;
52.177 -// for (String action : actionProvider.getSupportedActions()) {
52.178 -// if (action.equals(targets[0])) {
52.179 -// runSupported = true;
52.180 -// break;
52.181 -// }
52.182 -// }
52.183 -// if (runSupported && actionProvider.isActionEnabled(targets[0], lookup)) {
52.184 -// return true;
52.185 -// }
52.186 -// }
52.187 -//
52.188 -// return false;
52.189 -// }
52.190 -
52.191 - @Override
52.192 - public void addChangeListener(ChangeListener listener) {
52.193 - }
52.194 -
52.195 - @Override
52.196 - public void removeChangeListener(ChangeListener listener) {
52.197 - }
52.198 -}
53.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGMethodNode.java Sat Mar 10 02:54:06 2012 +0100
53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
53.3 @@ -1,117 +0,0 @@
53.4 -/*
53.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
53.6 - *
53.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
53.8 - *
53.9 - * The contents of this file are subject to the terms of either the GNU
53.10 - * General Public License Version 2 only ("GPL") or the Common
53.11 - * Development and Distribution License("CDDL") (collectively, the
53.12 - * "License"). You may not use this file except in compliance with the
53.13 - * License. You can obtain a copy of the License at
53.14 - * http://www.netbeans.org/cddl-gplv2.html
53.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
53.16 - * specific language governing permissions and limitations under the
53.17 - * License. When distributing the software, include this License Header
53.18 - * Notice in each file and include the License file at
53.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
53.20 - * particular file as subject to the "Classpath" exception as provided
53.21 - * by Sun in the GPL Version 2 section of the License file that
53.22 - * accompanied this code. If applicable, add the following below the
53.23 - * License Header, with the fields enclosed by brackets [] replaced by
53.24 - * your own identifying information:
53.25 - * "Portions Copyrighted [year] [name of copyright owner]"
53.26 - *
53.27 - * Contributor(s):
53.28 - *
53.29 - * The Original Software is NetBeans. The Initial Developer of the Original
53.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
53.31 - * Microsystems, Inc. All Rights Reserved.
53.32 - *
53.33 - * If you wish your version of this file to be governed by only the CDDL
53.34 - * or only the GPL Version 2, indicate your decision by adding
53.35 - * "[Contributor] elects to include this software in this distribution
53.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
53.37 - * single choice of license, a recipient has the option to distribute
53.38 - * your version of this file under either the CDDL, the GPL Version 2 or
53.39 - * to extend the choice of license to its licensees as provided above.
53.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
53.41 - * Version 2 license, then the option applies only if the new code is
53.42 - * made subject to such option by the copyright holder.
53.43 - */
53.44 -package org.netbeans.modules.contrib.testng.output;
53.45 -
53.46 -import java.util.ArrayList;
53.47 -import java.util.Arrays;
53.48 -import java.util.List;
53.49 -import javax.swing.Action;
53.50 -import org.netbeans.api.project.Project;
53.51 -import org.netbeans.modules.gsf.testrunner.api.DiffViewAction;
53.52 -import org.netbeans.modules.gsf.testrunner.api.TestMethodNode;
53.53 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
53.54 -import org.netbeans.spi.project.ActionProvider;
53.55 -import org.netbeans.spi.project.SingleMethod;
53.56 -import org.openide.util.Lookup;
53.57 -import org.openide.util.lookup.AbstractLookup;
53.58 -import org.openide.util.lookup.InstanceContent;
53.59 -import org.openide.util.lookup.Lookups;
53.60 -
53.61 -/**
53.62 - *
53.63 - * @author Marian Petras
53.64 - * @author Lukas Jungmann
53.65 - */
53.66 -final class TestNGMethodNode extends TestMethodNode {
53.67 -
53.68 - private InstanceContent ic;
53.69 -
53.70 - public TestNGMethodNode(Testcase testcase, Project project) {
53.71 - this(testcase, project, new InstanceContent());
53.72 - }
53.73 -
53.74 - private TestNGMethodNode(Testcase tc, Project p, InstanceContent ic) {
53.75 - super(tc, p, new AbstractLookup(ic));
53.76 - this.ic = ic;
53.77 - }
53.78 -
53.79 - @Override
53.80 - public Action[] getActions(boolean context) {
53.81 - SingleMethod sm = new SingleMethod(getTestcase().getClassFileObject(), getTestcase().getTestName());
53.82 - ic.add(sm);
53.83 - ic.add(getTestcase());
53.84 - List<Action> actions = new ArrayList<Action>();
53.85 - Action preferred = getPreferredAction();
53.86 - if (preferred != null) {
53.87 - actions.add(preferred);
53.88 - }
53.89 - if ((testcase.getTrouble() != null) && (testcase.getTrouble().getComparisonFailure() != null)){
53.90 - //TODO: differs in TestNG
53.91 - actions.add(new DiffViewAction(testcase));
53.92 - }
53.93 -
53.94 - for (ActionProvider ap : Lookup.getDefault().lookupAll(ActionProvider.class)) {
53.95 - List<String> supportedActions = Arrays.asList(ap.getSupportedActions());
53.96 - if (!getTestcase().isConfigMethod() && supportedActions.contains(SingleMethod.COMMAND_RUN_SINGLE_METHOD)) {
53.97 - actions.add(new TestMethodNodeAction(ap, Lookups.singleton(sm), SingleMethod.COMMAND_RUN_SINGLE_METHOD, "LBL_RerunTest"));
53.98 - }
53.99 - if (!getTestcase().isConfigMethod() && supportedActions.contains(SingleMethod.COMMAND_DEBUG_SINGLE_METHOD)) {
53.100 - actions.add(new TestMethodNodeAction(ap, Lookups.singleton(sm), SingleMethod.COMMAND_DEBUG_SINGLE_METHOD, "LBL_DebugTest"));
53.101 - }
53.102 - }
53.103 - return actions.toArray(new Action[actions.size()]);
53.104 - }
53.105 -
53.106 - @Override
53.107 - public Action getPreferredAction() {
53.108 - return new JumpAction(this, null);
53.109 - }
53.110 -
53.111 - public TestNGTestcase getTestcase() {
53.112 - return (TestNGTestcase) testcase;
53.113 - }
53.114 -
53.115 - @Override
53.116 - public String getHtmlDisplayName() {
53.117 - return !getTestcase().isConfigMethod() ? super.getHtmlDisplayName()
53.118 - : "<i>" + super.getHtmlDisplayName() + "</i>";
53.119 - }
53.120 -}
54.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGOutputReader.java Sat Mar 10 02:54:06 2012 +0100
54.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
54.3 @@ -1,728 +0,0 @@
54.4 -/*
54.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
54.6 - *
54.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
54.8 - *
54.9 - * The contents of this file are subject to the terms of either the GNU
54.10 - * General Public License Version 2 only ("GPL") or the Common
54.11 - * Development and Distribution License("CDDL") (collectively, the
54.12 - * "License"). You may not use this file except in compliance with the
54.13 - * License. You can obtain a copy of the License at
54.14 - * http://www.netbeans.org/cddl-gplv2.html
54.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
54.16 - * specific language governing permissions and limitations under the
54.17 - * License. When distributing the software, include this License Header
54.18 - * Notice in each file and include the License file at
54.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
54.20 - * particular file as subject to the "Classpath" exception as provided
54.21 - * by Sun in the GPL Version 2 section of the License file that
54.22 - * accompanied this code. If applicable, add the following below the
54.23 - * License Header, with the fields enclosed by brackets [] replaced by
54.24 - * your own identifying information:
54.25 - * "Portions Copyrighted [year] [name of copyright owner]"
54.26 - *
54.27 - * Contributor(s):
54.28 - *
54.29 - * The Original Software is NetBeans. The Initial Developer of the Original
54.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
54.31 - * Microsystems, Inc. All Rights Reserved.
54.32 - *
54.33 - * If you wish your version of this file to be governed by only the CDDL
54.34 - * or only the GPL Version 2, indicate your decision by adding
54.35 - * "[Contributor] elects to include this software in this distribution
54.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
54.37 - * single choice of license, a recipient has the option to distribute
54.38 - * your version of this file under either the CDDL, the GPL Version 2 or
54.39 - * to extend the choice of license to its licensees as provided above.
54.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
54.41 - * Version 2 license, then the option applies only if the new code is
54.42 - * made subject to such option by the copyright holder.
54.43 - */
54.44 -package org.netbeans.modules.contrib.testng.output;
54.45 -
54.46 -import java.io.File;
54.47 -import java.io.FileInputStream;
54.48 -import java.io.IOException;
54.49 -import java.io.InputStreamReader;
54.50 -import java.nio.charset.UnsupportedCharsetException;
54.51 -import java.text.NumberFormat;
54.52 -import java.text.ParseException;
54.53 -import java.util.*;
54.54 -import java.util.logging.Level;
54.55 -import java.util.logging.Logger;
54.56 -import java.util.regex.Matcher;
54.57 -import java.util.regex.Pattern;
54.58 -import org.apache.tools.ant.module.spi.AntEvent;
54.59 -import org.apache.tools.ant.module.spi.AntSession;
54.60 -import org.apache.tools.ant.module.spi.TaskStructure;
54.61 -import org.netbeans.api.java.classpath.ClassPath;
54.62 -import org.netbeans.api.java.platform.JavaPlatform;
54.63 -import org.netbeans.api.java.platform.JavaPlatformManager;
54.64 -import org.netbeans.api.project.FileOwnerQuery;
54.65 -import org.netbeans.api.project.Project;
54.66 -import org.netbeans.modules.gsf.testrunner.api.TestSession.SessionType;
54.67 -import org.netbeans.modules.gsf.testrunner.api.*;
54.68 -import org.openide.filesystems.FileObject;
54.69 -import org.openide.filesystems.FileUtil;
54.70 -import org.xml.sax.SAXException;
54.71 -
54.72 -/**
54.73 - * Obtains events from a single session of an Ant
54.74 - * <code>junit</code> task and builds a {@link Report}. The events are delivered
54.75 - * by the {@link TestNGAntLogger}.
54.76 - *
54.77 - * @see TestNGAntLogger
54.78 - * @see Report
54.79 - * @author Marian Petras
54.80 - * @author Lukas Jungmann
54.81 - */
54.82 -final class TestNGOutputReader {
54.83 -
54.84 - private static final Logger LOG = Logger.getLogger(TestNGOutputReader.class.getName());
54.85 - private static final Logger progressLogger = Logger.getLogger(
54.86 - "org.netbeans.modules.contrib.testng.outputreader.progress");
54.87 - /**
54.88 - *
54.89 - */
54.90 - private final NumberFormat numberFormat = NumberFormat.getInstance();
54.91 - /**
54.92 - *
54.93 - */
54.94 - private final SessionType sessionType;
54.95 - /**
54.96 - * whether XML report is expected
54.97 - */
54.98 - private boolean offline;
54.99 - private boolean noresults = true;
54.100 - /**
54.101 - *
54.102 - */
54.103 - private final File antScript;
54.104 - /**
54.105 - *
54.106 - */
54.107 - private final long timeOfSessionStart;
54.108 - private long lastSuiteTime = 0;
54.109 - /**
54.110 - *
54.111 - */
54.112 - private final Manager manager = Manager.getInstance();
54.113 - /**
54.114 - *
54.115 - */
54.116 - private ClassPath platformSources;
54.117 - private TestNGTestSession testSession;
54.118 - private Project project;
54.119 - private File resultsDir;
54.120 - private Map<String, Report> reports;
54.121 -
54.122 - /**
54.123 - * Creates a new instance of TestNGOutputReader
54.124 - */
54.125 - TestNGOutputReader(final AntSession session,
54.126 - final AntSessionInfo sessionInfo,
54.127 - final Project project,
54.128 - final Properties props) {
54.129 - this.project = project;
54.130 - this.sessionType = sessionInfo.getSessionType();
54.131 - this.antScript = FileUtil.normalizeFile(session.getOriginatingScript());
54.132 - this.timeOfSessionStart = sessionInfo.getTimeOfTestTaskStart();
54.133 - if (project == null) {
54.134 - FileObject fileObj = FileUtil.toFileObject(antScript);
54.135 - this.project = FileOwnerQuery.getOwner(fileObj);
54.136 - }
54.137 - this.testSession = new TestNGTestSession(
54.138 - sessionInfo.getSessionName(), this.project, sessionType, new TestNGTestNodeFactory());
54.139 - testSession.setRerunHandler(new TestNGExecutionManager(session, testSession, props));
54.140 - reports = new HashMap<String, Report>();
54.141 - }
54.142 -
54.143 - /**
54.144 - * for tests
54.145 - */
54.146 - TestNGOutputReader(TestNGTestSession session) {
54.147 - testSession = session;
54.148 - sessionType = session.getSessionType();
54.149 - antScript = null;
54.150 - timeOfSessionStart = System.currentTimeMillis();
54.151 - project = session.getProject();
54.152 - reports = new HashMap<String, Report>();
54.153 - }
54.154 -
54.155 - Project getProject() {
54.156 - return project;
54.157 - }
54.158 -
54.159 - TestSession getTestSession() {
54.160 - return testSession;
54.161 - }
54.162 -
54.163 - void verboseMessageLogged(final AntEvent event) {
54.164 - final String msg = event.getMessage();
54.165 - if (msg == null) {
54.166 - return;
54.167 - }
54.168 - if (!msg.startsWith(RegexpUtils.TEST_LISTENER_PREFIX) || offline) {
54.169 - //this message is not for us...
54.170 - return;
54.171 - }
54.172 - if (noresults) noresults = false;
54.173 - verboseMessageLogged(msg);
54.174 -// displayOutput(msg, event.getLogLevel() == AntEvent.LOG_WARN);
54.175 - }
54.176 - private boolean suiteSummary = false;
54.177 - private long elapsedTime = 0;
54.178 -
54.179 - private class SuiteStats {
54.180 -
54.181 - private String name = null;
54.182 - private int testRun = -1;
54.183 - private int testFail = -1;
54.184 - private int testSkip = -1;
54.185 - private int confFail = 0;
54.186 - private int confSkip = 0;
54.187 - }
54.188 - private SuiteStats suiteStat;
54.189 - private List<String> txt = new ArrayList<String>();
54.190 -
54.191 - /**
54.192 - */
54.193 - synchronized void verboseMessageLogged(String msg) {
54.194 - String in = getMessage(msg);
54.195 - //suite starting
54.196 - if (in.startsWith("RUNNING: ")) {
54.197 - Matcher m = Pattern.compile(RegexpUtils.RUNNING_SUITE_REGEX).matcher(in);
54.198 - if (m.matches()) {
54.199 - suiteStarted(m.group(1), Integer.valueOf(m.group(2)), m.group(3));
54.200 - } else {
54.201 - assert false : "Cannot match: '" + in + "'.";
54.202 - }
54.203 - return;
54.204 - }
54.205 - //suite finishing
54.206 - if (in.equals("===============================================")) {
54.207 - suiteSummary = !suiteSummary;
54.208 - if (suiteSummary) {
54.209 - suiteStat = new SuiteStats();
54.210 - } else {
54.211 - suiteFinished(suiteStat);
54.212 - suiteStat = null;
54.213 - }
54.214 - return;
54.215 - } else if (suiteSummary) {
54.216 - if (suiteStat.name != null) {
54.217 - Matcher m = Pattern.compile(RegexpUtils.STATS_REGEX).matcher(in);
54.218 - if (suiteStat.testRun < 0) {
54.219 - //Tests run/fail/skip
54.220 - if (m.matches()) {
54.221 - suiteStat.testRun = Integer.valueOf(m.group(1));
54.222 - suiteStat.testFail = Integer.valueOf(m.group(2));
54.223 - suiteStat.testSkip = Integer.valueOf(m.group(4));
54.224 - } else {
54.225 - assert false : "Cannot match: '" + in + "'.";
54.226 - }
54.227 - } else {
54.228 - //Configuration fail/skip
54.229 - if (m.matches()) {
54.230 - suiteStat.confFail = Integer.valueOf(m.group(1));
54.231 - suiteStat.confSkip = Integer.valueOf(m.group(2));
54.232 - } else {
54.233 - assert false : "Cannot match: '" + in + "'.";
54.234 - }
54.235 - }
54.236 - } else {
54.237 - suiteStat.name = in.trim();
54.238 - }
54.239 - return;
54.240 - }
54.241 - //test
54.242 - if (in.startsWith("INVOKING: ")) {
54.243 - if (txt.size() > 0) {
54.244 - addStackTrace(txt);
54.245 - txt.clear();
54.246 - }
54.247 - Matcher m = Pattern.compile(RegexpUtils.TEST_REGEX).matcher(in);
54.248 - if (m.matches()) {
54.249 - testStarted(m.group(1), m.group(2), m.group(4), m.group(6));
54.250 - } else {
54.251 - assert false : "Cannot match: '" + in + "'.";
54.252 - }
54.253 - return;
54.254 - }
54.255 -
54.256 - Matcher m = Pattern.compile(RegexpUtils.TEST_REGEX).matcher(in);
54.257 - if (in.startsWith("PASSED: ")) {
54.258 - if (m.matches()) {
54.259 - testFinished("PASSED", m.group(1), m.group(2), m.group(4), m.group(6), m.group(8));
54.260 - } else {
54.261 - assert false : "Cannot match: '" + in + "'.";
54.262 - }
54.263 - return;
54.264 - }
54.265 -
54.266 - if (in.startsWith("PASSED with failures: ")) {
54.267 - }
54.268 -
54.269 - if (in.startsWith("SKIPPED: ")) {
54.270 - if (m.matches()) {
54.271 - testFinished("SKIPPED", m.group(1), m.group(2), m.group(4), m.group(6), m.group(8));
54.272 - } else {
54.273 - assert false : "Cannot match: '" + in + "'.";
54.274 - }
54.275 - return;
54.276 - }
54.277 -
54.278 - if (in.startsWith("FAILED: ")) {
54.279 - if (m.matches()) {
54.280 - testFinished("FAILED", m.group(1), m.group(2), m.group(4), m.group(6), m.group(8));
54.281 - } else {
54.282 - assert false : "Cannot match: '" + in + "'.";
54.283 - }
54.284 - return;
54.285 - }
54.286 -
54.287 - //configuration methods
54.288 - if (in.contains(" CONFIGURATION: ")) {
54.289 -// if (txt.size() > 0) {
54.290 -// addStackTrace(txt);
54.291 -// txt.clear();
54.292 -// }
54.293 - return;
54.294 - }
54.295 -
54.296 - Matcher m1 = Pattern.compile(RegexpUtils.RUNNING_SUITE_REGEX).matcher(in);
54.297 - if (!(m.matches() || m1.matches())) {
54.298 - if (txt.isEmpty() && in.startsWith(" ")) {
54.299 - //we received test description
54.300 - addDescription(in.trim());
54.301 - } else if (in.trim().length() > 0) {
54.302 - //we have a stacktrace
54.303 - txt.add(in);
54.304 - }
54.305 - }
54.306 - }
54.307 -
54.308 - synchronized void messageLogged(final AntEvent event) {
54.309 - final String msg = event.getMessage();
54.310 - if (msg == null) {
54.311 - return;
54.312 - }
54.313 - Testcase tc = testSession.getCurrentTestCase();
54.314 - if (tc != null) {
54.315 - tc.getOutput().add(new OutputLine(msg, false));
54.316 - }
54.317 - if (!offline) {
54.318 - //log/verbose level = 0 so don't show output
54.319 - displayOutput(msg, event.getLogLevel() == AntEvent.LOG_WARN);
54.320 - verboseMessageLogged(event);
54.321 - }
54.322 - }
54.323 -
54.324 - /**
54.325 - */
54.326 - private int parseTime(String timeString) {
54.327 - int timeMillis;
54.328 - try {
54.329 - double seconds = numberFormat.parse(timeString).doubleValue();
54.330 - timeMillis = Math.round((float) (seconds * 1000.0));
54.331 - } catch (ParseException ex) {
54.332 - timeMillis = -1;
54.333 - }
54.334 - return timeMillis;
54.335 - }
54.336 -
54.337 - /**
54.338 - * Tries to determine test results directory.
54.339 - *
54.340 - * @param event Ant event serving as a source of information
54.341 - * @return
54.342 - * <code>File<code> object representing the results directory,
54.343 - * or
54.344 - * <code>null</code> if the results directory could not be determined
54.345 - */
54.346 - private static File determineResultsDir(final AntEvent event) {
54.347 - File resultsDir = null;
54.348 -
54.349 - final String taskName = event.getTaskName();
54.350 - if (taskName != null) {
54.351 - if (taskName.equals("testng")) { //NOI18N
54.352 - resultsDir = determineTestNGTaskResultsDir(event);
54.353 - } else if (taskName.equals("java")) { //NOI18N
54.354 - resultsDir = determineJavaTaskResultsDir(event);
54.355 - } else {
54.356 - assert false : "Unexpected task: " + taskName;
54.357 - }
54.358 - }
54.359 -
54.360 - if ((resultsDir != null) && resultsDir.exists() && resultsDir.isDirectory()) {
54.361 - return resultsDir;
54.362 - } else {
54.363 - return null;
54.364 - }
54.365 - }
54.366 -
54.367 - /**
54.368 - */
54.369 - private static File determineTestNGTaskResultsDir(final AntEvent event) {
54.370 - final TaskStructure taskStruct = event.getTaskStructure();
54.371 - if (taskStruct == null) {
54.372 - return null;
54.373 - }
54.374 - String todirAttr = (taskStruct.getAttribute("outputdir") != null) //NOI18N
54.375 - ? taskStruct.getAttribute("outputdir") //NOI18N
54.376 - : (taskStruct.getAttribute("workingDir") != null) //NOI18N
54.377 - ? taskStruct.getAttribute("workingDir") + "test-output" //NOI18N
54.378 - : "test-output"; //NOI18N
54.379 - File resultsDir = new File(event.evaluate(todirAttr));
54.380 - return findAbsolutePath(resultsDir, taskStruct, event);
54.381 - }
54.382 -
54.383 - /**
54.384 - */
54.385 - private static File determineJavaTaskResultsDir(final AntEvent event) {
54.386 - final TaskStructure taskStruct = event.getTaskStructure();
54.387 - if (taskStruct == null) {
54.388 - return null;
54.389 - }
54.390 -
54.391 - String todirPath = null;
54.392 -
54.393 - for (TaskStructure taskChild : taskStruct.getChildren()) {
54.394 - String taskChildName = taskChild.getName();
54.395 - if (taskChildName.equals("arg")) { //NOI18N
54.396 - String valueAttr = taskChild.getAttribute("value"); //NOI18N
54.397 - if (valueAttr == null) {
54.398 - valueAttr = taskChild.getAttribute("line"); //NOI18N
54.399 - }
54.400 - if (valueAttr != null) {
54.401 - valueAttr = event.evaluate(valueAttr);
54.402 - int index = valueAttr.indexOf("-d "); //NOI18N
54.403 - if (-1 < index) {
54.404 - todirPath = valueAttr.substring(index + 3);
54.405 - if (todirPath.contains(" ")) {
54.406 - index = todirPath.startsWith("\"") //NOI18N
54.407 - ? todirPath.indexOf("\"", 1) + 1 //NOI18N
54.408 - : todirPath.indexOf(" "); //NOI18N
54.409 - todirPath = todirPath.substring(0, index);
54.410 - //found, let's finish
54.411 - break;
54.412 - }
54.413 - }
54.414 - }
54.415 - }
54.416 - }
54.417 -
54.418 - if (todirPath == null) {
54.419 - //-d not set, what about parent java/exec's 'dir'?
54.420 - String dir = taskStruct.getAttribute("dir");
54.421 - if (dir != null) {
54.422 - todirPath = event.evaluate(dir) + "/test-output";
54.423 - } else {
54.424 - todirPath = "test-output";
54.425 - }
54.426 - }
54.427 - File resultsDir = new File(event.evaluate(todirPath));
54.428 - return findAbsolutePath(resultsDir, taskStruct, event);
54.429 - }
54.430 -
54.431 - private static File findAbsolutePath(File path, TaskStructure taskStruct, AntEvent event) {
54.432 - if (isAbsolute(path)) {
54.433 - return path;
54.434 - }
54.435 - return combine(getBaseDir(event), path);
54.436 - }
54.437 -
54.438 - private static File combine(File parentPath, File path) {
54.439 - return (path != null) ? new File(parentPath, path.getPath())
54.440 - : parentPath;
54.441 - }
54.442 -
54.443 - private static boolean isAbsolute(File path) {
54.444 - return (path != null) && path.isAbsolute();
54.445 - }
54.446 -
54.447 - private static File getFile(String attrValue, AntEvent event) {
54.448 - return new File(event.evaluate(attrValue));
54.449 - }
54.450 -
54.451 - private static File getBaseDir(AntEvent event) {
54.452 - return new File(event.getProperty("basedir")); //NOI18N
54.453 - }
54.454 -
54.455 - /**
54.456 - */
54.457 - private ClassPath findPlatformSources(final String javaExecutable) {
54.458 -
54.459 - /*
54.460 - * Copied from JavaAntLogger
54.461 - */
54.462 -
54.463 - final JavaPlatform[] platforms = JavaPlatformManager.getDefault().getInstalledPlatforms();
54.464 - for (int i = 0; i < platforms.length; i++) {
54.465 - FileObject fo = platforms[i].findTool("java"); //NOI18N
54.466 - if (fo != null) {
54.467 - File f = FileUtil.toFile(fo);
54.468 - //XXX - look for a "subpath" in case of forked JRE; is there a better way?
54.469 - String path = f.getAbsolutePath();
54.470 - if (path.startsWith(javaExecutable)
54.471 - || javaExecutable.startsWith(path.substring(0, path.length() - 8))) {
54.472 - return platforms[i].getSourceFolders();
54.473 - }
54.474 - }
54.475 - }
54.476 - return null;
54.477 - }
54.478 -
54.479 - /**
54.480 - * Notifies that a test (Ant) task was just started.
54.481 - */
54.482 - void testTaskStarted(boolean expectXmlOutput, AntEvent event) {
54.483 - this.offline = expectXmlOutput;
54.484 - if (!offline) {
54.485 - manager.testStarted(testSession);
54.486 - }
54.487 - resultsDir = determineResultsDir(event);
54.488 - }
54.489 -
54.490 - /**
54.491 - */
54.492 - void testTaskFinished() {
54.493 - if (offline) {
54.494 - manager.testStarted(testSession);
54.495 - }
54.496 - if (offline || noresults) {
54.497 - //get results from report xml file
54.498 - if (resultsDir != null) {
54.499 - File reportFile = findReportFile();
54.500 - if ((reportFile != null) && isValidReportFile(reportFile)) {
54.501 - XmlResult reportSuite = parseReportFile(reportFile, testSession);
54.502 - for (TestNGTestSuite ts : reportSuite.getTestSuites()) {
54.503 - manager.displaySuiteRunning(testSession, ts);
54.504 - testSession.setCurrentSuite(ts.getName());
54.505 - testSession.addSuite(ts);
54.506 - Report report = testSession.getReport(ts.getElapsedTime());
54.507 - manager.displayReport(testSession, report, true);
54.508 - }
54.509 - }
54.510 - }
54.511 - }
54.512 - }
54.513 -
54.514 - /**
54.515 - */
54.516 - void buildFinished(final AntEvent event) {
54.517 - manager.sessionFinished(testSession);
54.518 - }
54.519 -
54.520 - //------------------ UPDATE OF DISPLAY -------------------
54.521 - /**
54.522 - */
54.523 - private void displayOutput(final String text, final boolean error) {
54.524 - manager.displayOutput(testSession, text, error);
54.525 -// if (state == State.TESTCASE_STARTED) {
54.526 -// List<String> addedLines = new ArrayList<String>();
54.527 -// addedLines.add(text);
54.528 -// Testcase tc = testSession.getCurrentTestCase();
54.529 -// if (tc != null) {
54.530 -// tc.addOutputLines(addedLines);
54.531 -// }
54.532 -// }
54.533 - }
54.534 -
54.535 - //--------------------------------------------------------
54.536 - private File findReportFile() {
54.537 - File file = new File(resultsDir, "testng-results.xml"); //NOI18N
54.538 - return (file.isFile() ? file : null);
54.539 - }
54.540 -
54.541 - /**
54.542 - */
54.543 - private boolean isValidReportFile(File reportFile) {
54.544 - if (!reportFile.canRead()) {
54.545 - return false;
54.546 - }
54.547 -
54.548 - if (reportFile.canRead()) {
54.549 - return true;
54.550 - }
54.551 -
54.552 - long lastModified = reportFile.lastModified();
54.553 - long timeDelta = lastModified - timeOfSessionStart;
54.554 -
54.555 - final Logger logger = Logger.getLogger("org.netbeans.modules.contrib.testng.outputreader.timestamps");//NOI18N
54.556 - final Level logLevel = Level.FINER;
54.557 - if (logger.isLoggable(logLevel)) {
54.558 - logger.log(logLevel, "Report file: " + reportFile.getPath());//NOI18N
54.559 -
54.560 - final GregorianCalendar timeStamp = new GregorianCalendar();
54.561 -
54.562 - timeStamp.setTimeInMillis(timeOfSessionStart);
54.563 - logger.log(logLevel, "Session start: " + String.format("%1$tT.%2$03d", timeStamp, timeStamp.get(Calendar.MILLISECOND)));//NOI18N
54.564 -
54.565 - timeStamp.setTimeInMillis(lastModified);
54.566 - logger.log(logLevel, "Report timestamp: " + String.format("%1$tT.%2$03d", timeStamp, timeStamp.get(Calendar.MILLISECOND)));//NOI18N
54.567 - }
54.568 -
54.569 - if (timeDelta >= 0) {
54.570 - return true;
54.571 - }
54.572 -
54.573 - /*
54.574 - * Normally we would return 'false' here, but:
54.575 - *
54.576 - * We must take into account that modification timestamps of files
54.577 - * usually do not hold milliseconds, just seconds. The worst case we
54.578 - * must accept is that the session started on YYYY.MM.DD hh:mm:ss.999
54.579 - * and the file was saved exactly in the same millisecond but its time
54.580 - * stamp is just YYYY.MM.DD hh:mm:ss, i.e 999 milliseconds earlier.
54.581 - */
54.582 - return -timeDelta <= timeOfSessionStart % 1000;
54.583 -
54.584 -// if (timeDelta < -999) {
54.585 -// return false;
54.586 -// }
54.587 -//
54.588 -// final GregorianCalendar sessStartCal = new GregorianCalendar();
54.589 -// sessStartCal.setTimeInMillis(timeOfSessionStart);
54.590 -// int sessStartMillis = sessStartCal.get(Calendar.MILLISECOND);
54.591 -// if (timeDelta < -sessStartMillis) {
54.592 -// return false;
54.593 -// }
54.594 -//
54.595 -// final GregorianCalendar fileModCal = new GregorianCalendar();
54.596 -// fileModCal.setTimeInMillis(lastModified);
54.597 -// if (fileModCal.get(Calendar.MILLISECOND) != 0) {
54.598 -// /* So the file's timestamp does hold milliseconds! */
54.599 -// return false;
54.600 -// }
54.601 -//
54.602 -// /*
54.603 -// * Now we know that milliseconds are not part of file's timestamp.
54.604 -// * Let's substract the milliseconds part and check whether the delta is
54.605 -// * non-negative, now that we only check seconds:
54.606 -// */
54.607 -// return lastModified >= (timeOfSessionStart - sessStartMillis);
54.608 - }
54.609 -
54.610 - private static XmlResult parseReportFile(File reportFile, TestSession session) {
54.611 - XmlResult reports = null;
54.612 - try {
54.613 - reports = XmlOutputParser.parseXmlOutput(
54.614 - new InputStreamReader(
54.615 - new FileInputStream(reportFile),
54.616 - "UTF-8"), session); //NOI18N
54.617 - } catch (UnsupportedCharsetException ex) {
54.618 - assert false;
54.619 - } catch (SAXException ex) {
54.620 - /*
54.621 - * This exception has already been handled.
54.622 - */
54.623 - } catch (IOException ex) {
54.624 - /*
54.625 - * Failed to read the report file - but we still have the report
54.626 - * built from the Ant output.
54.627 - */
54.628 - Logger.getLogger(TestNGOutputReader.class.getName()).log(Level.INFO, "I/O exception while reading TestNG XML report file from TestNG: ", ex);//NOI18N
54.629 - }
54.630 - return reports;
54.631 - }
54.632 -
54.633 - private void suiteStarted(String name, int expectedTCases, String config) {
54.634 - TestSuite suite = new TestNGTestSuite(name, testSession, expectedTCases, config);
54.635 - testSession.addSuite(suite);
54.636 - testSession.setCurrentSuite(name);
54.637 - manager.displaySuiteRunning(testSession, suite);
54.638 - platformSources = null;
54.639 - reports.put(name, new Report(name, project));
54.640 - }
54.641 -
54.642 - private void suiteFinished(SuiteStats stats) {
54.643 - testSession.setCurrentSuite(stats.name);
54.644 - TestNGTestSuite s = (TestNGTestSuite) testSession.getCurrentSuite();
54.645 - s.setElapsedTime(elapsedTime);
54.646 - s.finish(stats.testRun, stats.testFail, stats.testSkip, stats.confFail, stats.confSkip);
54.647 - Report r = reports.get(stats.name);
54.648 - r.setElapsedTimeMillis(elapsedTime);
54.649 - manager.displayReport(testSession, r, true);
54.650 - elapsedTime = 0;
54.651 - }
54.652 -
54.653 - private void testStarted(String suiteName, String testCase, String parameters, String values) {
54.654 - testSession.setCurrentSuite(suiteName);
54.655 - TestNGTestcase tc = ((TestNGTestSuite) ((TestNGTestSession) testSession).getCurrentSuite()).getTestCase(testCase, values);
54.656 - if (tc == null) {
54.657 - tc = new TestNGTestcase(testCase, parameters, values, testSession);
54.658 - testSession.addTestCase(tc);
54.659 - manager.testStarted(testSession);
54.660 - Report r = reports.get(suiteName);
54.661 - r.update(testSession.getReport(0));
54.662 - manager.displayReport(testSession, r, false);
54.663 - } else {
54.664 - tc.addValues(values);
54.665 - //TODO: increment test case time
54.666 - }
54.667 - }
54.668 -
54.669 - private void testFinished(String st, String suiteName, String testCase, String parameters, String values, String duration) {
54.670 - testSession.setCurrentSuite(suiteName);
54.671 - TestNGTestcase tc = ((TestNGTestSuite) ((TestNGTestSession) testSession).getCurrentSuite()).getTestCase(testCase, values);
54.672 - if (tc == null) {
54.673 - //TestNG does not log invoke message for junit tests...
54.674 - tc = new TestNGTestcase(testCase, parameters, values, testSession);
54.675 - testSession.addTestCase(tc);
54.676 - manager.testStarted(testSession);
54.677 - }
54.678 - assert tc != null;
54.679 - if ("PASSED".equals(st)) {
54.680 - tc.setStatus(Status.PASSED);
54.681 - } else if ("FAILED".equals(st)) {
54.682 - tc.setStatus(Status.FAILED);
54.683 - } else if ("SKIPPED".equals(st)) {
54.684 - tc.setStatus(Status.SKIPPED);
54.685 - }
54.686 - long dur = 0;
54.687 - if (duration != null) {
54.688 - dur = Long.valueOf(duration);
54.689 - }
54.690 - tc.setTimeMillis(dur);
54.691 - elapsedTime += dur;
54.692 - Report r = reports.get(suiteName);
54.693 - r.update(testSession.getReport(dur));
54.694 - manager.displayReport(testSession, r, false);
54.695 - }
54.696 -
54.697 - private String getMessage(String msg) {
54.698 - int prefixLength = RegexpUtils.TEST_LISTENER_PREFIX.length();
54.699 - return msg.substring(prefixLength);
54.700 - }
54.701 -
54.702 - private void addDescription(String in) {
54.703 - Testcase tc = testSession.getCurrentTestCase();
54.704 - //FIXME!!! tc should never be null
54.705 - //looks like some bug :-(
54.706 - if (tc != null) {
54.707 - ((TestNGTestcase) tc).setDescription(in);
54.708 - }
54.709 - }
54.710 -
54.711 - private void addStackTrace(List<String> txt) {
54.712 - Trouble t = new Trouble(false);
54.713 - Matcher matcher = RegexpUtils.getInstance().getComparisonPattern().matcher(txt.get(0));
54.714 - if (matcher.matches()) {
54.715 - t.setComparisonFailure(
54.716 - new Trouble.ComparisonFailure(
54.717 - matcher.group(1) + matcher.group(2) + matcher.group(3),
54.718 - matcher.group(4) + matcher.group(5) + matcher.group(6)));
54.719 - } else {
54.720 - matcher = RegexpUtils.getInstance().getComparisonHiddenPattern().matcher(txt.get(0));
54.721 - if (matcher.matches()) {
54.722 - t.setComparisonFailure(
54.723 - new Trouble.ComparisonFailure(
54.724 - matcher.group(1),
54.725 - matcher.group(2)));
54.726 - }
54.727 - }
54.728 - t.setStackTrace(txt.toArray(new String[txt.size()]));
54.729 - testSession.getCurrentTestCase().setTrouble(t);
54.730 - }
54.731 -}
55.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGSuiteNode.java Sat Mar 10 02:54:06 2012 +0100
55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
55.3 @@ -1,98 +0,0 @@
55.4 -/*
55.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
55.6 - *
55.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
55.8 - *
55.9 - * The contents of this file are subject to the terms of either the GNU
55.10 - * General Public License Version 2 only ("GPL") or the Common
55.11 - * Development and Distribution License("CDDL") (collectively, the
55.12 - * "License"). You may not use this file except in compliance with the
55.13 - * License. You can obtain a copy of the License at
55.14 - * http://www.netbeans.org/cddl-gplv2.html
55.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
55.16 - * specific language governing permissions and limitations under the
55.17 - * License. When distributing the software, include this License Header
55.18 - * Notice in each file and include the License file at
55.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
55.20 - * particular file as subject to the "Classpath" exception as provided
55.21 - * by Sun in the GPL Version 2 section of the License file that
55.22 - * accompanied this code. If applicable, add the following below the
55.23 - * License Header, with the fields enclosed by brackets [] replaced by
55.24 - * your own identifying information:
55.25 - * "Portions Copyrighted [year] [name of copyright owner]"
55.26 - *
55.27 - * Contributor(s):
55.28 - *
55.29 - * The Original Software is NetBeans. The Initial Developer of the Original
55.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
55.31 - * Microsystems, Inc. All Rights Reserved.
55.32 - *
55.33 - * If you wish your version of this file to be governed by only the CDDL
55.34 - * or only the GPL Version 2, indicate your decision by adding
55.35 - * "[Contributor] elects to include this software in this distribution
55.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
55.37 - * single choice of license, a recipient has the option to distribute
55.38 - * your version of this file under either the CDDL, the GPL Version 2 or
55.39 - * to extend the choice of license to its licensees as provided above.
55.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
55.41 - * Version 2 license, then the option applies only if the new code is
55.42 - * made subject to such option by the copyright holder.
55.43 - */
55.44 -
55.45 -package org.netbeans.modules.contrib.testng.output;
55.46 -
55.47 -import java.util.ArrayList;
55.48 -import java.util.List;
55.49 -import javax.swing.Action;
55.50 -import org.netbeans.modules.contrib.testng.actions.DebugTestClassAction;
55.51 -import org.netbeans.modules.gsf.testrunner.api.TestsuiteNode;
55.52 -import org.openide.filesystems.FileObject;
55.53 -import org.openide.util.actions.SystemAction;
55.54 -import org.openide.util.lookup.AbstractLookup;
55.55 -import org.openide.util.lookup.InstanceContent;
55.56 -
55.57 -/**
55.58 - *
55.59 - * @author Marian Petras
55.60 - */
55.61 -public final class TestNGSuiteNode extends TestsuiteNode {
55.62 -
55.63 - private InstanceContent ic;
55.64 -
55.65 - /**
55.66 - *
55.67 - * @param suiteName name of the test suite, or {@code ANONYMOUS_SUITE}
55.68 - * in the case of anonymous suite
55.69 - * @see ResultDisplayHandler#ANONYMOUS_SUITE
55.70 - */
55.71 - public TestNGSuiteNode(final String suiteName, final boolean filtered) {
55.72 - this(suiteName, filtered, new InstanceContent());
55.73 - }
55.74 -
55.75 - private TestNGSuiteNode(String suiteName, boolean filtered, InstanceContent ic) {
55.76 - super(null, suiteName, filtered, new AbstractLookup(ic));
55.77 - this.ic = ic;
55.78 - }
55.79 -
55.80 - @Override
55.81 - public Action[] getActions(boolean context) {
55.82 - FileObject fo = ((TestNGTestSuite) getSuite()).getSuiteFO();
55.83 - if (fo != null) {
55.84 - ic.add(fo);
55.85 - }
55.86 - List<Action> actions = new ArrayList<Action>();
55.87 - Action preferred = getPreferredAction();
55.88 - if (preferred != null) {
55.89 - actions.add(preferred);
55.90 - }
55.91 - actions.add(SystemAction.get(DebugTestClassAction.class));
55.92 - return actions.toArray(new Action[actions.size()]);
55.93 - }
55.94 -
55.95 - @Override
55.96 - public Action getPreferredAction() {
55.97 - return new JumpAction(this, null);
55.98 - }
55.99 -
55.100 -
55.101 -}
56.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGTest.java Sat Mar 10 02:54:06 2012 +0100
56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
56.3 @@ -1,72 +0,0 @@
56.4 -/*
56.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
56.6 - *
56.7 - * Copyright © 2010-2011 Oracle and/or its affiliates. All rights reserved.
56.8 - *
56.9 - * The contents of this file are subject to the terms of either the GNU
56.10 - * General Public License Version 2 only ("GPL") or the Common
56.11 - * Development and Distribution License("CDDL") (collectively, the
56.12 - * "License"). You may not use this file except in compliance with the
56.13 - * License. You can obtain a copy of the License at
56.14 - * http://www.netbeans.org/cddl-gplv2.html
56.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
56.16 - * specific language governing permissions and limitations under the
56.17 - * License. When distributing the software, include this License Header
56.18 - * Notice in each file and include the License file at
56.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
56.20 - * particular file as subject to the "Classpath" exception as provided
56.21 - * by Sun in the GPL Version 2 section of the License file that
56.22 - * accompanied this code. If applicable, add the following below the
56.23 - * License Header, with the fields enclosed by brackets [] replaced by
56.24 - * your own identifying information:
56.25 - * "Portions Copyrighted [year] [name of copyright owner]"
56.26 - *
56.27 - * If you wish your version of this file to be governed by only the CDDL
56.28 - * or only the GPL Version 2, indicate your decision by adding
56.29 - * "[Contributor] elects to include this software in this distribution
56.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
56.31 - * single choice of license, a recipient has the option to distribute
56.32 - * your version of this file under either the CDDL, the GPL Version 2 or
56.33 - * to extend the choice of license to its licensees as provided above.
56.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
56.35 - * Version 2 license, then the option applies only if the new code is
56.36 - * made subject to such option by the copyright holder.
56.37 - *
56.38 - * Contributor(s):
56.39 - *
56.40 - * Portions Copyrighted 2010 Sun Microsystems, Inc.
56.41 - */
56.42 -
56.43 -package org.netbeans.modules.contrib.testng.output;
56.44 -
56.45 -import java.util.ArrayList;
56.46 -import java.util.List;
56.47 -
56.48 -/**
56.49 - *
56.50 - * @author lukas
56.51 - */
56.52 -//test
56.53 -public final class TestNGTest {
56.54 -
56.55 - private String name;
56.56 - //test-method
56.57 - private List<TestNGTestSuite> testCases;
56.58 -
56.59 - public TestNGTest(String name) {
56.60 - this.name = name;
56.61 - testCases = new ArrayList<TestNGTestSuite>();
56.62 - }
56.63 -
56.64 - public void addTestsuite(TestNGTestSuite tc) {
56.65 - testCases.add(tc);
56.66 - }
56.67 -
56.68 - public List<TestNGTestSuite> getTestcases() {
56.69 - return testCases;
56.70 - }
56.71 -
56.72 - public String getName() {
56.73 - return name;
56.74 - }
56.75 -}
57.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGTestNodeFactory.java Sat Mar 10 02:54:06 2012 +0100
57.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
57.3 @@ -1,69 +0,0 @@
57.4 -/*
57.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
57.6 - *
57.7 - * Copyright © 2009-2011 Oracle and/or its affiliates. All rights reserved.
57.8 - *
57.9 - * The contents of this file are subject to the terms of either the GNU
57.10 - * General Public License Version 2 only ("GPL") or the Common
57.11 - * Development and Distribution License("CDDL") (collectively, the
57.12 - * "License"). You may not use this file except in compliance with the
57.13 - * License. You can obtain a copy of the License at
57.14 - * http://www.netbeans.org/cddl-gplv2.html
57.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
57.16 - * specific language governing permissions and limitations under the
57.17 - * License. When distributing the software, include this License Header
57.18 - * Notice in each file and include the License file at
57.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
57.20 - * particular file as subject to the "Classpath" exception as provided
57.21 - * by Sun in the GPL Version 2 section of the License file that
57.22 - * accompanied this code. If applicable, add the following below the
57.23 - * License Header, with the fields enclosed by brackets [] replaced by
57.24 - * your own identifying information:
57.25 - * "Portions Copyrighted [year] [name of copyright owner]"
57.26 - *
57.27 - * If you wish your version of this file to be governed by only the CDDL
57.28 - * or only the GPL Version 2, indicate your decision by adding
57.29 - * "[Contributor] elects to include this software in this distribution
57.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
57.31 - * single choice of license, a recipient has the option to distribute
57.32 - * your version of this file under either the CDDL, the GPL Version 2 or
57.33 - * to extend the choice of license to its licensees as provided above.
57.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
57.35 - * Version 2 license, then the option applies only if the new code is
57.36 - * made subject to such option by the copyright holder.
57.37 - *
57.38 - * Contributor(s):
57.39 - *
57.40 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
57.41 - */
57.42 -
57.43 -package org.netbeans.modules.contrib.testng.output;
57.44 -
57.45 -import org.netbeans.api.project.Project;
57.46 -import org.netbeans.modules.gsf.testrunner.api.TestRunnerNodeFactory;
57.47 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
57.48 -import org.netbeans.modules.gsf.testrunner.api.TestsuiteNode;
57.49 -import org.openide.nodes.Node;
57.50 -
57.51 -/**
57.52 - *
57.53 - * @author lukas
57.54 - */
57.55 -public class TestNGTestNodeFactory extends TestRunnerNodeFactory {
57.56 -
57.57 - @Override
57.58 - public Node createTestMethodNode(Testcase testcase, Project project) {
57.59 - return new TestNGMethodNode(testcase, project);
57.60 - }
57.61 -
57.62 - @Override
57.63 - public Node createCallstackFrameNode(String frameInfo, String dispayName) {
57.64 - return new CallstackFrameNode(frameInfo, dispayName);
57.65 - }
57.66 -
57.67 - @Override
57.68 - public TestsuiteNode createTestSuiteNode(String suiteName, boolean filtered) {
57.69 - return new TestNGSuiteNode(suiteName, filtered);
57.70 - }
57.71 -
57.72 -}
58.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGTestSession.java Sat Mar 10 02:54:06 2012 +0100
58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
58.3 @@ -1,195 +0,0 @@
58.4 -/*
58.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
58.6 - *
58.7 - * Copyright © 2009-2011 Oracle and/or its affiliates. All rights reserved.
58.8 - *
58.9 - * The contents of this file are subject to the terms of either the GNU
58.10 - * General Public License Version 2 only ("GPL") or the Common
58.11 - * Development and Distribution License("CDDL") (collectively, the
58.12 - * "License"). You may not use this file except in compliance with the
58.13 - * License. You can obtain a copy of the License at
58.14 - * http://www.netbeans.org/cddl-gplv2.html
58.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
58.16 - * specific language governing permissions and limitations under the
58.17 - * License. When distributing the software, include this License Header
58.18 - * Notice in each file and include the License file at
58.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
58.20 - * particular file as subject to the "Classpath" exception as provided
58.21 - * by Sun in the GPL Version 2 section of the License file that
58.22 - * accompanied this code. If applicable, add the following below the
58.23 - * License Header, with the fields enclosed by brackets [] replaced by
58.24 - * your own identifying information:
58.25 - * "Portions Copyrighted [year] [name of copyright owner]"
58.26 - *
58.27 - * If you wish your version of this file to be governed by only the CDDL
58.28 - * or only the GPL Version 2, indicate your decision by adding
58.29 - * "[Contributor] elects to include this software in this distribution
58.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
58.31 - * single choice of license, a recipient has the option to distribute
58.32 - * your version of this file under either the CDDL, the GPL Version 2 or
58.33 - * to extend the choice of license to its licensees as provided above.
58.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
58.35 - * Version 2 license, then the option applies only if the new code is
58.36 - * made subject to such option by the copyright holder.
58.37 - *
58.38 - * Contributor(s):
58.39 - *
58.40 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
58.41 - */
58.42 -package org.netbeans.modules.contrib.testng.output;
58.43 -
58.44 -import java.lang.reflect.Method;
58.45 -import java.util.ArrayList;
58.46 -import java.util.Arrays;
58.47 -import java.util.HashSet;
58.48 -import java.util.List;
58.49 -import java.util.Set;
58.50 -import org.netbeans.api.extexecution.print.LineConvertors.FileLocator;
58.51 -import org.netbeans.api.java.classpath.ClassPath;
58.52 -import org.netbeans.api.java.platform.JavaPlatform;
58.53 -import org.netbeans.api.java.platform.JavaPlatformManager;
58.54 -import org.netbeans.api.java.platform.Specification;
58.55 -import org.netbeans.api.java.project.JavaProjectConstants;
58.56 -import org.netbeans.api.java.queries.SourceForBinaryQuery;
58.57 -import org.netbeans.api.project.Project;
58.58 -import org.netbeans.api.project.ProjectUtils;
58.59 -import org.netbeans.api.project.SourceGroup;
58.60 -import org.netbeans.api.project.Sources;
58.61 -import org.netbeans.modules.gsf.testrunner.api.TestRunnerNodeFactory;
58.62 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
58.63 -import org.netbeans.modules.gsf.testrunner.api.TestSuite;
58.64 -import org.netbeans.spi.java.classpath.ClassPathProvider;
58.65 -import org.netbeans.spi.java.classpath.support.ClassPathSupport;
58.66 -import org.netbeans.spi.project.support.ant.PropertyEvaluator;
58.67 -import org.openide.filesystems.FileObject;
58.68 -
58.69 -/**
58.70 - *
58.71 - * @author answer
58.72 - */
58.73 -public class TestNGTestSession extends TestSession {
58.74 -
58.75 - private FileLocator projectFileLocator = null;
58.76 - private final List<TestNGTestSuite> suites = new ArrayList<TestNGTestSuite>();
58.77 - private TestSuite currentSuite;
58.78 -
58.79 - public TestNGTestSession(String name, Project project, SessionType sessionType, TestRunnerNodeFactory nodeFactory) {
58.80 - super(name, project, sessionType, nodeFactory);
58.81 - if (project != null) {
58.82 - projectFileLocator = new ProjectFileLocator(project);
58.83 - }
58.84 - }
58.85 -
58.86 - @Override
58.87 - public FileLocator getFileLocator() {
58.88 - FileLocator locator = super.getFileLocator();
58.89 - if (locator == null) {
58.90 - return projectFileLocator;
58.91 - }
58.92 - return locator;
58.93 - }
58.94 -
58.95 - @Override
58.96 - public void addSuite(TestSuite suite) {
58.97 - super.addSuite(suite);
58.98 - suites.add((TestNGTestSuite) suite);
58.99 - }
58.100 -
58.101 - @Override
58.102 - public TestSuite getCurrentSuite() {
58.103 - if (currentSuite == null) {
58.104 - return super.getCurrentSuite();
58.105 - }
58.106 - return currentSuite;
58.107 - }
58.108 -
58.109 - public void setCurrentSuite(String name) {
58.110 - for (TestNGTestSuite ts : suites) {
58.111 - if (ts.getName().equals(name)) {
58.112 - currentSuite = ts;
58.113 - break;
58.114 - }
58.115 - }
58.116 - }
58.117 -
58.118 -
58.119 - class ProjectFileLocator implements FileLocator {
58.120 -
58.121 - private ClassPath classpath;
58.122 -
58.123 - ProjectFileLocator(Project project) {
58.124 - this.classpath = getProjectClasspath(project);
58.125 - }
58.126 -
58.127 - public FileObject find(String filename) {
58.128 - return classpath.findResource(filename);
58.129 - }
58.130 -
58.131 - private ClassPath getProjectClasspath(Project p) {
58.132 - ClassPath result = null;
58.133 - Set<FileObject> roots = new HashSet<FileObject>();
58.134 - Sources sources = ProjectUtils.getSources(p);
58.135 - if (sources != null) {
58.136 - SourceGroup[] groups = sources.getSourceGroups(JavaProjectConstants.SOURCES_TYPE_JAVA);
58.137 - for (SourceGroup group : groups) {
58.138 - roots.add(group.getRootFolder());
58.139 - }
58.140 - }
58.141 -
58.142 - ClassPathProvider cpp = p.getLookup().lookup(ClassPathProvider.class);
58.143 - Set<ClassPath> setCP = new HashSet<ClassPath>();
58.144 - if (cpp != null) {
58.145 - for (FileObject file : roots) {
58.146 - ClassPath path = cpp.findClassPath(file, ClassPath.COMPILE);
58.147 - setCP.add(path);
58.148 - }
58.149 - }
58.150 -
58.151 - for (ClassPath cp : setCP) {
58.152 - FileObject[] rootsCP = cp.getRoots();
58.153 - for (FileObject fo : rootsCP) {
58.154 - try {
58.155 - FileObject[] aaa = SourceForBinaryQuery.findSourceRoots(fo.getURL()).getRoots();
58.156 - roots.addAll(Arrays.asList(aaa));
58.157 - } catch (Exception e) {
58.158 - }
58.159 - }
58.160 - }
58.161 -
58.162 - String platformId = null;
58.163 - try {
58.164 - Method evalMethod = p.getClass().getDeclaredMethod("evaluator"); //NOI18N
58.165 - PropertyEvaluator evaluator = (PropertyEvaluator) evalMethod.invoke(p);
58.166 - if (evaluator != null) {
58.167 - platformId = evaluator.getProperty("platform.active");
58.168 - }
58.169 - } catch (Exception ex) {
58.170 - }
58.171 -
58.172 - JavaPlatform platform = getActivePlatform(platformId); //NOI18N
58.173 - if (platform != null) {
58.174 - roots.addAll(Arrays.asList(platform.getSourceFolders().getRoots()));
58.175 - }
58.176 -
58.177 - result = ClassPathSupport.createClassPath(roots.toArray(new FileObject[roots.size()]));
58.178 -
58.179 - return result;
58.180 - }
58.181 -
58.182 - private JavaPlatform getActivePlatform(final String activePlatformId) {
58.183 - final JavaPlatformManager pm = JavaPlatformManager.getDefault();
58.184 - if (activePlatformId == null) {
58.185 - return pm.getDefaultPlatform();
58.186 - } else {
58.187 - JavaPlatform[] installedPlatforms = pm.getPlatforms(null, new Specification("j2se", null)); //NOI18N
58.188 - for (JavaPlatform p : installedPlatforms) {
58.189 - String antName = p.getProperties().get("platform.ant.name"); // NOI18N
58.190 - if (antName != null && antName.equals(activePlatformId)) {
58.191 - return p;
58.192 - }
58.193 - }
58.194 - return null;
58.195 - }
58.196 - }
58.197 - }
58.198 -}
59.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGTestSuite.java Sat Mar 10 02:54:06 2012 +0100
59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
59.3 @@ -1,106 +0,0 @@
59.4 -/*
59.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
59.6 - *
59.7 - * Copyright © 2009-2011 Oracle and/or its affiliates. All rights reserved.
59.8 - *
59.9 - * The contents of this file are subject to the terms of either the GNU
59.10 - * General Public License Version 2 only ("GPL") or the Common
59.11 - * Development and Distribution License("CDDL") (collectively, the
59.12 - * "License"). You may not use this file except in compliance with the
59.13 - * License. You can obtain a copy of the License at
59.14 - * http://www.netbeans.org/cddl-gplv2.html
59.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
59.16 - * specific language governing permissions and limitations under the
59.17 - * License. When distributing the software, include this License Header
59.18 - * Notice in each file and include the License file at
59.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
59.20 - * particular file as subject to the "Classpath" exception as provided
59.21 - * by Sun in the GPL Version 2 section of the License file that
59.22 - * accompanied this code. If applicable, add the following below the
59.23 - * License Header, with the fields enclosed by brackets [] replaced by
59.24 - * your own identifying information:
59.25 - * "Portions Copyrighted [year] [name of copyright owner]"
59.26 - *
59.27 - * If you wish your version of this file to be governed by only the CDDL
59.28 - * or only the GPL Version 2, indicate your decision by adding
59.29 - * "[Contributor] elects to include this software in this distribution
59.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
59.31 - * single choice of license, a recipient has the option to distribute
59.32 - * your version of this file under either the CDDL, the GPL Version 2 or
59.33 - * to extend the choice of license to its licensees as provided above.
59.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
59.35 - * Version 2 license, then the option applies only if the new code is
59.36 - * made subject to such option by the copyright holder.
59.37 - *
59.38 - * Contributor(s):
59.39 - *
59.40 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
59.41 - */
59.42 -package org.netbeans.modules.contrib.testng.output;
59.43 -
59.44 -import java.io.File;
59.45 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
59.46 -import org.netbeans.modules.gsf.testrunner.api.TestSuite;
59.47 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
59.48 -import org.openide.filesystems.FileObject;
59.49 -import org.openide.filesystems.FileUtil;
59.50 -
59.51 -/**
59.52 - *
59.53 - * @author answer
59.54 - */
59.55 -//suite/test/class
59.56 -public class TestNGTestSuite extends TestSuite {
59.57 -
59.58 - private final TestSession session;
59.59 - private FileObject suiteFO = null;
59.60 - private long elapsedTime = 0;
59.61 - private int expectedTestCases;
59.62 - private FileObject cfgFO;
59.63 -
59.64 - TestNGTestSuite(String tcClassName, TestSession testSession) {
59.65 - super(tcClassName);
59.66 - this.session = testSession;
59.67 - }
59.68 -
59.69 - public TestNGTestSuite(String name, TestSession session, int expectedTCases, String configFile) {
59.70 - super(name);
59.71 - this.session = session;
59.72 - expectedTestCases = expectedTCases;
59.73 - cfgFO = configFile.equals("null") ? null : FileUtil.toFileObject(FileUtil.normalizeFile(new File(configFile)));
59.74 - }
59.75 -
59.76 - FileObject getSuiteFO() {
59.77 - return cfgFO;
59.78 -// if (suiteFO == null) {
59.79 -// FileLocator locator = session.getFileLocator();
59.80 -// if (locator != null) {
59.81 -// suiteFO = locator.find(getName().replace('.', '/') + ".java"); //NOI18N
59.82 -// }
59.83 -// }
59.84 -// return suiteFO;
59.85 - }
59.86 -
59.87 - public long getElapsedTime() {
59.88 - return elapsedTime;
59.89 - }
59.90 -
59.91 - public void setElapsedTime(long elapsedTime) {
59.92 - this.elapsedTime = elapsedTime;
59.93 - }
59.94 -
59.95 - public void finish(int run, int fail, int skip, int confFail, int confSkip) {
59.96 - //not needed?
59.97 - //TODO: update tcases with proper status
59.98 - }
59.99 -
59.100 - public TestNGTestcase getTestCase(String testCase, String parameters) {
59.101 - for (Testcase tc: getTestcases()) {
59.102 - if (tc.getName().equals(parameters != null ? testCase + "(" + parameters + ")" : testCase)) {
59.103 - return (TestNGTestcase) tc;
59.104 - }
59.105 - }
59.106 - return null;
59.107 - }
59.108 -
59.109 -}
60.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/TestNGTestcase.java Sat Mar 10 02:54:06 2012 +0100
60.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
60.3 @@ -1,111 +0,0 @@
60.4 -/*
60.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
60.6 - *
60.7 - * Copyright © 2009-2011 Oracle and/or its affiliates. All rights reserved.
60.8 - *
60.9 - * The contents of this file are subject to the terms of either the GNU
60.10 - * General Public License Version 2 only ("GPL") or the Common
60.11 - * Development and Distribution License("CDDL") (collectively, the
60.12 - * "License"). You may not use this file except in compliance with the
60.13 - * License. You can obtain a copy of the License at
60.14 - * http://www.netbeans.org/cddl-gplv2.html
60.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
60.16 - * specific language governing permissions and limitations under the
60.17 - * License. When distributing the software, include this License Header
60.18 - * Notice in each file and include the License file at
60.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
60.20 - * particular file as subject to the "Classpath" exception as provided
60.21 - * by Sun in the GPL Version 2 section of the License file that
60.22 - * accompanied this code. If applicable, add the following below the
60.23 - * License Header, with the fields enclosed by brackets [] replaced by
60.24 - * your own identifying information:
60.25 - * "Portions Copyrighted [year] [name of copyright owner]"
60.26 - *
60.27 - * If you wish your version of this file to be governed by only the CDDL
60.28 - * or only the GPL Version 2, indicate your decision by adding
60.29 - * "[Contributor] elects to include this software in this distribution
60.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
60.31 - * single choice of license, a recipient has the option to distribute
60.32 - * your version of this file under either the CDDL, the GPL Version 2 or
60.33 - * to extend the choice of license to its licensees as provided above.
60.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
60.35 - * Version 2 license, then the option applies only if the new code is
60.36 - * made subject to such option by the copyright holder.
60.37 - *
60.38 - * Contributor(s):
60.39 - *
60.40 - * Portions Copyrighted 2009 Sun Microsystems, Inc.
60.41 - */
60.42 -package org.netbeans.modules.contrib.testng.output;
60.43 -
60.44 -import java.util.ArrayList;
60.45 -import java.util.List;
60.46 -import org.netbeans.api.extexecution.print.LineConvertors.FileLocator;
60.47 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
60.48 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
60.49 -import org.openide.filesystems.FileObject;
60.50 -
60.51 -/**
60.52 - *
60.53 - * @author answer
60.54 - */
60.55 -//suite/test/class/test-method
60.56 -public final class TestNGTestcase extends Testcase {
60.57 -
60.58 - private FileObject classFO = null;
60.59 - private boolean confMethod = false;
60.60 - private String parameters;
60.61 - private List<String> values = new ArrayList<String>();
60.62 - private final String testName;
60.63 - private String description;
60.64 -
60.65 - //TODO: there should be subnode for each value instead
60.66 - public TestNGTestcase(String name, String params, String values, TestSession session) {
60.67 - super(values != null ? name + "(" + values+ ")" : name, "TestNG Test", session);
60.68 - setClassName(name.substring(0, name.lastIndexOf('.')));
60.69 -// parameters = params;
60.70 - parameters = values;
60.71 - this.values.add(values);
60.72 - testName = name.substring(name.lastIndexOf(".") + 1);
60.73 - }
60.74 -
60.75 - public String getParameters() {
60.76 - return parameters;
60.77 - }
60.78 -
60.79 - public void addValues(String values) {
60.80 - this.values.add(values);
60.81 - }
60.82 -
60.83 - public int getInvocationCount() {
60.84 - return values.size();
60.85 - }
60.86 -
60.87 - public FileObject getClassFileObject() {
60.88 - FileLocator fileLocator = getSession().getFileLocator();
60.89 - if ((classFO == null) && (fileLocator != null) && (getClassName() != null)) {
60.90 - classFO = fileLocator.find(getClassName().replace('.', '/') + ".java"); //NOI18N
60.91 - }
60.92 - return classFO;
60.93 - }
60.94 -
60.95 - public boolean isConfigMethod() {
60.96 - return confMethod;
60.97 - }
60.98 -
60.99 - public void setConfigMethod(boolean isConfigMethod) {
60.100 - confMethod = isConfigMethod;
60.101 - }
60.102 -
60.103 - public void setDescription(String description) {
60.104 - this.description = description;
60.105 - }
60.106 -
60.107 - public String getDescription() {
60.108 - return description;
60.109 - }
60.110 -
60.111 - public String getTestName() {
60.112 - return testName;
60.113 - }
60.114 -}
61.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/XmlOutputParser.java Sat Mar 10 02:54:06 2012 +0100
61.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
61.3 @@ -1,341 +0,0 @@
61.4 -/*
61.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
61.6 - *
61.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
61.8 - *
61.9 - * The contents of this file are subject to the terms of either the GNU
61.10 - * General Public License Version 2 only ("GPL") or the Common
61.11 - * Development and Distribution License("CDDL") (collectively, the
61.12 - * "License"). You may not use this file except in compliance with the
61.13 - * License. You can obtain a copy of the License at
61.14 - * http://www.netbeans.org/cddl-gplv2.html
61.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
61.16 - * specific language governing permissions and limitations under the
61.17 - * License. When distributing the software, include this License Header
61.18 - * Notice in each file and include the License file at
61.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
61.20 - * particular file as subject to the "Classpath" exception as provided
61.21 - * by Sun in the GPL Version 2 section of the License file that
61.22 - * accompanied this code. If applicable, add the following below the
61.23 - * License Header, with the fields enclosed by brackets [] replaced by
61.24 - * your own identifying information:
61.25 - * "Portions Copyrighted [year] [name of copyright owner]"
61.26 - *
61.27 - * If you wish your version of this file to be governed by only the CDDL
61.28 - * or only the GPL Version 2, indicate your decision by adding
61.29 - * "[Contributor] elects to include this software in this distribution
61.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
61.31 - * single choice of license, a recipient has the option to distribute
61.32 - * your version of this file under either the CDDL, the GPL Version 2 or
61.33 - * to extend the choice of license to its licensees as provided above.
61.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
61.35 - * Version 2 license, then the option applies only if the new code is
61.36 - * made subject to such option by the copyright holder.
61.37 - *
61.38 - * Contributor(s):
61.39 - *
61.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
61.41 - */
61.42 -package org.netbeans.modules.contrib.testng.output;
61.43 -
61.44 -import java.io.IOException;
61.45 -import java.io.Reader;
61.46 -import java.util.ArrayList;
61.47 -import java.util.List;
61.48 -import java.util.logging.Logger;
61.49 -import org.netbeans.modules.gsf.testrunner.api.Status;
61.50 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
61.51 -import org.netbeans.modules.gsf.testrunner.api.Trouble;
61.52 -import org.netbeans.modules.gsf.testrunner.api.Trouble.ComparisonFailure;
61.53 -import org.openide.util.NbBundle;
61.54 -import org.openide.xml.XMLUtil;
61.55 -import org.xml.sax.Attributes;
61.56 -import org.xml.sax.InputSource;
61.57 -import org.xml.sax.SAXException;
61.58 -import org.xml.sax.XMLReader;
61.59 -import org.xml.sax.helpers.DefaultHandler;
61.60 -
61.61 -/**
61.62 - *
61.63 - * @author lukas
61.64 - */
61.65 -public class XmlOutputParser extends DefaultHandler {
61.66 -
61.67 - private static final Logger LOG = Logger.getLogger(XmlOutputParser.class.getName());
61.68 - private int allTestsCount;
61.69 - private int failedTestsCount;
61.70 - private int passedTestsCount;
61.71 - private int skippedTestsCount;
61.72 - private int failedConfCount;
61.73 - private int skippedConfCount;
61.74 - private String status;
61.75 - private int suiteTime;
61.76 - /** */
61.77 - private static final int STATE_OUT_OF_SCOPE = 0;
61.78 - private static final int STATE_SUITE = 3;
61.79 - private static final int STATE_GROUPS = 4;
61.80 - private static final int STATE_GROUP = 5;
61.81 - private static final int STATE_METHOD = 6;
61.82 - private static final int STATE_TEST = 7;
61.83 - private static final int STATE_CLASS = 8;
61.84 - private static final int STATE_TEST_METHOD = 9;
61.85 - private static final int STATE_TEST_PARAMS = 10;
61.86 - private static final int STATE_TEST_PARAM = 11;
61.87 - private static final int STATE_TEST_VALUE = 12;
61.88 - private static final int STATE_EXCEPTION = 13;
61.89 - private static final int STATE_MESSAGE = 14;
61.90 - private static final int STATE_FULL_STACKTRACE = 15;
61.91 - private int state = STATE_OUT_OF_SCOPE;
61.92 - /** */
61.93 - private XmlResult reports;
61.94 - private TestNGTest test;
61.95 - private TestNGTestSuite testsuite;
61.96 - private TestNGTestcase testcase;
61.97 - private Trouble trouble;
61.98 - private String tcClassName;
61.99 - private StringBuffer text;
61.100 - private final XMLReader xmlReader;
61.101 - private TestSession testSession;
61.102 -
61.103 - /** Creates a new instance of XMLOutputParser */
61.104 - private XmlOutputParser(TestSession session) throws SAXException {
61.105 - this.testSession = session;
61.106 - xmlReader = XMLUtil.createXMLReader();
61.107 - xmlReader.setContentHandler(this);
61.108 - }
61.109 -
61.110 - static XmlResult parseXmlOutput(Reader reader, TestSession session) throws SAXException, IOException {
61.111 - assert reader != null;
61.112 - XmlOutputParser parser = new XmlOutputParser(session);
61.113 - try {
61.114 - parser.xmlReader.parse(new InputSource(reader));
61.115 - } catch (SAXException ex) {
61.116 - LOG.info("Exception while parsing XML output from TestNG: " + ex.getMessage()); //NOI18N
61.117 - throw ex;
61.118 - } catch (IOException ex) {
61.119 - assert false; /* should never happen */
61.120 - } finally {
61.121 - reader.close(); //throws IOException
61.122 - }
61.123 - return parser.reports;
61.124 - }
61.125 -
61.126 - @Override
61.127 - public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
61.128 - switch (state) {
61.129 - case STATE_SUITE:
61.130 - if ("groups".equals(qName)) { //NOI18N
61.131 - //XXX - not handled yet, shoould perhaps create ie. "group" view
61.132 - state = STATE_GROUPS;
61.133 - } else if ("test".equals(qName)) { //NOI18N
61.134 - String name = attributes.getValue("name"); //NOI18N
61.135 - test = name != null ? new TestNGTest(name) : new TestNGTest(""); //NOI18N
61.136 - state = STATE_TEST;
61.137 - }
61.138 - break;
61.139 - case STATE_GROUPS:
61.140 - if ("group".equals(qName)) { //NOI18N
61.141 - state = STATE_GROUP;
61.142 - }
61.143 - break;
61.144 - case STATE_GROUP:
61.145 - if ("method".equals(qName)) { //NOI18N
61.146 - state = STATE_METHOD;
61.147 - }
61.148 - break;
61.149 - case STATE_METHOD:
61.150 - //empty for now
61.151 - break;
61.152 - case STATE_TEST:
61.153 - if ("class".equals(qName)) { //NOI18N
61.154 - tcClassName = attributes.getValue("name"); //NOI18N
61.155 - testsuite = new TestNGTestSuite(tcClassName, testSession);
61.156 -
61.157 - state = STATE_CLASS;
61.158 - }
61.159 - break;
61.160 - case STATE_CLASS:
61.161 - if ("test-method".equals(qName)) { //NOI18N
61.162 - int duration = Integer.valueOf(attributes.getValue("duration-ms")); //NOI18N
61.163 - testcase = createTestcaseReport(tcClassName, attributes.getValue("name"), duration); //NOI18N
61.164 - suiteTime += duration;
61.165 - testcase.setConfigMethod(Boolean.valueOf(attributes.getValue("is-config"))); //NOI18N
61.166 - status = attributes.getValue("status"); //NOI18N
61.167 - if (!testcase.isConfigMethod()) {
61.168 - allTestsCount++;
61.169 - }
61.170 - if ("FAIL".equals(status)) { //NOI18N
61.171 - testcase.setStatus(Status.FAILED);
61.172 - if (testcase.isConfigMethod()) {
61.173 - failedConfCount++;
61.174 - } else {
61.175 - failedTestsCount++;
61.176 - }
61.177 - trouble = new Trouble(true);
61.178 - } else if ("PASS".equals(status)) { //NOI18N
61.179 - testcase.setStatus(Status.PASSED);
61.180 - passedTestsCount++;
61.181 - } else if ("SKIP".equals(status)) { //NOI18N
61.182 - testcase.setStatus(Status.SKIPPED);
61.183 - trouble = new Trouble(false);
61.184 - if (testcase.isConfigMethod()) {
61.185 - skippedConfCount++;
61.186 - } else {
61.187 - skippedTestsCount++;
61.188 - }
61.189 - }
61.190 - state = STATE_TEST_METHOD;
61.191 - }
61.192 - break;
61.193 - case STATE_TEST_METHOD:
61.194 - if ("params".equals(qName)) { //NOI18N
61.195 - state = STATE_TEST_PARAMS;
61.196 - } else if ("exception".equals(qName)) { //NOI18N
61.197 - assert testcase != null && status != null;
61.198 - if (!"PASS".equals(status)) {
61.199 -
61.200 -//TODO: trouble.exceptionClsName = attributes.getValue("class"); //NOI18N
61.201 - }
61.202 - //if test passes, skip possible exception element
61.203 - state = (trouble != null) ? STATE_EXCEPTION : STATE_TEST_METHOD;
61.204 - }
61.205 - break;
61.206 - case STATE_EXCEPTION:
61.207 - //how to get text msgs here?
61.208 - //exMessage =
61.209 - if ("message".equals(qName)) { //NOI18N
61.210 - state = STATE_MESSAGE;
61.211 - } else if ("full-stacktrace".equals(qName)) { //NOI18N
61.212 - state = STATE_FULL_STACKTRACE;
61.213 - }
61.214 - break;
61.215 - default:
61.216 - if (qName.equals("suite")) { //NOI18N
61.217 - String name = attributes.getValue("name");
61.218 - if (name == null || "".equals(name.trim())) {
61.219 - name = NbBundle.getMessage(XmlOutputParser.class, "UNKNOWN_NAME");
61.220 - }
61.221 - reports = new XmlResult(name);
61.222 - state = STATE_SUITE;
61.223 - }
61.224 - }
61.225 - }
61.226 -
61.227 - @Override
61.228 - public void endElement(String uri, String localName, String qName) throws SAXException {
61.229 - switch (state) {
61.230 - case STATE_GROUPS:
61.231 - assert "groups".equals(qName); //NOI18N
61.232 - state = STATE_SUITE;
61.233 - break;
61.234 - case STATE_GROUP:
61.235 - assert "group".equals(qName); //NOI18N
61.236 - state = STATE_GROUPS;
61.237 - break;
61.238 - case STATE_METHOD:
61.239 - assert "method".equals(qName) : "was " + qName; //NOI18N
61.240 - state = STATE_GROUP;
61.241 - break;
61.242 - case STATE_SUITE:
61.243 - assert "suite".equals(qName) : "was " + qName; //NOI18N
61.244 - state = STATE_OUT_OF_SCOPE;
61.245 - break;
61.246 - case STATE_TEST:
61.247 - assert "test".equals(qName); //NOI18N
61.248 - reports.addTestNGTest(test);
61.249 - test = null;
61.250 - state = STATE_SUITE;
61.251 - break;
61.252 - case STATE_CLASS:
61.253 - assert "class".equals(qName); //NOI18N
61.254 - testsuite.setElapsedTime(suiteTime);
61.255 - test.addTestsuite(testsuite);
61.256 - testsuite = null;
61.257 - suiteTime = 0;
61.258 - skippedTestsCount = 0;
61.259 - failedTestsCount = 0;
61.260 - allTestsCount = 0;
61.261 - passedTestsCount = 0;
61.262 - failedConfCount = skippedConfCount = 0;
61.263 - tcClassName = null;
61.264 - testcase = null;
61.265 - state = STATE_TEST;
61.266 - break;
61.267 - case STATE_TEST_METHOD:
61.268 - //if test passes, wait for our element
61.269 - if (!"test-method".equals(qName)) {
61.270 - break;
61.271 - }
61.272 - assert "test-method".equals(qName) : "was " + qName; //NOI18N
61.273 - assert testcase != null;
61.274 - testcase.setTrouble(trouble);
61.275 - //assing all methods including config ones
61.276 - testsuite.getTestcases().add(testcase);
61.277 - trouble = null;
61.278 - testcase = null;
61.279 - state = STATE_CLASS;
61.280 - break;
61.281 - case STATE_TEST_PARAMS:
61.282 - //XXX - param and value elements are not handled yet
61.283 - if ("param".equals(qName) || "value".equals(qName)) { //NOI18N
61.284 - break;
61.285 - }
61.286 - assert "params".equals(qName) : "was " + qName; //NOI18N
61.287 - state = STATE_TEST_METHOD;
61.288 - break;
61.289 - case STATE_EXCEPTION:
61.290 - assert "exception".equals(qName); //NOI18N
61.291 - state = STATE_TEST_METHOD;
61.292 - break;
61.293 - case STATE_MESSAGE:
61.294 - assert "message".equals(qName); //NOI18N
61.295 - assert testcase != null;
61.296 - assert trouble != null;
61.297 - if (text != null) {
61.298 - //there should be better way to do this
61.299 - String s = text.toString().trim();
61.300 - if (s.startsWith("expected:")) { //NOI18N
61.301 - int index = s.indexOf("<"); //NOI18N
61.302 - if (index > -1) {
61.303 - int ie = s.indexOf(">", index + 1); //NOI18N
61.304 - String expected = s.substring(index + 1, ie);
61.305 - String actual = s.substring(s.indexOf("<", ie + 1) + 1, s.indexOf(">", ie + 1)); //NOI18N
61.306 - trouble.setComparisonFailure(new ComparisonFailure(expected, actual));
61.307 - }
61.308 - }
61.309 - text = null;
61.310 - }
61.311 - state = STATE_EXCEPTION;
61.312 - break;
61.313 - case STATE_FULL_STACKTRACE:
61.314 - assert "full-stacktrace".equals(qName); //NOI18N
61.315 - if (text != null) {
61.316 - String[] lines = text.toString().trim().split("[\\r\\n]+"); //NOI18N
61.317 - trouble.setStackTrace(lines);
61.318 - text = null;
61.319 - }
61.320 - state = STATE_EXCEPTION;
61.321 - break;
61.322 - }
61.323 - }
61.324 -
61.325 - @Override
61.326 - public void characters(char[] ch, int start, int length) throws SAXException {
61.327 - switch (state) {
61.328 - case STATE_MESSAGE:
61.329 - case STATE_FULL_STACKTRACE:
61.330 - if (text == null) {
61.331 - text = new StringBuffer(512);
61.332 - }
61.333 - text.append(ch, start, length);
61.334 - break;
61.335 - }
61.336 - }
61.337 -
61.338 - private TestNGTestcase createTestcaseReport(String className, String name, int time) {
61.339 -// TestNGTestcase tc = new TestNGTestcase(name, "TestNG Test", testSession);
61.340 - TestNGTestcase tc = new TestNGTestcase(className + "." + name, "params", null, testSession);
61.341 - tc.setTimeMillis(time);
61.342 - return tc;
61.343 - }
61.344 -}
62.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/XmlResult.java Sat Mar 10 02:54:06 2012 +0100
62.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
62.3 @@ -1,78 +0,0 @@
62.4 -/*
62.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
62.6 - *
62.7 - * Copyright © 2010-2011 Oracle and/or its affiliates. All rights reserved.
62.8 - *
62.9 - * The contents of this file are subject to the terms of either the GNU
62.10 - * General Public License Version 2 only ("GPL") or the Common
62.11 - * Development and Distribution License("CDDL") (collectively, the
62.12 - * "License"). You may not use this file except in compliance with the
62.13 - * License. You can obtain a copy of the License at
62.14 - * http://www.netbeans.org/cddl-gplv2.html
62.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
62.16 - * specific language governing permissions and limitations under the
62.17 - * License. When distributing the software, include this License Header
62.18 - * Notice in each file and include the License file at
62.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
62.20 - * particular file as subject to the "Classpath" exception as provided
62.21 - * by Sun in the GPL Version 2 section of the License file that
62.22 - * accompanied this code. If applicable, add the following below the
62.23 - * License Header, with the fields enclosed by brackets [] replaced by
62.24 - * your own identifying information:
62.25 - * "Portions Copyrighted [year] [name of copyright owner]"
62.26 - *
62.27 - * If you wish your version of this file to be governed by only the CDDL
62.28 - * or only the GPL Version 2, indicate your decision by adding
62.29 - * "[Contributor] elects to include this software in this distribution
62.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
62.31 - * single choice of license, a recipient has the option to distribute
62.32 - * your version of this file under either the CDDL, the GPL Version 2 or
62.33 - * to extend the choice of license to its licensees as provided above.
62.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
62.35 - * Version 2 license, then the option applies only if the new code is
62.36 - * made subject to such option by the copyright holder.
62.37 - *
62.38 - * Contributor(s):
62.39 - *
62.40 - * Portions Copyrighted 2010 Sun Microsystems, Inc.
62.41 - */
62.42 -
62.43 -package org.netbeans.modules.contrib.testng.output;
62.44 -
62.45 -import java.util.ArrayList;
62.46 -import java.util.List;
62.47 -
62.48 -/**
62.49 - *
62.50 - * @author lukas
62.51 - */
62.52 -public class XmlResult {
62.53 -
62.54 - private String name;
62.55 - private List<TestNGTest> suites;
62.56 -
62.57 - public XmlResult(String name) {
62.58 - this.name = name;
62.59 - suites = new ArrayList<TestNGTest>();
62.60 - }
62.61 -
62.62 - public void addTestNGTest(TestNGTest ts) {
62.63 - suites.add(ts);
62.64 - }
62.65 -
62.66 - public List<TestNGTestSuite> getTestSuites() {
62.67 - List<TestNGTestSuite> s = new ArrayList<TestNGTestSuite>();
62.68 - for (TestNGTest t: suites) {
62.69 - s.addAll(t.getTestcases());
62.70 - }
62.71 - return s;
62.72 - }
62.73 -
62.74 - List<TestNGTest> getTestNGTests() {
62.75 - return suites;
62.76 - }
62.77 -
62.78 - public String getName() {
62.79 - return name;
62.80 - }
62.81 -}
63.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/XmlSuiteHandler.java Sat Mar 10 02:54:06 2012 +0100
63.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
63.3 @@ -1,108 +0,0 @@
63.4 -/*
63.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
63.6 - *
63.7 - * Copyright 2012 Oracle and/or its affiliates. All rights reserved.
63.8 - *
63.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
63.10 - * Other names may be trademarks of their respective owners.
63.11 - *
63.12 - * The contents of this file are subject to the terms of either the GNU
63.13 - * General Public License Version 2 only ("GPL") or the Common
63.14 - * Development and Distribution License("CDDL") (collectively, the
63.15 - * "License"). You may not use this file except in compliance with the
63.16 - * License. You can obtain a copy of the License at
63.17 - * http://www.netbeans.org/cddl-gplv2.html
63.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
63.19 - * specific language governing permissions and limitations under the
63.20 - * License. When distributing the software, include this License Header
63.21 - * Notice in each file and include the License file at
63.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
63.23 - * particular file as subject to the "Classpath" exception as provided
63.24 - * by Oracle in the GPL Version 2 section of the License file that
63.25 - * accompanied this code. If applicable, add the following below the
63.26 - * License Header, with the fields enclosed by brackets [] replaced by
63.27 - * your own identifying information:
63.28 - * "Portions Copyrighted [year] [name of copyright owner]"
63.29 - *
63.30 - * If you wish your version of this file to be governed by only the CDDL
63.31 - * or only the GPL Version 2, indicate your decision by adding
63.32 - * "[Contributor] elects to include this software in this distribution
63.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
63.34 - * single choice of license, a recipient has the option to distribute
63.35 - * your version of this file under either the CDDL, the GPL Version 2 or
63.36 - * to extend the choice of license to its licensees as provided above.
63.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
63.38 - * Version 2 license, then the option applies only if the new code is
63.39 - * made subject to such option by the copyright holder.
63.40 - *
63.41 - * Contributor(s):
63.42 - *
63.43 - * Portions Copyrighted 2012 Sun Microsystems, Inc.
63.44 - */
63.45 -package org.netbeans.modules.contrib.testng.output;
63.46 -
63.47 -import java.io.IOException;
63.48 -import java.util.logging.Level;
63.49 -import java.util.logging.Logger;
63.50 -import org.netbeans.modules.contrib.testng.TestNGEntityResolver;
63.51 -import org.openide.filesystems.FileObject;
63.52 -import org.openide.xml.XMLUtil;
63.53 -import org.xml.sax.*;
63.54 -import org.xml.sax.helpers.DefaultHandler;
63.55 -
63.56 -/**
63.57 - *
63.58 - * @author lukas
63.59 - */
63.60 -public class XmlSuiteHandler extends DefaultHandler {
63.61 -
63.62 - private static final Logger LOGGER = Logger.getLogger(XmlSuiteHandler.class.getName());
63.63 - private Locator loc;
63.64 - private String suite;
63.65 - private int line;
63.66 - private int column;
63.67 -
63.68 - private XmlSuiteHandler(String name) {
63.69 - suite = name;
63.70 - }
63.71 -
63.72 - public static int[] getSuiteLocation(FileObject suiteFile, String suiteName) {
63.73 - int[] location = new int[]{0, 0};
63.74 - try {
63.75 - XMLReader r = XMLUtil.createXMLReader(false, false);
63.76 - r.setEntityResolver(new TestNGEntityResolver());
63.77 - XmlSuiteHandler sl = new XmlSuiteHandler(suiteName);
63.78 - r.setContentHandler(sl);
63.79 - r.parse(new InputSource(suiteFile.getInputStream()));
63.80 - location[0] = sl.getLine();
63.81 - location[1] = sl.getColumn();
63.82 - } catch (IOException ex) {
63.83 - LOGGER.log(Level.WARNING, null, ex);
63.84 - } catch (SAXException ex) {
63.85 - LOGGER.log(Level.WARNING, null, ex);
63.86 - }
63.87 - return location;
63.88 - }
63.89 -
63.90 - @Override
63.91 - public void setDocumentLocator(Locator locator) {
63.92 - loc = locator;
63.93 - }
63.94 -
63.95 - @Override
63.96 - public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
63.97 - super.startElement(uri, localName, qName, attributes);
63.98 - if ("test".equals(qName) && attributes != null && suite.equals(attributes.getValue("name"))) {
63.99 - line = loc.getLineNumber();
63.100 - column = loc.getColumnNumber() - suite.length() - 3;
63.101 - }
63.102 - }
63.103 -
63.104 - public int getLine() {
63.105 - return line;
63.106 - }
63.107 -
63.108 - public int getColumn() {
63.109 - return column;
63.110 - }
63.111 -}
64.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/AntProject.java Sat Mar 10 02:54:06 2012 +0100
64.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
64.3 @@ -1,113 +0,0 @@
64.4 -/*
64.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
64.6 - *
64.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
64.8 - *
64.9 - * The contents of this file are subject to the terms of either the GNU
64.10 - * General Public License Version 2 only ("GPL") or the Common
64.11 - * Development and Distribution License("CDDL") (collectively, the
64.12 - * "License"). You may not use this file except in compliance with the
64.13 - * License. You can obtain a copy of the License at
64.14 - * http://www.netbeans.org/cddl-gplv2.html
64.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
64.16 - * specific language governing permissions and limitations under the
64.17 - * License. When distributing the software, include this License Header
64.18 - * Notice in each file and include the License file at
64.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
64.20 - * particular file as subject to the "Classpath" exception as provided
64.21 - * by Sun in the GPL Version 2 section of the License file that
64.22 - * accompanied this code. If applicable, add the following below the
64.23 - * License Header, with the fields enclosed by brackets [] replaced by
64.24 - * your own identifying information:
64.25 - * "Portions Copyrighted [year] [name of copyright owner]"
64.26 - *
64.27 - * Contributor(s):
64.28 - *
64.29 - * The Original Software is NetBeans. The Initial Developer of the Original
64.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
64.31 - * Microsystems, Inc. All Rights Reserved.
64.32 - *
64.33 - * If you wish your version of this file to be governed by only the CDDL
64.34 - * or only the GPL Version 2, indicate your decision by adding
64.35 - * "[Contributor] elects to include this software in this distribution
64.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
64.37 - * single choice of license, a recipient has the option to distribute
64.38 - * your version of this file under either the CDDL, the GPL Version 2 or
64.39 - * to extend the choice of license to its licensees as provided above.
64.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
64.41 - * Version 2 license, then the option applies only if the new code is
64.42 - * made subject to such option by the copyright holder.
64.43 - */
64.44 -
64.45 -package org.netbeans.modules.contrib.testng.output.antutils;
64.46 -
64.47 -import java.io.File;
64.48 -import org.apache.tools.ant.module.spi.AntEvent;
64.49 -import org.netbeans.modules.contrib.testng.output.antutils.FileUtils;
64.50 -import org.openide.filesystems.FileUtil;
64.51 -
64.52 -/**
64.53 - *
64.54 - * @author Marian Petras
64.55 - */
64.56 -public final class AntProject {
64.57 -
64.58 - /** {@code AntEvent} which serves for evaluation of Ant properties */
64.59 - private final AntEvent event;
64.60 - /** project's base directory. */
64.61 - private final File baseDir;
64.62 -
64.63 - /**
64.64 - * Constructor used only in tests.
64.65 - */
64.66 - AntProject() {
64.67 - event = null;
64.68 - baseDir = null;
64.69 - }
64.70 -
64.71 - /**
64.72 - */
64.73 - public AntProject(AntEvent event) {
64.74 - this.event = event;
64.75 - String baseDirName = getProperty("basedir"); //NOI18N
64.76 - if (baseDirName == null) {
64.77 - baseDirName = "."; //NOI18N
64.78 - }
64.79 - baseDir = FileUtil.normalizeFile(new File(baseDirName));
64.80 - }
64.81 -
64.82 - /**
64.83 - */
64.84 - public String getProperty(String propertyName) {
64.85 - return event.getProperty(propertyName);
64.86 - }
64.87 -
64.88 - /**
64.89 - */
64.90 - public String replaceProperties(String value) {
64.91 - return event.evaluate(value);
64.92 - }
64.93 -
64.94 - /**
64.95 - */
64.96 - public File resolveFile(String fileName) {
64.97 - return FileUtils.resolveFile(baseDir, fileName);
64.98 - }
64.99 -
64.100 - /**
64.101 - * Return the boolean equivalent of a string, which is considered
64.102 - * {@code true} if either {@code "on"}, {@code "true"},
64.103 - * or {@code "yes"} is found, ignoring case.
64.104 - *
64.105 - * @param s string to convert to a boolean value
64.106 - *
64.107 - * @return {@code true} if the given string is {@code "on"}, {@code "true"}
64.108 - * or {@code "yes"}; or {@ code false} otherwise.
64.109 - */
64.110 - public static boolean toBoolean(String s) {
64.111 - return ("on".equalsIgnoreCase(s) //NOI18N
64.112 - || "true".equalsIgnoreCase(s) //NOI18N
64.113 - || "yes".equalsIgnoreCase(s)); //NOI18N
64.114 - }
64.115 -
64.116 -}
65.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/BatchTest.java Sat Mar 10 02:54:06 2012 +0100
65.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
65.3 @@ -1,101 +0,0 @@
65.4 -/*
65.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
65.6 - *
65.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
65.8 - *
65.9 - * The contents of this file are subject to the terms of either the GNU
65.10 - * General Public License Version 2 only ("GPL") or the Common
65.11 - * Development and Distribution License("CDDL") (collectively, the
65.12 - * "License"). You may not use this file except in compliance with the
65.13 - * License. You can obtain a copy of the License at
65.14 - * http://www.netbeans.org/cddl-gplv2.html
65.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
65.16 - * specific language governing permissions and limitations under the
65.17 - * License. When distributing the software, include this License Header
65.18 - * Notice in each file and include the License file at
65.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
65.20 - * particular file as subject to the "Classpath" exception as provided
65.21 - * by Sun in the GPL Version 2 section of the License file that
65.22 - * accompanied this code. If applicable, add the following below the
65.23 - * License Header, with the fields enclosed by brackets [] replaced by
65.24 - * your own identifying information:
65.25 - * "Portions Copyrighted [year] [name of copyright owner]"
65.26 - *
65.27 - * Contributor(s):
65.28 - *
65.29 - * The Original Software is NetBeans. The Initial Developer of the Original
65.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
65.31 - * Microsystems, Inc. All Rights Reserved.
65.32 - *
65.33 - * If you wish your version of this file to be governed by only the CDDL
65.34 - * or only the GPL Version 2, indicate your decision by adding
65.35 - * "[Contributor] elects to include this software in this distribution
65.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
65.37 - * single choice of license, a recipient has the option to distribute
65.38 - * your version of this file under either the CDDL, the GPL Version 2 or
65.39 - * to extend the choice of license to its licensees as provided above.
65.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
65.41 - * Version 2 license, then the option applies only if the new code is
65.42 - * made subject to such option by the copyright holder.
65.43 - */
65.44 -
65.45 -package org.netbeans.modules.contrib.testng.output.antutils;
65.46 -
65.47 -import java.io.File;
65.48 -import java.util.ArrayList;
65.49 -import java.util.Collection;
65.50 -import java.util.Iterator;
65.51 -import org.apache.tools.ant.module.spi.TaskStructure;
65.52 -
65.53 -/**
65.54 - *
65.55 - * @author Marian Petras
65.56 - */
65.57 -final class BatchTest {
65.58 -
65.59 - /** */
65.60 - private final AntProject project;
65.61 -
65.62 - /** */
65.63 - private Collection<FileSet> fileSets = new ArrayList<FileSet>();
65.64 -
65.65 - /**
65.66 - */
65.67 - BatchTest(AntProject project) {
65.68 - this.project = project;
65.69 - }
65.70 -
65.71 - /**
65.72 - */
65.73 - void handleChildrenAndAttrs(TaskStructure struct) {
65.74 - for (TaskStructure child : struct.getChildren()) {
65.75 - String childName = child.getName();
65.76 - if (childName.equals("fileset")) { //NOI18N
65.77 - FileSet fs = new FileSet(project);
65.78 - fileSets.add(fs);
65.79 - fs.handleChildrenAndAttrs(child);
65.80 - continue;
65.81 - }
65.82 - }
65.83 - }
65.84 -
65.85 - /**
65.86 - *
65.87 - */
65.88 - int countTestClasses() {
65.89 - int count = 0;
65.90 - for (FileSet fileSet : fileSets) {
65.91 - Collection<File> matchingFiles = FileSetScanner.listFiles(fileSet);
65.92 - for (File file : matchingFiles) {
65.93 - final String name = file.getName();
65.94 - if (name.endsWith(".java") || name.endsWith(".class")) {//NOI18N
65.95 - count++;
65.96 - }
65.97 - }
65.98 - }
65.99 - //TODO - handle the situation that two or more filesets contain
65.100 - // the same file
65.101 - return count;
65.102 - }
65.103 -
65.104 -}
66.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/FileSet.java Sat Mar 10 02:54:06 2012 +0100
66.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
66.3 @@ -1,199 +0,0 @@
66.4 -/*
66.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
66.6 - *
66.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
66.8 - *
66.9 - * The contents of this file are subject to the terms of either the GNU
66.10 - * General Public License Version 2 only ("GPL") or the Common
66.11 - * Development and Distribution License("CDDL") (collectively, the
66.12 - * "License"). You may not use this file except in compliance with the
66.13 - * License. You can obtain a copy of the License at
66.14 - * http://www.netbeans.org/cddl-gplv2.html
66.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
66.16 - * specific language governing permissions and limitations under the
66.17 - * License. When distributing the software, include this License Header
66.18 - * Notice in each file and include the License file at
66.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
66.20 - * particular file as subject to the "Classpath" exception as provided
66.21 - * by Sun in the GPL Version 2 section of the License file that
66.22 - * accompanied this code. If applicable, add the following below the
66.23 - * License Header, with the fields enclosed by brackets [] replaced by
66.24 - * your own identifying information:
66.25 - * "Portions Copyrighted [year] [name of copyright owner]"
66.26 - *
66.27 - * Contributor(s):
66.28 - *
66.29 - * The Original Software is NetBeans. The Initial Developer of the Original
66.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
66.31 - * Microsystems, Inc. All Rights Reserved.
66.32 - *
66.33 - * If you wish your version of this file to be governed by only the CDDL
66.34 - * or only the GPL Version 2, indicate your decision by adding
66.35 - * "[Contributor] elects to include this software in this distribution
66.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
66.37 - * single choice of license, a recipient has the option to distribute
66.38 - * your version of this file under either the CDDL, the GPL Version 2 or
66.39 - * to extend the choice of license to its licensees as provided above.
66.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
66.41 - * Version 2 license, then the option applies only if the new code is
66.42 - * made subject to such option by the copyright holder.
66.43 - */
66.44 -
66.45 -package org.netbeans.modules.contrib.testng.output.antutils;
66.46 -
66.47 -import java.io.File;
66.48 -import java.util.Collection;
66.49 -import org.apache.tools.ant.module.spi.TaskStructure;
66.50 -
66.51 -/**
66.52 - *
66.53 - * @author Marian Petras
66.54 - */
66.55 -final class FileSet {
66.56 -
66.57 - /** */
66.58 - private final AntProject project;
66.59 -
66.60 - /** */
66.61 - private PatternSet implicitPatternSet;
66.62 - /** */
66.63 - private File baseDir;
66.64 - /** */
66.65 - private File file;
66.66 - /** */
66.67 - private boolean defaultExcludes = true;
66.68 - /** */
66.69 - private boolean caseSensitive = true;
66.70 - /** */
66.71 - private boolean followSymlinks;
66.72 -
66.73 - /**
66.74 - */
66.75 - FileSet(AntProject project) {
66.76 - this.project = project;
66.77 - }
66.78 -
66.79 - /**
66.80 - *
66.81 - */
66.82 - void handleChildrenAndAttrs(TaskStructure struct) {
66.83 - /*
66.84 - * Only FileSet-specific attributes are handled by setAttrs(struct).
66.85 - * Attributes of the implicit pattern set are handled by the call of
66.86 - * implicitPatternSet.handleChildrenAndAttrs(struct) below.
66.87 - */
66.88 - setAttrs(struct);
66.89 -
66.90 - /* Handles PatternSet-like children and attributes: */
66.91 - implicitPatternSet = new PatternSet(project);
66.92 - implicitPatternSet.handleChildrenAndAttrs(struct);
66.93 - }
66.94 -
66.95 - /**
66.96 - * Handles this {@code FileSet}'s attributes.
66.97 - *
66.98 - * @param struct XML element corresponding to this {@code FileSet}
66.99 - */
66.100 - private void setAttrs(TaskStructure struct) {
66.101 - String dirName = struct.getAttribute("dir"); //NOI18N
66.102 - String fileName = struct.getAttribute("file"); //NOI18N
66.103 - String defaultExcludes = struct.getAttribute("defaultexcludes");//NOI18N
66.104 - String caseSensitive = struct.getAttribute("casesensitive"); //NOI18N
66.105 - String followSymlinks = struct.getAttribute("followsymlinks"); //NOI18N
66.106 -
66.107 - if (dirName != null) {
66.108 - dirName = project.replaceProperties(dirName);
66.109 - setBaseDir(project.resolveFile(dirName));
66.110 - }
66.111 - if (fileName != null) {
66.112 - fileName = project.replaceProperties(fileName);
66.113 - setFile(project.resolveFile(fileName));
66.114 - }
66.115 - if (defaultExcludes != null) {
66.116 - defaultExcludes = project.replaceProperties(defaultExcludes);
66.117 - setDefaultExcludes(AntProject.toBoolean(defaultExcludes));
66.118 - }
66.119 - if (caseSensitive != null) {
66.120 - caseSensitive = project.replaceProperties(caseSensitive);
66.121 - setCaseSensitive(AntProject.toBoolean(caseSensitive));
66.122 - }
66.123 - if (followSymlinks != null) {
66.124 - followSymlinks = project.replaceProperties(followSymlinks);
66.125 - setFollowSymlinks(AntProject.toBoolean(followSymlinks));
66.126 - }
66.127 - }
66.128 -
66.129 - /**
66.130 - */
66.131 - private void setBaseDir(File baseDir) {
66.132 - this.baseDir = baseDir;
66.133 - }
66.134 -
66.135 - /**
66.136 - */
66.137 - private void setFile(File file) {
66.138 - this.file = file;
66.139 - }
66.140 -
66.141 - /**
66.142 - */
66.143 - private void setDefaultExcludes(boolean defaultExcludes) {
66.144 - this.defaultExcludes = defaultExcludes;
66.145 - }
66.146 -
66.147 - /**
66.148 - */
66.149 - private void setCaseSensitive(boolean caseSensitive) {
66.150 - this.caseSensitive = caseSensitive;
66.151 - }
66.152 -
66.153 - /**
66.154 - */
66.155 - private void setFollowSymlinks(boolean followSymlinks) {
66.156 - this.followSymlinks = followSymlinks;
66.157 - }
66.158 -
66.159 -
66.160 - /**
66.161 - */
66.162 - File getBaseDir() {
66.163 - return baseDir;
66.164 - }
66.165 -
66.166 - /**
66.167 - */
66.168 - File getFile() {
66.169 - return file;
66.170 - }
66.171 -
66.172 - /**
66.173 - */
66.174 - boolean isDefaultExcludes() {
66.175 - return defaultExcludes;
66.176 - }
66.177 -
66.178 - /**
66.179 - */
66.180 - boolean isCaseSensitive() {
66.181 - return caseSensitive;
66.182 - }
66.183 -
66.184 - /**
66.185 - */
66.186 - boolean isFollowSymlinks() {
66.187 - return followSymlinks;
66.188 - }
66.189 -
66.190 - /**
66.191 - */
66.192 - Collection<String> getIncludePatterns() {
66.193 - return implicitPatternSet.getIncludePatterns();
66.194 - }
66.195 -
66.196 - /**
66.197 - */
66.198 - Collection<String> getExcludesPatterns() {
66.199 - return implicitPatternSet.getExcludePatterns();
66.200 - }
66.201 -
66.202 -}
67.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/FileSetScanner.java Sat Mar 10 02:54:06 2012 +0100
67.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
67.3 @@ -1,652 +0,0 @@
67.4 -/*
67.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
67.6 - *
67.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
67.8 - *
67.9 - * The contents of this file are subject to the terms of either the GNU
67.10 - * General Public License Version 2 only ("GPL") or the Common
67.11 - * Development and Distribution License("CDDL") (collectively, the
67.12 - * "License"). You may not use this file except in compliance with the
67.13 - * License. You can obtain a copy of the License at
67.14 - * http://www.netbeans.org/cddl-gplv2.html
67.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
67.16 - * specific language governing permissions and limitations under the
67.17 - * License. When distributing the software, include this License Header
67.18 - * Notice in each file and include the License file at
67.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
67.20 - * particular file as subject to the "Classpath" exception as provided
67.21 - * by Sun in the GPL Version 2 section of the License file that
67.22 - * accompanied this code. If applicable, add the following below the
67.23 - * License Header, with the fields enclosed by brackets [] replaced by
67.24 - * your own identifying information:
67.25 - * "Portions Copyrighted [year] [name of copyright owner]"
67.26 - *
67.27 - * Contributor(s):
67.28 - *
67.29 - * The Original Software is NetBeans. The Initial Developer of the Original
67.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
67.31 - * Microsystems, Inc. All Rights Reserved.
67.32 - *
67.33 - * If you wish your version of this file to be governed by only the CDDL
67.34 - * or only the GPL Version 2, indicate your decision by adding
67.35 - * "[Contributor] elects to include this software in this distribution
67.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
67.37 - * single choice of license, a recipient has the option to distribute
67.38 - * your version of this file under either the CDDL, the GPL Version 2 or
67.39 - * to extend the choice of license to its licensees as provided above.
67.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
67.41 - * Version 2 license, then the option applies only if the new code is
67.42 - * made subject to such option by the copyright holder.
67.43 - */
67.44 -
67.45 -package org.netbeans.modules.contrib.testng.output.antutils;
67.46 -
67.47 -import java.io.File;
67.48 -import java.util.ArrayList;
67.49 -import java.util.Arrays;
67.50 -import java.util.Collection;
67.51 -import java.util.Collections;
67.52 -import java.util.Iterator;
67.53 -import java.util.List;
67.54 -import java.util.StringTokenizer;
67.55 -import java.util.regex.Pattern;
67.56 -import org.netbeans.modules.contrib.testng.output.antutils.FileSetScanner.AntPattern.PatternPartType;
67.57 -import org.netbeans.modules.contrib.testng.output.antutils.FileUtils;
67.58 -
67.59 -/**
67.60 - *
67.61 - * @author Marian Petras
67.62 - */
67.63 -class FileSetScanner {
67.64 -
67.65 - /** */
67.66 - private static final String[] DEFAULT_EXCLUDES = new String[] {
67.67 - "**/*~", //NOI18N
67.68 - "**/#*#", //NOI18N
67.69 - "**/.#*", //NOI18N
67.70 - "**/%*%", //NOI18N
67.71 - "**/._*", //NOI18N
67.72 - "**/CVS", //NOI18N
67.73 - "**/CVS/**", //NOI18N
67.74 - "**/.cvsignore", //NOI18N
67.75 - "**/SCCS", //NOI18N
67.76 - "**/SCCS/**", //NOI18N
67.77 - "**/vssver.scc", //NOI18N
67.78 - "**/.svn", //NOI18N
67.79 - "**/.svn/**", //NOI18N
67.80 - "**/.DS_Store" //NOI18N
67.81 - };
67.82 -
67.83 - /** */
67.84 - private static final String[] EMPTY_STRING_ARR = new String[0];
67.85 -
67.86 - /** */
67.87 - private final FileSet fileSet;
67.88 -
67.89 - /** */
67.90 - private File baseDir;
67.91 - /** */
67.92 - private boolean caseSensitive;
67.93 - /** */
67.94 - private boolean followSymlinks;
67.95 - /** */
67.96 - private AntPattern[] includePatterns;
67.97 - /** */
67.98 - private AntPattern[] excludePatterns;
67.99 -
67.100 - /**
67.101 - */
67.102 - static Collection<File> listFiles(FileSet fileSet) {
67.103 - return new FileSetScanner(fileSet).getMatchingFiles();
67.104 - }
67.105 -
67.106 - /**
67.107 - */
67.108 - FileSetScanner(FileSet fileSet) {
67.109 - this.fileSet = fileSet;
67.110 - }
67.111 -
67.112 - /**
67.113 - */
67.114 - Collection<File> getMatchingFiles() {
67.115 - File file = fileSet.getFile();
67.116 -
67.117 - if (file != null) {
67.118 - file = FileUtils.resolveFile(fileSet.getBaseDir(), file.getName());
67.119 - if (file.exists()) {
67.120 - return Collections.singleton(file);
67.121 - } else {
67.122 - return Collections.emptyList();
67.123 - }
67.124 - }
67.125 -
67.126 - this.baseDir = fileSet.getBaseDir();
67.127 - this.caseSensitive = fileSet.isCaseSensitive();
67.128 - this.followSymlinks = fileSet.isFollowSymlinks();
67.129 - preparePatterns();
67.130 - findMatchingFiles();
67.131 - return matchingFiles;
67.132 - }
67.133 -
67.134 - /** */
67.135 - private Collection<File> matchingFiles;
67.136 -
67.137 - /**
67.138 - */
67.139 - private void findMatchingFiles() {
67.140 - matchingFiles = new ArrayList<File>(32);
67.141 - findMatchingFiles(baseDir, createPatternTests(includePatterns,
67.142 - excludePatterns));
67.143 - }
67.144 -
67.145 - /**
67.146 - */
67.147 - private void findMatchingFiles(
67.148 - final File directory,
67.149 - final Collection<PatternTest> patternTests) {
67.150 -
67.151 - final File[] children = directory.listFiles();
67.152 - if (children == null) {
67.153 - /*
67.154 - * it means that 'directory' does not really point to a directory
67.155 - * - see also bug #130365
67.156 - */
67.157 - return;
67.158 - }
67.159 - for (File child : children) {
67.160 - final boolean isFile = child.isFile();
67.161 - final boolean isDir = child.isDirectory();
67.162 - if (!isFile && !isDir) {
67.163 - continue; //skip device files, named pipes, sockets, etc.
67.164 - //TODO - handling symbolic links
67.165 - }
67.166 -
67.167 - Collection<PatternTest> childTests;
67.168 -
67.169 - childTests = isDir ? new ArrayList<PatternTest>(patternTests.size())
67.170 - : null;
67.171 - boolean matches = checkFileAgainstPatterns(child,
67.172 - patternTests,
67.173 - childTests);
67.174 - if (matches) {
67.175 - if (isFile) {
67.176 - matchingFiles.add(child);
67.177 - } else {
67.178 - findMatchingFiles(child, childTests);
67.179 - }
67.180 - }
67.181 - }
67.182 - }
67.183 -
67.184 - /**
67.185 - */
67.186 - private boolean checkFileAgainstPatterns(
67.187 - final File file,
67.188 - final Collection<PatternTest> tests,
67.189 - final Collection<PatternTest> childrenTests) {
67.190 -
67.191 - assert !tests.isEmpty();
67.192 - assert tests.iterator().next().includePattern;
67.193 -
67.194 - final boolean isDir = childrenTests != null;
67.195 - final boolean isFile = !isDir;
67.196 -
67.197 - boolean matches = false;
67.198 - for (PatternTest patternTest : tests) {
67.199 - final AntPattern pattern = patternTest.pattern;
67.200 - final boolean isIncludePattern = patternTest.includePattern;
67.201 - final int partIndex = patternTest.patternPartIndex;
67.202 - final PatternPartType partType =
67.203 - pattern.patternPartTypes[partIndex];
67.204 - final boolean isLastPart = pattern.isLastPart(partIndex);
67.205 -
67.206 - /*
67.207 - * There is an overview sketch of the following code
67.208 - * (the many if-then-else condition statements) available
67.209 - * in the 'www' section of this module.
67.210 - *
67.211 - * Local access:
67.212 - * <cvsroot>/junit/www/doc/dev/ant-pattern-matcher-decision-tree.gif
67.213 - *
67.214 - * Web access:
67.215 - * http://junit.netbeans.org/doc/dev/ant-pattern-matcher-decision-tree.gif
67.216 - *
67.217 - * The 'HANDLES THE <colour> AREAS' notes refer to the sketch.
67.218 - */
67.219 -
67.220 - if (isIncludePattern && isLastPart
67.221 - && partType == PatternPartType.DOUBLE_STAR) {
67.222 - /* HANDLES THE BLUE AREAS */
67.223 -
67.224 - /*
67.225 - * This is a universal include pattern (**).
67.226 - * If it is present, it should be the only include pattern
67.227 - * in the collection.
67.228 - */
67.229 - matches = true;
67.230 - if (childrenTests != null) {
67.231 - childrenTests.add(patternTest);
67.232 - }
67.233 - continue;
67.234 - }
67.235 -
67.236 - if (isFile && (!isLastPart || (matches && isIncludePattern))) {
67.237 - /* HANDLES THE GREEN AREAS */
67.238 - continue;
67.239 - }
67.240 - if (isDir && isLastPart
67.241 - && (partType != PatternPartType.DOUBLE_STAR)) {
67.242 - /* HANDLES THE YELLOW AREA */
67.243 - continue;
67.244 - }
67.245 -
67.246 - final boolean nameMatches =
67.247 - (partType == PatternPartType.DOUBLE_STAR)
67.248 - || isMatchingFile(file, pattern, partIndex);
67.249 - if (!nameMatches) {
67.250 - /* HANDLES THE RED AREAS */
67.251 - continue;
67.252 - }
67.253 -
67.254 - if (!isLastPart) {
67.255 - /* HANDLES THE CYAN AREAS */
67.256 - assert isDir; // We know it's a dir - see the conditions above.
67.257 -
67.258 - if (isIncludePattern) {
67.259 - matches = true;
67.260 - }
67.261 -
67.262 - int nextPartIndex = partIndex + 1;
67.263 - PatternPartType nextPartType =
67.264 - pattern.patternPartTypes[nextPartIndex];
67.265 - if (partType != PatternPartType.DOUBLE_STAR
67.266 - && nextPartType == PatternPartType.DOUBLE_STAR
67.267 - && pattern.isLastPart(nextPartIndex)) {
67.268 - /*
67.269 - * The child pattern would be a universal pattern (**).
67.270 - * We will handle it in a special way:
67.271 - */
67.272 - if (isIncludePattern) {
67.273 - /*
67.274 - * The universal pattern is stronger than any
67.275 - * non-universal patterns - remove these patterns
67.276 - * and use only the universal include pattern
67.277 - * for children:
67.278 - */
67.279 - childrenTests.clear();
67.280 - childrenTests.add(new PatternTest(pattern,
67.281 - isIncludePattern,
67.282 - nextPartIndex));
67.283 - /*
67.284 - * Warning: The two statements above work correctly
67.285 - * only under condition that all include patterns
67.286 - * are handled before any exclude pattern!
67.287 - */
67.288 - } else {
67.289 - /*
67.290 - * The universal exclude pattern would exclude
67.291 - * everything. Just stop searching for more matches:
67.292 - */
67.293 - matches = false;
67.294 - break;
67.295 - }
67.296 - } else {
67.297 - childrenTests.add(new PatternTest(pattern,
67.298 - isIncludePattern,
67.299 - partIndex + 1));
67.300 - if (partType == PatternPartType.DOUBLE_STAR) {
67.301 - childrenTests.add(patternTest);
67.302 - }
67.303 - }
67.304 - } else /* (lastPart) */ {
67.305 - /* HANDLES THE REMAINING UNCOLOURED AREAS */
67.306 - if (isIncludePattern) {
67.307 - assert !isDir; //already handled by blue and yellow areas
67.308 -
67.309 - matches = true;
67.310 - } else {
67.311 - matches = false;
67.312 - break;
67.313 - }
67.314 - }
67.315 - }
67.316 - return matches;
67.317 - }
67.318 -
67.319 - /**
67.320 - */
67.321 - private boolean isMatchingFile(final File file,
67.322 - final AntPattern pattern,
67.323 - final int partIndex) {
67.324 - assert file.isDirectory() || file.isFile();
67.325 -
67.326 - final String name = file.getName();
67.327 - final PatternPartType patternType = pattern.patternPartTypes[partIndex];
67.328 -
67.329 - assert patternType == PatternPartType.PLAIN
67.330 - || patternType == PatternPartType.REGEXP;
67.331 -
67.332 - if (patternType == PatternPartType.PLAIN) {
67.333 - final String fileNamePattern = pattern.patternParts[partIndex];
67.334 - return caseSensitive
67.335 - ? name.equals(fileNamePattern)
67.336 - : name.equalsIgnoreCase(fileNamePattern);
67.337 - } else {
67.338 - Pattern patternPartMatcher =
67.339 - pattern.getPatternPartMatcher(partIndex, caseSensitive);
67.340 - assert pattern.patternPartMatchers[partIndex] != null;
67.341 - return pattern.patternPartMatchers[partIndex].matcher(name)
67.342 - .matches();
67.343 - }
67.344 - }
67.345 -
67.346 - /**
67.347 - */
67.348 - private static Collection<PatternTest> createPatternTests(
67.349 - final AntPattern[] includePatterns,
67.350 - final AntPattern[] excludePatterns) {
67.351 - Collection<PatternTest> result =
67.352 - new ArrayList<PatternTest>(includePatterns.length
67.353 - + excludePatterns.length);
67.354 - /*
67.355 - * Warning! Method checkFileAgainsPatterns(...) assumes that all include
67.356 - * patterns are added before any exclude pattern. Keep this rule in mind
67.357 - * when changing the code!
67.358 - */
67.359 - for (AntPattern pattern : includePatterns) {
67.360 - if (pattern.patternPartTypes[0] == PatternPartType.DOUBLE_STAR) {
67.361 - if (pattern.isLastPart(0)) {
67.362 - /*
67.363 - * This is a universal include pattern (**).
67.364 - * There is no need for other include patterns.
67.365 - */
67.366 - result.clear();
67.367 - result.add(new PatternTest(pattern, true, 0));
67.368 - break;
67.369 - } else {
67.370 - result.add(new PatternTest(pattern, true, 1));
67.371 - }
67.372 - }
67.373 - result.add(new PatternTest(pattern, true, 0));
67.374 - }
67.375 - for (AntPattern pattern : excludePatterns) {
67.376 - if (pattern.patternPartTypes[0] == PatternPartType.DOUBLE_STAR) {
67.377 - if (pattern.isLastPart(0)) {
67.378 - /*
67.379 - * This is a universal exclude pattern (**).
67.380 - * It excludes everything - there is no need to search
67.381 - * at all.
67.382 - */
67.383 - return Collections.emptyList();
67.384 - } else {
67.385 - result.add(new PatternTest(pattern, false, 1));
67.386 - }
67.387 - }
67.388 - result.add(new PatternTest(pattern, false, 0));
67.389 - }
67.390 - return result;
67.391 - }
67.392 -
67.393 - /**
67.394 - * Prepares a set of include and exclude patterns to be used by
67.395 - * this scanner. It does the following procedures:
67.396 - * <ul>
67.397 - * <li>if no include pattern is specified by the file set,
67.398 - * the default one ({@code **}) is added</li>
67.399 - * <li>if default exclude patterns are to be used, they are added
67.400 - * to the set of exclude patterns specified in the file set</li>
67.401 - * <li>the pattern strings are parsed and split into tokens,
67.402 - * using the file separator character ({@code '/'} or {@code '\\'})
67.403 - * as the token separator</li>
67.404 - * </ul>
67.405 - * The parsed patterns are stored to arrays {@link #includePatterns}
67.406 - * and {@link #excludePatterns}.
67.407 - *
67.408 - * @see AntPattern
67.409 - */
67.410 - private void preparePatterns() {
67.411 - Collection<String> patterns;
67.412 -
67.413 - /* Parse include patterns: */
67.414 - patterns = fileSet.getIncludePatterns();
67.415 - if (patterns.isEmpty()) {
67.416 - patterns = Collections.singletonList("**"); //NOI18N
67.417 - }
67.418 - includePatterns = parsePatternStrings(patterns);
67.419 -
67.420 - /* Parse excludePatterns: */
67.421 - patterns = fileSet.getExcludesPatterns();
67.422 - if (fileSet.isDefaultExcludes()) {
67.423 - Collection<String> defExcludes = Arrays.asList(DEFAULT_EXCLUDES);
67.424 - if (patterns.isEmpty()) {
67.425 - patterns = defExcludes;
67.426 - } else {
67.427 - patterns.addAll(defExcludes);
67.428 - }
67.429 - }
67.430 - excludePatterns = parsePatternStrings(patterns);
67.431 - }
67.432 -
67.433 - /**
67.434 - * Parses a collection of pattern strings.
67.435 - *
67.436 - * @param patternStrings collection of Ant pattern strings
67.437 - * @return array of {@code AntPattern} structures representing the same
67.438 - * patterns, in the same order as the given pattern strings
67.439 - * @see #parsePatternString(String)
67.440 - */
67.441 - private AntPattern[] parsePatternStrings(
67.442 - Collection<String> patternStrings) {
67.443 - final AntPattern[] patterns = new AntPattern[patternStrings.size()];
67.444 - final Iterator<String> it = patternStrings.iterator();
67.445 - for (int i = 0; i < patterns.length; i++) {
67.446 - patterns[i] = parsePatternString(it.next());
67.447 - }
67.448 - return patterns;
67.449 - }
67.450 -
67.451 - /**
67.452 - * Parses the pattern string - splits it to an array of patterns
67.453 - * of directory names and a pattern of file name.
67.454 - *
67.455 - * @param patternString pattern to be parsed
67.456 - * @return data structure representing the parsed pattern
67.457 - * @see AntPattern
67.458 - */
67.459 - AntPattern parsePatternString(String patternString) {
67.460 - if ((patternString.length() != 0)
67.461 - && (patternString.charAt(0) == File.separatorChar)) {
67.462 - assert false : "corner case - not implemented"; //TODO - corner case
67.463 - }
67.464 -
67.465 - List<String> tokens = new ArrayList<String>(6);
67.466 - boolean lastWasDoubleStar = false;
67.467 - int tokenStart = 0;
67.468 - String token;
67.469 - int slashIndex = patternString.indexOf(File.separatorChar);
67.470 - while (slashIndex != -1) {
67.471 - token = patternString.substring(tokenStart, slashIndex);
67.472 -
67.473 - boolean isDoubleStar = token.equals("**"); //NOI18N
67.474 - if (!(isDoubleStar && lastWasDoubleStar)) {
67.475 - tokens.add(patternString.substring(tokenStart, slashIndex));
67.476 - }
67.477 - lastWasDoubleStar = isDoubleStar;
67.478 -
67.479 - tokenStart = slashIndex + 1;
67.480 - slashIndex = patternString.indexOf(File.separatorChar,
67.481 - tokenStart);
67.482 - }
67.483 - if (tokenStart == patternString.length()) { //pattern ends with '/'
67.484 - token = "**"; //NOI18N
67.485 - } else {
67.486 - token = patternString.substring(tokenStart);
67.487 - }
67.488 - if (!(lastWasDoubleStar && token.equals("**"))) { //NOI18N
67.489 - tokens.add(token);
67.490 - }
67.491 -
67.492 - String[] patternParts = new String[tokens.size()];
67.493 - tokens.toArray(patternParts);
67.494 - return new AntPattern(patternParts);
67.495 - }
67.496 -
67.497 -
67.498 - /**
67.499 - *
67.500 - */
67.501 - static final class PatternTest {
67.502 - final AntPattern pattern;
67.503 - final boolean includePattern;
67.504 - int patternPartIndex;
67.505 - PatternTest(AntPattern pattern, boolean includePattern, int index) {
67.506 - this.pattern = pattern;
67.507 - this.includePattern = includePattern;
67.508 - this.patternPartIndex = index;
67.509 - }
67.510 - }
67.511 -
67.512 - /**
67.513 - *
67.514 - */
67.515 - static final class AntPattern {
67.516 - private static final int CASE_SENSITIVE_FLAGS = 0;
67.517 - private static final int CASE_INSENSITIVE_FLAGS =
67.518 - Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE;
67.519 - enum PatternPartType {
67.520 - DOUBLE_STAR,
67.521 - REGEXP,
67.522 - PLAIN
67.523 - }
67.524 - final String[] patternParts;
67.525 - final PatternPartType[] patternPartTypes;
67.526 - private final Pattern[] patternPartMatchers;
67.527 - AntPattern(String[] patternParts) {
67.528 - if (patternParts == null) {
67.529 - throw new IllegalArgumentException(
67.530 - "patternParts: null"); //NOI18N
67.531 - }
67.532 -
67.533 - this.patternParts = patternParts;
67.534 -
67.535 - patternPartTypes = new PatternPartType[patternParts.length];
67.536 - patternPartMatchers = new Pattern[patternParts.length];
67.537 - for (int i = 0; i < patternParts.length; i++) {
67.538 - final String pattern = patternParts[i];
67.539 - PatternPartType patternPartType;
67.540 - if (pattern.equals("**")) { //NOI18N
67.541 - patternPartType = PatternPartType.DOUBLE_STAR;
67.542 - } else if (pattern.indexOf('*') != -1
67.543 - || pattern.indexOf('?') != -1) {
67.544 - patternPartType = PatternPartType.REGEXP;
67.545 - } else {
67.546 - patternPartType = PatternPartType.PLAIN;
67.547 - }
67.548 - patternPartTypes[i] = patternPartType;
67.549 - }
67.550 - }
67.551 - Pattern getPatternPartMatcher(final int partIndex,
67.552 - final boolean caseSensitive) {
67.553 - Pattern matcher = patternPartMatchers[partIndex];
67.554 - if (matcher == null) {
67.555 - matcher = Pattern.compile(
67.556 - makeJdkPattern(patternParts[partIndex]),
67.557 - caseSensitive ? CASE_SENSITIVE_FLAGS
67.558 - : CASE_INSENSITIVE_FLAGS);
67.559 - patternPartMatchers[partIndex] = matcher;
67.560 - }
67.561 - return matcher;
67.562 - }
67.563 - /**
67.564 - * Creates a JDK-notation regular expression accepting the same
67.565 - * strings as the given Ant regular expression.
67.566 - *
67.567 - * @param antRegexp Ant-style regular expression
67.568 - * @return JDK-style regular expression equivalent of the given
67.569 - * Ant-style regular expression
67.570 - */
67.571 - static String makeJdkPattern(String antRegexp) {
67.572 - StringBuilder buf = new StringBuilder(antRegexp.length() + 16);
67.573 - StringTokenizer tokenizer =
67.574 - new StringTokenizer(antRegexp, "*?", true); //NOI18N
67.575 - while (tokenizer.hasMoreTokens()) {
67.576 - String token = tokenizer.nextToken();
67.577 - if (token.length() == 0) {
67.578 - continue;
67.579 - }
67.580 - if (token.equals("?")) { //NOI18N
67.581 - buf.append(token);
67.582 - } else if (token.equals("*")) { //NOI18N
67.583 - buf.append(".*"); //NOI18N
67.584 - } else {
67.585 - buf.append(quote(token));
67.586 - }
67.587 - }
67.588 - return buf.toString();
67.589 - }
67.590 - /**
67.591 - * Makes a JDK-style regular expression accepting the given string.
67.592 - *
67.593 - * @param str string to be accepted by the returned regular expression
67.594 - * @return regular expression accepting the given string and nothing
67.595 - * else (in the JDK's {@code java.util.regex} notation)
67.596 - * or the passed string instance if it did not contain
67.597 - * any regexp special characters
67.598 - */
67.599 - static String quote(String str) {
67.600 - final String SPECIAL_CHARS = "\\.[](){}+^$|?*"; //NOI18N
67.601 - StringBuilder buf = null;
67.602 - char[] chars = str.toCharArray();
67.603 - for (int i = 0; i < chars.length; i++) {
67.604 - char c = chars[i];
67.605 - if (SPECIAL_CHARS.indexOf(c) != -1) {
67.606 - if (buf == null) {
67.607 - buf = new StringBuilder(str.length() + 10);
67.608 - buf.append(str.substring(0, i));
67.609 - }
67.610 - buf.append('\\');
67.611 - }
67.612 - if (buf != null) {
67.613 - buf.append(c);
67.614 - }
67.615 - }
67.616 - return buf != null ? buf.toString() : str;
67.617 - }
67.618 - boolean isLastPart(int index) {
67.619 - return index == (patternParts.length - 1);
67.620 - }
67.621 - @Override
67.622 - public boolean equals(Object object) {
67.623 - return (object != null)
67.624 - && (object.getClass() == AntPattern.class)
67.625 - && Arrays.equals(patternParts,
67.626 - ((AntPattern) object).patternParts);
67.627 - }
67.628 - @Override
67.629 - public int hashCode() {
67.630 - int hash = 131;
67.631 - for (int i = 0; i < patternParts.length; i++) {
67.632 - hash += patternParts[i].hashCode() << i;
67.633 - }
67.634 - return hash;
67.635 - }
67.636 - @Override
67.637 - public String toString() {
67.638 - String patternsString;
67.639 - if (patternParts.length == 0) {
67.640 - patternsString = "[]"; //NOI18N
67.641 - } else {
67.642 - StringBuilder buf = new StringBuilder(256);
67.643 - buf.append('[');
67.644 - buf.append(patternParts[0]);
67.645 - for (int i = 1; i < patternParts.length; i++) {
67.646 - buf.append(',').append(patternParts[i]);
67.647 - }
67.648 - buf.append(']');
67.649 - patternsString = buf.toString();
67.650 - }
67.651 - return super.toString() + patternsString;
67.652 - }
67.653 - }
67.654 -
67.655 -}
68.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/FileUtils.java Sat Mar 10 02:54:06 2012 +0100
68.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
68.3 @@ -1,71 +0,0 @@
68.4 -/*
68.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
68.6 - *
68.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
68.8 - *
68.9 - * The contents of this file are subject to the terms of either the GNU
68.10 - * General Public License Version 2 only ("GPL") or the Common
68.11 - * Development and Distribution License("CDDL") (collectively, the
68.12 - * "License"). You may not use this file except in compliance with the
68.13 - * License. You can obtain a copy of the License at
68.14 - * http://www.netbeans.org/cddl-gplv2.html
68.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
68.16 - * specific language governing permissions and limitations under the
68.17 - * License. When distributing the software, include this License Header
68.18 - * Notice in each file and include the License file at
68.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
68.20 - * particular file as subject to the "Classpath" exception as provided
68.21 - * by Sun in the GPL Version 2 section of the License file that
68.22 - * accompanied this code. If applicable, add the following below the
68.23 - * License Header, with the fields enclosed by brackets [] replaced by
68.24 - * your own identifying information:
68.25 - * "Portions Copyrighted [year] [name of copyright owner]"
68.26 - *
68.27 - * Contributor(s):
68.28 - *
68.29 - * The Original Software is NetBeans. The Initial Developer of the Original
68.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
68.31 - * Microsystems, Inc. All Rights Reserved.
68.32 - *
68.33 - * If you wish your version of this file to be governed by only the CDDL
68.34 - * or only the GPL Version 2, indicate your decision by adding
68.35 - * "[Contributor] elects to include this software in this distribution
68.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
68.37 - * single choice of license, a recipient has the option to distribute
68.38 - * your version of this file under either the CDDL, the GPL Version 2 or
68.39 - * to extend the choice of license to its licensees as provided above.
68.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
68.41 - * Version 2 license, then the option applies only if the new code is
68.42 - * made subject to such option by the copyright holder.
68.43 - */
68.44 -
68.45 -package org.netbeans.modules.contrib.testng.output.antutils;
68.46 -
68.47 -import java.io.File;
68.48 -import org.openide.filesystems.FileUtil;
68.49 -
68.50 -/**
68.51 - *
68.52 - * @author Marian Petras
68.53 - */
68.54 -public class FileUtils {
68.55 -
68.56 - /**
68.57 - */
68.58 - private FileUtils() {
68.59 - }
68.60 -
68.61 - /**
68.62 - */
68.63 - static File resolveFile(File file, String filename) {
68.64 - filename = filename.replace('/', File.separatorChar)
68.65 - .replace('\\', File.separatorChar);
68.66 - File result = new File(filename);
68.67 - if (!result.isAbsolute()) {
68.68 - result = new File(file, filename);
68.69 - }
68.70 - return FileUtil.normalizeFile(result);
68.71 - }
68.72 -
68.73 -}
68.74 -
69.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/PatternSet.java Sat Mar 10 02:54:06 2012 +0100
69.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
69.3 @@ -1,323 +0,0 @@
69.4 -/*
69.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
69.6 - *
69.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
69.8 - *
69.9 - * The contents of this file are subject to the terms of either the GNU
69.10 - * General Public License Version 2 only ("GPL") or the Common
69.11 - * Development and Distribution License("CDDL") (collectively, the
69.12 - * "License"). You may not use this file except in compliance with the
69.13 - * License. You can obtain a copy of the License at
69.14 - * http://www.netbeans.org/cddl-gplv2.html
69.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
69.16 - * specific language governing permissions and limitations under the
69.17 - * License. When distributing the software, include this License Header
69.18 - * Notice in each file and include the License file at
69.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
69.20 - * particular file as subject to the "Classpath" exception as provided
69.21 - * by Sun in the GPL Version 2 section of the License file that
69.22 - * accompanied this code. If applicable, add the following below the
69.23 - * License Header, with the fields enclosed by brackets [] replaced by
69.24 - * your own identifying information:
69.25 - * "Portions Copyrighted [year] [name of copyright owner]"
69.26 - *
69.27 - * Contributor(s):
69.28 - *
69.29 - * The Original Software is NetBeans. The Initial Developer of the Original
69.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
69.31 - * Microsystems, Inc. All Rights Reserved.
69.32 - *
69.33 - * If you wish your version of this file to be governed by only the CDDL
69.34 - * or only the GPL Version 2, indicate your decision by adding
69.35 - * "[Contributor] elects to include this software in this distribution
69.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
69.37 - * single choice of license, a recipient has the option to distribute
69.38 - * your version of this file under either the CDDL, the GPL Version 2 or
69.39 - * to extend the choice of license to its licensees as provided above.
69.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
69.41 - * Version 2 license, then the option applies only if the new code is
69.42 - * made subject to such option by the copyright holder.
69.43 - */
69.44 -
69.45 -package org.netbeans.modules.contrib.testng.output.antutils;
69.46 -
69.47 -import java.io.BufferedReader;
69.48 -import java.io.File;
69.49 -import java.io.FileReader;
69.50 -import java.io.IOException;
69.51 -import java.util.Collection;
69.52 -import java.util.Collections;
69.53 -import java.util.ArrayList;
69.54 -import java.util.StringTokenizer;
69.55 -import java.util.logging.Level;
69.56 -import java.util.logging.Logger;
69.57 -import org.apache.tools.ant.module.spi.TaskStructure;
69.58 -
69.59 -/**
69.60 - *
69.61 - * @author Marian Petras
69.62 - */
69.63 -final class PatternSet {
69.64 -
69.65 - /** */
69.66 - private final AntProject project;
69.67 -
69.68 - /** */
69.69 - private Collection<String> includePatterns;
69.70 - /** */
69.71 - private Collection<String> excludePatterns;
69.72 -
69.73 - /**
69.74 - */
69.75 - PatternSet(AntProject project) {
69.76 - this.project = project;
69.77 - }
69.78 -
69.79 - /**
69.80 - *
69.81 - */
69.82 - void handleChildrenAndAttrs(TaskStructure struct) {
69.83 - setAttrs(struct);
69.84 - for (TaskStructure child : struct.getChildren()) {
69.85 - String childName = child.getName();
69.86 - if (childName.equals("include")) { //NOI18N
69.87 - Entry entry = new Entry();
69.88 - entry.handleChildrenAndAttrs(child);
69.89 - if (entry.isApplicable()) {
69.90 - addIncludePatterns(entry.getPattern());
69.91 - }
69.92 - continue;
69.93 - }
69.94 - if (childName.equals("exclude")) { //NOI18N
69.95 - Entry entry = new Entry();
69.96 - entry.handleChildrenAndAttrs(child);
69.97 - if (entry.isApplicable()) {
69.98 - addExcludePatterns(entry.getPattern());
69.99 - }
69.100 - continue;
69.101 - }
69.102 - if (childName.equals("includesfile")) { //NOI18N
69.103 - Entry entry = new Entry();
69.104 - entry.handleChildrenAndAttrs(child);
69.105 - if (entry.isApplicable()) {
69.106 - addIncludePatterns(project.resolveFile(entry.getPattern()));
69.107 - }
69.108 - continue;
69.109 - }
69.110 - if (childName.equals("excludesfile")) { //NOI18N
69.111 - Entry entry = new Entry();
69.112 - entry.handleChildrenAndAttrs(child);
69.113 - if (entry.isApplicable()) {
69.114 - addExcludePatterns(project.resolveFile(entry.getPattern()));
69.115 - }
69.116 - continue;
69.117 - }
69.118 - if (childName.equals("patternset")) { //NOI18N
69.119 - PatternSet patternSet = new PatternSet(project);
69.120 - patternSet.handleChildrenAndAttrs(child);
69.121 - addPatternSet(patternSet);
69.122 - continue;
69.123 - }
69.124 - }
69.125 - }
69.126 -
69.127 - /**
69.128 - */
69.129 - Collection<String> getIncludePatterns() {
69.130 - if (includePatterns != null) {
69.131 - return includePatterns;
69.132 - } else {
69.133 - return Collections.emptyList();
69.134 - }
69.135 - }
69.136 -
69.137 - /**
69.138 - */
69.139 - Collection<String> getExcludePatterns() {
69.140 - if (excludePatterns != null) {
69.141 - return excludePatterns;
69.142 - } else {
69.143 - return Collections.emptyList();
69.144 - }
69.145 - }
69.146 -
69.147 - /**
69.148 - * Handles this {@code PatternSet}'s attributes.
69.149 - *
69.150 - * @param struct XML element corresponding to this {@code PatternSet}
69.151 - */
69.152 - private void setAttrs(TaskStructure struct) {
69.153 - String includes = struct.getAttribute("includes"); //NOI18N
69.154 - String includesFile = struct.getAttribute("includesFile"); //NOI18N
69.155 - String excludes = struct.getAttribute("excludes"); //NOI18N
69.156 - String excludesFile = struct.getAttribute("excludesFile"); //NOI18N
69.157 -
69.158 - if (includes != null) {
69.159 - addIncludePatterns(project.replaceProperties(includes));
69.160 - }
69.161 - if (excludes != null) {
69.162 - addExcludePatterns(project.replaceProperties(excludes));
69.163 - }
69.164 - if (includesFile != null) {
69.165 - addIncludePatterns(project.resolveFile(
69.166 - project.replaceProperties(includesFile)));
69.167 - }
69.168 - if (excludesFile != null) {
69.169 - addExcludePatterns(project.resolveFile(
69.170 - project.replaceProperties(excludesFile)));
69.171 - }
69.172 - }
69.173 -
69.174 - /**
69.175 - */
69.176 - private void addIncludePatterns(String patternsString) {
69.177 - if (includePatterns == null) {
69.178 - includePatterns = new ArrayList<String>();
69.179 - }
69.180 - addPatterns(patternsString, includePatterns);
69.181 - }
69.182 -
69.183 - /**
69.184 - */
69.185 - private void addExcludePatterns(String patternsString) {
69.186 - if (excludePatterns == null) {
69.187 - excludePatterns = new ArrayList<String>();
69.188 - }
69.189 - addPatterns(patternsString, excludePatterns);
69.190 - }
69.191 -
69.192 - /**
69.193 - */
69.194 - private void addIncludePatterns(File includesFile) {
69.195 - if (includePatterns == null) {
69.196 - includePatterns = new ArrayList<String>();
69.197 - }
69.198 - readPatterns(includesFile, includePatterns);
69.199 - }
69.200 -
69.201 - /**
69.202 - */
69.203 - private void addExcludePatterns(File excludesFile) {
69.204 - if (excludePatterns == null) {
69.205 - excludePatterns = new ArrayList<String>();
69.206 - }
69.207 - readPatterns(excludesFile, excludePatterns);
69.208 - }
69.209 -
69.210 - /**
69.211 - */
69.212 - private void addPatterns(String patternsString,
69.213 - Collection<String> patterns) {
69.214 - StringTokenizer tokenizer = new StringTokenizer(patternsString,
69.215 - ", "); //NOI18N
69.216 - while (tokenizer.hasMoreTokens()) {
69.217 - patterns.add(tokenizer.nextToken());
69.218 - }
69.219 - }
69.220 -
69.221 - /**
69.222 - */
69.223 - private void readPatterns(File patternsFile,
69.224 - Collection<String> patterns) {
69.225 - BufferedReader fileReader = null;
69.226 - try {
69.227 - fileReader = new BufferedReader(new FileReader(patternsFile));
69.228 - for (String line = fileReader.readLine(); line != null; ) {
69.229 - if (line.length() != 0) {
69.230 - addPatterns(project.replaceProperties(line), patterns);
69.231 - }
69.232 - }
69.233 - } catch (IOException ex) {
69.234 - Logger.getLogger(PatternSet.class.getName())
69.235 - .log(Level.INFO,
69.236 - "failed to read Ant patterns file " //NOI18N
69.237 - + patternsFile.getAbsolutePath(),
69.238 - ex);
69.239 - } finally {
69.240 - if (fileReader != null) {
69.241 - try {
69.242 - fileReader.close();
69.243 - } catch (IOException ex2) {
69.244 - //ignore the exception
69.245 - }
69.246 - }
69.247 - }
69.248 - }
69.249 -
69.250 - /**
69.251 - */
69.252 - private void addPatternSet(PatternSet p) {
69.253 - if (p.includePatterns != null) {
69.254 - if (includePatterns != null) {
69.255 - includePatterns.addAll(p.includePatterns);
69.256 - } else {
69.257 - includePatterns = p.includePatterns;
69.258 - }
69.259 - }
69.260 -
69.261 - if (p.excludePatterns != null) {
69.262 - if (excludePatterns != null) {
69.263 - excludePatterns.addAll(p.excludePatterns);
69.264 - } else {
69.265 - excludePatterns = p.excludePatterns;
69.266 - }
69.267 - }
69.268 - }
69.269 -
69.270 -
69.271 - /**
69.272 - *
69.273 - */
69.274 - class Entry {
69.275 -
69.276 - /** */
69.277 - private String pattern;
69.278 - /** */
69.279 - private String ifCondition;
69.280 - /** */
69.281 - private String unlessCondition;
69.282 -
69.283 - /**
69.284 - */
69.285 - void handleChildrenAndAttrs(TaskStructure struct) {
69.286 - setAttrs(struct);
69.287 - }
69.288 -
69.289 - /**
69.290 - * Handles attributes of this {@code Entry}.
69.291 - *
69.292 - * @param struct XML element corresponding to this {@code Entry}
69.293 - */
69.294 - private void setAttrs(TaskStructure struct) {
69.295 - pattern = struct.getAttribute("name"); //NOI18N
69.296 - ifCondition = struct.getAttribute("if"); //NOI18N
69.297 - unlessCondition = struct.getAttribute("unless"); //NOI18N
69.298 - }
69.299 -
69.300 - /**
69.301 - * Checks whether this entry is valid according to the
69.302 - * <em>if</em> and <em>unless</em> conditions.
69.303 - *
69.304 - * @return {@code true} if call conditions imposed by the optional
69.305 - * <em>if</em> and <em>unless</em> attributes are met;
69.306 - * {@code false} otherwise
69.307 - */
69.308 - boolean isApplicable() {
69.309 - return ((ifCondition == null)
69.310 - || project.toBoolean(
69.311 - project.replaceProperties(ifCondition)))
69.312 - &&
69.313 - ((unlessCondition == null)
69.314 - || !project.toBoolean(
69.315 - project.replaceProperties(unlessCondition)));
69.316 - }
69.317 -
69.318 - /**
69.319 - */
69.320 - String getPattern() {
69.321 - return project.replaceProperties(pattern);
69.322 - }
69.323 -
69.324 - }
69.325 -
69.326 -}
70.1 --- a/testng/src/org/netbeans/modules/contrib/testng/output/antutils/TestCounter.java Sat Mar 10 02:54:06 2012 +0100
70.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
70.3 @@ -1,183 +0,0 @@
70.4 -/*
70.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
70.6 - *
70.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
70.8 - *
70.9 - * The contents of this file are subject to the terms of either the GNU
70.10 - * General Public License Version 2 only ("GPL") or the Common
70.11 - * Development and Distribution License("CDDL") (collectively, the
70.12 - * "License"). You may not use this file except in compliance with the
70.13 - * License. You can obtain a copy of the License at
70.14 - * http://www.netbeans.org/cddl-gplv2.html
70.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
70.16 - * specific language governing permissions and limitations under the
70.17 - * License. When distributing the software, include this License Header
70.18 - * Notice in each file and include the License file at
70.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
70.20 - * particular file as subject to the "Classpath" exception as provided
70.21 - * by Sun in the GPL Version 2 section of the License file that
70.22 - * accompanied this code. If applicable, add the following below the
70.23 - * License Header, with the fields enclosed by brackets [] replaced by
70.24 - * your own identifying information:
70.25 - * "Portions Copyrighted [year] [name of copyright owner]"
70.26 - *
70.27 - * Contributor(s):
70.28 - *
70.29 - * The Original Software is NetBeans. The Initial Developer of the Original
70.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
70.31 - * Microsystems, Inc. All Rights Reserved.
70.32 - *
70.33 - * If you wish your version of this file to be governed by only the CDDL
70.34 - * or only the GPL Version 2, indicate your decision by adding
70.35 - * "[Contributor] elects to include this software in this distribution
70.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
70.37 - * single choice of license, a recipient has the option to distribute
70.38 - * your version of this file under either the CDDL, the GPL Version 2 or
70.39 - * to extend the choice of license to its licensees as provided above.
70.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
70.41 - * Version 2 license, then the option applies only if the new code is
70.42 - * made subject to such option by the copyright holder.
70.43 - */
70.44 -
70.45 -package org.netbeans.modules.contrib.testng.output.antutils;
70.46 -
70.47 -import org.apache.tools.ant.module.spi.AntEvent;
70.48 -import org.apache.tools.ant.module.spi.TaskStructure;
70.49 -import org.netbeans.modules.contrib.testng.output.TestNGAntLogger;
70.50 -
70.51 -/**
70.52 - * Counts test classes to be executed by the current Ant test task.
70.53 - *
70.54 - * @author Marian Petras
70.55 - */
70.56 -public final class TestCounter {
70.57 -
70.58 -
70.59 - // --------------- static members -----------------
70.60 -
70.61 -
70.62 - /**
70.63 - * Counts test classes.
70.64 - *
70.65 - * @param event Ant event holding information about the current context
70.66 - * of the Ant task
70.67 - * @return (approximate) number of test classes that are going to be
70.68 - * executed by the task
70.69 - */
70.70 - public static int getTestClassCount(AntEvent event) {
70.71 - TestCounter counter = new TestCounter(event);
70.72 - return counter.countTestClasses();
70.73 - }
70.74 -
70.75 -
70.76 - // ------------ non-static members ----------------
70.77 -
70.78 -
70.79 - /**
70.80 - * Ant event holding information about the current context of the running
70.81 - * Ant task.
70.82 - */
70.83 - private final AntEvent event;
70.84 -
70.85 - /**
70.86 - * Creates a new instance of the test counter.
70.87 - *
70.88 - * @param event Ant event holding information about the current context
70.89 - * of the Ant task
70.90 - */
70.91 - private TestCounter(AntEvent event) {
70.92 - this.event = event;
70.93 - }
70.94 -
70.95 - /**
70.96 - * Counts test classes going to be executed by the current test task.
70.97 - *
70.98 - * @return (approximate) number of test classes that are going to be
70.99 - * executed by the task
70.100 - */
70.101 - private int countTestClasses() {
70.102 - final String taskName = event.getTaskName();
70.103 -
70.104 - if (taskName.equals(TestNGAntLogger.TASK_TESTNG)) {
70.105 - return countTestClassesInJUnitTask();
70.106 - } else if (taskName.equals(TestNGAntLogger.TASK_JAVA)) {
70.107 - return countTestClassesInJavaTask();
70.108 - }
70.109 -
70.110 - assert false : "Unhandled task name"; //NOI18N
70.111 - return -1;
70.112 - }
70.113 -
70.114 - /**
70.115 - * Counts number of test classes that are going to be executed
70.116 - * by the current {@code <junit>} task.
70.117 - *
70.118 - * @param event event produced by the currently running Ant session
70.119 - * @return approximate number of test classes;
70.120 - * or {@code -1} if the number is unknown
70.121 - */
70.122 - private int countTestClassesInJUnitTask() {
70.123 - int count = 0;
70.124 -
70.125 - TaskStructure taskStruct = event.getTaskStructure();
70.126 - for (TaskStructure child : taskStruct.getChildren()) {
70.127 - String childName = child.getName();
70.128 - if (childName.equals("test")) { //NOI18N
70.129 - if (conditionsMet(child)) {
70.130 - count++;
70.131 - }
70.132 - continue;
70.133 - }
70.134 - if (childName.equals("batchtest")) { //NOI18N
70.135 - if (conditionsMet(child)) {
70.136 - AntProject project = new AntProject(event);
70.137 - BatchTest batchTest = new BatchTest(project);
70.138 - batchTest.handleChildrenAndAttrs(child);
70.139 - int n = batchTest.countTestClasses();
70.140 - if (n > 0) {
70.141 - count += n;
70.142 - }
70.143 - }
70.144 - continue;
70.145 - }
70.146 - }
70.147 - return count;
70.148 - }
70.149 -
70.150 - /**
70.151 - * Checks whether {@code if} and {@code unless} conditions of the given
70.152 - * Ant XML element are met.
70.153 - *
70.154 - * @param struct Ant XML element to be probed
70.155 - * @param event Ant event which allows evaluation of Ant variables
70.156 - * @return {@code false} if there are conditions that are not met,
70.157 - * {@code true} otherwise
70.158 - */
70.159 - private boolean conditionsMet(TaskStructure struct) {
70.160 - String ifPropName = struct.getAttribute("if"); //NOI18N
70.161 - String unlessPropName = struct.getAttribute("unless"); //NOI18N
70.162 -
70.163 - if ((ifPropName != null)
70.164 - && (event.getProperty(ifPropName) == null)) {
70.165 - return false;
70.166 - }
70.167 - if ((unlessPropName != null)
70.168 - && (event.getProperty(unlessPropName) != null)) {
70.169 - return false;
70.170 - }
70.171 - return true;
70.172 - }
70.173 -
70.174 - /**
70.175 - * Counts number of test classes that are going to be executed
70.176 - * by the current {@code <java>} task.
70.177 - *
70.178 - * @param event event produced by the currently running Ant session
70.179 - * @return approximate number of test classes;
70.180 - * or {@code -1} if the number is unknown
70.181 - */
70.182 - private int countTestClassesInJavaTask() {
70.183 - return 1;
70.184 - }
70.185 -
70.186 -}
71.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/EmptyTestNGTest.java.template Sat Mar 10 02:54:06 2012 +0100
71.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
71.3 @@ -1,34 +0,0 @@
71.4 -<#assign licenseFirst = "/*">
71.5 -<#assign licensePrefix = " * ">
71.6 -<#assign licenseLast = " */">
71.7 -<#include "../Licenses/license-${project.license}.txt">
71.8 -
71.9 -<#if package?? && package != "">
71.10 -package ${package};
71.11 -
71.12 -</#if>
71.13 -import org.testng.annotations.AfterClass;
71.14 -import org.testng.annotations.BeforeClass;
71.15 -import org.testng.annotations.Test;
71.16 -
71.17 -/**
71.18 - *
71.19 - * @author ${user}
71.20 - */
71.21 -public class ${name} {
71.22 -
71.23 - @BeforeClass
71.24 - public void setUp() {
71.25 - // code that will be invoked before this test starts
71.26 - }
71.27 -
71.28 - @Test
71.29 - public void aTest() {
71.30 - System.out.println("Test");
71.31 - }
71.32 -
71.33 - @AfterClass
71.34 - public void cleanUp() {
71.35 - // code that will be invoked after this test ends
71.36 - }
71.37 -}
72.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/TestNG-lib.xml Sat Mar 10 02:54:06 2012 +0100
72.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
72.3 @@ -1,65 +0,0 @@
72.4 -<?xml version="1.0" encoding="UTF-8"?>
72.5 -<!--
72.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
72.7 -
72.8 -Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
72.9 -
72.10 -
72.11 -The contents of this file are subject to the terms of either the GNU
72.12 -General Public License Version 2 only ("GPL") or the Common
72.13 -Development and Distribution License("CDDL") (collectively, the
72.14 -"License"). You may not use this file except in compliance with the
72.15 -License. You can obtain a copy of the License at
72.16 -http://www.netbeans.org/cddl-gplv2.html
72.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
72.18 -specific language governing permissions and limitations under the
72.19 -License. When distributing the software, include this License Header
72.20 -Notice in each file and include the License file at
72.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
72.22 -particular file as subject to the "Classpath" exception as provided
72.23 -by Sun in the GPL Version 2 section of the License file that
72.24 -accompanied this code. If applicable, add the following below the
72.25 -License Header, with the fields enclosed by brackets [] replaced by
72.26 -your own identifying information:
72.27 -"Portions Copyrighted [year] [name of copyright owner]"
72.28 -
72.29 -Contributor(s):
72.30 -
72.31 -The Original Software is NetBeans. The Initial Developer of the Original
72.32 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
72.33 -Microsystems, Inc. All Rights Reserved.
72.34 -
72.35 -If you wish your version of this file to be governed by only the CDDL
72.36 -or only the GPL Version 2, indicate your decision by adding
72.37 -"[Contributor] elects to include this software in this distribution
72.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
72.39 -single choice of license, a recipient has the option to distribute
72.40 -your version of this file under either the CDDL, the GPL Version 2 or
72.41 -to extend the choice of license to its licensees as provided above.
72.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
72.43 -Version 2 license, then the option applies only if the new code is
72.44 -made subject to such option by the copyright holder.
72.45 --->
72.46 -<!DOCTYPE library PUBLIC "-//NetBeans//DTD Library Declaration 1.0//EN" "http://www.netbeans.org/dtds/library-declaration-1_0.dtd">
72.47 -<library version="1.0">
72.48 - <name>TestNG-6.4beta</name>
72.49 - <type>j2se</type>
72.50 - <localizing-bundle>org.netbeans.modules.contrib.testng.Bundle</localizing-bundle>
72.51 - <volume>
72.52 - <type>classpath</type>
72.53 - <resource>jar:nbinst://org.netbeans.modules.testng/modules/ext/testng/testng-6.4.1beta.jar!/</resource>
72.54 - </volume>
72.55 - <volume>
72.56 - <type>src</type>
72.57 - </volume>
72.58 - <volume>
72.59 - <type>javadoc</type>
72.60 - <resource>jar:nbinst://org.netbeans.modules.testng/modules/ext/testng/testng-6.4beta-javadoc.zip!/</resource>
72.61 - </volume>
72.62 - <volume>
72.63 - <type>maven-pom</type>
72.64 - <!-- snapshot versions are not available :-( -->
72.65 -<!-- <resource>http://repo1.maven.org/maven2/org/testng/testng/6.3.2/testng-6.3.2.pom</resource>-->
72.66 - <resource>http://repo1.maven.org/maven2/org/testng/testng/6.3.1/testng-6.3.1.pom</resource>
72.67 - </volume>
72.68 -</library>
73.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/layer.xml Sat Mar 10 02:54:06 2012 +0100
73.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
73.3 @@ -1,165 +0,0 @@
73.4 -<?xml version="1.0" encoding="UTF-8"?>
73.5 -<!--
73.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
73.7 -
73.8 -Copyright © 1997-2012 Oracle and/or its affiliates. All rights reserved.
73.9 -
73.10 -
73.11 -The contents of this file are subject to the terms of either the GNU
73.12 -General Public License Version 2 only ("GPL") or the Common
73.13 -Development and Distribution License("CDDL") (collectively, the
73.14 -"License"). You may not use this file except in compliance with the
73.15 -License. You can obtain a copy of the License at
73.16 -http://www.netbeans.org/cddl-gplv2.html
73.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
73.18 -specific language governing permissions and limitations under the
73.19 -License. When distributing the software, include this License Header
73.20 -Notice in each file and include the License file at
73.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
73.22 -particular file as subject to the "Classpath" exception as provided
73.23 -by Sun in the GPL Version 2 section of the License file that
73.24 -accompanied this code. If applicable, add the following below the
73.25 -License Header, with the fields enclosed by brackets [] replaced by
73.26 -your own identifying information:
73.27 -"Portions Copyrighted [year] [name of copyright owner]"
73.28 -
73.29 -Contributor(s):
73.30 -
73.31 -The Original Software is NetBeans. The Initial Developer of the Original
73.32 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
73.33 -Microsystems, Inc. All Rights Reserved.
73.34 -
73.35 -If you wish your version of this file to be governed by only the CDDL
73.36 -or only the GPL Version 2, indicate your decision by adding
73.37 -"[Contributor] elects to include this software in this distribution
73.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
73.39 -single choice of license, a recipient has the option to distribute
73.40 -your version of this file under either the CDDL, the GPL Version 2 or
73.41 -to extend the choice of license to its licensees as provided above.
73.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
73.43 -Version 2 license, then the option applies only if the new code is
73.44 -made subject to such option by the copyright holder.
73.45 --->
73.46 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
73.47 -<filesystem>
73.48 - <folder name="Editors">
73.49 - <folder name="text">
73.50 - <folder name="x-java">
73.51 - <folder name="Popup">
73.52 - <folder name="TestNG">
73.53 - <attr name="position" intvalue="1630"/>
73.54 - </folder>
73.55 - </folder>
73.56 - </folder>
73.57 - <folder name="x-testng+xml">
73.58 - <folder name="HyperlinkProviders">
73.59 - <file name="TestNGSuiteHyperlingProvider.instance">
73.60 - <attr name="instanceClass" stringvalue="org.netbeans.modules.contrib.testng.TestNGSuiteHyperlingProvider"/>
73.61 - <attr name="instanceOf" stringvalue="org.netbeans.lib.editor.hyperlink.spi.HyperlinkProvider"/>
73.62 - </file>
73.63 - </folder>
73.64 - </folder>
73.65 - </folder>
73.66 - </folder>
73.67 - <folder name="Loaders">
73.68 - <folder name="text">
73.69 - <folder name="x-testng+xml">
73.70 - <folder name="Factories">
73.71 - <file name="org-netbeans-modules-contrib-testng-TestNGSuiteDataLoader.instance">
73.72 - <attr name="displayName" bundlevalue="org.netbeans.modules.contrib.testng.Bundle#Loaders/text/x-testng+xml/Factories/org-netbeans-modules-contrib-testng-TestNGSuiteDataLoader.instance"/>
73.73 - <attr name="dataObjectClass" stringvalue="org.netbeans.modules.contrib.testng.TestNGSuiteDataObject"/>
73.74 - <attr name="instanceCreate" methodvalue="org.openide.loaders.DataLoaderPool.factory"/>
73.75 - <attr name="mimeType" stringvalue="text/x-testng+xml"/>
73.76 - <attr name="iconBase" stringvalue="org/netbeans/modules/contrib/testng/resources/testng.gif"/>
73.77 - </file>
73.78 - </folder>
73.79 - <folder name="Actions">
73.80 - <file name="org-openide-actions-CopyAction.shadow">
73.81 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-CopyAction.instance"/>
73.82 - <attr name="position" intvalue="400"/>
73.83 - </file>
73.84 - <file name="org-openide-actions-CutAction.shadow">
73.85 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-CutAction.instance"/>
73.86 - <attr name="position" intvalue="300"/>
73.87 - </file>
73.88 - <file name="org-openide-actions-DeleteAction.shadow">
73.89 - <attr name="originalFile" stringvalue="Actions/Edit/org-openide-actions-DeleteAction.instance"/>
73.90 - <attr name="position" intvalue="600"/>
73.91 - </file>
73.92 - <file name="org-openide-actions-FileSystemAction.shadow">
73.93 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-FileSystemAction.instance"/>
73.94 - <attr name="position" intvalue="1100"/>
73.95 - </file>
73.96 - <file name="org-openide-actions-OpenAction.shadow">
73.97 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-OpenAction.instance"/>
73.98 - <attr name="position" intvalue="100"/>
73.99 - </file>
73.100 - <file name="org-openide-actions-PropertiesAction.shadow">
73.101 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-PropertiesAction.instance"/>
73.102 - <attr name="position" intvalue="1400"/>
73.103 - </file>
73.104 - <file name="org-openide-actions-RenameAction.shadow">
73.105 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-RenameAction.instance"/>
73.106 - <attr name="position" intvalue="700"/>
73.107 - </file>
73.108 - <file name="org-openide-actions-SaveAsTemplateAction.shadow">
73.109 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-SaveAsTemplateAction.instance"/>
73.110 - <attr name="position" intvalue="900"/>
73.111 - </file>
73.112 - <file name="org-openide-actions-ToolsAction.shadow">
73.113 - <attr name="originalFile" stringvalue="Actions/System/org-openide-actions-ToolsAction.instance"/>
73.114 - <attr name="position" intvalue="1300"/>
73.115 - </file>
73.116 - <file name="sep-1.instance">
73.117 - <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
73.118 - <attr name="position" intvalue="200"/>
73.119 - </file>
73.120 - <file name="sep-2.instance">
73.121 - <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
73.122 - <attr name="position" intvalue="500"/>
73.123 - </file>
73.124 - <file name="sep-3.instance">
73.125 - <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
73.126 - <attr name="position" intvalue="800"/>
73.127 - </file>
73.128 - <file name="sep-4.instance">
73.129 - <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
73.130 - <attr name="position" intvalue="1000"/>
73.131 - </file>
73.132 - <file name="sep-5.instance">
73.133 - <attr name="instanceClass" stringvalue="javax.swing.JSeparator"/>
73.134 - <attr name="position" intvalue="1200"/>
73.135 - </file>
73.136 - </folder>
73.137 - </folder>
73.138 - </folder>
73.139 - </folder>
73.140 - <folder name="Navigator">
73.141 - <folder name="Panels">
73.142 - <folder name="text">
73.143 - <folder name="x-testng+xml">
73.144 - <file name="org-netbeans-modules-xml-text-navigator-XMLNavigatorPanel.instance"/>
73.145 - </folder>
73.146 - </folder>
73.147 - </folder>
73.148 - </folder>
73.149 - <folder name="Services">
73.150 - <folder name="MIMEResolver">
73.151 - <file name="testng-suite-resolver.xml" url="testng-suite-resolver.xml">
73.152 - <attr name="position" intvalue="153"/>
73.153 - <attr name="displayName" bundlevalue="org.netbeans.modules.contrib.testng.Bundle#Services/MIMEResolver/testng-suite-resolver.xml"/>
73.154 - </file>
73.155 - </folder>
73.156 - </folder>
73.157 - <folder name="Templates">
73.158 - <folder name="TestNG">
73.159 - <attr name="displayName" bundlevalue="org.netbeans.modules.contrib.testng.Bundle#Templates/TestNG"/>
73.160 - <attr name="position" intvalue="1250"/>
73.161 - </folder>
73.162 - </folder>
73.163 - <folder name="org-netbeans-api-project-libraries">
73.164 - <folder name="Libraries">
73.165 - <file name="TestNG-lib.xml" url="TestNG-lib.xml"/>
73.166 - </folder>
73.167 - </folder>
73.168 -</filesystem>
74.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/newTest.html Sat Mar 10 02:54:06 2012 +0100
74.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
74.3 @@ -1,49 +0,0 @@
74.4 -<!--
74.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
74.6 -
74.7 -Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
74.8 -
74.9 -
74.10 -The contents of this file are subject to the terms of either the GNU
74.11 -General Public License Version 2 only ("GPL") or the Common
74.12 -Development and Distribution License("CDDL") (collectively, the
74.13 -"License"). You may not use this file except in compliance with the
74.14 -License. You can obtain a copy of the License at
74.15 -http://www.netbeans.org/cddl-gplv2.html
74.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
74.17 -specific language governing permissions and limitations under the
74.18 -License. When distributing the software, include this License Header
74.19 -Notice in each file and include the License file at
74.20 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
74.21 -particular file as subject to the "Classpath" exception as provided
74.22 -by Sun in the GPL Version 2 section of the License file that
74.23 -accompanied this code. If applicable, add the following below the
74.24 -License Header, with the fields enclosed by brackets [] replaced by
74.25 -your own identifying information:
74.26 -"Portions Copyrighted [year] [name of copyright owner]"
74.27 -
74.28 -Contributor(s):
74.29 -
74.30 -The Original Software is NetBeans. The Initial Developer of the Original
74.31 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
74.32 -Microsystems, Inc. All Rights Reserved.
74.33 -
74.34 -If you wish your version of this file to be governed by only the CDDL
74.35 -or only the GPL Version 2, indicate your decision by adding
74.36 -"[Contributor] elects to include this software in this distribution
74.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
74.38 -single choice of license, a recipient has the option to distribute
74.39 -your version of this file under either the CDDL, the GPL Version 2 or
74.40 -to extend the choice of license to its licensees as provided above.
74.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
74.42 -Version 2 license, then the option applies only if the new code is
74.43 -made subject to such option by the copyright holder.
74.44 --->
74.45 -<html>
74.46 - <head>
74.47 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
74.48 - </head>
74.49 - <body>
74.50 - Creates an empty TestNG test case.
74.51 - </body>
74.52 -</html>
75.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/newTestSuite.html Sat Mar 10 02:54:06 2012 +0100
75.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
75.3 @@ -1,49 +0,0 @@
75.4 -<!--
75.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
75.6 -
75.7 -Copyright 2011 Oracle and/or its affiliates. All rights reserved.
75.8 -
75.9 -Oracle and Java are registered trademarks of Oracle and/or its affiliates.
75.10 -Other names may be trademarks of their respective owners.
75.11 -
75.12 -The contents of this file are subject to the terms of either the GNU
75.13 -General Public License Version 2 only ("GPL") or the Common
75.14 -Development and Distribution License("CDDL") (collectively, the
75.15 -"License"). You may not use this file except in compliance with the
75.16 -License. You can obtain a copy of the License at
75.17 -http://www.netbeans.org/cddl-gplv2.html
75.18 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
75.19 -specific language governing permissions and limitations under the
75.20 -License. When distributing the software, include this License Header
75.21 -Notice in each file and include the License file at
75.22 -nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
75.23 -particular file as subject to the "Classpath" exception as provided
75.24 -by Oracle in the GPL Version 2 section of the License file that
75.25 -accompanied this code. If applicable, add the following below the
75.26 -License Header, with the fields enclosed by brackets [] replaced by
75.27 -your own identifying information:
75.28 -"Portions Copyrighted [year] [name of copyright owner]"
75.29 -
75.30 -If you wish your version of this file to be governed by only the CDDL
75.31 -or only the GPL Version 2, indicate your decision by adding
75.32 -"[Contributor] elects to include this software in this distribution
75.33 -under the [CDDL or GPL Version 2] license." If you do not indicate a
75.34 -single choice of license, a recipient has the option to distribute
75.35 -your version of this file under either the CDDL, the GPL Version 2 or
75.36 -to extend the choice of license to its licensees as provided above.
75.37 -However, if you add GPL Version 2 code and therefore, elected the GPL
75.38 -Version 2 license, then the option applies only if the new code is
75.39 -made subject to such option by the copyright holder.
75.40 -
75.41 -Contributor(s):
75.42 -
75.43 -Portions Copyrighted 2011 Sun Microsystems, Inc.
75.44 --->
75.45 -<html>
75.46 - <head>
75.47 - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
75.48 - </head>
75.49 - <body>
75.50 - Creates an empty TestNG test suite.
75.51 - </body>
75.52 -</html>
76.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/testng-suite-resolver.xml Sat Mar 10 02:54:06 2012 +0100
76.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
76.3 @@ -1,18 +0,0 @@
76.4 -<?xml version="1.0" encoding="UTF-8"?>
76.5 -<!--
76.6 -To change this template, choose Tools | Templates
76.7 -and open the template in the editor.
76.8 --->
76.9 -<!DOCTYPE MIME-resolver PUBLIC "-//NetBeans//DTD MIME Resolver 1.0//EN" "http://www.netbeans.org/dtds/mime-resolver-1_0.dtd">
76.10 -<MIME-resolver>
76.11 - <file>
76.12 - <ext name="xml"/>
76.13 - <resolver mime="text/x-testng+xml">
76.14 - <xml-rule>
76.15 - <element name="suite">
76.16 - <attr name="name"/>
76.17 - </element>
76.18 - </xml-rule>
76.19 - </resolver>
76.20 - </file>
76.21 -</MIME-resolver>
77.1 Binary file testng/src/org/netbeans/modules/contrib/testng/resources/testng.gif has changed
78.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/testng.xml Sat Mar 10 02:54:06 2012 +0100
78.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
78.3 @@ -1,7 +0,0 @@
78.4 -<?xml version="1.0" encoding="UTF-8"?>
78.5 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
78.6 -<suite name="name">
78.7 - <packages>
78.8 - <package name=".*"/>
78.9 - </packages>
78.10 -</suite>
79.1 --- a/testng/src/org/netbeans/modules/contrib/testng/resources/testng.xml.template Sat Mar 10 02:54:06 2012 +0100
79.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
79.3 @@ -1,28 +0,0 @@
79.4 -<?xml version='1.0' encoding='UTF-8' ?>
79.5 -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
79.6 -<suite name="${name}">
79.7 -
79.8 - <!--
79.9 - see examples at http://testng.org/doc/documentation-main.html#testng-xml
79.10 -
79.11 - <suite-files>
79.12 - <suite-file path="./junit-suite.xml" />
79.13 - </suite-files>
79.14 -
79.15 - <test name="TimeOut">
79.16 - <classes>
79.17 - <class name="test.timeout.TimeOutTest" />
79.18 - <class name="test.timeout.TimeOutFromXmlTest"/>
79.19 - <class name="test.timeout.TimeOutThreadLocalSampleTest"/>
79.20 - </classes>
79.21 - </test>
79.22 - -->
79.23 -
79.24 - <test name="${suiteName}">
79.25 - <parameter name="param-name" value="param-value" />
79.26 - <packages>
79.27 - <package name="${pkg}"/>
79.28 - </packages>
79.29 - </test>
79.30 -
79.31 -</suite>
80.1 --- a/testng/src/org/netbeans/modules/contrib/testng/spi/TestConfig.java Sat Mar 10 02:54:06 2012 +0100
80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
80.3 @@ -1,94 +0,0 @@
80.4 -/*
80.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
80.6 - *
80.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
80.8 - *
80.9 - * The contents of this file are subject to the terms of either the GNU
80.10 - * General Public License Version 2 only ("GPL") or the Common
80.11 - * Development and Distribution License("CDDL") (collectively, the
80.12 - * "License"). You may not use this file except in compliance with the
80.13 - * License. You can obtain a copy of the License at
80.14 - * http://www.netbeans.org/cddl-gplv2.html
80.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
80.16 - * specific language governing permissions and limitations under the
80.17 - * License. When distributing the software, include this License Header
80.18 - * Notice in each file and include the License file at
80.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
80.20 - * particular file as subject to the "Classpath" exception as provided
80.21 - * by Sun in the GPL Version 2 section of the License file that
80.22 - * accompanied this code. If applicable, add the following below the
80.23 - * License Header, with the fields enclosed by brackets [] replaced by
80.24 - * your own identifying information:
80.25 - * "Portions Copyrighted [year] [name of copyright owner]"
80.26 - *
80.27 - * If you wish your version of this file to be governed by only the CDDL
80.28 - * or only the GPL Version 2, indicate your decision by adding
80.29 - * "[Contributor] elects to include this software in this distribution
80.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
80.31 - * single choice of license, a recipient has the option to distribute
80.32 - * your version of this file under either the CDDL, the GPL Version 2 or
80.33 - * to extend the choice of license to its licensees as provided above.
80.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
80.35 - * Version 2 license, then the option applies only if the new code is
80.36 - * made subject to such option by the copyright holder.
80.37 - *
80.38 - * Contributor(s):
80.39 - *
80.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
80.41 - */
80.42 -package org.netbeans.modules.contrib.testng.spi;
80.43 -
80.44 -import org.netbeans.modules.contrib.testng.actions.TestConfigAccessor;
80.45 -import org.openide.filesystems.FileObject;
80.46 -
80.47 -/**
80.48 - *
80.49 - * @author lukas
80.50 - */
80.51 -public final class TestConfig {
80.52 -
80.53 - private final boolean rerun;
80.54 - private final String pkgName;
80.55 - private final String className;
80.56 - private final String methodName;
80.57 - private final FileObject test;
80.58 -
80.59 -
80.60 - static {
80.61 - TestConfigAccessor.setDefault(new TestConfigAccessor() {
80.62 -
80.63 - @Override
80.64 - public TestConfig createTestConfig(FileObject test, boolean rerun, String pkgName, String className, String methodName) {
80.65 - return new TestConfig(test, rerun, pkgName, className, methodName);
80.66 - }
80.67 - });
80.68 - }
80.69 -
80.70 - private TestConfig(FileObject test, boolean rerun, String pkgName, String className, String methodName) {
80.71 - this.test = test;
80.72 - this.rerun = rerun;
80.73 - this.pkgName = pkgName;
80.74 - this.className = className;
80.75 - this.methodName = methodName;
80.76 - }
80.77 -
80.78 - public String getClassName() {
80.79 - return className;
80.80 - }
80.81 -
80.82 - public String getMethodName() {
80.83 - return methodName;
80.84 - }
80.85 -
80.86 - public String getPackageName() {
80.87 - return pkgName;
80.88 - }
80.89 -
80.90 - public boolean doRerun() {
80.91 - return rerun;
80.92 - }
80.93 -
80.94 - public FileObject getTest() {
80.95 - return test;
80.96 - }
80.97 -}
81.1 --- a/testng/src/org/netbeans/modules/contrib/testng/spi/TestNGSupportImplementation.java Sat Mar 10 02:54:06 2012 +0100
81.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
81.3 @@ -1,128 +0,0 @@
81.4 -/*
81.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
81.6 - *
81.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
81.8 - *
81.9 - * The contents of this file are subject to the terms of either the GNU
81.10 - * General Public License Version 2 only ("GPL") or the Common
81.11 - * Development and Distribution License("CDDL") (collectively, the
81.12 - * "License"). You may not use this file except in compliance with the
81.13 - * License. You can obtain a copy of the License at
81.14 - * http://www.netbeans.org/cddl-gplv2.html
81.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
81.16 - * specific language governing permissions and limitations under the
81.17 - * License. When distributing the software, include this License Header
81.18 - * Notice in each file and include the License file at
81.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
81.20 - * particular file as subject to the "Classpath" exception as provided
81.21 - * by Sun in the GPL Version 2 section of the License file that
81.22 - * accompanied this code. If applicable, add the following below the
81.23 - * License Header, with the fields enclosed by brackets [] replaced by
81.24 - * your own identifying information:
81.25 - * "Portions Copyrighted [year] [name of copyright owner]"
81.26 - *
81.27 - * If you wish your version of this file to be governed by only the CDDL
81.28 - * or only the GPL Version 2, indicate your decision by adding
81.29 - * "[Contributor] elects to include this software in this distribution
81.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
81.31 - * single choice of license, a recipient has the option to distribute
81.32 - * your version of this file under either the CDDL, the GPL Version 2 or
81.33 - * to extend the choice of license to its licensees as provided above.
81.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
81.35 - * Version 2 license, then the option applies only if the new code is
81.36 - * made subject to such option by the copyright holder.
81.37 - *
81.38 - * Contributor(s):
81.39 - *
81.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
81.41 - */
81.42 -package org.netbeans.modules.contrib.testng.spi;
81.43 -
81.44 -import java.io.IOException;
81.45 -import java.util.logging.Level;
81.46 -import java.util.logging.Logger;
81.47 -import org.netbeans.api.java.classpath.ClassPath;
81.48 -import org.netbeans.api.java.project.classpath.ProjectClassPathModifier;
81.49 -import org.netbeans.api.project.FileOwnerQuery;
81.50 -import org.netbeans.api.project.Project;
81.51 -import org.netbeans.api.project.libraries.Library;
81.52 -import org.netbeans.api.project.libraries.LibraryManager;
81.53 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
81.54 -import org.openide.filesystems.FileObject;
81.55 -
81.56 -/**
81.57 - *
81.58 - * @author lukas
81.59 - */
81.60 -public abstract class TestNGSupportImplementation {
81.61 -
81.62 - private static final Logger LOGGER = Logger.getLogger(TestNGSupportImplementation.class.getName());
81.63 -
81.64 - /**
81.65 - * Check whether given project instance is supported by this implementation
81.66 - *
81.67 - * @param p project to check
81.68 - * @return true if this instance supports given project
81.69 - */
81.70 - public abstract boolean isActionSupported(Action action, Project p);
81.71 -
81.72 - /**
81.73 - * Configure project owning given FileObject
81.74 - *
81.75 - * @param createdFile FileObject for which the project should be configured
81.76 - */
81.77 - public abstract void configureProject(FileObject createdFile);
81.78 -
81.79 - /**
81.80 - * Create an instance of TestExecutor interface used for running
81.81 - * particular actions
81.82 - *
81.83 - * @param p project for which the TestExecutor should be created
81.84 - * @return instance of TestExecutor
81.85 - */
81.86 - public abstract TestExecutor createExecutor(Project p);
81.87 -
81.88 - /**
81.89 - * Add bundled TestNG library to COMPILE ClassPath of given FileObject
81.90 - *
81.91 - * @param fo FileObject whose classpath to extend
81.92 - * @return true if a library was added to the project
81.93 - * @throws java.io.IOException
81.94 - */
81.95 - protected final boolean addLibrary(FileObject fo) throws IOException {
81.96 - assert fo != null;
81.97 - Project p = FileOwnerQuery.getOwner(fo);
81.98 - ClassPath cp = ClassPath.getClassPath(fo, ClassPath.COMPILE);
81.99 - FileObject ng = cp.findResource("org.testng.annotations.Test"); //NOI18N
81.100 - if (ng == null) {
81.101 - // add library to the project
81.102 - Library nglib = LibraryManager.getDefault().getLibrary("TestNG-6.4beta"); //NOI18N
81.103 - if (!ProjectClassPathModifier.addLibraries(new Library[]{nglib}, fo, ClassPath.COMPILE)) {
81.104 - LOGGER.log(Level.FINE, "TestNG library not added to project {0}", p); //NOI18N
81.105 - return false;
81.106 - }
81.107 - }
81.108 - return true;
81.109 - }
81.110 -
81.111 - /**
81.112 - *
81.113 - */
81.114 - public interface TestExecutor {
81.115 -
81.116 - /**
81.117 - * Return true if configuration file for failed tests exists,
81.118 - * false otherwise
81.119 - *
81.120 - * @return true if configuration file for failed tests exists
81.121 - */
81.122 - boolean hasFailedTests();
81.123 -
81.124 - /**
81.125 - * Execute tests defined in test config
81.126 - *
81.127 - * @param config test config to run
81.128 - */
81.129 - public void execute(Action action, TestConfig config) throws IOException;
81.130 - }
81.131 -}
82.1 --- a/testng/src/org/netbeans/modules/contrib/testng/spi/XMLSuiteSupport.java Sat Mar 10 02:54:06 2012 +0100
82.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
82.3 @@ -1,77 +0,0 @@
82.4 -/*
82.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
82.6 - *
82.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
82.8 - *
82.9 - * The contents of this file are subject to the terms of either the GNU
82.10 - * General Public License Version 2 only ("GPL") or the Common
82.11 - * Development and Distribution License("CDDL") (collectively, the
82.12 - * "License"). You may not use this file except in compliance with the
82.13 - * License. You can obtain a copy of the License at
82.14 - * http://www.netbeans.org/cddl-gplv2.html
82.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
82.16 - * specific language governing permissions and limitations under the
82.17 - * License. When distributing the software, include this License Header
82.18 - * Notice in each file and include the License file at
82.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
82.20 - * particular file as subject to the "Classpath" exception as provided
82.21 - * by Sun in the GPL Version 2 section of the License file that
82.22 - * accompanied this code. If applicable, add the following below the
82.23 - * License Header, with the fields enclosed by brackets [] replaced by
82.24 - * your own identifying information:
82.25 - * "Portions Copyrighted [year] [name of copyright owner]"
82.26 - *
82.27 - * If you wish your version of this file to be governed by only the CDDL
82.28 - * or only the GPL Version 2, indicate your decision by adding
82.29 - * "[Contributor] elects to include this software in this distribution
82.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
82.31 - * single choice of license, a recipient has the option to distribute
82.32 - * your version of this file under either the CDDL, the GPL Version 2 or
82.33 - * to extend the choice of license to its licensees as provided above.
82.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
82.35 - * Version 2 license, then the option applies only if the new code is
82.36 - * made subject to such option by the copyright holder.
82.37 - *
82.38 - * Contributor(s):
82.39 - *
82.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
82.41 - */
82.42 -package org.netbeans.modules.contrib.testng.spi;
82.43 -
82.44 -import java.io.File;
82.45 -import java.util.Collection;
82.46 -import java.util.HashMap;
82.47 -import java.util.HashSet;
82.48 -import java.util.Map;
82.49 -import java.util.Set;
82.50 -import org.openide.filesystems.FileUtil;
82.51 -import org.testng.xml.LaunchSuite;
82.52 -import org.testng.xml.SuiteGenerator;
82.53 -
82.54 -/**
82.55 - *
82.56 - * @author lukas
82.57 - */
82.58 -public final class XMLSuiteSupport {
82.59 -
82.60 - private XMLSuiteSupport() {
82.61 - }
82.62 -
82.63 - public static File createSuiteforMethod(File targetFolder, String projectName, String pkgName, String className, String methodName) {
82.64 - if (!targetFolder.isDirectory()) {
82.65 - throw new IllegalArgumentException(targetFolder.getAbsolutePath() + " is not a directory"); //NOI18N
82.66 - }
82.67 - Map<String, Collection<String>> classes = new HashMap<String, Collection<String>>();
82.68 - Set<String> methods = null;
82.69 - if (methodName != null) {
82.70 - methods = new HashSet<String>();
82.71 - methods.add(methodName);
82.72 - }
82.73 - pkgName = pkgName.trim();
82.74 - classes.put("".equals(pkgName) ? className : pkgName + "." + className, methods); //NOI18N
82.75 - LaunchSuite suite = SuiteGenerator.createSuite(projectName, null, classes, null, null, null, 1);
82.76 - File f = suite.save(targetFolder);
82.77 - FileUtil.refreshFor(targetFolder);
82.78 - return f;
82.79 - }
82.80 -}
83.1 --- a/testng/test/unit/data/antOut/log.txt Sat Mar 10 02:54:06 2012 +0100
83.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
83.3 @@ -1,2126 +0,0 @@
83.4 -run:
83.5 - -- Running tests --
83.6 - -- /space/sources/tng_fork/target/testng-6.3.2beta.jar --
83.7 -Executing '/space/java/sdk/jdk1.6.0_29/jre/bin/java' with arguments:
83.8 -'-Dtest.resources.dir=/space/sources/tng_fork/src/test/resources'
83.9 -'-Dsun.io.serialization.extendedDebugInfo=true'
83.10 -'-ea'
83.11 -'-classpath'
83.12 -'/space/sources/tng_fork/target/testng-6.3.2beta.jar:/space/sources/tng_fork/lib/guice-2.0.jar:/space/sources/tng_fork/target/test-classes:/space/sources/tng_fork/target/classes'
83.13 -'org.testng.TestNG'
83.14 -'@/tmp/testng3799935432581337127'
83.15 -
83.16 -The ' characters around the executable and arguments are
83.17 -not part of the command.
83.18 -[TestNG] Running:
83.19 - /space/sources/tng_fork/src/test/resources/junit-suite.xml
83.20 -
83.21 -[VerboseTestNG] RUNNING: Suite: "Junit via TestNG XML" containing "0" Tests (config: /space/sources/tng_fork/src/test/resources/junit-suite.xml)
83.22 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testFoo() finished in 3 ms
83.23 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testBar() finished in 0 ms
83.24 -[VerboseTestNG]
83.25 -[VerboseTestNG] ===============================================
83.26 -[VerboseTestNG] Junit via TestNG XML
83.27 -[VerboseTestNG] Tests run: 2, Failures: 0, Skips: 0
83.28 -[VerboseTestNG] ===============================================
83.29 -[TestNG] Running:
83.30 - /space/sources/tng_fork/src/test/resources/testng.xml
83.31 -
83.32 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite()
83.33 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite() finished in 2 ms
83.34 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite()
83.35 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite() finished in 0 ms
83.36 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init()
83.37 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init() finished in 0 ms
83.38 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init()
83.39 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init() finished in 0 ms
83.40 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite()
83.41 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite() finished in 1 ms
83.42 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore()
83.43 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore() finished in 0 ms
83.44 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent()
83.45 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent() finished in 0 ms
83.46 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init()
83.47 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init() finished in 0 ms
83.48 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite()
83.49 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite() finished in 1 ms
83.50 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild()
83.51 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild() finished in 0 ms
83.52 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite()
83.53 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite() finished in 0 ms
83.54 -[VerboseTestNG] RUNNING: Suite: "Nopackage" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.55 -[VerboseTestNG] INVOKING: "Nopackage" - NoPackageTest.test()
83.56 -[VerboseTestNG] PASSED: "Nopackage" - NoPackageTest.test() finished in 0 ms
83.57 -[VerboseTestNG] INVOKING CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after()
83.58 -[VerboseTestNG] PASSED CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after() finished in 0 ms
83.59 -[VerboseTestNG]
83.60 -[VerboseTestNG] ===============================================
83.61 -[VerboseTestNG] Nopackage
83.62 -[VerboseTestNG] Tests run: 3, Failures: 0, Skips: 0
83.63 -[VerboseTestNG] ===============================================
83.64 -[VerboseTestNG] RUNNING: Suite: "Regression1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.65 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric")
83.66 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.67 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterSample.testNonExistentParameter(java.lang.String)(value(s): null)
83.68 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterSample.testNonExistentParameter(java.lang.String)(value(s): null) finished in 0 ms
83.69 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric")
83.70 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.71 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterSample.testSingleString(java.lang.String)(value(s): "Cedric")
83.72 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterSample.testSingleString(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.73 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults()
83.74 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults() finished in 4 ms
83.75 -[VerboseTestNG] When verbose is set to >1, TNG prints test results on CLI which are printed using SuiteResultCounts.calculateResultCounts(). This method has been throwing NPE because it's unable to find SuiteRunner in HashMap, because the list of parameters in SuiteRunner changed during execution. This test makes sure we dont run into any NPEs
83.76 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding()
83.77 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding() finished in 11 ms
83.78 -[VerboseTestNG] Checks to make sure parameters are inherited and overridden properly
83.79 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.80 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.81 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterTest.beforeMethodWithParameters()
83.82 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterTest.beforeMethodWithParameters() finished in 6 ms
83.83 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.84 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.85 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterTest.stringSingle()
83.86 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterTest.stringSingle() finished in 6 ms
83.87 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.88 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.89 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.excludedGroups()
83.90 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.excludedGroups() finished in 28 ms
83.91 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.92 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.93 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsSimple()
83.94 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsSimple() finished in 13 ms
83.95 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.96 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.97 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithCycle()
83.98 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsWithCycle() finished in 12 ms
83.99 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.100 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.101 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithIndirections()
83.102 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsWithIndirections() finished in 9 ms
83.103 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.104 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.105 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.includedGroups()
83.106 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.includedGroups() finished in 6 ms
83.107 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.108 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.109 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.logger()
83.110 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.logger() finished in 1 ms
83.111 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.112 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.113 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.regexp()
83.114 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.regexp() finished in 7 ms
83.115 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.116 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.117 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
83.118 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.119 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.noGroups()
83.120 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.noGroups() finished in 16 ms
83.121 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.122 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.123 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
83.124 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.125 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsClass()
83.126 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.partialGroupsClass() finished in 6 ms
83.127 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.128 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.129 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
83.130 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.131 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsMethod()
83.132 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.partialGroupsMethod() finished in 19 ms
83.133 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.134 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.135 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
83.136 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.137 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.setUpWithGroups()
83.138 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.setUpWithGroups() finished in 1 ms
83.139 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod1()
83.140 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod1() finished in 0 ms
83.141 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod2()
83.142 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod2() finished in 0 ms
83.143 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod3()
83.144 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod3() finished in 0 ms
83.145 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.146 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.147 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions()
83.148 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions() finished in 11 ms
83.149 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
83.150 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.151 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax()
83.152 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax() finished in 8 ms
83.153 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod()
83.154 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod() finished in 0 ms
83.155 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod()
83.156 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod() finished in 1 ms
83.157 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod()
83.158 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod() finished in 0 ms
83.159 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod()
83.160 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod() finished in 0 ms
83.161 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod()
83.162 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod() finished in 0 ms
83.163 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod()
83.164 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod() finished in 0 ms
83.165 -[VerboseTestNG] INVOKING: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration()
83.166 -[VerboseTestNG] PASSED: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration() finished in 0 ms
83.167 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout()
83.168 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout() finished in 4 ms
83.169 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest()
83.170 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest() finished in 0 ms
83.171 -[VerboseTestNG]
83.172 -[VerboseTestNG] ===============================================
83.173 -[VerboseTestNG] Regression1
83.174 -[VerboseTestNG] Tests run: 27, Failures: 0, Skips: 0
83.175 -[VerboseTestNG] ===============================================
83.176 -[VerboseTestNG] RUNNING: Suite: "Regression2" containing "142" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.177 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.178 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.179 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.regexp()
83.180 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.regexp() finished in 9 ms
83.181 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.182 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.183 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithIndirections()
83.184 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsWithIndirections() finished in 6 ms
83.185 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.186 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.187 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.excludedGroups()
83.188 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.excludedGroups() finished in 10 ms
83.189 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.190 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.191 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsSimple()
83.192 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsSimple() finished in 6 ms
83.193 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.194 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.195 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.logger()
83.196 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.logger() finished in 0 ms
83.197 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.198 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.199 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.includedGroups()
83.200 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.includedGroups() finished in 7 ms
83.201 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.202 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.203 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithCycle()
83.204 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsWithCycle() finished in 8 ms
83.205 -[VerboseTestNG] INVOKING: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted()
83.206 -[VerboseTestNG] PASSED: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted() finished in 5 ms
83.207 -[VerboseTestNG] Make sure that skipped methods are accurately counted
83.208 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
83.209 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 0 ms
83.210 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.211 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.212 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludeMethodsOnly()
83.213 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.excludeMethodsOnly() finished in 7 ms
83.214 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.215 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.216 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.includeMethodsOnly()
83.217 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.includeMethodsOnly() finished in 7 ms
83.218 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.219 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.220 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludePackage()
83.221 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.excludePackage() finished in 7 ms
83.222 -[VerboseTestNG] INVOKING: "Regression2" - test.MapTest.testMap()
83.223 -[VerboseTestNG] PASSED: "Regression2" - test.MapTest.testMap() finished in 1 ms
83.224 -[VerboseTestNG] Make sure that arrays as map values work with assert
83.225 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
83.226 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 0 ms
83.227 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test3()
83.228 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test3() finished in 1 ms
83.229 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test2()
83.230 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
83.231 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test1()
83.232 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
83.233 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
83.234 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
83.235 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 1 ms
83.236 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
83.237 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 0 ms
83.238 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testSerialized()
83.239 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testSerialized() finished in 54 ms
83.240 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testString()
83.241 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testString() finished in 16 ms
83.242 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.sort()
83.243 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.sort() finished in 1 ms
83.244 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldBeCorrect()
83.245 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldBeCorrect() finished in 5 ms
83.246 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessorsTiming()
83.247 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessorsTiming() finished in 3 ms
83.248 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessors()
83.249 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessors() finished in 0 ms
83.250 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldFail()
83.251 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldFail() finished in 0 ms
83.252 -[VerboseTestNG] INVOKING: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1)
83.253 -[VerboseTestNG] PASSED: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1) finished in 0 ms
83.254 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test2()
83.255 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test2() finished in 0 ms
83.256 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test8()
83.257 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test8() finished in 0 ms
83.258 -[VerboseTestNG] INVOKING: "Regression2" - test.ReporterApiTest.testApi()
83.259 -[VerboseTestNG] PASSED: "Regression2" - test.ReporterApiTest.testApi() finished in 0 ms
83.260 -[VerboseTestNG] INVOKING: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod()
83.261 -[VerboseTestNG] PASSED: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod() finished in 0 ms
83.262 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun()
83.263 -[VerboseTestNG] PASSED: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun() finished in 3 ms
83.264 -[VerboseTestNG] Abstract methods defined in a superclass should be run
83.265 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.266 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.267 -[VerboseTestNG] INVOKING: "Regression2" - test.multiple.TestMultiple.multiple()
83.268 -[VerboseTestNG] PASSED: "Regression2" - test.multiple.TestMultiple.multiple() finished in 22 ms
83.269 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork()
83.270 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork() finished in 5 ms
83.271 -[VerboseTestNG] Override -groups and -excludegroups
83.272 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork()
83.273 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork() finished in 3 ms
83.274 -[VerboseTestNG] Override -groups
83.275 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork()
83.276 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork() finished in 4 ms
83.277 -[VerboseTestNG] Override -excludegroups
83.278 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass()
83.279 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass() finished in 0 ms
83.280 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testOne()
83.281 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testOne() finished in 0 ms
83.282 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testThree()
83.283 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testThree() finished in 0 ms
83.284 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testTwo()
83.285 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testTwo() finished in 0 ms
83.286 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential2()
83.287 -[VerboseTestNG] PASSED: "Regression2" - test.priority.PriorityTest.priorityInSequential2() finished in 7 ms
83.288 -[VerboseTestNG] Make sure priorities work in sequential mode
83.289 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential1()
83.290 -[VerboseTestNG] PASSED: "Regression2" - test.priority.PriorityTest.priorityInSequential1() finished in 6 ms
83.291 -[VerboseTestNG] Make sure priorities work in sequential mode
83.292 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter()
83.293 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter() finished in 2 ms
83.294 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter()
83.295 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter() finished in 2 ms
83.296 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore()
83.297 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore() finished in 3 ms
83.298 -[VerboseTestNG] INVOKING: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded()
83.299 -[VerboseTestNG] PASSED: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded() finished in 3 ms
83.300 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails()
83.301 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails() finished in 39 ms
83.302 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails()
83.303 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails() finished in 11 ms
83.304 -[VerboseTestNG] INVOKING: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled()
83.305 -[VerboseTestNG] PASSED: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled() finished in 3 ms
83.306 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.307 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.308 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest()
83.309 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest() finished in 4 ms
83.310 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.311 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.312 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest()
83.313 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest() finished in 5 ms
83.314 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1()
83.315 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1() finished in 4 ms
83.316 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2()
83.317 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2() finished in 2 ms
83.318 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2()
83.319 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2() finished in 2 ms
83.320 -[VerboseTestNG] Include in suite, exclude in test
83.321 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0()
83.322 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0() finished in 2 ms
83.323 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1()
83.324 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1() finished in 2 ms
83.325 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2()
83.326 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2() finished in 1 ms
83.327 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1()
83.328 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1() finished in 1 ms
83.329 -[VerboseTestNG] Include in both suite and test
83.330 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.331 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.332 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods()
83.333 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods() finished in 4 ms
83.334 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
83.335 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 0 ms
83.336 -[VerboseTestNG] INVOKING: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass()
83.337 -[VerboseTestNG] PASSED: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass() finished in 12 ms
83.338 -[VerboseTestNG] INVOKING: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork()
83.339 -[VerboseTestNG] PASSED: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork() finished in 2 ms
83.340 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init()
83.341 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init() finished in 0 ms
83.342 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel()
83.343 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel() finished in 0 ms
83.344 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers()
83.345 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers() finished in 1 ms
83.346 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters()
83.347 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters() finished in 0 ms
83.348 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter()
83.349 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter() finished in 0 ms
83.350 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore()
83.351 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore() finished in 0 ms
83.352 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore()
83.353 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore() finished in 0 ms
83.354 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel()
83.355 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel() finished in 0 ms
83.356 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions()
83.357 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions() finished in 0 ms
83.358 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory()
83.359 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory() finished in 0 ms
83.360 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel()
83.361 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel() finished in 1 ms
83.362 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider()
83.363 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider() finished in 0 ms
83.364 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter()
83.365 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter() finished in 0 ms
83.366 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml()
83.367 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml() finished in 2 ms
83.368 -[VerboseTestNG] Specifying -groups on the command line should override testng.xml
83.369 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml()
83.370 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml() finished in 1 ms
83.371 -[VerboseTestNG] Specifying -excludegroups on the command line should override testng.xml
83.372 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods()
83.373 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods() finished in 1 ms
83.374 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init()
83.375 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init() finished in 1 ms
83.376 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance()
83.377 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance() finished in 0 ms
83.378 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance()
83.379 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance() finished in 1 ms
83.380 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance()
83.381 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance() finished in 0 ms
83.382 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance()
83.383 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance() finished in 0 ms
83.384 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance()
83.385 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance() finished in 1 ms
83.386 -[VerboseTestNG] INVOKING: "Regression2" - test.jason.MainTest.afterClassShouldRun()
83.387 -[VerboseTestNG] PASSED: "Regression2" - test.jason.MainTest.afterClassShouldRun() finished in 2 ms
83.388 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods()
83.389 -[VerboseTestNG] PASSED: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods() finished in 9 ms
83.390 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel()
83.391 -[VerboseTestNG] PASSED: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel() finished in 7 ms
83.392 -[VerboseTestNG] INVOKING: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun()
83.393 -[VerboseTestNG] PASSED: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun() finished in 2 ms
83.394 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/90
83.395 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.396 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.397 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential2()
83.398 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential2() finished in 9 ms
83.399 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.400 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.401 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3()
83.402 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3() finished in 22 ms
83.403 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.404 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.405 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential1()
83.406 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential1() finished in 5 ms
83.407 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.408 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.409 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2()
83.410 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2() finished in 7 ms
83.411 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.412 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.413 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential3()
83.414 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential3() finished in 11 ms
83.415 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.416 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.417 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1()
83.418 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1() finished in 14 ms
83.419 -[VerboseTestNG] INVOKING: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce()
83.420 -[VerboseTestNG] PASSED: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce() finished in 4 ms
83.421 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/92
83.422 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.423 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.424 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory()
83.425 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory() finished in 11 ms
83.426 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.427 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.428 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone()
83.429 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone() finished in 9 ms
83.430 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.431 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.432 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests()
83.433 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests() finished in 9 ms
83.434 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.435 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.436 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods()
83.437 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods() finished in 18 ms
83.438 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.439 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.440 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses()
83.441 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses() finished in 11 ms
83.442 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.443 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.444 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory()
83.445 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory() finished in 7 ms
83.446 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount()
83.447 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount() finished in 1006 ms
83.448 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel()
83.449 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel() finished in 7 ms
83.450 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount()
83.451 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount() finished in 1005 ms
83.452 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads()
83.453 -[VerboseTestNG] PASSED: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads() finished in 32 ms
83.454 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads()
83.455 -[VerboseTestNG] PASSED: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads() finished in 24 ms
83.456 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
83.457 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 1 ms
83.458 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2()
83.459 -[VerboseTestNG] PASSED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2() finished in 4 ms
83.460 -[VerboseTestNG] Second test method
83.461 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
83.462 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 0 ms
83.463 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1()
83.464 -[VerboseTestNG] PASSED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1() finished in 2 ms
83.465 -[VerboseTestNG] First test method
83.466 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName()
83.467 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName() finished in 4 ms
83.468 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite()
83.469 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite() finished in 11 ms
83.470 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut()
83.471 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut() finished in 8 ms
83.472 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName()
83.473 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName() finished in 10 ms
83.474 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.verifyIndex()
83.475 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.verifyIndex() finished in 5 ms
83.476 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun()
83.477 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun() finished in 3 ms
83.478 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass()
83.479 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass() finished in 2016 ms
83.480 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2()
83.481 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2() finished in 1011 ms
83.482 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod()
83.483 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod() finished in 30 ms
83.484 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer()
83.485 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer() finished in 10 ms
83.486 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer()
83.487 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer() finished in 13 ms
83.488 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer()
83.489 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer() finished in 4 ms
83.490 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer()
83.491 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer() finished in 6 ms
83.492 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXml()
83.493 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithTestngXml() finished in 8 ms
83.494 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithoutTestngXml()
83.495 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithoutTestngXml() finished in 5 ms
83.496 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine()
83.497 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine() finished in 8 ms
83.498 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites()
83.499 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites() finished in 30 ms
83.500 -[VerboseTestNG] Ensure that TestNG stops without running any tests if some class included in suite is missing
83.501 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.simple()
83.502 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.simple() finished in 1 ms
83.503 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps()
83.504 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps() finished in 208 ms
83.505 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass()
83.506 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass() finished in 7 ms
83.507 -[VerboseTestNG] Test methods with expected exceptions should show up as pass in IInvokedMethodListener's afterInvocaiton method
83.508 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure()
83.509 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure() finished in 6 ms
83.510 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess()
83.511 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess() finished in 11 ms
83.512 -[VerboseTestNG] INVOKING: "Regression2" - test.testng249.VerifyTest.verify()
83.513 -[VerboseTestNG] PASSED: "Regression2" - test.testng249.VerifyTest.verify() finished in 7 ms
83.514 -[VerboseTestNG] INVOKING: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized()
83.515 -[VerboseTestNG] PASSED: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized() finished in 2 ms
83.516 -[VerboseTestNG] INVOKING: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips()
83.517 -[VerboseTestNG] PASSED: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips() finished in 4 ms
83.518 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.519 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.520 -[VerboseTestNG] INVOKING: "Regression2" - test.testng285.TestNG285Test.verifyBug()
83.521 -[VerboseTestNG] PASSED: "Regression2" - test.testng285.TestNG285Test.verifyBug() finished in 8 ms
83.522 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.523 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.524 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
83.525 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 1 ms
83.526 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded()
83.527 -[VerboseTestNG] PASSED: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded() finished in 19 ms
83.528 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
83.529 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 1 ms
83.530 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
83.531 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.532 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
83.533 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 0 ms
83.534 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers()
83.535 -[VerboseTestNG] PASSED: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers() finished in 28 ms
83.536 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
83.537 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 2 ms
83.538 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1)
83.539 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1) finished in 0 ms
83.540 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1)
83.541 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1) finished in 0 ms
83.542 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1)
83.543 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@14800aa1) finished in 0 ms
83.544 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation()
83.545 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation() finished in 6 ms
83.546 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener()
83.547 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener() finished in 1 ms
83.548 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation()
83.549 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation() finished in 2 ms
83.550 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyTestListener()
83.551 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyTestListener() finished in 3 ms
83.552 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup()
83.553 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup() finished in 0 ms
83.554 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle()
83.555 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle() finished in 0 ms
83.556 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractconfmethod.C.test1()
83.557 -[VerboseTestNG] PASSED: "Regression2" - test.abstractconfmethod.C.test1() finished in 0 ms
83.558 -[VerboseTestNG] Test depends on a config method that has implements an abstract methods
83.559 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@7948083b, [Ljava.lang.String;@681497b1)
83.560 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@7948083b, [Ljava.lang.String;@681497b1) finished in 4 ms
83.561 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@45bb9533, [Ljava.lang.String;@1e406b09)
83.562 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@45bb9533, [Ljava.lang.String;@1e406b09) finished in 5 ms
83.563 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@5c17d6c1, [Ljava.lang.String;@21144823)
83.564 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@5c17d6c1, [Ljava.lang.String;@21144823) finished in 6 ms
83.565 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@11cdc190, [Ljava.lang.String;@5b5ede11)
83.566 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@11cdc190, [Ljava.lang.String;@5b5ede11) finished in 5 ms
83.567 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@76b280b1, [Ljava.lang.String;@411f2158)
83.568 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@76b280b1, [Ljava.lang.String;@411f2158) finished in 5 ms
83.569 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1dc2dad7, [Ljava.lang.String;@63ad6884)
83.570 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1dc2dad7, [Ljava.lang.String;@63ad6884) finished in 4 ms
83.571 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve()
83.572 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve() finished in 4 ms
83.573 -[VerboseTestNG] preserve-order on a factory doesn't cause an NPE
83.574 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder()
83.575 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder() finished in 21 ms
83.576 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies()
83.577 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies() finished in 7 ms
83.578 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder()
83.579 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder() finished in 40 ms
83.580 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest()
83.581 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest() finished in 0 ms
83.582 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass()
83.583 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass() finished in 0 ms
83.584 -[VerboseTestNG]
83.585 -[VerboseTestNG] ===============================================
83.586 -[VerboseTestNG] Regression2
83.587 -[VerboseTestNG] Tests run: 174, Failures: 0, Skips: 0
83.588 -[VerboseTestNG] ===============================================
83.589 -[VerboseTestNG] RUNNING: Suite: "Threads" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.590 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
83.591 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 0 ms
83.592 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
83.593 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
83.594 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
83.595 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
83.596 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
83.597 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
83.598 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
83.599 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
83.600 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
83.601 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
83.602 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.verify()
83.603 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.verify() finished in 0 ms
83.604 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
83.605 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 0 ms
83.606 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
83.607 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
83.608 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
83.609 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
83.610 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
83.611 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
83.612 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
83.613 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
83.614 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
83.615 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
83.616 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail()
83.617 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail() finished in 117 ms
83.618 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify()
83.619 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify() finished in 0 ms
83.620 -[VerboseTestNG]
83.621 -[VerboseTestNG] ===============================================
83.622 -[VerboseTestNG] Threads
83.623 -[VerboseTestNG] Tests run: 187, Failures: 0, Skips: 0
83.624 -[VerboseTestNG] ===============================================
83.625 -[VerboseTestNG] RUNNING: Suite: "Listeners" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.626 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm()
83.627 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm() finished in 1 ms
83.628 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1()
83.629 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1() finished in 1 ms
83.630 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2()
83.631 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2() finished in 0 ms
83.632 -[VerboseTestNG] Make sure that ITestResult#getEndMillis is properly set
83.633 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull()
83.634 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull() finished in 8 ms
83.635 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
83.636 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 1 ms
83.637 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork()
83.638 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork() finished in 1 ms
83.639 -[VerboseTestNG] @Listeners with an ISuiteListener
83.640 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
83.641 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 1 ms
83.642 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.aggregateListeners()
83.643 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.aggregateListeners() finished in 2 ms
83.644 -[VerboseTestNG] Inherited @Listeners annotations should aggregate
83.645 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
83.646 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
83.647 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod()
83.648 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod() finished in 2 ms
83.649 -[VerboseTestNG] TESTNG-400: onTestFailure should be called before @AfterMethod
83.650 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
83.651 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
83.652 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest()
83.653 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest() finished in 3 ms
83.654 -[VerboseTestNG] Should attach only one instance of the same @Listener class per test
83.655 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
83.656 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
83.657 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration()
83.658 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration() finished in 2 ms
83.659 -[VerboseTestNG] Ensure that if a listener is present, we get test(), onSuccess(), afterMethod()
83.660 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun()
83.661 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun() finished in 0 ms
83.662 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked()
83.663 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked() finished in 2 ms
83.664 -[VerboseTestNG] Make sure that listeners defined in testng.xml are invoked
83.665 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener()
83.666 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener() finished in 2 ms
83.667 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation()
83.668 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation() finished in 1 ms
83.669 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml()
83.670 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml() finished in 1 ms
83.671 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail()
83.672 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail() finished in 2 ms
83.673 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip()
83.674 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip() finished in 3 ms
83.675 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed()
83.676 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed() finished in 2 ms
83.677 -[VerboseTestNG] INVOKING: "Listeners" - test.multiplelisteners.TestMaker.run()
83.678 -[VerboseTestNG] PASSED: "Listeners" - test.multiplelisteners.TestMaker.run() finished in 4 ms
83.679 -[VerboseTestNG] Make sure only one listener is created and not 2^3
83.680 -[VerboseTestNG]
83.681 -[VerboseTestNG] ===============================================
83.682 -[VerboseTestNG] Listeners
83.683 -[VerboseTestNG] Tests run: 204, Failures: 0, Skips: 0
83.684 -[VerboseTestNG] ===============================================
83.685 -[VerboseTestNG] RUNNING: Suite: "Injection" containing "8" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.686 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@169da74)
83.687 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@169da74) finished in 0 ms
83.688 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@2d4c8822)
83.689 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@2d4c8822) finished in 0 ms
83.690 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@2d4c8822, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
83.691 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@2d4c8822, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 1 ms
83.692 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@2d4c8822)
83.693 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@2d4c8822) finished in 0 ms
83.694 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a")
83.695 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a") finished in 0 ms
83.696 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@2d4c8822)
83.697 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@2d4c8822) finished in 0 ms
83.698 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@26e795b)
83.699 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@26e795b) finished in 0 ms
83.700 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@26e795b, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
83.701 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@26e795b, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 0 ms
83.702 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@26e795b)
83.703 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@26e795b) finished in 1 ms
83.704 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b")
83.705 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b") finished in 0 ms
83.706 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@26e795b)
83.707 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@26e795b) finished in 0 ms
83.708 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection()
83.709 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection() finished in 4 ms
83.710 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@169da74, "a")
83.711 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@169da74, "a") finished in 0 ms
83.712 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@169da74, "b")
83.713 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@169da74, "b") finished in 0 ms
83.714 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@169da74, 1, "a")
83.715 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@169da74, 1, "a") finished in 0 ms
83.716 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@169da74, 2, "b")
83.717 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@169da74, 2, "b") finished in 1 ms
83.718 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@169da74)
83.719 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@169da74) finished in 0 ms
83.720 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@169da74)
83.721 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@169da74) finished in 0 ms
83.722 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method))
83.723 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)) finished in 1 ms
83.724 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f())
83.725 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f()) finished in 1 ms
83.726 -[VerboseTestNG]
83.727 -[VerboseTestNG] ===============================================
83.728 -[VerboseTestNG] Injection
83.729 -[VerboseTestNG] Tests run: 216, Failures: 0, Skips: 0
83.730 -[VerboseTestNG] ===============================================
83.731 -[VerboseTestNG] RUNNING: Suite: "BeforeMethod" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.732 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@f4c0275)
83.733 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@f4c0275) finished in 0 ms
83.734 -[VerboseTestNG] INVOKING: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest()
83.735 -[VerboseTestNG] PASSED: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest() finished in 0 ms
83.736 -[VerboseTestNG]
83.737 -[VerboseTestNG] ===============================================
83.738 -[VerboseTestNG] BeforeMethod
83.739 -[VerboseTestNG] Tests run: 217, Failures: 0, Skips: 0
83.740 -[VerboseTestNG] ===============================================
83.741 -[VerboseTestNG] RUNNING: Suite: "Basic" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.742 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod()
83.743 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod() finished in 0 ms
83.744 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic1.basic1()
83.745 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic1.basic1() finished in 0 ms
83.746 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp()
83.747 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.748 -[VerboseTestNG] INVOKING: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails()
83.749 -[VerboseTestNG] PASSED: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails() finished in 4 ms
83.750 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic2.basic2()
83.751 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic2.basic2() finished in 1 ms
83.752 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun()
83.753 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun() finished in 0 ms
83.754 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp()
83.755 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp() finished in 0 ms
83.756 -[VerboseTestNG]
83.757 -[VerboseTestNG] ===============================================
83.758 -[VerboseTestNG] Basic
83.759 -[VerboseTestNG] Tests run: 220, Failures: 0, Skips: 0
83.760 -[VerboseTestNG] ===============================================
83.761 -[VerboseTestNG] RUNNING: Suite: "Exclusion" containing "4" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.762 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
83.763 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.764 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
83.765 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 1 ms
83.766 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.noGroups()
83.767 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.noGroups() finished in 15 ms
83.768 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
83.769 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.770 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
83.771 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.772 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsClass()
83.773 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.partialGroupsClass() finished in 6 ms
83.774 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
83.775 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.776 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
83.777 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.778 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsMethod()
83.779 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.partialGroupsMethod() finished in 5 ms
83.780 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
83.781 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.782 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
83.783 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
83.784 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.setUpWithGroups()
83.785 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.setUpWithGroups() finished in 1 ms
83.786 -[VerboseTestNG]
83.787 -[VerboseTestNG] ===============================================
83.788 -[VerboseTestNG] Exclusion
83.789 -[VerboseTestNG] Tests run: 224, Failures: 0, Skips: 0
83.790 -[VerboseTestNG] ===============================================
83.791 -[VerboseTestNG] RUNNING: Suite: "Dependents" containing "44" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.792 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init()
83.793 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init() finished in 0 ms
83.794 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_first0()
83.795 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_first0() finished in 1 ms
83.796 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_premiere1()
83.797 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_premiere1() finished in 0 ms
83.798 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.799 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.800 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle()
83.801 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle() finished in 1 ms
83.802 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.803 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.804 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethods()
83.805 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethods() finished in 6 ms
83.806 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.807 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.808 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle()
83.809 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle() finished in 2 ms
83.810 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.811 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.812 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod()
83.813 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod() finished in 2 ms
83.814 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.815 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.816 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip()
83.817 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip() finished in 5 ms
83.818 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.819 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.820 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider()
83.821 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider() finished in 12 ms
83.822 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.823 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.824 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.instanceDependencies()
83.825 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.instanceDependencies() finished in 8 ms
83.826 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.827 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.828 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.multipleSkips()
83.829 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.multipleSkips() finished in 6 ms
83.830 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.831 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.832 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.simpleSkip()
83.833 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.simpleSkip() finished in 4 ms
83.834 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentTest.test2()
83.835 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentTest.test2() finished in 5 ms
83.836 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime()
83.837 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime() finished in 0 ms
83.838 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneA()
83.839 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneA() finished in 1 ms
83.840 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneB()
83.841 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneB() finished in 0 ms
83.842 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one()
83.843 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one() finished in 0 ms
83.844 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric")
83.845 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.846 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance()
83.847 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance() finished in 0 ms
83.848 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation()
83.849 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation() finished in 0 ms
83.850 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents()
83.851 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents() finished in 0 ms
83.852 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.853 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.854 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups()
83.855 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups() finished in 12 ms
83.856 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.857 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.858 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses()
83.859 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses() finished in 3 ms
83.860 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.861 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.862 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun()
83.863 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun() finished in 4 ms
83.864 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.865 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.866 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun()
83.867 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun() finished in 4 ms
83.868 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.869 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.870 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun()
83.871 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun() finished in 4 ms
83.872 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.873 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.874 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups()
83.875 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups() finished in 3 ms
83.876 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.877 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.878 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion()
83.879 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion() finished in 3 ms
83.880 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.881 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.882 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2()
83.883 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2() finished in 3 ms
83.884 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.885 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.886 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3()
83.887 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3() finished in 2 ms
83.888 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.889 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.890 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4()
83.891 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4() finished in 4 ms
83.892 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
83.893 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.894 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion()
83.895 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion() finished in 2 ms
83.896 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide1Test.m1()
83.897 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide1Test.m1() finished in 0 ms
83.898 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup()
83.899 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup() finished in 1 ms
83.900 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.send()
83.901 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.send() finished in 0 ms
83.902 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugVerifyTest.verify()
83.903 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugVerifyTest.verify() finished in 0 ms
83.904 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2()
83.905 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2() finished in 0 ms
83.906 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before()
83.907 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before() finished in 0 ms
83.908 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations()
83.909 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations() finished in 0 ms
83.910 -[VerboseTestNG] INVOKING: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses()
83.911 -[VerboseTestNG] PASSED: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses() finished in 6 ms
83.912 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances()
83.913 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances() finished in 3 ms
83.914 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances()
83.915 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances() finished in 3 ms
83.916 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0()
83.917 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0() finished in 0 ms
83.918 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.a_second1()
83.919 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.a_second1() finished in 1 ms
83.920 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.secondA()
83.921 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.secondA() finished in 1 ms
83.922 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.secondA()
83.923 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.secondA() finished in 0 ms
83.924 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown()
83.925 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown() finished in 0 ms
83.926 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide2Test.m2()
83.927 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide2Test.m2() finished in 0 ms
83.928 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.get()
83.929 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.get() finished in 0 ms
83.930 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy()
83.931 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy() finished in 0 ms
83.932 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.third0()
83.933 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.third0() finished in 0 ms
83.934 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.thirdA()
83.935 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.thirdA() finished in 0 ms
83.936 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown()
83.937 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown() finished in 0 ms
83.938 -[VerboseTestNG]
83.939 -[VerboseTestNG] ===============================================
83.940 -[VerboseTestNG] Dependents
83.941 -[VerboseTestNG] Tests run: 268, Failures: 0, Skips: 0
83.942 -[VerboseTestNG] ===============================================
83.943 -[VerboseTestNG] RUNNING: Suite: "Inheritance" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.944 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration()
83.945 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration() finished in 0 ms
83.946 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0()
83.947 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0() finished in 0 ms
83.948 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1()
83.949 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1() finished in 1 ms
83.950 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2()
83.951 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2() finished in 0 ms
83.952 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod()
83.953 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod() finished in 0 ms
83.954 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder()
83.955 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder() finished in 0 ms
83.956 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.setVerify()
83.957 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.setVerify() finished in 1 ms
83.958 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans()
83.959 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans() finished in 0 ms
83.960 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder()
83.961 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder() finished in 0 ms
83.962 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.verify()
83.963 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.verify() finished in 0 ms
83.964 -[VerboseTestNG]
83.965 -[VerboseTestNG] ===============================================
83.966 -[VerboseTestNG] Inheritance
83.967 -[VerboseTestNG] Tests run: 274, Failures: 0, Skips: 0
83.968 -[VerboseTestNG] ===============================================
83.969 -[VerboseTestNG] RUNNING: Suite: "Test outer scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.970 -[VerboseTestNG] INVOKING: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out")
83.971 -[VerboseTestNG] PASSED: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out") finished in 0 ms
83.972 -[VerboseTestNG]
83.973 -[VerboseTestNG] ===============================================
83.974 -[VerboseTestNG] Test outer scope
83.975 -[VerboseTestNG] Tests run: 275, Failures: 0, Skips: 0
83.976 -[VerboseTestNG] ===============================================
83.977 -[VerboseTestNG] RUNNING: Suite: "Test inner scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.978 -[VerboseTestNG] INVOKING: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in")
83.979 -[VerboseTestNG] PASSED: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in") finished in 0 ms
83.980 -[VerboseTestNG]
83.981 -[VerboseTestNG] ===============================================
83.982 -[VerboseTestNG] Test inner scope
83.983 -[VerboseTestNG] Tests run: 276, Failures: 0, Skips: 0
83.984 -[VerboseTestNG] ===============================================
83.985 -[VerboseTestNG] RUNNING: Suite: "AfterClassCalledAtEnd" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.986 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
83.987 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 0 ms
83.988 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1()
83.989 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
83.990 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
83.991 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2()
83.992 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
83.993 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3()
83.994 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3() finished in 0 ms
83.995 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
83.996 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 0 ms
83.997 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
83.998 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 0 ms
83.999 -[VerboseTestNG]
83.1000 -[VerboseTestNG] ===============================================
83.1001 -[VerboseTestNG] AfterClassCalledAtEnd
83.1002 -[VerboseTestNG] Tests run: 279, Failures: 0, Skips: 0
83.1003 -[VerboseTestNG] ===============================================
83.1004 -[VerboseTestNG] RUNNING: Suite: "Triangle" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1005 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
83.1006 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
83.1007 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1()
83.1008 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1() finished in 0 ms
83.1009 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1a()
83.1010 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1a() finished in 0 ms
83.1011 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
83.1012 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 1 ms
83.1013 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
83.1014 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
83.1015 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child2.child2()
83.1016 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child2.child2() finished in 0 ms
83.1017 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
83.1018 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 0 ms
83.1019 -[VerboseTestNG]
83.1020 -[VerboseTestNG] ===============================================
83.1021 -[VerboseTestNG] Triangle
83.1022 -[VerboseTestNG] Tests run: 282, Failures: 0, Skips: 0
83.1023 -[VerboseTestNG] ===============================================
83.1024 -[VerboseTestNG] RUNNING: Suite: "CheckTrianglePost" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1025 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2")
83.1026 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2") finished in 1 ms
83.1027 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2")
83.1028 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2") finished in 0 ms
83.1029 -[VerboseTestNG]
83.1030 -[VerboseTestNG] ===============================================
83.1031 -[VerboseTestNG] CheckTrianglePost
83.1032 -[VerboseTestNG] Tests run: 284, Failures: 0, Skips: 0
83.1033 -[VerboseTestNG] ===============================================
83.1034 -[VerboseTestNG] RUNNING: Suite: "Test class groups 1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1035 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first1()
83.1036 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first1() finished in 0 ms
83.1037 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first2()
83.1038 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first2() finished in 0 ms
83.1039 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.Second.verify()
83.1040 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.Second.verify() finished in 0 ms
83.1041 -[VerboseTestNG]
83.1042 -[VerboseTestNG] ===============================================
83.1043 -[VerboseTestNG] Test class groups 1
83.1044 -[VerboseTestNG] Tests run: 287, Failures: 0, Skips: 0
83.1045 -[VerboseTestNG] ===============================================
83.1046 -[VerboseTestNG] RUNNING: Suite: "Test class groups 2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1047 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first1()
83.1048 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first1() finished in 1 ms
83.1049 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first2()
83.1050 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first2() finished in 0 ms
83.1051 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.Second.verify()
83.1052 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.Second.verify() finished in 0 ms
83.1053 -[VerboseTestNG]
83.1054 -[VerboseTestNG] ===============================================
83.1055 -[VerboseTestNG] Test class groups 2
83.1056 -[VerboseTestNG] Tests run: 290, Failures: 0, Skips: 0
83.1057 -[VerboseTestNG] ===============================================
83.1058 -[VerboseTestNG] RUNNING: Suite: "Factory" containing "30" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1059 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest()
83.1060 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest() finished in 0 ms
83.1061 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation()
83.1062 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation() finished in 12 ms
83.1063 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests()
83.1064 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests() finished in 1 ms
83.1065 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork()
83.1066 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork() finished in 4 ms
83.1067 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved()
83.1068 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved() finished in 5 ms
83.1069 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider()
83.1070 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider() finished in 3 ms
83.1071 -[VerboseTestNG] Test @Factory(dataProvider) on a local static data provider
83.1072 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider()
83.1073 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider() finished in 4 ms
83.1074 -[VerboseTestNG] Test @Factory(dataProvider) on a non static data provider with no arg ctor
83.1075 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail()
83.1076 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail() finished in 2 ms
83.1077 -[VerboseTestNG] Should fail because the data provider is not static
83.1078 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider()
83.1079 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider() finished in 2 ms
83.1080 -[VerboseTestNG] Test @Factory(dataProvider) on a data provider in another class
83.1081 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test()
83.1082 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test() finished in 1 ms
83.1083 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
83.1084 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
83.1085 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
83.1086 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
83.1087 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider()
83.1088 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider() finished in 13 ms
83.1089 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
83.1090 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
83.1091 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
83.1092 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
83.1093 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
83.1094 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 1 ms
83.1095 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
83.1096 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
83.1097 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
83.1098 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
83.1099 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
83.1100 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
83.1101 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
83.1102 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 1 ms
83.1103 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
83.1104 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
83.1105 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
83.1106 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
83.1107 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
83.1108 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 0 ms
83.1109 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
83.1110 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
83.1111 -[VerboseTestNG] INVOKING: "Factory" - test.factory.TestClassAnnotationTest.testOne()
83.1112 -[VerboseTestNG] PASSED: "Factory" - test.factory.TestClassAnnotationTest.testOne() finished in 0 ms
83.1113 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify()
83.1114 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify() finished in 0 ms
83.1115 -[VerboseTestNG] INVOKING: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory()
83.1116 -[VerboseTestNG] PASSED: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory() finished in 12 ms
83.1117 -[VerboseTestNG] INVOKING: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun()
83.1118 -[VerboseTestNG] PASSED: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun() finished in 2 ms
83.1119 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSeparateClass.checkSum()
83.1120 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSeparateClass.checkSum() finished in 0 ms
83.1121 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
83.1122 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
83.1123 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
83.1124 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
83.1125 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
83.1126 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
83.1127 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
83.1128 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 1 ms
83.1129 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
83.1130 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
83.1131 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
83.1132 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
83.1133 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryTest.mainCheck()
83.1134 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryTest.mainCheck() finished in 0 ms
83.1135 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck()
83.1136 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck() finished in 0 ms
83.1137 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
83.1138 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
83.1139 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
83.1140 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
83.1141 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
83.1142 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
83.1143 -[VerboseTestNG]
83.1144 -[VerboseTestNG] ===============================================
83.1145 -[VerboseTestNG] Factory
83.1146 -[VerboseTestNG] Tests run: 320, Failures: 0, Skips: 0
83.1147 -[VerboseTestNG] ===============================================
83.1148 -[VerboseTestNG] RUNNING: Suite: "TimeOut" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1149 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1150 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1151 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel()
83.1152 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel() finished in 1014 ms
83.1153 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1154 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1155 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel()
83.1156 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel() finished in 1018 ms
83.1157 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1158 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1159 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut()
83.1160 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut() finished in 2259 ms
83.1161 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1162 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1163 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut()
83.1164 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut() finished in 2002 ms
83.1165 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1166 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1167 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag()
83.1168 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag() finished in 1005 ms
83.1169 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1170 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1171 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag()
83.1172 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag() finished in 1007 ms
83.1173 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
83.1174 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1175 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests()
83.1176 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests() finished in 3017 ms
83.1177 -[VerboseTestNG]
83.1178 -[VerboseTestNG] ===============================================
83.1179 -[VerboseTestNG] TimeOut
83.1180 -[VerboseTestNG] Tests run: 327, Failures: 0, Skips: 0
83.1181 -[VerboseTestNG] ===============================================
83.1182 -[VerboseTestNG] RUNNING: Suite: "InvocationCount" containing "13" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1183 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
83.1184 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1185 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount()
83.1186 -[VerboseTestNG] PASSED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount() finished in 5 ms
83.1187 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
83.1188 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1189 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds()
83.1190 -[VerboseTestNG] PASSED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds() finished in 4 ms
83.1191 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop()
83.1192 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop() finished in 21 ms
83.1193 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop()
83.1194 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop() finished in 19 ms
83.1195 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop()
83.1196 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop() finished in 12 ms
83.1197 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse()
83.1198 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse() finished in 12 ms
83.1199 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue()
83.1200 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue() finished in 11 ms
83.1201 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse()
83.1202 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse() finished in 11 ms
83.1203 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue()
83.1204 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue() finished in 11 ms
83.1205 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse()
83.1206 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse() finished in 13 ms
83.1207 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue()
83.1208 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue() finished in 17 ms
83.1209 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse()
83.1210 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse() finished in 15 ms
83.1211 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue()
83.1212 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue() finished in 14 ms
83.1213 -[VerboseTestNG]
83.1214 -[VerboseTestNG] ===============================================
83.1215 -[VerboseTestNG] InvocationCount
83.1216 -[VerboseTestNG] Tests run: 340, Failures: 0, Skips: 0
83.1217 -[VerboseTestNG] ===============================================
83.1218 -[VerboseTestNG] RUNNING: Suite: "Method1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1219 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun1()
83.1220 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
83.1221 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun2()
83.1222 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
83.1223 -[VerboseTestNG] INVOKING: "Method1" - test.methods.VerifyMethod1.verify()
83.1224 -[VerboseTestNG] PASSED: "Method1" - test.methods.VerifyMethod1.verify() finished in 0 ms
83.1225 -[VerboseTestNG]
83.1226 -[VerboseTestNG] ===============================================
83.1227 -[VerboseTestNG] Method1
83.1228 -[VerboseTestNG] Tests run: 343, Failures: 0, Skips: 0
83.1229 -[VerboseTestNG] ===============================================
83.1230 -[VerboseTestNG] RUNNING: Suite: "Method2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1231 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun1()
83.1232 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun1() finished in 1 ms
83.1233 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun2()
83.1234 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
83.1235 -[VerboseTestNG] INVOKING: "Method2" - test.methods.VerifyMethod1.verify()
83.1236 -[VerboseTestNG] PASSED: "Method2" - test.methods.VerifyMethod1.verify() finished in 0 ms
83.1237 -[VerboseTestNG]
83.1238 -[VerboseTestNG] ===============================================
83.1239 -[VerboseTestNG] Method2
83.1240 -[VerboseTestNG] Tests run: 346, Failures: 0, Skips: 0
83.1241 -[VerboseTestNG] ===============================================
83.1242 -[VerboseTestNG] RUNNING: Suite: "Method3" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1243 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun1()
83.1244 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
83.1245 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun2()
83.1246 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun2() finished in 1 ms
83.1247 -[VerboseTestNG] INVOKING: "Method3" - test.methods.VerifyMethod1.verify()
83.1248 -[VerboseTestNG] PASSED: "Method3" - test.methods.VerifyMethod1.verify() finished in 0 ms
83.1249 -[VerboseTestNG]
83.1250 -[VerboseTestNG] ===============================================
83.1251 -[VerboseTestNG] Method3
83.1252 -[VerboseTestNG] Tests run: 349, Failures: 0, Skips: 0
83.1253 -[VerboseTestNG] ===============================================
83.1254 -[VerboseTestNG] RUNNING: Suite: "Object factory" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1255 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext()
83.1256 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext() finished in 11 ms
83.1257 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
83.1258 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
83.1259 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite()
83.1260 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite() finished in 7 ms
83.1261 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
83.1262 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 1 ms
83.1263 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG()
83.1264 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG() finished in 6 ms
83.1265 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
83.1266 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 1 ms
83.1267 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation()
83.1268 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation() finished in 1 ms
83.1269 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
83.1270 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
83.1271 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp()
83.1272 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1273 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory()
83.1274 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory() finished in 4 ms
83.1275 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork()
83.1276 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork() finished in 9 ms
83.1277 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork()
83.1278 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork() finished in 10 ms
83.1279 -[VerboseTestNG]
83.1280 -[VerboseTestNG] ===============================================
83.1281 -[VerboseTestNG] Object factory
83.1282 -[VerboseTestNG] Tests run: 356, Failures: 0, Skips: 0
83.1283 -[VerboseTestNG] ===============================================
83.1284 -[VerboseTestNG] RUNNING: Suite: "Parameters for constructors" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1285 -[VerboseTestNG] INVOKING: "Parameters for constructors" - test.ParameterConstructorTest.verify()
83.1286 -[VerboseTestNG] PASSED: "Parameters for constructors" - test.ParameterConstructorTest.verify() finished in 0 ms
83.1287 -[VerboseTestNG]
83.1288 -[VerboseTestNG] ===============================================
83.1289 -[VerboseTestNG] Parameters for constructors
83.1290 -[VerboseTestNG] Tests run: 357, Failures: 0, Skips: 0
83.1291 -[VerboseTestNG] ===============================================
83.1292 -[VerboseTestNG] RUNNING: Suite: "Excluded methods" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1293 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included1()
83.1294 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included1() finished in 0 ms
83.1295 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included2()
83.1296 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included2() finished in 0 ms
83.1297 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.verify()
83.1298 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.verify() finished in 0 ms
83.1299 -[VerboseTestNG]
83.1300 -[VerboseTestNG] ===============================================
83.1301 -[VerboseTestNG] Excluded methods
83.1302 -[VerboseTestNG] Tests run: 360, Failures: 0, Skips: 0
83.1303 -[VerboseTestNG] ===============================================
83.1304 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 1" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1305 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1")
83.1306 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1") finished in 1 ms
83.1307 -[VerboseTestNG] INVOKING: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1")
83.1308 -[VerboseTestNG] PASSED: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1") finished in 1 ms
83.1309 -[VerboseTestNG]
83.1310 -[VerboseTestNG] ===============================================
83.1311 -[VerboseTestNG] Parameters in init 1
83.1312 -[VerboseTestNG] Tests run: 361, Failures: 0, Skips: 0
83.1313 -[VerboseTestNG] ===============================================
83.1314 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 2" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1315 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2")
83.1316 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2") finished in 0 ms
83.1317 -[VerboseTestNG] INVOKING: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2")
83.1318 -[VerboseTestNG] PASSED: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2") finished in 0 ms
83.1319 -[VerboseTestNG]
83.1320 -[VerboseTestNG] ===============================================
83.1321 -[VerboseTestNG] Parameters in init 2
83.1322 -[VerboseTestNG] Tests run: 362, Failures: 0, Skips: 0
83.1323 -[VerboseTestNG] ===============================================
83.1324 -[VerboseTestNG] RUNNING: Suite: "Individual method" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1325 -[VerboseTestNG] INVOKING CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp()
83.1326 -[VerboseTestNG] PASSED CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp() finished in 1 ms
83.1327 -[VerboseTestNG] INVOKING: "Individual method" - test.IndividualMethodsTest.testMethod()
83.1328 -[VerboseTestNG] PASSED: "Individual method" - test.IndividualMethodsTest.testMethod() finished in 0 ms
83.1329 -[VerboseTestNG]
83.1330 -[VerboseTestNG] ===============================================
83.1331 -[VerboseTestNG] Individual method
83.1332 -[VerboseTestNG] Tests run: 363, Failures: 0, Skips: 0
83.1333 -[VerboseTestNG] ===============================================
83.1334 -[VerboseTestNG] RUNNING: Suite: "Method inheritance" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1335 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest()
83.1336 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest() finished in 0 ms
83.1337 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication()
83.1338 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication() finished in 0 ms
83.1339 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog()
83.1340 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog() finished in 1 ms
83.1341 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2()
83.1342 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2() finished in 0 ms
83.1343 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.DChild_2.test()
83.1344 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.DChild_2.test() finished in 0 ms
83.1345 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2()
83.1346 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2() finished in 0 ms
83.1347 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog()
83.1348 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog() finished in 1 ms
83.1349 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication()
83.1350 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication() finished in 0 ms
83.1351 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.VerifyTest.verify()
83.1352 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.VerifyTest.verify() finished in 2 ms
83.1353 -[VerboseTestNG]
83.1354 -[VerboseTestNG] ===============================================
83.1355 -[VerboseTestNG] Method inheritance
83.1356 -[VerboseTestNG] Tests run: 365, Failures: 0, Skips: 0
83.1357 -[VerboseTestNG] ===============================================
83.1358 -[VerboseTestNG] RUNNING: Suite: "Method selectors" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1359 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1360 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1361 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2()
83.1362 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2() finished in 11 ms
83.1363 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1364 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1365 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests()
83.1366 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests() finished in 9 ms
83.1367 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1368 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1369 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test()
83.1370 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test() finished in 2 ms
83.1371 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1372 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1373 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups()
83.1374 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups() finished in 2 ms
83.1375 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1376 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1377 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2()
83.1378 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2() finished in 3 ms
83.1379 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
83.1380 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1381 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1()
83.1382 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1() finished in 42 ms
83.1383 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1384 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1385 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2()
83.1386 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2() finished in 10 ms
83.1387 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1388 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1389 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests()
83.1390 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests() finished in 11 ms
83.1391 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1392 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 1 ms
83.1393 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test()
83.1394 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test() finished in 8 ms
83.1395 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1396 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1397 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors()
83.1398 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors() finished in 11 ms
83.1399 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1400 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1401 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups()
83.1402 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups() finished in 36 ms
83.1403 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1404 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1405 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2()
83.1406 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2() finished in 10 ms
83.1407 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1408 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1409 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector()
83.1410 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector() finished in 12 ms
83.1411 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
83.1412 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
83.1413 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile()
83.1414 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile() finished in 16 ms
83.1415 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
83.1416 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
83.1417 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine()
83.1418 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine() finished in 12 ms
83.1419 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
83.1420 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 1 ms
83.1421 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite()
83.1422 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite() finished in 2 ms
83.1423 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
83.1424 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
83.1425 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite()
83.1426 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite() finished in 3 ms
83.1427 -[VerboseTestNG]
83.1428 -[VerboseTestNG] ===============================================
83.1429 -[VerboseTestNG] Method selectors
83.1430 -[VerboseTestNG] Tests run: 382, Failures: 0, Skips: 0
83.1431 -[VerboseTestNG] ===============================================
83.1432 -[VerboseTestNG] RUNNING: Suite: "Test order invocation" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1433 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest()
83.1434 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest() finished in 0 ms
83.1435 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp()
83.1436 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1437 -[VerboseTestNG] INVOKING: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder()
83.1438 -[VerboseTestNG] PASSED: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder() finished in 16 ms
83.1439 -[VerboseTestNG]
83.1440 -[VerboseTestNG] ===============================================
83.1441 -[VerboseTestNG] Test order invocation
83.1442 -[VerboseTestNG] Tests run: 383, Failures: 0, Skips: 0
83.1443 -[VerboseTestNG] ===============================================
83.1444 -[VerboseTestNG] RUNNING: Suite: "DataProvider" containing "29" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1445 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest()
83.1446 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest() finished in 0 ms
83.1447 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36)
83.1448 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36) finished in 0 ms
83.1449 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37)
83.1450 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37) finished in 0 ms
83.1451 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass()
83.1452 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass() finished in 1 ms
83.1453 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp()
83.1454 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp() finished in 0 ms
83.1455 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test)
83.1456 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test) finished in 0 ms
83.1457 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
83.1458 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1459 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
83.1460 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
83.1461 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked()
83.1462 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked() finished in 11 ms
83.1463 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
83.1464 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1465 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
83.1466 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
83.1467 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip()
83.1468 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip() finished in 5 ms
83.1469 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider()
83.1470 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider() finished in 3 ms
83.1471 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
83.1472 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 1 ms
83.1473 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 956951190)
83.1474 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 956951190) finished in 0 ms
83.1475 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
83.1476 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
83.1477 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
83.1478 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 0 ms
83.1479 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 973617947)
83.1480 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 973617947) finished in 0 ms
83.1481 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
83.1482 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
83.1483 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
83.1484 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 0 ms
83.1485 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
83.1486 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 0 ms
83.1487 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
83.1488 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 0 ms
83.1489 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
83.1490 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 0 ms
83.1491 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyCount()
83.1492 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyCount() finished in 0 ms
83.1493 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true)
83.1494 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true) finished in 0 ms
83.1495 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false)
83.1496 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false) finished in 0 ms
83.1497 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
83.1498 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1499 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly()
83.1500 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly() finished in 4 ms
83.1501 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.verify()
83.1502 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.verify() finished in 0 ms
83.1503 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a")
83.1504 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a") finished in 0 ms
83.1505 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric")
83.1506 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.1507 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric")
83.1508 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.1509 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric")
83.1510 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.1511 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois")
83.1512 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois") finished in 1 ms
83.1513 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestNG411Test.verify()
83.1514 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestNG411Test.verify() finished in 7 ms
83.1515 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods()
83.1516 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods() finished in 0 ms
83.1517 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@15ab7626)
83.1518 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@15ab7626) finished in 0 ms
83.1519 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric")
83.1520 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric") finished in 0 ms
83.1521 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true)
83.1522 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true) finished in 0 ms
83.1523 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false)
83.1524 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false) finished in 0 ms
83.1525 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify()
83.1526 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify() finished in 0 ms
83.1527 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyFive()
83.1528 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyFive() finished in 4 ms
83.1529 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifySix()
83.1530 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifySix() finished in 6 ms
83.1531 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyTen()
83.1532 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyTen() finished in 5 ms
83.1533 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders()
83.1534 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders() finished in 1 ms
83.1535 -[VerboseTestNG] TESTNG-447: Abort when two data providers have the same name
83.1536 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider()
83.1537 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider() finished in 1 ms
83.1538 -[VerboseTestNG] TESTNG-142: Exceptions in DataProvider are not reported as failed test
83.1539 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.DataProviderAsTest.f()
83.1540 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.DataProviderAsTest.f() finished in 0 ms
83.1541 -[VerboseTestNG]
83.1542 -[VerboseTestNG] ===============================================
83.1543 -[VerboseTestNG] DataProvider
83.1544 -[VerboseTestNG] Tests run: 418, Failures: 0, Skips: 0
83.1545 -[VerboseTestNG] ===============================================
83.1546 -[VerboseTestNG] RUNNING: Suite: "DP" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1547 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException()
83.1548 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException() finished in 2053 ms
83.1549 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "Cedric", 36)
83.1550 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "Anne", 37)
83.1551 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "B", 37)
83.1552 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "Cedric", 36) finished in 1 ms
83.1553 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "A", 36)
83.1554 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "Anne", 37) finished in 1 ms
83.1555 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "B", 37) finished in 0 ms
83.1556 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@82606b8, "A", 36) finished in 0 ms
83.1557 -[VerboseTestNG]
83.1558 -[VerboseTestNG] ===============================================
83.1559 -[VerboseTestNG] DP
83.1560 -[VerboseTestNG] Tests run: 423, Failures: 0, Skips: 0
83.1561 -[VerboseTestNG] ===============================================
83.1562 -[VerboseTestNG] RUNNING: Suite: "bug111" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1563 -[VerboseTestNG] INVOKING: "bug111" - test.test111.AbstractTest.testAbstract()
83.1564 -[VerboseTestNG] PASSED: "bug111" - test.test111.AbstractTest.testAbstract() finished in 1 ms
83.1565 -[VerboseTestNG] INVOKING: "bug111" - test.test111.Test1.test()
83.1566 -[VerboseTestNG] PASSED: "bug111" - test.test111.Test1.test() finished in 0 ms
83.1567 -[VerboseTestNG] INVOKING CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass()
83.1568 -[VerboseTestNG] PASSED CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass() finished in 1 ms
83.1569 -[VerboseTestNG]
83.1570 -[VerboseTestNG] ===============================================
83.1571 -[VerboseTestNG] bug111
83.1572 -[VerboseTestNG] Tests run: 425, Failures: 0, Skips: 0
83.1573 -[VerboseTestNG] ===============================================
83.1574 -[VerboseTestNG] RUNNING: Suite: "UniqueSuite" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1575 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore1.verify()
83.1576 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore1.verify() finished in 0 ms
83.1577 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore2.verify()
83.1578 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore2.verify() finished in 0 ms
83.1579 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter()
83.1580 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter() finished in 10 ms
83.1581 -[VerboseTestNG] INVOKING CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest()
83.1582 -[VerboseTestNG] PASSED CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest() finished in 1 ms
83.1583 -[VerboseTestNG]
83.1584 -[VerboseTestNG] ===============================================
83.1585 -[VerboseTestNG] UniqueSuite
83.1586 -[VerboseTestNG] Tests run: 428, Failures: 0, Skips: 0
83.1587 -[VerboseTestNG] ===============================================
83.1588 -[VerboseTestNG] RUNNING: Suite: "InheritGroups" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1589 -[VerboseTestNG] INVOKING CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp()
83.1590 -[VerboseTestNG] PASSED CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp() finished in 0 ms
83.1591 -[VerboseTestNG] INVOKING: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1()
83.1592 -[VerboseTestNG] PASSED: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1() finished in 0 ms
83.1593 -[VerboseTestNG]
83.1594 -[VerboseTestNG] ===============================================
83.1595 -[VerboseTestNG] InheritGroups
83.1596 -[VerboseTestNG] Tests run: 429, Failures: 0, Skips: 0
83.1597 -[VerboseTestNG] ===============================================
83.1598 -[VerboseTestNG] RUNNING: Suite: "Nested" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1599 -[VerboseTestNG] INVOKING: "Nested" - test.nested.GarfTest.testGarf()
83.1600 -[VerboseTestNG] PASSED: "Nested" - test.nested.GarfTest.testGarf() finished in 0 ms
83.1601 -[VerboseTestNG]
83.1602 -[VerboseTestNG] ===============================================
83.1603 -[VerboseTestNG] Nested
83.1604 -[VerboseTestNG] Tests run: 430, Failures: 0, Skips: 0
83.1605 -[VerboseTestNG] ===============================================
83.1606 -[VerboseTestNG] RUNNING: Suite: "Hookable" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1607 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1608 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1609 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1610 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 1 ms
83.1611 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableFailure()
83.1612 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableFailure() finished in 4 ms
83.1613 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1614 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1615 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1616 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
83.1617 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccess()
83.1618 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableSuccess() finished in 3 ms
83.1619 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1620 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1621 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1622 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
83.1623 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener()
83.1624 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener() finished in 5 ms
83.1625 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1626 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1627 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1628 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 1 ms
83.1629 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookFailure()
83.1630 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookFailure() finished in 2 ms
83.1631 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1632 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1633 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1634 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
83.1635 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccess()
83.1636 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookSuccess() finished in 2 ms
83.1637 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
83.1638 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1639 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
83.1640 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
83.1641 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccessWithListener()
83.1642 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookSuccessWithListener() finished in 2 ms
83.1643 -[VerboseTestNG]
83.1644 -[VerboseTestNG] ===============================================
83.1645 -[VerboseTestNG] Hookable
83.1646 -[VerboseTestNG] Tests run: 436, Failures: 0, Skips: 0
83.1647 -[VerboseTestNG] ===============================================
83.1648 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1649 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1()
83.1650 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1() finished in 0 ms
83.1651 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1()
83.1652 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1() finished in 0 ms
83.1653 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa()
83.1654 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa() finished in 0 ms
83.1655 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1()
83.1656 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1() finished in 0 ms
83.1657 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1()
83.1658 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1() finished in 1 ms
83.1659 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa()
83.1660 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa() finished in 0 ms
83.1661 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1()
83.1662 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1() finished in 0 ms
83.1663 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1()
83.1664 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1() finished in 0 ms
83.1665 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1()
83.1666 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1() finished in 0 ms
83.1667 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1()
83.1668 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1() finished in 0 ms
83.1669 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa()
83.1670 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa() finished in 0 ms
83.1671 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f()
83.1672 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f() finished in 1 ms
83.1673 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run()
83.1674 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run() finished in 0 ms
83.1675 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1()
83.1676 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1() finished in 0 ms
83.1677 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f()
83.1678 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f() finished in 0 ms
83.1679 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1()
83.1680 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1() finished in 0 ms
83.1681 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
83.1682 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
83.1683 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2()
83.1684 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2() finished in 0 ms
83.1685 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
83.1686 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
83.1687 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f()
83.1688 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f() finished in 0 ms
83.1689 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1()
83.1690 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1() finished in 0 ms
83.1691 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2()
83.1692 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2() finished in 0 ms
83.1693 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after()
83.1694 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after() finished in 0 ms
83.1695 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA()
83.1696 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA() finished in 0 ms
83.1697 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething()
83.1698 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething() finished in 0 ms
83.1699 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore()
83.1700 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore() finished in 0 ms
83.1701 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA()
83.1702 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA() finished in 0 ms
83.1703 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify()
83.1704 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify() finished in 0 ms
83.1705 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify()
83.1706 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify() finished in 0 ms
83.1707 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify()
83.1708 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify() finished in 0 ms
83.1709 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify()
83.1710 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify() finished in 0 ms
83.1711 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify()
83.1712 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify() finished in 0 ms
83.1713 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify()
83.1714 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify() finished in 0 ms
83.1715 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify()
83.1716 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify() finished in 0 ms
83.1717 -[VerboseTestNG]
83.1718 -[VerboseTestNG] ===============================================
83.1719 -[VerboseTestNG] BeforeGroups-AfterGroups-1
83.1720 -[VerboseTestNG] Tests run: 460, Failures: 0, Skips: 0
83.1721 -[VerboseTestNG] ===============================================
83.1722 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1723 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething()
83.1724 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething() finished in 0 ms
83.1725 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
83.1726 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
83.1727 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore()
83.1728 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore() finished in 0 ms
83.1729 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
83.1730 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
83.1731 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify()
83.1732 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify() finished in 0 ms
83.1733 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
83.1734 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 1 ms
83.1735 -[VerboseTestNG]
83.1736 -[VerboseTestNG] ===============================================
83.1737 -[VerboseTestNG] BeforeGroups-AfterGroups-2
83.1738 -[VerboseTestNG] Tests run: 463, Failures: 0, Skips: 0
83.1739 -[VerboseTestNG] ===============================================
83.1740 -[VerboseTestNG] RUNNING: Suite: "JUnit" containing "12" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1741 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1742 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1743 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1744 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1745 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsThatStartWithTest()
83.1746 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.methodsThatStartWithTest() finished in 2 ms
83.1747 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1748 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1749 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1750 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1751 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsWithSetup()
83.1752 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.methodsWithSetup() finished in 1 ms
83.1753 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1754 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
83.1755 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1756 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1757 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked()
83.1758 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked() finished in 1 ms
83.1759 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1760 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1761 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1762 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1763 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped()
83.1764 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped() finished in 2 ms
83.1765 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1766 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1767 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1768 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1769 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testNewInstance()
83.1770 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.testNewInstance() finished in 2 ms
83.1771 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
83.1772 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
83.1773 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
83.1774 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
83.1775 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testSuite()
83.1776 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.testSuite() finished in 2 ms
83.1777 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing()
83.1778 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing() finished in 5 ms
83.1779 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing2()
83.1780 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing2() finished in 17 ms
83.1781 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.suiteNameOverride()
83.1782 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.suiteNameOverride() finished in 5 ms
83.1783 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testMethodParameter()
83.1784 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testMethodParameter() finished in 10 ms
83.1785 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testNameOverride()
83.1786 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testNameOverride() finished in 7 ms
83.1787 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument()
83.1788 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument() finished in 6 ms
83.1789 -[VerboseTestNG]
83.1790 -[VerboseTestNG] ===============================================
83.1791 -[VerboseTestNG] JUnit
83.1792 -[VerboseTestNG] Tests run: 475, Failures: 0, Skips: 0
83.1793 -[VerboseTestNG] ===============================================
83.1794 -[VerboseTestNG] RUNNING: Suite: "Ant-ClassFileResolution" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1795 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution()
83.1796 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution() finished in 0 ms
83.1797 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution()
83.1798 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution() finished in 0 ms
83.1799 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution()
83.1800 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution() finished in 0 ms
83.1801 -[VerboseTestNG]
83.1802 -[VerboseTestNG] ===============================================
83.1803 -[VerboseTestNG] Ant-ClassFileResolution
83.1804 -[VerboseTestNG] Tests run: 478, Failures: 0, Skips: 0
83.1805 -[VerboseTestNG] ===============================================
83.1806 -[VerboseTestNG] RUNNING: Suite: "Class Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1807 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
83.1808 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 1 ms
83.1809 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.A.testA()
83.1810 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.A.testA() finished in 0 ms
83.1811 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.B.testB()
83.1812 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.B.testB() finished in 0 ms
83.1813 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
83.1814 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
83.1815 -[VerboseTestNG]
83.1816 -[VerboseTestNG] ===============================================
83.1817 -[VerboseTestNG] Class Run
83.1818 -[VerboseTestNG] Tests run: 480, Failures: 0, Skips: 0
83.1819 -[VerboseTestNG] ===============================================
83.1820 -[VerboseTestNG] RUNNING: Suite: "Groups Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1821 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
83.1822 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 1 ms
83.1823 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.A.testA()
83.1824 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.A.testA() finished in 0 ms
83.1825 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.B.testB()
83.1826 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.B.testB() finished in 0 ms
83.1827 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
83.1828 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
83.1829 -[VerboseTestNG]
83.1830 -[VerboseTestNG] ===============================================
83.1831 -[VerboseTestNG] Groups Run
83.1832 -[VerboseTestNG] Tests run: 482, Failures: 0, Skips: 0
83.1833 -[VerboseTestNG] ===============================================
83.1834 -[VerboseTestNG] RUNNING: Suite: "External group invocation" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1835 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups()
83.1836 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups() finished in 0 ms
83.1837 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testA()
83.1838 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testA() finished in 0 ms
83.1839 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testAB()
83.1840 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testAB() finished in 0 ms
83.1841 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups()
83.1842 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups() finished in 0 ms
83.1843 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations()
83.1844 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations() finished in 0 ms
83.1845 -[VerboseTestNG]
83.1846 -[VerboseTestNG] ===============================================
83.1847 -[VerboseTestNG] External group invocation
83.1848 -[VerboseTestNG] Tests run: 484, Failures: 0, Skips: 0
83.1849 -[VerboseTestNG] ===============================================
83.1850 -[VerboseTestNG] RUNNING: Suite: "SkipExceptions" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1851 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods()
83.1852 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods() finished in 3 ms
83.1853 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods()
83.1854 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods() finished in 4 ms
83.1855 -[VerboseTestNG]
83.1856 -[VerboseTestNG] ===============================================
83.1857 -[VerboseTestNG] SkipExceptions
83.1858 -[VerboseTestNG] Tests run: 486, Failures: 0, Skips: 0
83.1859 -[VerboseTestNG] ===============================================
83.1860 -[VerboseTestNG] RUNNING: Suite: "MethodInterceptor" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1861 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst()
83.1862 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst() finished in 3 ms
83.1863 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst()
83.1864 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst() finished in 4 ms
83.1865 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun()
83.1866 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun() finished in 2 ms
83.1867 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml()
83.1868 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml() finished in 6 ms
83.1869 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods()
83.1870 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods() finished in 7 ms
83.1871 -[VerboseTestNG]
83.1872 -[VerboseTestNG] ===============================================
83.1873 -[VerboseTestNG] MethodInterceptor
83.1874 -[VerboseTestNG] Tests run: 491, Failures: 0, Skips: 0
83.1875 -[VerboseTestNG] ===============================================
83.1876 -[VerboseTestNG] RUNNING: Suite: "Asserts" containing "18" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1877 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail()
83.1878 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail() finished in 1 ms
83.1879 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.mapAssertEquals()
83.1880 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.mapAssertEquals() finished in 0 ms
83.1881 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals()
83.1882 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals() finished in 0 ms
83.1883 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullMapAssertEquals()
83.1884 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullMapAssertEquals() finished in 0 ms
83.1885 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals()
83.1886 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals() finished in 1 ms
83.1887 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder()
83.1888 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder() finished in 0 ms
83.1889 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullSetAssertEquals()
83.1890 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullSetAssertEquals() finished in 0 ms
83.1891 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals()
83.1892 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals() finished in 0 ms
83.1893 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals()
83.1894 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals() finished in 0 ms
83.1895 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.setAssertEquals()
83.1896 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.setAssertEquals() finished in 1 ms
83.1897 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_1()
83.1898 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_1() finished in 0 ms
83.1899 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_2()
83.1900 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_2() finished in 0 ms
83.1901 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_3()
83.1902 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_3() finished in 0 ms
83.1903 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.intArray_Issue4()
83.1904 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.intArray_Issue4() finished in 0 ms
83.1905 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays()
83.1906 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays() finished in 0 ms
83.1907 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderFailure()
83.1908 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderFailure() finished in 0 ms
83.1909 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderSuccess()
83.1910 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderSuccess() finished in 0 ms
83.1911 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.setsSuccess()
83.1912 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.setsSuccess() finished in 0 ms
83.1913 -[VerboseTestNG]
83.1914 -[VerboseTestNG] ===============================================
83.1915 -[VerboseTestNG] Asserts
83.1916 -[VerboseTestNG] Tests run: 509, Failures: 0, Skips: 0
83.1917 -[VerboseTestNG] ===============================================
83.1918 -[VerboseTestNG] RUNNING: Suite: "Utils" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1919 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin()
83.1920 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin() finished in 0 ms
83.1921 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings()
83.1922 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings() finished in 0 ms
83.1923 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.escapeUnicode()
83.1924 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.escapeUnicode() finished in 1 ms
83.1925 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin()
83.1926 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin() finished in 0 ms
83.1927 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings()
83.1928 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings() finished in 0 ms
83.1929 -[VerboseTestNG]
83.1930 -[VerboseTestNG] ===============================================
83.1931 -[VerboseTestNG] Utils
83.1932 -[VerboseTestNG] Tests run: 514, Failures: 0, Skips: 0
83.1933 -[VerboseTestNG] ===============================================
83.1934 -[VerboseTestNG] RUNNING: Suite: "ConfigFailurePolicy" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1935 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue()
83.1936 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue() finished in 21 ms
83.1937 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip()
83.1938 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip() finished in 18 ms
83.1939 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue()
83.1940 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue() finished in 16 ms
83.1941 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip()
83.1942 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip() finished in 14 ms
83.1943 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@219f963e, 1, 1, 1)
83.1944 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@219f963e, 1, 1, 1) finished in 13 ms
83.1945 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@7875455c, 2, 0, 2)
83.1946 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@7875455c, 2, 0, 2) finished in 16 ms
83.1947 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@585739a0, 2, 2, 2)
83.1948 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@585739a0, 2, 2, 2) finished in 16 ms
83.1949 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@2f300800, 1, 1, 1)
83.1950 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@2f300800, 1, 1, 1) finished in 11 ms
83.1951 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@213214d1, 1, 2, 2)
83.1952 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@213214d1, 1, 2, 2) finished in 13 ms
83.1953 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@9604a9e, 2, 3, 3)
83.1954 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@9604a9e, 2, 3, 3) finished in 20 ms
83.1955 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@549f9afb, 0, 1, 1)
83.1956 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@549f9afb, 0, 1, 1) finished in 12 ms
83.1957 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@68376cc3, 2, 0, 2)
83.1958 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@68376cc3, 2, 0, 2) finished in 14 ms
83.1959 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@3942ef25, 2, 2, 2)
83.1960 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@3942ef25, 2, 2, 2) finished in 15 ms
83.1961 -[VerboseTestNG]
83.1962 -[VerboseTestNG] ===============================================
83.1963 -[VerboseTestNG] ConfigFailurePolicy
83.1964 -[VerboseTestNG] Tests run: 527, Failures: 0, Skips: 0
83.1965 -[VerboseTestNG] ===============================================
83.1966 -[VerboseTestNG] RUNNING: Suite: "Nested2" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1967 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest()
83.1968 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest() finished in 0 ms
83.1969 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA()
83.1970 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA() finished in 1 ms
83.1971 -[VerboseTestNG]
83.1972 -[VerboseTestNG] ===============================================
83.1973 -[VerboseTestNG] Nested2
83.1974 -[VerboseTestNG] Tests run: 529, Failures: 0, Skips: 0
83.1975 -[VerboseTestNG] ===============================================
83.1976 -[VerboseTestNG] RUNNING: Suite: "Guice" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1977 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceTest.guiceTest()
83.1978 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceTest.guiceTest() finished in 11 ms
83.1979 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork()
83.1980 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork() finished in 0 ms
83.1981 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork()
83.1982 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork() finished in 0 ms
83.1983 -[VerboseTestNG]
83.1984 -[VerboseTestNG] ===============================================
83.1985 -[VerboseTestNG] Guice
83.1986 -[VerboseTestNG] Tests run: 532, Failures: 0, Skips: 0
83.1987 -[VerboseTestNG] ===============================================
83.1988 -[VerboseTestNG] RUNNING: Suite: "Listener invokers" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1989 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance()
83.1990 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance() finished in 0 ms
83.1991 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance()
83.1992 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance() finished in 0 ms
83.1993 -[VerboseTestNG]
83.1994 -[VerboseTestNG] ===============================================
83.1995 -[VerboseTestNG] Listener invokers
83.1996 -[VerboseTestNG] Tests run: 534, Failures: 0, Skips: 0
83.1997 -[VerboseTestNG] ===============================================
83.1998 -[VerboseTestNG] RUNNING: Suite: "YAML" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.1999 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1")
83.2000 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1") finished in 81 ms
83.2001 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2")
83.2002 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2") finished in 19 ms
83.2003 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3")
83.2004 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3") finished in 15 ms
83.2005 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4")
83.2006 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4") finished in 6 ms
83.2007 -[VerboseTestNG]
83.2008 -[VerboseTestNG] ===============================================
83.2009 -[VerboseTestNG] YAML
83.2010 -[VerboseTestNG] Tests run: 538, Failures: 0, Skips: 0
83.2011 -[VerboseTestNG] ===============================================
83.2012 -[VerboseTestNG] RUNNING: Suite: "Sanity Check" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.2013 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError()
83.2014 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError() finished in 4 ms
83.2015 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites()
83.2016 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites() finished in 7 ms
83.2017 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites()
83.2018 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites() finished in 10 ms
83.2019 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites()
83.2020 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites() finished in 2 ms
83.2021 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites()
83.2022 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites() finished in 1 ms
83.2023 -[VerboseTestNG]
83.2024 -[VerboseTestNG] ===============================================
83.2025 -[VerboseTestNG] Sanity Check
83.2026 -[VerboseTestNG] Tests run: 543, Failures: 0, Skips: 0
83.2027 -[VerboseTestNG] ===============================================
83.2028 -[VerboseTestNG] RUNNING: Suite: "Configuration" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
83.2029 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest()
83.2030 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest() finished in 0 ms
83.2031 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt()
83.2032 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt() finished in 1 ms
83.2033 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation()
83.2034 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation() finished in 14 ms
83.2035 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
83.2036 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 1 ms
83.2037 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups()
83.2038 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups() finished in 18 ms
83.2039 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
83.2040 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
83.2041 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups()
83.2042 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups() finished in 12 ms
83.2043 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
83.2044 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 1 ms
83.2045 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups()
83.2046 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups() finished in 11 ms
83.2047 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
83.2048 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 0 ms
83.2049 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
83.2050 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 0 ms
83.2051 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel()
83.2052 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel() finished in 2009 ms
83.2053 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass()
83.2054 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass() finished in 0 ms
83.2055 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod()
83.2056 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod() finished in 0 ms
83.2057 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MethodCallOrderTest.realTest()
83.2058 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MethodCallOrderTest.realTest() finished in 1 ms
83.2059 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod()
83.2060 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod() finished in 0 ms
83.2061 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass()
83.2062 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass() finished in 1 ms
83.2063 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods()
83.2064 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods() finished in 5 ms
83.2065 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering()
83.2066 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering() finished in 11 ms
83.2067 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups()
83.2068 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups() finished in 0 ms
83.2069 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.test()
83.2070 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.test() finished in 0 ms
83.2071 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass()
83.2072 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass() finished in 1 ms
83.2073 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod()
83.2074 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod() finished in 0 ms
83.2075 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ConfigurationTest.verify()
83.2076 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ConfigurationTest.verify() finished in 0 ms
83.2077 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod()
83.2078 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod() finished in 0 ms
83.2079 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass()
83.2080 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass() finished in 0 ms
83.2081 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify()
83.2082 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify() finished in 0 ms
83.2083 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
83.2084 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 0 ms
83.2085 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()
83.2086 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2() finished in 0 ms
83.2087 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
83.2088 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 0 ms
83.2089 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
83.2090 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 0 ms
83.2091 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()
83.2092 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1() finished in 0 ms
83.2093 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
83.2094 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 0 ms
83.2095 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations()
83.2096 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations() finished in 0 ms
83.2097 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce()
83.2098 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce() finished in 4 ms
83.2099 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteTest.test1()
83.2100 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteTest.test1() finished in 0 ms
83.2101 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest()
83.2102 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest() finished in 1 ms
83.2103 -[VerboseTestNG]
83.2104 -[VerboseTestNG] ===============================================
83.2105 -[VerboseTestNG] Configuration
83.2106 -[VerboseTestNG] Tests run: 560, Failures: 0, Skips: 0
83.2107 -[VerboseTestNG] ===============================================
83.2108 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite()
83.2109 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite() finished in 0 ms
83.2110 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite()
83.2111 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite() finished in 0 ms
83.2112 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.uniquesuite.BaseBefore.incrementAfter()
83.2113 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.uniquesuite.BaseBefore.incrementAfter() finished in 0 ms
83.2114 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ConfigurationTest.afterSuite()
83.2115 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ConfigurationTest.afterSuite() finished in 0 ms
83.2116 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.afterSuite()
83.2117 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.afterSuite() finished in 0 ms
83.2118 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.cleanUp()
83.2119 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.cleanUp() finished in 0 ms
83.2120 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.MethodCallOrderTest.cleanUp()
83.2121 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.MethodCallOrderTest.cleanUp() finished in 0 ms
83.2122 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.VerifySuiteTest.verify()
83.2123 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.VerifySuiteTest.verify() finished in 0 ms
83.2124 -
83.2125 -===============================================
83.2126 -TestNG
83.2127 -Total tests run: 560, Failures: 0, Skips: 0
83.2128 -===============================================
83.2129 -
84.1 --- a/testng/test/unit/data/antOut/log2.txt Sat Mar 10 02:54:06 2012 +0100
84.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
84.3 @@ -1,2142 +0,0 @@
84.4 -run:
84.5 - -- Running tests --
84.6 - -- /space/sources/tng_fork/target/testng-6.3.2beta.jar --
84.7 -Executing '/space/java/sdk/jdk1.6.0_29/jre/bin/java' with arguments:
84.8 -'-Dtest.resources.dir=/space/sources/tng_fork/src/test/resources'
84.9 -'-Dsun.io.serialization.extendedDebugInfo=true'
84.10 -'-ea'
84.11 -'-classpath'
84.12 -'/space/sources/tng_fork/target/testng-6.3.2beta.jar:/space/sources/tng_fork/lib/guice-2.0.jar:/space/sources/tng_fork/target/test-classes:/space/sources/tng_fork/target/classes'
84.13 -'org.testng.TestNG'
84.14 -'@/tmp/testng6091279637832426142'
84.15 -
84.16 -The ' characters around the executable and arguments are
84.17 -not part of the command.
84.18 -[TestNG] Running:
84.19 - /space/sources/tng_fork/src/test/resources/junit-suite.xml
84.20 -
84.21 -[VerboseTestNG] RUNNING: Suite: "Junit via TestNG XML" containing "0" Tests (config: /space/sources/tng_fork/src/test/resources/junit-suite.xml)
84.22 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testFoo() finished in 2 ms
84.23 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testBar() finished in 0 ms
84.24 -[VerboseTestNG]
84.25 -[VerboseTestNG] ===============================================
84.26 -[VerboseTestNG] Junit via TestNG XML
84.27 -[VerboseTestNG] Tests run: 2, Failures: 0, Skips: 0
84.28 -[VerboseTestNG] ===============================================
84.29 -[TestNG] Running:
84.30 - /space/sources/tng_fork/src/test/resources/testng.xml
84.31 -
84.32 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite()
84.33 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite() finished in 1 ms
84.34 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite()
84.35 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite() finished in 0 ms
84.36 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init()
84.37 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init() finished in 0 ms
84.38 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init()
84.39 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init() finished in 0 ms
84.40 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite()
84.41 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite() finished in 0 ms
84.42 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore()
84.43 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore() finished in 0 ms
84.44 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent()
84.45 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent() finished in 0 ms
84.46 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init()
84.47 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init() finished in 0 ms
84.48 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite()
84.49 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite() finished in 0 ms
84.50 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild()
84.51 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild() finished in 0 ms
84.52 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite()
84.53 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite() finished in 0 ms
84.54 -[VerboseTestNG] RUNNING: Suite: "Nopackage" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.55 -[VerboseTestNG] INVOKING: "Nopackage" - NoPackageTest.test()
84.56 -[VerboseTestNG] PASSED: "Nopackage" - NoPackageTest.test() finished in 0 ms
84.57 -[VerboseTestNG] INVOKING CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after()
84.58 -[VerboseTestNG] PASSED CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after() finished in 0 ms
84.59 -[VerboseTestNG]
84.60 -[VerboseTestNG] ===============================================
84.61 -[VerboseTestNG] Nopackage
84.62 -[VerboseTestNG] Tests run: 3, Failures: 0, Skips: 0
84.63 -[VerboseTestNG] ===============================================
84.64 -[VerboseTestNG] RUNNING: Suite: "Regression1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.65 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults()
84.66 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults() finished in 4 ms
84.67 -[VerboseTestNG] When verbose is set to >1, TNG prints test results on CLI which are printed using SuiteResultCounts.calculateResultCounts(). This method has been throwing NPE because it's unable to find SuiteRunner in HashMap, because the list of parameters in SuiteRunner changed during execution. This test makes sure we dont run into any NPEs
84.68 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding()
84.69 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterTest.beforeMethodWithParameters() finished in 7 ms
84.70 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.71 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.72 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterTest.stringSingle()
84.73 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding() finished in 8 ms
84.74 -[VerboseTestNG] Checks to make sure parameters are inherited and overridden properly
84.75 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterTest.stringSingle() finished in 4 ms
84.76 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.77 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.78 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.excludedGroups()
84.79 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.excludedGroups() finished in 25 ms
84.80 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.81 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.82 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsSimple()
84.83 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsSimple() finished in 7 ms
84.84 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.85 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.86 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithCycle()
84.87 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsWithCycle() finished in 6 ms
84.88 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.89 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.90 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithIndirections()
84.91 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsWithIndirections() finished in 7 ms
84.92 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.93 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.94 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.includedGroups()
84.95 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.includedGroups() finished in 6 ms
84.96 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.97 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.98 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.logger()
84.99 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.logger() finished in 1 ms
84.100 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.101 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.102 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.regexp()
84.103 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.regexp() finished in 8 ms
84.104 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.105 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.106 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
84.107 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.108 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.noGroups()
84.109 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.noGroups() finished in 27 ms
84.110 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.111 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.112 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
84.113 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 2 ms
84.114 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsClass()
84.115 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.partialGroupsClass() finished in 6 ms
84.116 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.117 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.118 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
84.119 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.120 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsMethod()
84.121 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.partialGroupsMethod() finished in 4 ms
84.122 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.123 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.124 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
84.125 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.126 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.setUpWithGroups()
84.127 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.setUpWithGroups() finished in 1 ms
84.128 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod1()
84.129 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod1() finished in 0 ms
84.130 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod2()
84.131 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod2() finished in 0 ms
84.132 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod3()
84.133 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod3() finished in 0 ms
84.134 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.135 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.136 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions()
84.137 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions() finished in 11 ms
84.138 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
84.139 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.140 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax()
84.141 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax() finished in 7 ms
84.142 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod()
84.143 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod() finished in 0 ms
84.144 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod()
84.145 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod() finished in 0 ms
84.146 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod()
84.147 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod() finished in 0 ms
84.148 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod()
84.149 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod() finished in 0 ms
84.150 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod()
84.151 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod() finished in 0 ms
84.152 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod()
84.153 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod() finished in 0 ms
84.154 -[VerboseTestNG] INVOKING: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration()
84.155 -[VerboseTestNG] PASSED: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration() finished in 0 ms
84.156 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout()
84.157 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout() finished in 2 ms
84.158 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest()
84.159 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest() finished in 0 ms
84.160 -[VerboseTestNG]
84.161 -[VerboseTestNG] ===============================================
84.162 -[VerboseTestNG] Regression1
84.163 -[VerboseTestNG] Tests run: 27, Failures: 0, Skips: 0
84.164 -[VerboseTestNG] ===============================================
84.165 -[VerboseTestNG] RUNNING: Suite: "Regression2" containing "142" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.166 -[VerboseTestNG] INVOKING: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted()
84.167 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.168 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.169 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.regexp()
84.170 -[VerboseTestNG] PASSED: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted() finished in 4 ms
84.171 -[VerboseTestNG] Make sure that skipped methods are accurately counted
84.172 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
84.173 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 0 ms
84.174 -[VerboseTestNG] INVOKING: "Regression2" - test.MapTest.testMap()
84.175 -[VerboseTestNG] PASSED: "Regression2" - test.MapTest.testMap() finished in 1 ms
84.176 -[VerboseTestNG] Make sure that arrays as map values work with assert
84.177 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testSerialized()
84.178 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.regexp() finished in 12 ms
84.179 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.180 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.181 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithIndirections()
84.182 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsWithIndirections() finished in 9 ms
84.183 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.184 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.185 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.excludedGroups()
84.186 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.excludedGroups() finished in 14 ms
84.187 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.188 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.189 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsSimple()
84.190 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsSimple() finished in 14 ms
84.191 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.192 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.193 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.logger()
84.194 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.logger() finished in 0 ms
84.195 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.196 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.197 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.includedGroups()
84.198 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.includedGroups() finished in 9 ms
84.199 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.200 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.201 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithCycle()
84.202 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testSerialized() finished in 63 ms
84.203 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testString()
84.204 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsWithCycle() finished in 8 ms
84.205 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.206 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.207 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludeMethodsOnly()
84.208 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.excludeMethodsOnly() finished in 5 ms
84.209 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.210 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.211 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.includeMethodsOnly()
84.212 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.includeMethodsOnly() finished in 4 ms
84.213 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.214 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.215 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludePackage()
84.216 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.excludePackage() finished in 4 ms
84.217 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
84.218 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 0 ms
84.219 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test3()
84.220 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test3() finished in 0 ms
84.221 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test2()
84.222 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
84.223 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test1()
84.224 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
84.225 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
84.226 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
84.227 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 0 ms
84.228 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
84.229 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 0 ms
84.230 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.sort()
84.231 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.sort() finished in 0 ms
84.232 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldBeCorrect()
84.233 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldBeCorrect() finished in 1 ms
84.234 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessorsTiming()
84.235 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessorsTiming() finished in 4 ms
84.236 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessors()
84.237 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessors() finished in 1 ms
84.238 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldFail()
84.239 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldFail() finished in 0 ms
84.240 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test2()
84.241 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test2() finished in 0 ms
84.242 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test8()
84.243 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test8() finished in 1 ms
84.244 -[VerboseTestNG] INVOKING: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod()
84.245 -[VerboseTestNG] PASSED: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod() finished in 0 ms
84.246 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.247 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.248 -[VerboseTestNG] INVOKING: "Regression2" - test.multiple.TestMultiple.multiple()
84.249 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testString() finished in 36 ms
84.250 -[VerboseTestNG] INVOKING: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850)
84.251 -[VerboseTestNG] PASSED: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850) finished in 0 ms
84.252 -[VerboseTestNG] INVOKING: "Regression2" - test.ReporterApiTest.testApi()
84.253 -[VerboseTestNG] PASSED: "Regression2" - test.ReporterApiTest.testApi() finished in 0 ms
84.254 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun()
84.255 -[VerboseTestNG] PASSED: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun() finished in 3 ms
84.256 -[VerboseTestNG] Abstract methods defined in a superclass should be run
84.257 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork()
84.258 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork() finished in 8 ms
84.259 -[VerboseTestNG] Override -groups and -excludegroups
84.260 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork()
84.261 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork() finished in 3 ms
84.262 -[VerboseTestNG] Override -groups
84.263 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork()
84.264 -[VerboseTestNG] PASSED: "Regression2" - test.multiple.TestMultiple.multiple() finished in 24 ms
84.265 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass()
84.266 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass() finished in 0 ms
84.267 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testOne()
84.268 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testOne() finished in 0 ms
84.269 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork() finished in 3 ms
84.270 -[VerboseTestNG] Override -excludegroups
84.271 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testThree()
84.272 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testThree() finished in 0 ms
84.273 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testTwo()
84.274 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testTwo() finished in 0 ms
84.275 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential2()
84.276 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter()
84.277 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter() finished in 4 ms
84.278 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter()
84.279 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter() finished in 3 ms
84.280 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore()
84.281 -[VerboseTestNG] PASSED: "Regression2" - test.priority.PriorityTest.priorityInSequential2() finished in 9 ms
84.282 -[VerboseTestNG] Make sure priorities work in sequential mode
84.283 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential1()
84.284 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore() finished in 6 ms
84.285 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails()
84.286 -[VerboseTestNG] PASSED: "Regression2" - test.priority.PriorityTest.priorityInSequential1() finished in 9 ms
84.287 -[VerboseTestNG] Make sure priorities work in sequential mode
84.288 -[VerboseTestNG] INVOKING: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded()
84.289 -[VerboseTestNG] PASSED: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded() finished in 6 ms
84.290 -[VerboseTestNG] INVOKING: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled()
84.291 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails() finished in 13 ms
84.292 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails()
84.293 -[VerboseTestNG] PASSED: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled() finished in 5 ms
84.294 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1()
84.295 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1() finished in 4 ms
84.296 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2()
84.297 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2() finished in 4 ms
84.298 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2()
84.299 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2() finished in 3 ms
84.300 -[VerboseTestNG] Include in suite, exclude in test
84.301 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0()
84.302 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0() finished in 4 ms
84.303 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1()
84.304 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails() finished in 21 ms
84.305 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.306 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.307 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest()
84.308 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1() finished in 3 ms
84.309 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2()
84.310 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2() finished in 3 ms
84.311 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1()
84.312 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest() finished in 6 ms
84.313 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.314 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.315 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest()
84.316 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1() finished in 5 ms
84.317 -[VerboseTestNG] Include in both suite and test
84.318 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
84.319 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 0 ms
84.320 -[VerboseTestNG] INVOKING: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork()
84.321 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest() finished in 6 ms
84.322 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.323 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.324 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods()
84.325 -[VerboseTestNG] PASSED: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork() finished in 4 ms
84.326 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml()
84.327 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml() finished in 3 ms
84.328 -[VerboseTestNG] Specifying -groups on the command line should override testng.xml
84.329 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods() finished in 5 ms
84.330 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml()
84.331 -[VerboseTestNG] INVOKING: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass()
84.332 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml() finished in 2 ms
84.333 -[VerboseTestNG] Specifying -excludegroups on the command line should override testng.xml
84.334 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods()
84.335 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods() finished in 1 ms
84.336 -[VerboseTestNG] INVOKING: "Regression2" - test.jason.MainTest.afterClassShouldRun()
84.337 -[VerboseTestNG] PASSED: "Regression2" - test.jason.MainTest.afterClassShouldRun() finished in 2 ms
84.338 -[VerboseTestNG] INVOKING: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun()
84.339 -[VerboseTestNG] PASSED: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun() finished in 2 ms
84.340 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/90
84.341 -[VerboseTestNG] INVOKING: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce()
84.342 -[VerboseTestNG] PASSED: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass() finished in 13 ms
84.343 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init()
84.344 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init() finished in 1 ms
84.345 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel()
84.346 -[VerboseTestNG] PASSED: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce() finished in 5 ms
84.347 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/92
84.348 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel() finished in 0 ms
84.349 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers()
84.350 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers() finished in 1 ms
84.351 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters()
84.352 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters() finished in 0 ms
84.353 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter()
84.354 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter() finished in 0 ms
84.355 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore()
84.356 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore() finished in 1 ms
84.357 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore()
84.358 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore() finished in 0 ms
84.359 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel()
84.360 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel() finished in 0 ms
84.361 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions()
84.362 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions() finished in 0 ms
84.363 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory()
84.364 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory() finished in 1 ms
84.365 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel()
84.366 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel() finished in 0 ms
84.367 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider()
84.368 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider() finished in 0 ms
84.369 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter()
84.370 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter() finished in 0 ms
84.371 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init()
84.372 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init() finished in 0 ms
84.373 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance()
84.374 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance() finished in 1 ms
84.375 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance()
84.376 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance() finished in 0 ms
84.377 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance()
84.378 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance() finished in 0 ms
84.379 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance()
84.380 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance() finished in 1 ms
84.381 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance()
84.382 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance() finished in 0 ms
84.383 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods()
84.384 -[VerboseTestNG] PASSED: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods() finished in 8 ms
84.385 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel()
84.386 -[VerboseTestNG] PASSED: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel() finished in 15 ms
84.387 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.388 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.389 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential2()
84.390 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential2() finished in 6 ms
84.391 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.392 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.393 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3()
84.394 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3() finished in 9 ms
84.395 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.396 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.397 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential1()
84.398 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential1() finished in 5 ms
84.399 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.400 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.401 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2()
84.402 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2() finished in 7 ms
84.403 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.404 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.405 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential3()
84.406 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySequential3() finished in 9 ms
84.407 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.408 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.409 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1()
84.410 -[VerboseTestNG] PASSED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1() finished in 10 ms
84.411 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.412 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.413 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory()
84.414 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory() finished in 11 ms
84.415 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.416 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.417 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone()
84.418 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone() finished in 11 ms
84.419 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.420 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.421 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests()
84.422 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests() finished in 10 ms
84.423 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.424 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.425 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods()
84.426 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods() finished in 10 ms
84.427 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.428 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.429 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses()
84.430 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses() finished in 11 ms
84.431 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.432 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.433 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory()
84.434 -[VerboseTestNG] PASSED: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory() finished in 8 ms
84.435 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount()
84.436 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount() finished in 1005 ms
84.437 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel()
84.438 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel() finished in 9 ms
84.439 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount()
84.440 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount() finished in 1013 ms
84.441 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads()
84.442 -[VerboseTestNG] PASSED: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads() finished in 31 ms
84.443 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads()
84.444 -[VerboseTestNG] PASSED: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads() finished in 20 ms
84.445 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
84.446 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 0 ms
84.447 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2()
84.448 -[VerboseTestNG] PASSED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2() finished in 4 ms
84.449 -[VerboseTestNG] Second test method
84.450 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
84.451 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 0 ms
84.452 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1()
84.453 -[VerboseTestNG] PASSED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1() finished in 3 ms
84.454 -[VerboseTestNG] First test method
84.455 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName()
84.456 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName() finished in 4 ms
84.457 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite()
84.458 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite() finished in 12 ms
84.459 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut()
84.460 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut() finished in 15 ms
84.461 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName()
84.462 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName() finished in 12 ms
84.463 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.verifyIndex()
84.464 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.verifyIndex() finished in 6 ms
84.465 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun()
84.466 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun() finished in 2 ms
84.467 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass()
84.468 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass() finished in 2018 ms
84.469 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2()
84.470 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2() finished in 1018 ms
84.471 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod()
84.472 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod() finished in 33 ms
84.473 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer()
84.474 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer() finished in 11 ms
84.475 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer()
84.476 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer() finished in 8 ms
84.477 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer()
84.478 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer() finished in 2 ms
84.479 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer()
84.480 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer() finished in 3 ms
84.481 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXml()
84.482 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithTestngXml() finished in 8 ms
84.483 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithoutTestngXml()
84.484 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithoutTestngXml() finished in 4 ms
84.485 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine()
84.486 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine() finished in 7 ms
84.487 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites()
84.488 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites() finished in 38 ms
84.489 -[VerboseTestNG] Ensure that TestNG stops without running any tests if some class included in suite is missing
84.490 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.simple()
84.491 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.simple() finished in 0 ms
84.492 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps()
84.493 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps() finished in 204 ms
84.494 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass()
84.495 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass() finished in 7 ms
84.496 -[VerboseTestNG] Test methods with expected exceptions should show up as pass in IInvokedMethodListener's afterInvocaiton method
84.497 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure()
84.498 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure() finished in 8 ms
84.499 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess()
84.500 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess() finished in 4 ms
84.501 -[VerboseTestNG] INVOKING: "Regression2" - test.testng249.VerifyTest.verify()
84.502 -[VerboseTestNG] PASSED: "Regression2" - test.testng249.VerifyTest.verify() finished in 7 ms
84.503 -[VerboseTestNG] INVOKING: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized()
84.504 -[VerboseTestNG] PASSED: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized() finished in 2 ms
84.505 -[VerboseTestNG] INVOKING: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips()
84.506 -[VerboseTestNG] PASSED: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips() finished in 2 ms
84.507 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.508 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.509 -[VerboseTestNG] INVOKING: "Regression2" - test.testng285.TestNG285Test.verifyBug()
84.510 -[VerboseTestNG] PASSED: "Regression2" - test.testng285.TestNG285Test.verifyBug() finished in 7 ms
84.511 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.512 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.513 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
84.514 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 0 ms
84.515 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded()
84.516 -[VerboseTestNG] PASSED: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded() finished in 9 ms
84.517 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
84.518 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 1 ms
84.519 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
84.520 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.521 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
84.522 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 0 ms
84.523 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers()
84.524 -[VerboseTestNG] PASSED: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers() finished in 10 ms
84.525 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
84.526 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 1 ms
84.527 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850)
84.528 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850) finished in 0 ms
84.529 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850)
84.530 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850) finished in 0 ms
84.531 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850)
84.532 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@43da850) finished in 0 ms
84.533 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation()
84.534 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation() finished in 5 ms
84.535 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener()
84.536 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener() finished in 2 ms
84.537 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation()
84.538 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation() finished in 2 ms
84.539 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyTestListener()
84.540 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyTestListener() finished in 2 ms
84.541 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup()
84.542 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup() finished in 0 ms
84.543 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle()
84.544 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle() finished in 0 ms
84.545 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractconfmethod.C.test1()
84.546 -[VerboseTestNG] PASSED: "Regression2" - test.abstractconfmethod.C.test1() finished in 0 ms
84.547 -[VerboseTestNG] Test depends on a config method that has implements an abstract methods
84.548 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@44c6b80e, [Ljava.lang.String;@525dc268)
84.549 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@44c6b80e, [Ljava.lang.String;@525dc268) finished in 3 ms
84.550 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@76b280b1, [Ljava.lang.String;@411f2158)
84.551 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@76b280b1, [Ljava.lang.String;@411f2158) finished in 5 ms
84.552 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1dc2dad7, [Ljava.lang.String;@63ad6884)
84.553 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1dc2dad7, [Ljava.lang.String;@63ad6884) finished in 5 ms
84.554 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@5f5fc606, [Ljava.lang.String;@8c1e4d5)
84.555 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@5f5fc606, [Ljava.lang.String;@8c1e4d5) finished in 6 ms
84.556 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1547a16f, [Ljava.lang.String;@11b78953)
84.557 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1547a16f, [Ljava.lang.String;@11b78953) finished in 4 ms
84.558 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1241647f, [Ljava.lang.String;@32cd736)
84.559 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1241647f, [Ljava.lang.String;@32cd736) finished in 4 ms
84.560 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve()
84.561 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve() finished in 3 ms
84.562 -[VerboseTestNG] preserve-order on a factory doesn't cause an NPE
84.563 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder()
84.564 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder() finished in 13 ms
84.565 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies()
84.566 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies() finished in 5 ms
84.567 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder()
84.568 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder() finished in 33 ms
84.569 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest()
84.570 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest() finished in 0 ms
84.571 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass()
84.572 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass() finished in 0 ms
84.573 -[VerboseTestNG]
84.574 -[VerboseTestNG] ===============================================
84.575 -[VerboseTestNG] Regression2
84.576 -[VerboseTestNG] Tests run: 174, Failures: 0, Skips: 0
84.577 -[VerboseTestNG] ===============================================
84.578 -[VerboseTestNG] RUNNING: Suite: "Threads" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.579 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
84.580 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 0 ms
84.581 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
84.582 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
84.583 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
84.584 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
84.585 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
84.586 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
84.587 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
84.588 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
84.589 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
84.590 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
84.591 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.verify()
84.592 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.verify() finished in 0 ms
84.593 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
84.594 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 0 ms
84.595 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
84.596 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
84.597 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
84.598 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
84.599 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
84.600 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
84.601 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
84.602 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
84.603 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
84.604 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
84.605 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify()
84.606 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify() finished in 0 ms
84.607 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail()
84.608 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail() finished in 104 ms
84.609 -[VerboseTestNG]
84.610 -[VerboseTestNG] ===============================================
84.611 -[VerboseTestNG] Threads
84.612 -[VerboseTestNG] Tests run: 187, Failures: 0, Skips: 0
84.613 -[VerboseTestNG] ===============================================
84.614 -[VerboseTestNG] RUNNING: Suite: "Listeners" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.615 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm()
84.616 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm() finished in 1 ms
84.617 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1()
84.618 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1() finished in 1 ms
84.619 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2()
84.620 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2() finished in 1 ms
84.621 -[VerboseTestNG] Make sure that ITestResult#getEndMillis is properly set
84.622 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull()
84.623 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull() finished in 13 ms
84.624 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
84.625 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 1 ms
84.626 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.aggregateListeners()
84.627 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.aggregateListeners() finished in 7 ms
84.628 -[VerboseTestNG] Inherited @Listeners annotations should aggregate
84.629 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
84.630 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
84.631 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod()
84.632 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod() finished in 6 ms
84.633 -[VerboseTestNG] TESTNG-400: onTestFailure should be called before @AfterMethod
84.634 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
84.635 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
84.636 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration()
84.637 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration() finished in 3 ms
84.638 -[VerboseTestNG] Ensure that if a listener is present, we get test(), onSuccess(), afterMethod()
84.639 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
84.640 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
84.641 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest()
84.642 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest() finished in 2 ms
84.643 -[VerboseTestNG] Should attach only one instance of the same @Listener class per test
84.644 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
84.645 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 0 ms
84.646 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork()
84.647 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork() finished in 2 ms
84.648 -[VerboseTestNG] @Listeners with an ISuiteListener
84.649 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun()
84.650 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun() finished in 0 ms
84.651 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked()
84.652 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked() finished in 8 ms
84.653 -[VerboseTestNG] Make sure that listeners defined in testng.xml are invoked
84.654 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation()
84.655 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation() finished in 6 ms
84.656 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml()
84.657 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml() finished in 3 ms
84.658 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener()
84.659 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener() finished in 1 ms
84.660 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail()
84.661 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail() finished in 2 ms
84.662 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip()
84.663 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip() finished in 3 ms
84.664 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed()
84.665 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed() finished in 2 ms
84.666 -[VerboseTestNG] INVOKING: "Listeners" - test.multiplelisteners.TestMaker.run()
84.667 -[VerboseTestNG] PASSED: "Listeners" - test.multiplelisteners.TestMaker.run() finished in 4 ms
84.668 -[VerboseTestNG] Make sure only one listener is created and not 2^3
84.669 -[VerboseTestNG]
84.670 -[VerboseTestNG] ===============================================
84.671 -[VerboseTestNG] Listeners
84.672 -[VerboseTestNG] Tests run: 204, Failures: 0, Skips: 0
84.673 -[VerboseTestNG] ===============================================
84.674 -[VerboseTestNG] RUNNING: Suite: "Injection" containing "8" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.675 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@2a8d1749)
84.676 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@2a8d1749) finished in 0 ms
84.677 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@566399ae)
84.678 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@566399ae) finished in 0 ms
84.679 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@566399ae, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
84.680 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@566399ae, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 0 ms
84.681 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@566399ae)
84.682 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@566399ae) finished in 0 ms
84.683 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a")
84.684 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a") finished in 0 ms
84.685 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@566399ae)
84.686 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@566399ae) finished in 0 ms
84.687 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@3aca5e2)
84.688 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@3aca5e2) finished in 0 ms
84.689 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@3aca5e2, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
84.690 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@3aca5e2, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 0 ms
84.691 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@3aca5e2)
84.692 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@3aca5e2) finished in 0 ms
84.693 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b")
84.694 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b") finished in 0 ms
84.695 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@3aca5e2)
84.696 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@3aca5e2) finished in 1 ms
84.697 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection()
84.698 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection() finished in 13 ms
84.699 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@2a8d1749, "a")
84.700 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@2a8d1749, "a") finished in 0 ms
84.701 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@2a8d1749, "b")
84.702 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@2a8d1749, "b") finished in 1 ms
84.703 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@2a8d1749, 1, "a")
84.704 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@2a8d1749, 1, "a") finished in 0 ms
84.705 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@2a8d1749, 2, "b")
84.706 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@2a8d1749, 2, "b") finished in 0 ms
84.707 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@2a8d1749)
84.708 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@2a8d1749) finished in 0 ms
84.709 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@2a8d1749)
84.710 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@2a8d1749) finished in 0 ms
84.711 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method))
84.712 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)) finished in 0 ms
84.713 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f())
84.714 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f()) finished in 1 ms
84.715 -[VerboseTestNG]
84.716 -[VerboseTestNG] ===============================================
84.717 -[VerboseTestNG] Injection
84.718 -[VerboseTestNG] Tests run: 216, Failures: 0, Skips: 0
84.719 -[VerboseTestNG] ===============================================
84.720 -[VerboseTestNG] RUNNING: Suite: "BeforeMethod" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.721 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@fd50fd2)
84.722 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@fd50fd2) finished in 1 ms
84.723 -[VerboseTestNG] INVOKING: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest()
84.724 -[VerboseTestNG] PASSED: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest() finished in 0 ms
84.725 -[VerboseTestNG]
84.726 -[VerboseTestNG] ===============================================
84.727 -[VerboseTestNG] BeforeMethod
84.728 -[VerboseTestNG] Tests run: 217, Failures: 0, Skips: 0
84.729 -[VerboseTestNG] ===============================================
84.730 -[VerboseTestNG] RUNNING: Suite: "Basic" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.731 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod()
84.732 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp()
84.733 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod() finished in 1 ms
84.734 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic1.basic1()
84.735 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.736 -[VerboseTestNG] INVOKING: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails()
84.737 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic1.basic1() finished in 0 ms
84.738 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic2.basic2()
84.739 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic2.basic2() finished in 0 ms
84.740 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun()
84.741 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun() finished in 0 ms
84.742 -[VerboseTestNG] PASSED: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails() finished in 6 ms
84.743 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp()
84.744 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp() finished in 0 ms
84.745 -[VerboseTestNG]
84.746 -[VerboseTestNG] ===============================================
84.747 -[VerboseTestNG] Basic
84.748 -[VerboseTestNG] Tests run: 220, Failures: 0, Skips: 0
84.749 -[VerboseTestNG] ===============================================
84.750 -[VerboseTestNG] RUNNING: Suite: "Exclusion" containing "4" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.751 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
84.752 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.753 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
84.754 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.755 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.noGroups()
84.756 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.noGroups() finished in 21 ms
84.757 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
84.758 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.759 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
84.760 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.761 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsClass()
84.762 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.partialGroupsClass() finished in 3 ms
84.763 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
84.764 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.765 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
84.766 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.767 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsMethod()
84.768 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.partialGroupsMethod() finished in 4 ms
84.769 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
84.770 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.771 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
84.772 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
84.773 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.setUpWithGroups()
84.774 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.setUpWithGroups() finished in 1 ms
84.775 -[VerboseTestNG]
84.776 -[VerboseTestNG] ===============================================
84.777 -[VerboseTestNG] Exclusion
84.778 -[VerboseTestNG] Tests run: 224, Failures: 0, Skips: 0
84.779 -[VerboseTestNG] ===============================================
84.780 -[VerboseTestNG] RUNNING: Suite: "Dependents" containing "44" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.781 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init()
84.782 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init() finished in 0 ms
84.783 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_first0()
84.784 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_first0() finished in 1 ms
84.785 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_premiere1()
84.786 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentTest.test2()
84.787 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_premiere1() finished in 0 ms
84.788 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.789 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.790 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentTest.test2() finished in 6 ms
84.791 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance()
84.792 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance() finished in 1 ms
84.793 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation()
84.794 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation() finished in 0 ms
84.795 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents()
84.796 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents() finished in 0 ms
84.797 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.798 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.799 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups()
84.800 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups() finished in 5 ms
84.801 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.802 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.803 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses()
84.804 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime()
84.805 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime() finished in 0 ms
84.806 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneA()
84.807 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneA() finished in 1 ms
84.808 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneB()
84.809 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneB() finished in 0 ms
84.810 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.811 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.812 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun()
84.813 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun() finished in 5 ms
84.814 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.815 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.816 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun()
84.817 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle()
84.818 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.819 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.820 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups()
84.821 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle() finished in 1 ms
84.822 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.823 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.824 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses() finished in 11 ms
84.825 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethods()
84.826 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.827 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.828 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion()
84.829 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun() finished in 5 ms
84.830 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.831 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.832 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun()
84.833 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one()
84.834 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one() finished in 0 ms
84.835 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric")
84.836 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric") finished in 1 ms
84.837 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide1Test.m1()
84.838 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide1Test.m1() finished in 0 ms
84.839 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup()
84.840 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup() finished in 0 ms
84.841 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.send()
84.842 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.send() finished in 0 ms
84.843 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugVerifyTest.verify()
84.844 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion() finished in 4 ms
84.845 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<3>
84.846 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
84.847 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion(ImplicitGroupInclusionTest.java:96)
84.848 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
84.849 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
84.850 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
84.851 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugVerifyTest.verify() finished in 0 ms
84.852 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups() finished in 5 ms
84.853 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<0>
84.854 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
84.855 -[VerboseTestNG] at test.dependent.MultiGroupTest.verifyDependsOnMultiGroups(MultiGroupTest.java:23)
84.856 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
84.857 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
84.858 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
84.859 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.860 -[VerboseTestNG] INVOKING: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses()
84.861 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.862 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2()
84.863 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2() finished in 0 ms
84.864 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before()
84.865 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before() finished in 1 ms
84.866 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations()
84.867 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations() finished in 0 ms
84.868 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances()
84.869 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4()
84.870 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethods() finished in 6 ms
84.871 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.872 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.873 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle()
84.874 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle() finished in 2 ms
84.875 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.876 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.877 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod()
84.878 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod() finished in 2 ms
84.879 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.880 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.881 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip()
84.882 -[VerboseTestNG] PASSED: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses() finished in 7 ms
84.883 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances() finished in 7 ms
84.884 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances()
84.885 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.secondA()
84.886 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.secondA() finished in 0 ms
84.887 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0()
84.888 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0() finished in 0 ms
84.889 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.a_second1()
84.890 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.a_second1() finished in 0 ms
84.891 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.secondA()
84.892 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.secondA() finished in 0 ms
84.893 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown()
84.894 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown() finished in 0 ms
84.895 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide2Test.m2()
84.896 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide2Test.m2() finished in 0 ms
84.897 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4() finished in 12 ms
84.898 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<0>
84.899 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
84.900 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4(ImplicitGroupInclusionTest.java:59)
84.901 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
84.902 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
84.903 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
84.904 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.905 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.906 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3()
84.907 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.get()
84.908 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.get() finished in 0 ms
84.909 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy()
84.910 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy() finished in 0 ms
84.911 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.thirdA()
84.912 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.thirdA() finished in 0 ms
84.913 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown()
84.914 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown() finished in 1 ms
84.915 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.third0()
84.916 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.third0() finished in 0 ms
84.917 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip() finished in 9 ms
84.918 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.919 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.920 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider()
84.921 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3() finished in 3 ms
84.922 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.923 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.924 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2()
84.925 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun() finished in 25 ms
84.926 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<3> but was:<5>
84.927 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
84.928 -[VerboseTestNG] at test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun(DependentAlwaysRunTest.java:58)
84.929 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
84.930 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
84.931 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
84.932 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances() finished in 15 ms
84.933 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2() finished in 6 ms
84.934 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.935 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider() finished in 8 ms
84.936 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.937 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion()
84.938 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.939 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.940 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.instanceDependencies()
84.941 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion() finished in 2 ms
84.942 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.instanceDependencies() finished in 5 ms
84.943 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.944 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.945 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.multipleSkips()
84.946 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.multipleSkips() finished in 4 ms
84.947 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
84.948 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.949 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.simpleSkip()
84.950 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.simpleSkip() finished in 3 ms
84.951 -[VerboseTestNG]
84.952 -[VerboseTestNG] ===============================================
84.953 -[VerboseTestNG] Dependents
84.954 -[VerboseTestNG] Tests run: 268, Failures: 4, Skips: 0
84.955 -[VerboseTestNG] ===============================================
84.956 -[VerboseTestNG] RUNNING: Suite: "Inheritance" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.957 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration()
84.958 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration() finished in 0 ms
84.959 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0()
84.960 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0() finished in 1 ms
84.961 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1()
84.962 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1() finished in 0 ms
84.963 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2()
84.964 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2() finished in 1 ms
84.965 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod()
84.966 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod() finished in 1 ms
84.967 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder()
84.968 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder() finished in 0 ms
84.969 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.setVerify()
84.970 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.setVerify() finished in 0 ms
84.971 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans()
84.972 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans() finished in 0 ms
84.973 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.verify()
84.974 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder()
84.975 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.verify() finished in 1 ms
84.976 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder() finished in 0 ms
84.977 -[VerboseTestNG]
84.978 -[VerboseTestNG] ===============================================
84.979 -[VerboseTestNG] Inheritance
84.980 -[VerboseTestNG] Tests run: 274, Failures: 4, Skips: 0
84.981 -[VerboseTestNG] ===============================================
84.982 -[VerboseTestNG] RUNNING: Suite: "Test outer scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.983 -[VerboseTestNG] INVOKING: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out")
84.984 -[VerboseTestNG] PASSED: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out") finished in 0 ms
84.985 -[VerboseTestNG]
84.986 -[VerboseTestNG] ===============================================
84.987 -[VerboseTestNG] Test outer scope
84.988 -[VerboseTestNG] Tests run: 275, Failures: 4, Skips: 0
84.989 -[VerboseTestNG] ===============================================
84.990 -[VerboseTestNG] RUNNING: Suite: "Test inner scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.991 -[VerboseTestNG] INVOKING: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in")
84.992 -[VerboseTestNG] PASSED: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in") finished in 1 ms
84.993 -[VerboseTestNG]
84.994 -[VerboseTestNG] ===============================================
84.995 -[VerboseTestNG] Test inner scope
84.996 -[VerboseTestNG] Tests run: 276, Failures: 4, Skips: 0
84.997 -[VerboseTestNG] ===============================================
84.998 -[VerboseTestNG] RUNNING: Suite: "AfterClassCalledAtEnd" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.999 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
84.1000 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 1 ms
84.1001 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1()
84.1002 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
84.1003 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
84.1004 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2()
84.1005 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
84.1006 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3()
84.1007 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3() finished in 0 ms
84.1008 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
84.1009 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 0 ms
84.1010 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
84.1011 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 0 ms
84.1012 -[VerboseTestNG]
84.1013 -[VerboseTestNG] ===============================================
84.1014 -[VerboseTestNG] AfterClassCalledAtEnd
84.1015 -[VerboseTestNG] Tests run: 279, Failures: 4, Skips: 0
84.1016 -[VerboseTestNG] ===============================================
84.1017 -[VerboseTestNG] RUNNING: Suite: "Triangle" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1018 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
84.1019 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
84.1020 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1()
84.1021 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1() finished in 0 ms
84.1022 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1a()
84.1023 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1a() finished in 0 ms
84.1024 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
84.1025 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 0 ms
84.1026 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
84.1027 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
84.1028 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child2.child2()
84.1029 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child2.child2() finished in 0 ms
84.1030 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
84.1031 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 0 ms
84.1032 -[VerboseTestNG]
84.1033 -[VerboseTestNG] ===============================================
84.1034 -[VerboseTestNG] Triangle
84.1035 -[VerboseTestNG] Tests run: 282, Failures: 4, Skips: 0
84.1036 -[VerboseTestNG] ===============================================
84.1037 -[VerboseTestNG] RUNNING: Suite: "CheckTrianglePost" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1038 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2")
84.1039 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2") finished in 0 ms
84.1040 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2")
84.1041 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2") finished in 0 ms
84.1042 -[VerboseTestNG]
84.1043 -[VerboseTestNG] ===============================================
84.1044 -[VerboseTestNG] CheckTrianglePost
84.1045 -[VerboseTestNG] Tests run: 284, Failures: 4, Skips: 0
84.1046 -[VerboseTestNG] ===============================================
84.1047 -[VerboseTestNG] RUNNING: Suite: "Test class groups 1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1048 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first1()
84.1049 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first1() finished in 0 ms
84.1050 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first2()
84.1051 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first2() finished in 0 ms
84.1052 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.Second.verify()
84.1053 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.Second.verify() finished in 1 ms
84.1054 -[VerboseTestNG]
84.1055 -[VerboseTestNG] ===============================================
84.1056 -[VerboseTestNG] Test class groups 1
84.1057 -[VerboseTestNG] Tests run: 287, Failures: 4, Skips: 0
84.1058 -[VerboseTestNG] ===============================================
84.1059 -[VerboseTestNG] RUNNING: Suite: "Test class groups 2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1060 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first1()
84.1061 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first1() finished in 1 ms
84.1062 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first2()
84.1063 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first2() finished in 0 ms
84.1064 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.Second.verify()
84.1065 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.Second.verify() finished in 0 ms
84.1066 -[VerboseTestNG]
84.1067 -[VerboseTestNG] ===============================================
84.1068 -[VerboseTestNG] Test class groups 2
84.1069 -[VerboseTestNG] Tests run: 290, Failures: 4, Skips: 0
84.1070 -[VerboseTestNG] ===============================================
84.1071 -[VerboseTestNG] RUNNING: Suite: "Factory" containing "30" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1072 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest()
84.1073 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest() finished in 0 ms
84.1074 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation()
84.1075 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork()
84.1076 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests()
84.1077 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved()
84.1078 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider()
84.1079 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests() finished in 5 ms
84.1080 -[VerboseTestNG] INVOKING: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun()
84.1081 -[VerboseTestNG] PASSED: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun() finished in 4 ms
84.1082 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test()
84.1083 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test() finished in 0 ms
84.1084 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
84.1085 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
84.1086 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
84.1087 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
84.1088 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork() finished in 11 ms
84.1089 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider()
84.1090 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
84.1091 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
84.1092 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
84.1093 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
84.1094 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
84.1095 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
84.1096 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
84.1097 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
84.1098 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
84.1099 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
84.1100 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
84.1101 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
84.1102 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
84.1103 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 0 ms
84.1104 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
84.1105 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
84.1106 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
84.1107 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
84.1108 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
84.1109 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 0 ms
84.1110 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
84.1111 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
84.1112 -[VerboseTestNG] INVOKING: "Factory" - test.factory.TestClassAnnotationTest.testOne()
84.1113 -[VerboseTestNG] PASSED: "Factory" - test.factory.TestClassAnnotationTest.testOne() finished in 1 ms
84.1114 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify()
84.1115 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify() finished in 0 ms
84.1116 -[VerboseTestNG] INVOKING: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory()
84.1117 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider() finished in 16 ms
84.1118 -[VerboseTestNG] Test @Factory(dataProvider) on a local static data provider
84.1119 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider()
84.1120 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider() finished in 3 ms
84.1121 -[VerboseTestNG] Test @Factory(dataProvider) on a non static data provider with no arg ctor
84.1122 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail()
84.1123 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved() finished in 21 ms
84.1124 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail() finished in 4 ms
84.1125 -[VerboseTestNG] Should fail because the data provider is not static
84.1126 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider()
84.1127 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryTest.mainCheck()
84.1128 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryTest.mainCheck() finished in 0 ms
84.1129 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck()
84.1130 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck() finished in 1 ms
84.1131 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSeparateClass.checkSum()
84.1132 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSeparateClass.checkSum() finished in 0 ms
84.1133 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
84.1134 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
84.1135 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
84.1136 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
84.1137 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
84.1138 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
84.1139 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
84.1140 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider() finished in 6 ms
84.1141 -[VerboseTestNG] Test @Factory(dataProvider) on a data provider in another class
84.1142 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
84.1143 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
84.1144 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
84.1145 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
84.1146 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
84.1147 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
84.1148 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
84.1149 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
84.1150 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
84.1151 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
84.1152 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
84.1153 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider() finished in 25 ms
84.1154 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation() finished in 38 ms
84.1155 -[VerboseTestNG] PASSED: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory() finished in 25 ms
84.1156 -[VerboseTestNG]
84.1157 -[VerboseTestNG] ===============================================
84.1158 -[VerboseTestNG] Factory
84.1159 -[VerboseTestNG] Tests run: 320, Failures: 4, Skips: 0
84.1160 -[VerboseTestNG] ===============================================
84.1161 -[VerboseTestNG] RUNNING: Suite: "TimeOut" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1162 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1163 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1164 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel()
84.1165 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel() finished in 1006 ms
84.1166 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1167 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1168 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel()
84.1169 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel() finished in 1021 ms
84.1170 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1171 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1172 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut()
84.1173 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut() finished in 2265 ms
84.1174 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1175 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1176 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut()
84.1177 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut() finished in 2006 ms
84.1178 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1179 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1180 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag()
84.1181 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag() finished in 1008 ms
84.1182 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1183 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1184 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag()
84.1185 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag() finished in 1008 ms
84.1186 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
84.1187 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1188 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests()
84.1189 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests() finished in 3022 ms
84.1190 -[VerboseTestNG]
84.1191 -[VerboseTestNG] ===============================================
84.1192 -[VerboseTestNG] TimeOut
84.1193 -[VerboseTestNG] Tests run: 327, Failures: 4, Skips: 0
84.1194 -[VerboseTestNG] ===============================================
84.1195 -[VerboseTestNG] RUNNING: Suite: "InvocationCount" containing "13" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1196 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
84.1197 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1198 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount()
84.1199 -[VerboseTestNG] PASSED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount() finished in 7 ms
84.1200 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
84.1201 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1202 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds()
84.1203 -[VerboseTestNG] PASSED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds() finished in 7 ms
84.1204 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop()
84.1205 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop() finished in 24 ms
84.1206 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop()
84.1207 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop() finished in 16 ms
84.1208 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop()
84.1209 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop() finished in 13 ms
84.1210 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse()
84.1211 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse() finished in 14 ms
84.1212 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue()
84.1213 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue() finished in 15 ms
84.1214 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse()
84.1215 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse() finished in 16 ms
84.1216 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue()
84.1217 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue() finished in 10 ms
84.1218 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse()
84.1219 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse() finished in 26 ms
84.1220 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue()
84.1221 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue() finished in 16 ms
84.1222 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse()
84.1223 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse() finished in 12 ms
84.1224 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue()
84.1225 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue() finished in 11 ms
84.1226 -[VerboseTestNG]
84.1227 -[VerboseTestNG] ===============================================
84.1228 -[VerboseTestNG] InvocationCount
84.1229 -[VerboseTestNG] Tests run: 340, Failures: 4, Skips: 0
84.1230 -[VerboseTestNG] ===============================================
84.1231 -[VerboseTestNG] RUNNING: Suite: "Method1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1232 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun1()
84.1233 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
84.1234 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun2()
84.1235 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
84.1236 -[VerboseTestNG] INVOKING: "Method1" - test.methods.VerifyMethod1.verify()
84.1237 -[VerboseTestNG] PASSED: "Method1" - test.methods.VerifyMethod1.verify() finished in 0 ms
84.1238 -[VerboseTestNG]
84.1239 -[VerboseTestNG] ===============================================
84.1240 -[VerboseTestNG] Method1
84.1241 -[VerboseTestNG] Tests run: 343, Failures: 4, Skips: 0
84.1242 -[VerboseTestNG] ===============================================
84.1243 -[VerboseTestNG] RUNNING: Suite: "Method2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1244 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun1()
84.1245 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun1() finished in 1 ms
84.1246 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun2()
84.1247 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
84.1248 -[VerboseTestNG] INVOKING: "Method2" - test.methods.VerifyMethod1.verify()
84.1249 -[VerboseTestNG] PASSED: "Method2" - test.methods.VerifyMethod1.verify() finished in 0 ms
84.1250 -[VerboseTestNG]
84.1251 -[VerboseTestNG] ===============================================
84.1252 -[VerboseTestNG] Method2
84.1253 -[VerboseTestNG] Tests run: 346, Failures: 4, Skips: 0
84.1254 -[VerboseTestNG] ===============================================
84.1255 -[VerboseTestNG] RUNNING: Suite: "Method3" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1256 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun1()
84.1257 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
84.1258 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun2()
84.1259 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
84.1260 -[VerboseTestNG] INVOKING: "Method3" - test.methods.VerifyMethod1.verify()
84.1261 -[VerboseTestNG] PASSED: "Method3" - test.methods.VerifyMethod1.verify() finished in 0 ms
84.1262 -[VerboseTestNG]
84.1263 -[VerboseTestNG] ===============================================
84.1264 -[VerboseTestNG] Method3
84.1265 -[VerboseTestNG] Tests run: 349, Failures: 4, Skips: 0
84.1266 -[VerboseTestNG] ===============================================
84.1267 -[VerboseTestNG] RUNNING: Suite: "Object factory" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1268 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext()
84.1269 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext() finished in 9 ms
84.1270 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
84.1271 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
84.1272 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite()
84.1273 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite() finished in 5 ms
84.1274 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
84.1275 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 1 ms
84.1276 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG()
84.1277 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG() finished in 5 ms
84.1278 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
84.1279 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
84.1280 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation()
84.1281 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation() finished in 1 ms
84.1282 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
84.1283 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
84.1284 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp()
84.1285 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1286 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory()
84.1287 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory() finished in 2 ms
84.1288 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork()
84.1289 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork() finished in 5 ms
84.1290 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork()
84.1291 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork() finished in 4 ms
84.1292 -[VerboseTestNG]
84.1293 -[VerboseTestNG] ===============================================
84.1294 -[VerboseTestNG] Object factory
84.1295 -[VerboseTestNG] Tests run: 356, Failures: 4, Skips: 0
84.1296 -[VerboseTestNG] ===============================================
84.1297 -[VerboseTestNG] RUNNING: Suite: "Parameters for constructors" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1298 -[VerboseTestNG] INVOKING: "Parameters for constructors" - test.ParameterConstructorTest.verify()
84.1299 -[VerboseTestNG] PASSED: "Parameters for constructors" - test.ParameterConstructorTest.verify() finished in 1 ms
84.1300 -[VerboseTestNG]
84.1301 -[VerboseTestNG] ===============================================
84.1302 -[VerboseTestNG] Parameters for constructors
84.1303 -[VerboseTestNG] Tests run: 357, Failures: 4, Skips: 0
84.1304 -[VerboseTestNG] ===============================================
84.1305 -[VerboseTestNG] RUNNING: Suite: "Excluded methods" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1306 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included1()
84.1307 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included1() finished in 0 ms
84.1308 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included2()
84.1309 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included2() finished in 0 ms
84.1310 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.verify()
84.1311 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.verify() finished in 1 ms
84.1312 -[VerboseTestNG]
84.1313 -[VerboseTestNG] ===============================================
84.1314 -[VerboseTestNG] Excluded methods
84.1315 -[VerboseTestNG] Tests run: 360, Failures: 4, Skips: 0
84.1316 -[VerboseTestNG] ===============================================
84.1317 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 1" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1318 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1")
84.1319 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1") finished in 0 ms
84.1320 -[VerboseTestNG] INVOKING: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1")
84.1321 -[VerboseTestNG] PASSED: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1") finished in 0 ms
84.1322 -[VerboseTestNG]
84.1323 -[VerboseTestNG] ===============================================
84.1324 -[VerboseTestNG] Parameters in init 1
84.1325 -[VerboseTestNG] Tests run: 361, Failures: 4, Skips: 0
84.1326 -[VerboseTestNG] ===============================================
84.1327 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 2" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1328 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2")
84.1329 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2") finished in 0 ms
84.1330 -[VerboseTestNG] INVOKING: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2")
84.1331 -[VerboseTestNG] PASSED: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2") finished in 0 ms
84.1332 -[VerboseTestNG]
84.1333 -[VerboseTestNG] ===============================================
84.1334 -[VerboseTestNG] Parameters in init 2
84.1335 -[VerboseTestNG] Tests run: 362, Failures: 4, Skips: 0
84.1336 -[VerboseTestNG] ===============================================
84.1337 -[VerboseTestNG] RUNNING: Suite: "Individual method" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1338 -[VerboseTestNG] INVOKING CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp()
84.1339 -[VerboseTestNG] PASSED CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp() finished in 0 ms
84.1340 -[VerboseTestNG] INVOKING: "Individual method" - test.IndividualMethodsTest.testMethod()
84.1341 -[VerboseTestNG] PASSED: "Individual method" - test.IndividualMethodsTest.testMethod() finished in 0 ms
84.1342 -[VerboseTestNG]
84.1343 -[VerboseTestNG] ===============================================
84.1344 -[VerboseTestNG] Individual method
84.1345 -[VerboseTestNG] Tests run: 363, Failures: 4, Skips: 0
84.1346 -[VerboseTestNG] ===============================================
84.1347 -[VerboseTestNG] RUNNING: Suite: "Method inheritance" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1348 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest()
84.1349 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest() finished in 0 ms
84.1350 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication()
84.1351 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication() finished in 1 ms
84.1352 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog()
84.1353 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog() finished in 0 ms
84.1354 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2()
84.1355 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2() finished in 0 ms
84.1356 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.DChild_2.test()
84.1357 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.DChild_2.test() finished in 0 ms
84.1358 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2()
84.1359 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2() finished in 0 ms
84.1360 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog()
84.1361 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog() finished in 0 ms
84.1362 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication()
84.1363 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication() finished in 0 ms
84.1364 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.VerifyTest.verify()
84.1365 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.VerifyTest.verify() finished in 2 ms
84.1366 -[VerboseTestNG]
84.1367 -[VerboseTestNG] ===============================================
84.1368 -[VerboseTestNG] Method inheritance
84.1369 -[VerboseTestNG] Tests run: 365, Failures: 4, Skips: 0
84.1370 -[VerboseTestNG] ===============================================
84.1371 -[VerboseTestNG] RUNNING: Suite: "Method selectors" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1372 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1373 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1374 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2()
84.1375 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2() finished in 6 ms
84.1376 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1377 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1378 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests()
84.1379 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests() finished in 9 ms
84.1380 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1381 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1382 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test()
84.1383 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test() finished in 3 ms
84.1384 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1385 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1386 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups()
84.1387 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups() finished in 4 ms
84.1388 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1389 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1390 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2()
84.1391 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2() finished in 3 ms
84.1392 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
84.1393 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1394 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1()
84.1395 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1() finished in 45 ms
84.1396 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1397 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 1 ms
84.1398 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2()
84.1399 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2() finished in 14 ms
84.1400 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1401 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1402 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests()
84.1403 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests() finished in 15 ms
84.1404 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1405 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1406 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test()
84.1407 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test() finished in 12 ms
84.1408 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1409 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1410 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors()
84.1411 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors() finished in 13 ms
84.1412 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1413 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1414 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups()
84.1415 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups() finished in 15 ms
84.1416 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1417 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 1 ms
84.1418 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2()
84.1419 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2() finished in 10 ms
84.1420 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1421 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1422 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector()
84.1423 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector() finished in 14 ms
84.1424 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
84.1425 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
84.1426 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile()
84.1427 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile() finished in 15 ms
84.1428 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
84.1429 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
84.1430 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine()
84.1431 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine() finished in 10 ms
84.1432 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
84.1433 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 1 ms
84.1434 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite()
84.1435 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite() finished in 3 ms
84.1436 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
84.1437 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
84.1438 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite()
84.1439 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite() finished in 3 ms
84.1440 -[VerboseTestNG]
84.1441 -[VerboseTestNG] ===============================================
84.1442 -[VerboseTestNG] Method selectors
84.1443 -[VerboseTestNG] Tests run: 382, Failures: 4, Skips: 0
84.1444 -[VerboseTestNG] ===============================================
84.1445 -[VerboseTestNG] RUNNING: Suite: "Test order invocation" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1446 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest()
84.1447 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest() finished in 0 ms
84.1448 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp()
84.1449 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1450 -[VerboseTestNG] INVOKING: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder()
84.1451 -[VerboseTestNG] PASSED: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder() finished in 16 ms
84.1452 -[VerboseTestNG]
84.1453 -[VerboseTestNG] ===============================================
84.1454 -[VerboseTestNG] Test order invocation
84.1455 -[VerboseTestNG] Tests run: 383, Failures: 4, Skips: 0
84.1456 -[VerboseTestNG] ===============================================
84.1457 -[VerboseTestNG] RUNNING: Suite: "DataProvider" containing "29" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1458 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest()
84.1459 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest() finished in 0 ms
84.1460 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36)
84.1461 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass()
84.1462 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36) finished in 0 ms
84.1463 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37)
84.1464 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass() finished in 0 ms
84.1465 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37) finished in 0 ms
84.1466 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp()
84.1467 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp() finished in 0 ms
84.1468 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test)
84.1469 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test) finished in 1 ms
84.1470 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider()
84.1471 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true)
84.1472 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true) finished in 1 ms
84.1473 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false)
84.1474 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false) finished in 0 ms
84.1475 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyCount()
84.1476 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyCount() finished in 0 ms
84.1477 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.verify()
84.1478 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.verify() finished in 0 ms
84.1479 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric")
84.1480 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric") finished in 0 ms
84.1481 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric")
84.1482 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric") finished in 0 ms
84.1483 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider() finished in 3 ms
84.1484 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric")
84.1485 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric") finished in 0 ms
84.1486 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois")
84.1487 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
84.1488 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois") finished in 0 ms
84.1489 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1490 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly()
84.1491 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods()
84.1492 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods() finished in 0 ms
84.1493 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric")
84.1494 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric") finished in 0 ms
84.1495 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true)
84.1496 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true) finished in 0 ms
84.1497 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false)
84.1498 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false) finished in 1 ms
84.1499 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify()
84.1500 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify() finished in 0 ms
84.1501 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyFive()
84.1502 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
84.1503 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 0 ms
84.1504 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1859093149)
84.1505 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1859093149) finished in 0 ms
84.1506 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
84.1507 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
84.1508 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
84.1509 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 0 ms
84.1510 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 2038975040)
84.1511 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 2038975040) finished in 0 ms
84.1512 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
84.1513 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
84.1514 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly() finished in 5 ms
84.1515 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a")
84.1516 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a") finished in 0 ms
84.1517 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestNG411Test.verify()
84.1518 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
84.1519 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 0 ms
84.1520 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
84.1521 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 0 ms
84.1522 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
84.1523 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 0 ms
84.1524 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
84.1525 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 0 ms
84.1526 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
84.1527 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1528 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
84.1529 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
84.1530 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked()
84.1531 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestNG411Test.verify() finished in 13 ms
84.1532 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@35e5ebbf)
84.1533 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@35e5ebbf) finished in 0 ms
84.1534 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked() finished in 15 ms
84.1535 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyFive() finished in 21 ms
84.1536 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifySix()
84.1537 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
84.1538 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1539 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
84.1540 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
84.1541 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip()
84.1542 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip() finished in 11 ms
84.1543 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifySix() finished in 18 ms
84.1544 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyTen()
84.1545 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyTen() finished in 8 ms
84.1546 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders()
84.1547 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders() finished in 2 ms
84.1548 -[VerboseTestNG] TESTNG-447: Abort when two data providers have the same name
84.1549 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider()
84.1550 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider() finished in 2 ms
84.1551 -[VerboseTestNG] TESTNG-142: Exceptions in DataProvider are not reported as failed test
84.1552 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.DataProviderAsTest.f()
84.1553 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.DataProviderAsTest.f() finished in 0 ms
84.1554 -[VerboseTestNG]
84.1555 -[VerboseTestNG] ===============================================
84.1556 -[VerboseTestNG] DataProvider
84.1557 -[VerboseTestNG] Tests run: 418, Failures: 4, Skips: 0
84.1558 -[VerboseTestNG] ===============================================
84.1559 -[VerboseTestNG] RUNNING: Suite: "DP" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1560 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException()
84.1561 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException() finished in 2035 ms
84.1562 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "Cedric", 36)
84.1563 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "Anne", 37)
84.1564 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "B", 37)
84.1565 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "Anne", 37) finished in 0 ms
84.1566 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "B", 37) finished in 0 ms
84.1567 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "A", 36)
84.1568 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "Cedric", 36) finished in 0 ms
84.1569 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@7885bf5f, "A", 36) finished in 0 ms
84.1570 -[VerboseTestNG]
84.1571 -[VerboseTestNG] ===============================================
84.1572 -[VerboseTestNG] DP
84.1573 -[VerboseTestNG] Tests run: 423, Failures: 4, Skips: 0
84.1574 -[VerboseTestNG] ===============================================
84.1575 -[VerboseTestNG] RUNNING: Suite: "bug111" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1576 -[VerboseTestNG] INVOKING: "bug111" - test.test111.AbstractTest.testAbstract()
84.1577 -[VerboseTestNG] PASSED: "bug111" - test.test111.AbstractTest.testAbstract() finished in 0 ms
84.1578 -[VerboseTestNG] INVOKING: "bug111" - test.test111.Test1.test()
84.1579 -[VerboseTestNG] PASSED: "bug111" - test.test111.Test1.test() finished in 1 ms
84.1580 -[VerboseTestNG] INVOKING CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass()
84.1581 -[VerboseTestNG] PASSED CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass() finished in 0 ms
84.1582 -[VerboseTestNG]
84.1583 -[VerboseTestNG] ===============================================
84.1584 -[VerboseTestNG] bug111
84.1585 -[VerboseTestNG] Tests run: 425, Failures: 4, Skips: 0
84.1586 -[VerboseTestNG] ===============================================
84.1587 -[VerboseTestNG] RUNNING: Suite: "UniqueSuite" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1588 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore1.verify()
84.1589 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore1.verify() finished in 0 ms
84.1590 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore2.verify()
84.1591 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore2.verify() finished in 0 ms
84.1592 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter()
84.1593 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter() finished in 15 ms
84.1594 -[VerboseTestNG] INVOKING CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest()
84.1595 -[VerboseTestNG] PASSED CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest() finished in 1 ms
84.1596 -[VerboseTestNG]
84.1597 -[VerboseTestNG] ===============================================
84.1598 -[VerboseTestNG] UniqueSuite
84.1599 -[VerboseTestNG] Tests run: 428, Failures: 4, Skips: 0
84.1600 -[VerboseTestNG] ===============================================
84.1601 -[VerboseTestNG] RUNNING: Suite: "InheritGroups" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1602 -[VerboseTestNG] INVOKING CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp()
84.1603 -[VerboseTestNG] PASSED CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp() finished in 1 ms
84.1604 -[VerboseTestNG] INVOKING: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1()
84.1605 -[VerboseTestNG] PASSED: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1() finished in 0 ms
84.1606 -[VerboseTestNG]
84.1607 -[VerboseTestNG] ===============================================
84.1608 -[VerboseTestNG] InheritGroups
84.1609 -[VerboseTestNG] Tests run: 429, Failures: 4, Skips: 0
84.1610 -[VerboseTestNG] ===============================================
84.1611 -[VerboseTestNG] RUNNING: Suite: "Nested" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1612 -[VerboseTestNG] INVOKING: "Nested" - test.nested.GarfTest.testGarf()
84.1613 -[VerboseTestNG] PASSED: "Nested" - test.nested.GarfTest.testGarf() finished in 0 ms
84.1614 -[VerboseTestNG]
84.1615 -[VerboseTestNG] ===============================================
84.1616 -[VerboseTestNG] Nested
84.1617 -[VerboseTestNG] Tests run: 430, Failures: 4, Skips: 0
84.1618 -[VerboseTestNG] ===============================================
84.1619 -[VerboseTestNG] RUNNING: Suite: "Hookable" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1620 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1621 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1622 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1623 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 2 ms
84.1624 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableFailure()
84.1625 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableFailure() finished in 14 ms
84.1626 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1627 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1628 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1629 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
84.1630 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccess()
84.1631 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableSuccess() finished in 5 ms
84.1632 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1633 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1634 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1635 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
84.1636 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener()
84.1637 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener() finished in 6 ms
84.1638 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1639 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1640 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1641 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
84.1642 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookFailure()
84.1643 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookFailure() finished in 3 ms
84.1644 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1645 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1646 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1647 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
84.1648 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccess()
84.1649 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookSuccess() finished in 2 ms
84.1650 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
84.1651 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1652 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
84.1653 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 0 ms
84.1654 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccessWithListener()
84.1655 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookSuccessWithListener() finished in 2 ms
84.1656 -[VerboseTestNG]
84.1657 -[VerboseTestNG] ===============================================
84.1658 -[VerboseTestNG] Hookable
84.1659 -[VerboseTestNG] Tests run: 436, Failures: 4, Skips: 0
84.1660 -[VerboseTestNG] ===============================================
84.1661 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1662 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1()
84.1663 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1() finished in 0 ms
84.1664 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1()
84.1665 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f()
84.1666 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1() finished in 0 ms
84.1667 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f() finished in 0 ms
84.1668 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1()
84.1669 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1() finished in 2 ms
84.1670 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1()
84.1671 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1() finished in 0 ms
84.1672 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1()
84.1673 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1()
84.1674 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1() finished in 0 ms
84.1675 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1() finished in 0 ms
84.1676 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1()
84.1677 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run()
84.1678 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1() finished in 1 ms
84.1679 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa()
84.1680 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run() finished in 1 ms
84.1681 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa() finished in 0 ms
84.1682 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1()
84.1683 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1() finished in 0 ms
84.1684 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa()
84.1685 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa() finished in 0 ms
84.1686 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f()
84.1687 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f() finished in 0 ms
84.1688 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA()
84.1689 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA() finished in 0 ms
84.1690 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething()
84.1691 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1()
84.1692 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1()
84.1693 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething() finished in 0 ms
84.1694 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1() finished in 0 ms
84.1695 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1() finished in 0 ms
84.1696 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore()
84.1697 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2()
84.1698 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore() finished in 0 ms
84.1699 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2() finished in 0 ms
84.1700 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA()
84.1701 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA() finished in 0 ms
84.1702 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify()
84.1703 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after()
84.1704 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify() finished in 0 ms
84.1705 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after() finished in 0 ms
84.1706 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify()
84.1707 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify() finished in 0 ms
84.1708 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify()
84.1709 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify() finished in 0 ms
84.1710 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify()
84.1711 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify() finished in 0 ms
84.1712 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify()
84.1713 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f()
84.1714 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify() finished in 1 ms
84.1715 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f() finished in 2 ms
84.1716 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1()
84.1717 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa()
84.1718 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1() finished in 0 ms
84.1719 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa() finished in 0 ms
84.1720 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
84.1721 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
84.1722 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2()
84.1723 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2() finished in 0 ms
84.1724 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
84.1725 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
84.1726 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify()
84.1727 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify()
84.1728 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify() finished in 0 ms
84.1729 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify() finished in 0 ms
84.1730 -[VerboseTestNG]
84.1731 -[VerboseTestNG] ===============================================
84.1732 -[VerboseTestNG] BeforeGroups-AfterGroups-1
84.1733 -[VerboseTestNG] Tests run: 460, Failures: 4, Skips: 0
84.1734 -[VerboseTestNG] ===============================================
84.1735 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1736 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething()
84.1737 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething() finished in 0 ms
84.1738 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
84.1739 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
84.1740 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore()
84.1741 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore() finished in 0 ms
84.1742 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
84.1743 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
84.1744 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify()
84.1745 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify() finished in 0 ms
84.1746 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
84.1747 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
84.1748 -[VerboseTestNG]
84.1749 -[VerboseTestNG] ===============================================
84.1750 -[VerboseTestNG] BeforeGroups-AfterGroups-2
84.1751 -[VerboseTestNG] Tests run: 463, Failures: 4, Skips: 0
84.1752 -[VerboseTestNG] ===============================================
84.1753 -[VerboseTestNG] RUNNING: Suite: "JUnit" containing "12" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1754 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1755 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1756 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1757 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1758 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsThatStartWithTest()
84.1759 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.methodsThatStartWithTest() finished in 2 ms
84.1760 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1761 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1762 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1763 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1764 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsWithSetup()
84.1765 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.methodsWithSetup() finished in 1 ms
84.1766 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1767 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1768 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1769 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1770 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked()
84.1771 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked() finished in 1 ms
84.1772 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1773 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1774 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1775 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1776 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped()
84.1777 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped() finished in 2 ms
84.1778 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1779 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
84.1780 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1781 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1782 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testNewInstance()
84.1783 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.testNewInstance() finished in 1 ms
84.1784 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
84.1785 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
84.1786 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
84.1787 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
84.1788 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testSuite()
84.1789 -[VerboseTestNG] PASSED: "JUnit" - test.JUnitTest1.testSuite() finished in 1 ms
84.1790 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing()
84.1791 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing() finished in 8 ms
84.1792 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing2()
84.1793 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing2() finished in 24 ms
84.1794 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.suiteNameOverride()
84.1795 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.suiteNameOverride() finished in 8 ms
84.1796 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testMethodParameter()
84.1797 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testMethodParameter() finished in 7 ms
84.1798 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testNameOverride()
84.1799 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testNameOverride() finished in 5 ms
84.1800 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument()
84.1801 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument() finished in 7 ms
84.1802 -[VerboseTestNG]
84.1803 -[VerboseTestNG] ===============================================
84.1804 -[VerboseTestNG] JUnit
84.1805 -[VerboseTestNG] Tests run: 475, Failures: 4, Skips: 0
84.1806 -[VerboseTestNG] ===============================================
84.1807 -[VerboseTestNG] RUNNING: Suite: "Ant-ClassFileResolution" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1808 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution()
84.1809 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution() finished in 0 ms
84.1810 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution()
84.1811 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution() finished in 0 ms
84.1812 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution()
84.1813 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution() finished in 0 ms
84.1814 -[VerboseTestNG]
84.1815 -[VerboseTestNG] ===============================================
84.1816 -[VerboseTestNG] Ant-ClassFileResolution
84.1817 -[VerboseTestNG] Tests run: 478, Failures: 4, Skips: 0
84.1818 -[VerboseTestNG] ===============================================
84.1819 -[VerboseTestNG] RUNNING: Suite: "Class Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1820 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
84.1821 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 0 ms
84.1822 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.A.testA()
84.1823 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.A.testA() finished in 0 ms
84.1824 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.B.testB()
84.1825 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.B.testB() finished in 0 ms
84.1826 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
84.1827 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
84.1828 -[VerboseTestNG]
84.1829 -[VerboseTestNG] ===============================================
84.1830 -[VerboseTestNG] Class Run
84.1831 -[VerboseTestNG] Tests run: 480, Failures: 4, Skips: 0
84.1832 -[VerboseTestNG] ===============================================
84.1833 -[VerboseTestNG] RUNNING: Suite: "Groups Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1834 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
84.1835 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 0 ms
84.1836 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.A.testA()
84.1837 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.A.testA() finished in 0 ms
84.1838 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.B.testB()
84.1839 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.B.testB() finished in 0 ms
84.1840 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
84.1841 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
84.1842 -[VerboseTestNG]
84.1843 -[VerboseTestNG] ===============================================
84.1844 -[VerboseTestNG] Groups Run
84.1845 -[VerboseTestNG] Tests run: 482, Failures: 4, Skips: 0
84.1846 -[VerboseTestNG] ===============================================
84.1847 -[VerboseTestNG] RUNNING: Suite: "External group invocation" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1848 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups()
84.1849 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups() finished in 0 ms
84.1850 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testA()
84.1851 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testA() finished in 0 ms
84.1852 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testAB()
84.1853 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testAB() finished in 0 ms
84.1854 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups()
84.1855 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups() finished in 0 ms
84.1856 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations()
84.1857 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations() finished in 1 ms
84.1858 -[VerboseTestNG]
84.1859 -[VerboseTestNG] ===============================================
84.1860 -[VerboseTestNG] External group invocation
84.1861 -[VerboseTestNG] Tests run: 484, Failures: 4, Skips: 0
84.1862 -[VerboseTestNG] ===============================================
84.1863 -[VerboseTestNG] RUNNING: Suite: "SkipExceptions" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1864 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods()
84.1865 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods() finished in 3 ms
84.1866 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods()
84.1867 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods() finished in 4 ms
84.1868 -[VerboseTestNG]
84.1869 -[VerboseTestNG] ===============================================
84.1870 -[VerboseTestNG] SkipExceptions
84.1871 -[VerboseTestNG] Tests run: 486, Failures: 4, Skips: 0
84.1872 -[VerboseTestNG] ===============================================
84.1873 -[VerboseTestNG] RUNNING: Suite: "MethodInterceptor" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1874 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst()
84.1875 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst() finished in 3 ms
84.1876 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst()
84.1877 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst() finished in 2 ms
84.1878 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun()
84.1879 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun() finished in 2 ms
84.1880 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml()
84.1881 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml() finished in 4 ms
84.1882 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods()
84.1883 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods() finished in 4 ms
84.1884 -[VerboseTestNG]
84.1885 -[VerboseTestNG] ===============================================
84.1886 -[VerboseTestNG] MethodInterceptor
84.1887 -[VerboseTestNG] Tests run: 491, Failures: 4, Skips: 0
84.1888 -[VerboseTestNG] ===============================================
84.1889 -[VerboseTestNG] RUNNING: Suite: "Asserts" containing "18" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1890 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail()
84.1891 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail() finished in 0 ms
84.1892 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.mapAssertEquals()
84.1893 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.mapAssertEquals() finished in 1 ms
84.1894 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals()
84.1895 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals() finished in 0 ms
84.1896 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullMapAssertEquals()
84.1897 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullMapAssertEquals() finished in 0 ms
84.1898 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals()
84.1899 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals() finished in 0 ms
84.1900 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder()
84.1901 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder() finished in 0 ms
84.1902 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullSetAssertEquals()
84.1903 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullSetAssertEquals() finished in 0 ms
84.1904 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals()
84.1905 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals() finished in 0 ms
84.1906 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals()
84.1907 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals() finished in 0 ms
84.1908 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.setAssertEquals()
84.1909 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.setAssertEquals() finished in 0 ms
84.1910 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_1()
84.1911 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_1() finished in 0 ms
84.1912 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_2()
84.1913 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_2() finished in 0 ms
84.1914 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_3()
84.1915 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_3() finished in 0 ms
84.1916 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.intArray_Issue4()
84.1917 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.intArray_Issue4() finished in 0 ms
84.1918 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays()
84.1919 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays() finished in 0 ms
84.1920 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderFailure()
84.1921 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderFailure() finished in 0 ms
84.1922 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderSuccess()
84.1923 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderSuccess() finished in 0 ms
84.1924 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.setsSuccess()
84.1925 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.setsSuccess() finished in 0 ms
84.1926 -[VerboseTestNG]
84.1927 -[VerboseTestNG] ===============================================
84.1928 -[VerboseTestNG] Asserts
84.1929 -[VerboseTestNG] Tests run: 509, Failures: 4, Skips: 0
84.1930 -[VerboseTestNG] ===============================================
84.1931 -[VerboseTestNG] RUNNING: Suite: "Utils" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1932 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin()
84.1933 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin() finished in 0 ms
84.1934 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings()
84.1935 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings() finished in 0 ms
84.1936 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.escapeUnicode()
84.1937 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.escapeUnicode() finished in 1 ms
84.1938 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin()
84.1939 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin() finished in 1 ms
84.1940 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings()
84.1941 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings() finished in 0 ms
84.1942 -[VerboseTestNG]
84.1943 -[VerboseTestNG] ===============================================
84.1944 -[VerboseTestNG] Utils
84.1945 -[VerboseTestNG] Tests run: 514, Failures: 4, Skips: 0
84.1946 -[VerboseTestNG] ===============================================
84.1947 -[VerboseTestNG] RUNNING: Suite: "ConfigFailurePolicy" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1948 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue()
84.1949 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue() finished in 14 ms
84.1950 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip()
84.1951 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip() finished in 12 ms
84.1952 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue()
84.1953 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue() finished in 13 ms
84.1954 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip()
84.1955 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip() finished in 9 ms
84.1956 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@8ea9cf1, 1, 1, 1)
84.1957 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@8ea9cf1, 1, 1, 1) finished in 11 ms
84.1958 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@5d6f13bb, 2, 0, 2)
84.1959 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@5d6f13bb, 2, 0, 2) finished in 12 ms
84.1960 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@250b9a58, 2, 2, 2)
84.1961 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@250b9a58, 2, 2, 2) finished in 12 ms
84.1962 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@8bfaf9f, 1, 1, 1)
84.1963 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@8bfaf9f, 1, 1, 1) finished in 12 ms
84.1964 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@6ac1abcf, 1, 2, 2)
84.1965 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@6ac1abcf, 1, 2, 2) finished in 15 ms
84.1966 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@13a4071a, 2, 3, 3)
84.1967 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@13a4071a, 2, 3, 3) finished in 20 ms
84.1968 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@580283d3, 0, 1, 1)
84.1969 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@580283d3, 0, 1, 1) finished in 28 ms
84.1970 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@584b5abc, 2, 0, 2)
84.1971 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@584b5abc, 2, 0, 2) finished in 17 ms
84.1972 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@b1df416, 2, 2, 2)
84.1973 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@b1df416, 2, 2, 2) finished in 17 ms
84.1974 -[VerboseTestNG]
84.1975 -[VerboseTestNG] ===============================================
84.1976 -[VerboseTestNG] ConfigFailurePolicy
84.1977 -[VerboseTestNG] Tests run: 527, Failures: 4, Skips: 0
84.1978 -[VerboseTestNG] ===============================================
84.1979 -[VerboseTestNG] RUNNING: Suite: "Nested2" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1980 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest()
84.1981 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest() finished in 0 ms
84.1982 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA()
84.1983 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA() finished in 0 ms
84.1984 -[VerboseTestNG]
84.1985 -[VerboseTestNG] ===============================================
84.1986 -[VerboseTestNG] Nested2
84.1987 -[VerboseTestNG] Tests run: 529, Failures: 4, Skips: 0
84.1988 -[VerboseTestNG] ===============================================
84.1989 -[VerboseTestNG] RUNNING: Suite: "Guice" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.1990 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceTest.guiceTest()
84.1991 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceTest.guiceTest() finished in 12 ms
84.1992 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork()
84.1993 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork() finished in 0 ms
84.1994 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork()
84.1995 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork() finished in 1 ms
84.1996 -[VerboseTestNG]
84.1997 -[VerboseTestNG] ===============================================
84.1998 -[VerboseTestNG] Guice
84.1999 -[VerboseTestNG] Tests run: 532, Failures: 4, Skips: 0
84.2000 -[VerboseTestNG] ===============================================
84.2001 -[VerboseTestNG] RUNNING: Suite: "Listener invokers" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.2002 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance()
84.2003 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance() finished in 1 ms
84.2004 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance()
84.2005 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance() finished in 0 ms
84.2006 -[VerboseTestNG]
84.2007 -[VerboseTestNG] ===============================================
84.2008 -[VerboseTestNG] Listener invokers
84.2009 -[VerboseTestNG] Tests run: 534, Failures: 4, Skips: 0
84.2010 -[VerboseTestNG] ===============================================
84.2011 -[VerboseTestNG] RUNNING: Suite: "YAML" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.2012 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1")
84.2013 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1") finished in 90 ms
84.2014 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2")
84.2015 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2") finished in 21 ms
84.2016 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3")
84.2017 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3") finished in 21 ms
84.2018 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4")
84.2019 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4") finished in 8 ms
84.2020 -[VerboseTestNG]
84.2021 -[VerboseTestNG] ===============================================
84.2022 -[VerboseTestNG] YAML
84.2023 -[VerboseTestNG] Tests run: 538, Failures: 4, Skips: 0
84.2024 -[VerboseTestNG] ===============================================
84.2025 -[VerboseTestNG] RUNNING: Suite: "Sanity Check" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.2026 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError()
84.2027 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError() finished in 5 ms
84.2028 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites()
84.2029 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites() finished in 8 ms
84.2030 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites()
84.2031 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites() finished in 9 ms
84.2032 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites()
84.2033 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites() finished in 3 ms
84.2034 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites()
84.2035 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites() finished in 1 ms
84.2036 -[VerboseTestNG]
84.2037 -[VerboseTestNG] ===============================================
84.2038 -[VerboseTestNG] Sanity Check
84.2039 -[VerboseTestNG] Tests run: 543, Failures: 4, Skips: 0
84.2040 -[VerboseTestNG] ===============================================
84.2041 -[VerboseTestNG] RUNNING: Suite: "Configuration" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
84.2042 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest()
84.2043 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest() finished in 1 ms
84.2044 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt()
84.2045 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt() finished in 0 ms
84.2046 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation()
84.2047 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
84.2048 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
84.2049 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups()
84.2050 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
84.2051 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 1 ms
84.2052 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
84.2053 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 0 ms
84.2054 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods()
84.2055 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods() finished in 5 ms
84.2056 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation() finished in 19 ms
84.2057 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel()
84.2058 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups() finished in 26 ms
84.2059 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
84.2060 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
84.2061 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups()
84.2062 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups() finished in 14 ms
84.2063 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
84.2064 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
84.2065 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups()
84.2066 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups() finished in 12 ms
84.2067 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass()
84.2068 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass() finished in 0 ms
84.2069 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod()
84.2070 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod() finished in 0 ms
84.2071 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MethodCallOrderTest.realTest()
84.2072 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MethodCallOrderTest.realTest() finished in 0 ms
84.2073 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod()
84.2074 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod() finished in 0 ms
84.2075 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass()
84.2076 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass() finished in 0 ms
84.2077 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups()
84.2078 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups() finished in 0 ms
84.2079 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.test()
84.2080 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.test() finished in 0 ms
84.2081 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify()
84.2082 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify() finished in 0 ms
84.2083 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
84.2084 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 1 ms
84.2085 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()
84.2086 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2() finished in 0 ms
84.2087 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
84.2088 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 0 ms
84.2089 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
84.2090 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 1 ms
84.2091 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()
84.2092 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1() finished in 0 ms
84.2093 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
84.2094 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 0 ms
84.2095 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations()
84.2096 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations() finished in 0 ms
84.2097 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce()
84.2098 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce() finished in 8 ms
84.2099 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteTest.test1()
84.2100 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteTest.test1() finished in 0 ms
84.2101 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel() finished in 2010 ms
84.2102 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering()
84.2103 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering() finished in 17 ms
84.2104 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass()
84.2105 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass() finished in 0 ms
84.2106 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod()
84.2107 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod() finished in 0 ms
84.2108 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ConfigurationTest.verify()
84.2109 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ConfigurationTest.verify() finished in 0 ms
84.2110 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod()
84.2111 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod() finished in 0 ms
84.2112 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass()
84.2113 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass() finished in 0 ms
84.2114 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest()
84.2115 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest() finished in 1 ms
84.2116 -[VerboseTestNG]
84.2117 -[VerboseTestNG] ===============================================
84.2118 -[VerboseTestNG] Configuration
84.2119 -[VerboseTestNG] Tests run: 560, Failures: 4, Skips: 0
84.2120 -[VerboseTestNG] ===============================================
84.2121 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite()
84.2122 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite() finished in 0 ms
84.2123 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite()
84.2124 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite() finished in 0 ms
84.2125 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.uniquesuite.BaseBefore.incrementAfter()
84.2126 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.uniquesuite.BaseBefore.incrementAfter() finished in 0 ms
84.2127 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ConfigurationTest.afterSuite()
84.2128 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ConfigurationTest.afterSuite() finished in 0 ms
84.2129 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.afterSuite()
84.2130 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.afterSuite() finished in 0 ms
84.2131 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.cleanUp()
84.2132 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.cleanUp() finished in 1 ms
84.2133 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.MethodCallOrderTest.cleanUp()
84.2134 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.MethodCallOrderTest.cleanUp() finished in 0 ms
84.2135 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.VerifySuiteTest.verify()
84.2136 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.VerifySuiteTest.verify() finished in 0 ms
84.2137 -
84.2138 -===============================================
84.2139 -TestNG
84.2140 -Total tests run: 560, Failures: 4, Skips: 0
84.2141 -===============================================
84.2142 -
84.2143 -The tests failed.
84.2144 -
84.2145 -reports:
85.1 --- a/testng/test/unit/data/antOut/log3.txt Sat Mar 10 02:54:06 2012 +0100
85.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
85.3 @@ -1,2775 +0,0 @@
85.4 -run:
85.5 - -- Running tests --
85.6 - -- /space/sources/tng_fork/target/testng-6.3.2beta.jar --
85.7 -Executing '/space/java/sdk/jdk1.6.0_29/jre/bin/java' with arguments:
85.8 -'-Dtest.resources.dir=/space/sources/tng_fork/src/test/resources'
85.9 -'-Dsun.io.serialization.extendedDebugInfo=true'
85.10 -'-ea'
85.11 -'-classpath'
85.12 -'/space/sources/tng_fork/target/testng-6.3.2beta.jar:/space/sources/tng_fork/lib/guice-2.0.jar:/space/sources/tng_fork/target/test-classes:/space/sources/tng_fork/target/classes'
85.13 -'org.testng.TestNG'
85.14 -'@/tmp/testng8763459945512160728'
85.15 -
85.16 -The ' characters around the executable and arguments are
85.17 -not part of the command.
85.18 -[TestNG] Running:
85.19 - /space/sources/tng_fork/src/test/resources/junit-suite.xml
85.20 -
85.21 -[VerboseTestNG] RUNNING: Suite: "Junit via TestNG XML" containing "0" Tests (config: /space/sources/tng_fork/src/test/resources/junit-suite.xml)
85.22 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testFoo() finished in 4 ms
85.23 -[VerboseTestNG] PASSED: "Junit via TestNG XML" - test.junit.SetNameTest.testBar() finished in 0 ms
85.24 -[VerboseTestNG]
85.25 -[VerboseTestNG] ===============================================
85.26 -[VerboseTestNG] Junit via TestNG XML
85.27 -[VerboseTestNG] Tests run: 2, Failures: 0, Skips: 0
85.28 -[VerboseTestNG] ===============================================
85.29 -[TestNG] Running:
85.30 - /space/sources/tng_fork/src/test/resources/testng.xml
85.31 -
85.32 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite()
85.33 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.triangle.Base.beforeSuite() finished in 1 ms
85.34 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite()
85.35 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.FactoryWithInstanceInfoTest.beforeSuite() finished in 1 ms
85.36 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init()
85.37 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.factory.Sample2.init() finished in 0 ms
85.38 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init()
85.39 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.methods.VerifyMethod1.init() finished in 0 ms
85.40 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite()
85.41 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.dataprovider.ConfigurationAndDataProvidersTest.setUpSuite() finished in 0 ms
85.42 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore()
85.43 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.uniquesuite.BaseBefore.incrementBefore() finished in 0 ms
85.44 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent()
85.45 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BaseSuiteTest.beforeSuiteParent() finished in 1 ms
85.46 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild()
85.47 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.SuiteTest.beforeSuiteChild() finished in 0 ms
85.48 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init()
85.49 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.BeforeTestOrderingTest.init() finished in 0 ms
85.50 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite()
85.51 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ExternalConfigurationClass.beforeSuite() finished in 0 ms
85.52 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite()
85.53 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @BeforeSuite test.configuration.ConfigurationTest.beforeSuite() finished in 0 ms
85.54 -[VerboseTestNG] RUNNING: Suite: "Nopackage" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.55 -[VerboseTestNG] INVOKING: "Nopackage" - NoPackageTest.test()
85.56 -[VerboseTestNG] PASSED: "Nopackage" - NoPackageTest.test() finished in 0 ms
85.57 -[VerboseTestNG] INVOKING CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after()
85.58 -[VerboseTestNG] PASSED CONFIGURATION: "Nopackage" - @AfterMethod NoPackageTest.after() finished in 0 ms
85.59 -[VerboseTestNG]
85.60 -[VerboseTestNG] ===============================================
85.61 -[VerboseTestNG] Nopackage
85.62 -[VerboseTestNG] Tests run: 3, Failures: 0, Skips: 0
85.63 -[VerboseTestNG] ===============================================
85.64 -[VerboseTestNG] RUNNING: Suite: "Regression1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.65 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults()
85.66 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric")
85.67 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.parameters.ParameterSample.beforeTest(java.lang.String)(value(s): "Cedric") finished in 1 ms
85.68 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterSample.testSingleString(java.lang.String)(value(s): "Cedric")
85.69 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterSample.testSingleString(java.lang.String)(value(s): "Cedric") finished in 0 ms
85.70 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding()
85.71 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterSample.testNonExistentParameter(java.lang.String)(value(s): null) finished in 1 ms
85.72 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.73 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.74 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterTest.beforeMethodWithParameters()
85.75 -[VerboseTestNG] FAILED: "Regression1" - test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding() finished in 4 ms
85.76 -[VerboseTestNG] Checks to make sure parameters are inherited and overridden properly
85.77 -[VerboseTestNG] org.testng.TestNGException: java.lang.NullPointerException
85.78 -[VerboseTestNG] at test.parameters.ParamInheritanceTest.parameterInheritanceAndOverriding(ParamInheritanceTest.java:60)
85.79 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.80 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.81 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.82 -[VerboseTestNG] Caused by: java.lang.NullPointerException
85.83 -[VerboseTestNG] ... 15 more
85.84 -[VerboseTestNG] FAILED: "Regression1" - test.parameters.ParamInheritanceTest.noNPEInCountingResults() finished in 4 ms
85.85 -[VerboseTestNG] When verbose is set to >1, TNG prints test results on CLI which are printed using SuiteResultCounts.calculateResultCounts(). This method has been throwing NPE because it's unable to find SuiteRunner in HashMap, because the list of parameters in SuiteRunner changed during execution. This test makes sure we dont run into any NPEs
85.86 -[VerboseTestNG] org.testng.TestNGException: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
85.87 -[VerboseTestNG] at test.parameters.ParamInheritanceTest.noNPEInCountingResults(ParamInheritanceTest.java:38)
85.88 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.89 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.90 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.91 -[VerboseTestNG] Caused by: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
85.92 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1245)
85.93 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
85.94 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
85.95 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
85.96 -[VerboseTestNG] ... 15 more
85.97 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.98 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.99 -[VerboseTestNG] INVOKING: "Regression1" - test.parameters.ParameterTest.stringSingle()
85.100 -[VerboseTestNG] PASSED: "Regression1" - test.parameters.ParameterTest.stringSingle() finished in 6 ms
85.101 -[VerboseTestNG] FAILED: "Regression1" - test.parameters.ParameterTest.beforeMethodWithParameters() finished in 7 ms
85.102 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.103 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.104 -[VerboseTestNG] at test.parameters.ParameterTest.beforeMethodWithParameters(ParameterTest.java:44)
85.105 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.106 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.107 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.108 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.109 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.110 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.111 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.112 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.excludedGroups()
85.113 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsSimple()
85.114 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.115 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.116 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithCycle()
85.117 -[VerboseTestNG] FAILED: "Regression1" - test.Test1.groupsOfGroupsSimple() finished in 1 ms
85.118 -[VerboseTestNG] java.lang.AssertionError
85.119 -[VerboseTestNG] at test.Test1.groupsOfGroupsSimple(Test1.java:37)
85.120 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.121 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.122 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.123 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.124 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.125 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.126 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.127 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.includedGroups()
85.128 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.logger()
85.129 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.logger() finished in 1 ms
85.130 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.131 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.132 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.regexp()
85.133 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.134 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.135 -[VerboseTestNG] INVOKING: "Regression1" - test.Test1.groupsOfGroupsWithIndirections()
85.136 -[VerboseTestNG] FAILED: "Regression1" - test.Test1.excludedGroups() finished in 25 ms
85.137 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<4> but was:<0>
85.138 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.139 -[VerboseTestNG] at test.Test1.excludedGroups(Test1.java:106)
85.140 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.141 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.142 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.143 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.includedGroups() finished in 21 ms
85.144 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.regexp() finished in 40 ms
85.145 -[VerboseTestNG] FAILED: "Regression1" - test.Test1.groupsOfGroupsWithCycle() finished in 52 ms
85.146 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<0> but was:<2>
85.147 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.148 -[VerboseTestNG] at test.Test1.groupsOfGroupsWithCycle(Test1.java:89)
85.149 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.150 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.151 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.152 -[VerboseTestNG] PASSED: "Regression1" - test.Test1.groupsOfGroupsWithIndirections() finished in 44 ms
85.153 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.154 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.155 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.156 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.157 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
85.158 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
85.159 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.160 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.161 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.noGroups()
85.162 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsClass()
85.163 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.164 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.165 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.166 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
85.167 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.168 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.setUpWithGroups()
85.169 -[VerboseTestNG] PASSED: "Regression1" - test.Test2.setUpWithGroups() finished in 2 ms
85.170 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.171 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup()
85.172 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.Test2.correctSetup() finished in 1 ms
85.173 -[VerboseTestNG] INVOKING: "Regression1" - test.Test2.partialGroupsMethod()
85.174 -[VerboseTestNG] FAILED: "Regression1" - test.Test2.partialGroupsMethod() finished in 8 ms
85.175 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<6>
85.176 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.177 -[VerboseTestNG] at test.Test2.partialGroupsMethod(Test2.java:83)
85.178 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.179 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.180 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.181 -[VerboseTestNG] FAILED: "Regression1" - test.Test2.partialGroupsClass() finished in 28 ms
85.182 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<8>
85.183 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.184 -[VerboseTestNG] at test.Test2.partialGroupsClass(Test2.java:63)
85.185 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.186 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.187 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.188 -[VerboseTestNG] FAILED: "Regression1" - test.Test2.noGroups() finished in 32 ms
85.189 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<6> but was:<8>
85.190 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.191 -[VerboseTestNG] at test.Test2.noGroups(Test2.java:42)
85.192 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.193 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.194 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.195 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod1()
85.196 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod1() finished in 0 ms
85.197 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod3()
85.198 -[VerboseTestNG] INVOKING: "Regression1" - test.CtorCalledOnce.testMethod2()
85.199 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod3() finished in 0 ms
85.200 -[VerboseTestNG] PASSED: "Regression1" - test.CtorCalledOnce.testMethod2() finished in 0 ms
85.201 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.202 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp()
85.203 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.204 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.205 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax()
85.206 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions()
85.207 -[VerboseTestNG] FAILED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax() finished in 25 ms
85.208 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<3>
85.209 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.210 -[VerboseTestNG] at test.BaseTest.runTest(BaseTest.java:491)
85.211 -[VerboseTestNG] at test.expectedexceptions.ExpectedExceptionsTest.expectedExceptionsDeprecatedSyntax(ExpectedExceptionsTest.java:11)
85.212 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.213 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.214 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.215 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.ExpectedExceptionsTest.expectedExceptions() finished in 28 ms
85.216 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod()
85.217 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseDefaultConfBeforeMethod() finished in 0 ms
85.218 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod()
85.219 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.BasePrivateAccessConfigurationMethods.baseProtectedConfBeforeMethod() finished in 1 ms
85.220 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod()
85.221 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.defaultConfBeforeMethod() finished in 0 ms
85.222 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod()
85.223 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.privateConfBeforeMethod() finished in 0 ms
85.224 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod()
85.225 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.protectedConfBeforeMethod() finished in 0 ms
85.226 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod()
85.227 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @BeforeMethod test.access.PrivateAccessConfigurationMethods.publicConfBeforeMethod() finished in 0 ms
85.228 -[VerboseTestNG] INVOKING: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration()
85.229 -[VerboseTestNG] PASSED: "Regression1" - test.access.PrivateAccessConfigurationMethods.allAccessModifiersConfiguration() finished in 0 ms
85.230 -[VerboseTestNG] INVOKING: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout()
85.231 -[VerboseTestNG] PASSED: "Regression1" - test.expectedexceptions.WrappedExpectedExceptionTest.testTimeout() finished in 4 ms
85.232 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest()
85.233 -[VerboseTestNG] PASSED CONFIGURATION: "Regression1" - @AfterTest test.CtorCalledOnce.afterTest() finished in 0 ms
85.234 -[VerboseTestNG]
85.235 -[VerboseTestNG] ===============================================
85.236 -[VerboseTestNG] Regression1
85.237 -[VerboseTestNG] Tests run: 27, Failures: 10, Skips: 0
85.238 -[VerboseTestNG] ===============================================
85.239 -[VerboseTestNG] RUNNING: Suite: "Regression2" containing "142" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.240 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.241 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.242 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.243 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.244 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.excludedGroups()
85.245 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsSimple()
85.246 -[VerboseTestNG] FAILED: "Regression2" - test.Test1.groupsOfGroupsSimple() finished in 0 ms
85.247 -[VerboseTestNG] java.lang.AssertionError
85.248 -[VerboseTestNG] at test.Test1.groupsOfGroupsSimple(Test1.java:37)
85.249 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.250 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.251 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.252 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.253 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.254 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithCycle()
85.255 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.256 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.257 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.groupsOfGroupsWithIndirections()
85.258 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.groupsOfGroupsWithCycle() finished in 9 ms
85.259 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.260 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.261 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.includedGroups()
85.262 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.263 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.264 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.logger()
85.265 -[VerboseTestNG] PASSED: "Regression2" - test.Test1.logger() finished in 0 ms
85.266 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.267 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.268 -[VerboseTestNG] INVOKING: "Regression2" - test.Test1.regexp()
85.269 -[VerboseTestNG] FAILED: "Regression2" - test.Test1.groupsOfGroupsWithIndirections() finished in 11 ms
85.270 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<4> but was:<1>
85.271 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.272 -[VerboseTestNG] at test.Test1.groupsOfGroupsWithIndirections(Test1.java:73)
85.273 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.274 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.275 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.276 -[VerboseTestNG] INVOKING: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted()
85.277 -[VerboseTestNG] FAILED: "Regression2" - test.Test1.includedGroups() finished in 10 ms
85.278 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<4>
85.279 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.280 -[VerboseTestNG] at test.Test1.includedGroups(Test1.java:30)
85.281 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.282 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.283 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.284 -[VerboseTestNG] FAILED: "Regression2" - test.Test1.excludedGroups() finished in 21 ms
85.285 -[VerboseTestNG] java.lang.AssertionError: Expected to find method broken in Passed but didn't find it. expected object to not be null
85.286 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:28)
85.287 -[VerboseTestNG] at test.Test1.excludedGroups(Test1.java:106)
85.288 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.289 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.290 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.291 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
85.292 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 0 ms
85.293 -[VerboseTestNG] PASSED: "Regression2" - test.CountTest.skippedMethodsShouldBeCounted() finished in 8 ms
85.294 -[VerboseTestNG] Make sure that skipped methods are accurately counted
85.295 -[VerboseTestNG] INVOKING: "Regression2" - test.MapTest.testMap()
85.296 -[VerboseTestNG] FAILED: "Regression2" - test.Test1.regexp() finished in 13 ms
85.297 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<4>
85.298 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.299 -[VerboseTestNG] at test.Test1.regexp(Test1.java:121)
85.300 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.301 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.302 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.303 -[VerboseTestNG] PASSED: "Regression2" - test.MapTest.testMap() finished in 1 ms
85.304 -[VerboseTestNG] Make sure that arrays as map values work with assert
85.305 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.306 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.307 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.308 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.309 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludePackage()
85.310 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.311 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.excludeMethodsOnly()
85.312 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testSerialized()
85.313 -[VerboseTestNG] FAILED: "Regression2" - test.MethodTest.excludeMethodsOnly() finished in 0 ms
85.314 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.315 -[VerboseTestNG] at test.MethodTest.excludeMethodsOnly(MethodTest.java:29)
85.316 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.317 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.318 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.319 -[VerboseTestNG] INVOKING: "Regression2" - test.remote.RemoteTest.testString()
85.320 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.321 -[VerboseTestNG] INVOKING: "Regression2" - test.MethodTest.includeMethodsOnly()
85.322 -[VerboseTestNG] PASSED: "Regression2" - test.MethodTest.excludePackage() finished in 1 ms
85.323 -[VerboseTestNG] FAILED: "Regression2" - test.MethodTest.includeMethodsOnly() finished in 0 ms
85.324 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<4>
85.325 -[VerboseTestNG] at test.MethodTest.includeMethodsOnly(MethodTest.java:14)
85.326 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.327 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.328 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.329 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
85.330 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 0 ms
85.331 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test1()
85.332 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
85.333 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
85.334 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test3()
85.335 -[VerboseTestNG] INVOKING: "Regression2" - test.sample.AfterClassCalledAtEnd.test2()
85.336 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test3() finished in 0 ms
85.337 -[VerboseTestNG] PASSED: "Regression2" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
85.338 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
85.339 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 0 ms
85.340 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
85.341 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 0 ms
85.342 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldBeCorrect()
85.343 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.cycleShouldFail()
85.344 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessors()
85.345 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessors() finished in 0 ms
85.346 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.findPredecessorsTiming()
85.347 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldFail() finished in 2 ms
85.348 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.cycleShouldBeCorrect() finished in 2 ms
85.349 -[VerboseTestNG] INVOKING: "Regression2" - test.GraphTest.sort()
85.350 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.sort() finished in 1 ms
85.351 -[VerboseTestNG] PASSED: "Regression2" - test.GraphTest.findPredecessorsTiming() finished in 4 ms
85.352 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test2()
85.353 -[VerboseTestNG] INVOKING: "Regression2" - test.DynamicGraphTest.test8()
85.354 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test2() finished in 1 ms
85.355 -[VerboseTestNG] PASSED: "Regression2" - test.DynamicGraphTest.test8() finished in 1 ms
85.356 -[VerboseTestNG] INVOKING: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod()
85.357 -[VerboseTestNG] PASSED: "Regression2" - test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest.testPrivateMethod() finished in 0 ms
85.358 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.359 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.360 -[VerboseTestNG] INVOKING: "Regression2" - test.multiple.TestMultiple.multiple()
85.361 -[VerboseTestNG] PASSED: "Regression2" - test.multiple.TestMultiple.multiple() finished in 36 ms
85.362 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass()
85.363 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.ClassConfigurations.beforeTestClass() finished in 1 ms
85.364 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testOne()
85.365 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testOne() finished in 0 ms
85.366 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testTwo()
85.367 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testTwo() finished in 0 ms
85.368 -[VerboseTestNG] INVOKING: "Regression2" - test.ClassConfigurations.testThree()
85.369 -[VerboseTestNG] PASSED: "Regression2" - test.ClassConfigurations.testThree() finished in 0 ms
85.370 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter()
85.371 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter()
85.372 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withAlwaysRunAfter() finished in 6 ms
85.373 -[VerboseTestNG] INVOKING: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore()
85.374 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunAfter() finished in 7 ms
85.375 -[VerboseTestNG] PASSED: "Regression2" - test.alwaysrun.AlwaysRunTest.withoutAlwaysRunBefore() finished in 9 ms
85.376 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails()
85.377 -[VerboseTestNG] INVOKING: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails()
85.378 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testString() finished in 76 ms
85.379 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestSuiteFails() finished in 16 ms
85.380 -[VerboseTestNG] PASSED: "Regression2" - test.remote.RemoteTest.testSerialized() finished in 97 ms
85.381 -[VerboseTestNG] INVOKING: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6)
85.382 -[VerboseTestNG] PASSED: "Regression2" - test.EclipseTest.xmlFileShouldBeRunAtItsPlaceAndNotCopied(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6) finished in 0 ms
85.383 -[VerboseTestNG] INVOKING: "Regression2" - test.ReporterApiTest.testApi()
85.384 -[VerboseTestNG] PASSED: "Regression2" - test.ReporterApiTest.testApi() finished in 0 ms
85.385 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun()
85.386 -[VerboseTestNG] PASSED: "Regression2" - test.conffailure.ConfigurationFailure.beforeTestClassFails() finished in 33 ms
85.387 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.388 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.389 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.390 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.391 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest()
85.392 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest()
85.393 -[VerboseTestNG] PASSED: "Regression2" - test.abstractmethods.AbstractTest.abstractShouldRun() finished in 4 ms
85.394 -[VerboseTestNG] Abstract methods defined in a superclass should be run
85.395 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork()
85.396 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork()
85.397 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideExcludeShouldWork() finished in 5 ms
85.398 -[VerboseTestNG] Override -excludegroups
85.399 -[VerboseTestNG] INVOKING: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork()
85.400 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithClassTest() finished in 8 ms
85.401 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeShouldWork() finished in 3 ms
85.402 -[VerboseTestNG] Override -groups
85.403 -[VerboseTestNG] PASSED: "Regression2" - test.override.OverrideTest.overrideIncludeAndExcludeShouldWork() finished in 8 ms
85.404 -[VerboseTestNG] Override -groups and -excludegroups
85.405 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential1()
85.406 -[VerboseTestNG] INVOKING: "Regression2" - test.priority.PriorityTest.priorityInSequential2()
85.407 -[VerboseTestNG] PASSED: "Regression2" - test.priority.PriorityTest.priorityInSequential1() finished in 9 ms
85.408 -[VerboseTestNG] Make sure priorities work in sequential mode
85.409 -[VerboseTestNG] FAILED: "Regression2" - test.priority.PriorityTest.priorityInSequential2() finished in 10 ms
85.410 -[VerboseTestNG] Make sure priorities work in sequential mode
85.411 -[VerboseTestNG] java.lang.AssertionError: expected:<second> but was:<first>
85.412 -[VerboseTestNG] at test.priority.PriorityTest.runTest(PriorityTest.java:15)
85.413 -[VerboseTestNG] at test.priority.PriorityTest.priorityInSequential2(PriorityTest.java:36)
85.414 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.415 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.416 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.417 -[VerboseTestNG] INVOKING: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded()
85.418 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.MainTest.baseMethodIsCalledWithMethodTest() finished in 28 ms
85.419 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.420 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.421 -[VerboseTestNG] INVOKING: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods()
85.422 -[VerboseTestNG] PASSED: "Regression2" - test.NestedStaticTest.nestedClassShouldBeIncluded() finished in 9 ms
85.423 -[VerboseTestNG] INVOKING: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled()
85.424 -[VerboseTestNG] PASSED: "Regression2" - test.configuration.ConfigurationListenerTest.listenerShouldBeCalled() finished in 5 ms
85.425 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1()
85.426 -[VerboseTestNG] PASSED: "Regression2" - test.superclass.Test3.shouldExcludeBaseMethods() finished in 8 ms
85.427 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2()
85.428 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2()
85.429 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite1() finished in 3 ms
85.430 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0()
85.431 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeFromSuite2() finished in 4 ms
85.432 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.excludeTestAndSuite2() finished in 3 ms
85.433 -[VerboseTestNG] Include in suite, exclude in test
85.434 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1()
85.435 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2()
85.436 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite0() finished in 3 ms
85.437 -[VerboseTestNG] INVOKING: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1()
85.438 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite2() finished in 3 ms
85.439 -[VerboseTestNG] INVOKING: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass()
85.440 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeTestAndSuite1() finished in 3 ms
85.441 -[VerboseTestNG] Include in both suite and test
85.442 -[VerboseTestNG] PASSED: "Regression2" - test.groupinvocation.GroupSuiteTest.includeFromSuite1() finished in 6 ms
85.443 -[VerboseTestNG] INVOKING: "Regression2" - test.StaticTest.test()
85.444 -[VerboseTestNG] PASSED: "Regression2" - test.StaticTest.test() finished in 1 ms
85.445 -[VerboseTestNG] INVOKING: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork()
85.446 -[VerboseTestNG] PASSED: "Regression2" - test.serviceloader.ServiceLoaderTest.serviceLoaderShouldWork() finished in 4 ms
85.447 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml()
85.448 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods()
85.449 -[VerboseTestNG] INVOKING: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml()
85.450 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineExcludedGroupsShouldOverrideXml() finished in 16 ms
85.451 -[VerboseTestNG] Specifying -excludegroups on the command line should override testng.xml
85.452 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.shouldRunBothMethods() finished in 16 ms
85.453 -[VerboseTestNG] PASSED: "Regression2" - test.commandline.CommandLineOverridesXml.commandLineGroupsShouldOverrideXml() finished in 16 ms
85.454 -[VerboseTestNG] Specifying -groups on the command line should override testng.xml
85.455 -[VerboseTestNG] INVOKING: "Regression2" - test.jason.MainTest.afterClassShouldRun()
85.456 -[VerboseTestNG] PASSED: "Regression2" - test.jason.MainTest.afterClassShouldRun() finished in 3 ms
85.457 -[VerboseTestNG] INVOKING: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun()
85.458 -[VerboseTestNG] PASSED: "Regression2" - test.failures.FailuresTest.shouldIncludeFailedMethodsFromBaseClass() finished in 29 ms
85.459 -[VerboseTestNG] PASSED: "Regression2" - test.bug90.Bug90Test.afterClassShouldRun() finished in 3 ms
85.460 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/90
85.461 -[VerboseTestNG] INVOKING: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce()
85.462 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init()
85.463 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotationSampleTest.init() finished in 1 ms
85.464 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter()
85.465 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore()
85.466 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers()
85.467 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationAfter() finished in 1 ms
85.468 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationOthers() finished in 1 ms
85.469 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyConfigurationBefore() finished in 2 ms
85.470 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider()
85.471 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyDataProvider() finished in 0 ms
85.472 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions()
85.473 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory()
85.474 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter()
85.475 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyFactory() finished in 0 ms
85.476 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyExpectedExceptions() finished in 0 ms
85.477 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationAfter() finished in 0 ms
85.478 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore()
85.479 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters()
85.480 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel()
85.481 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyNewConfigurationBefore() finished in 1 ms
85.482 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyParameters() finished in 0 ms
85.483 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel()
85.484 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestClassLevel() finished in 0 ms
85.485 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestConstructorLevel() finished in 0 ms
85.486 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel()
85.487 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotationSampleTest.verifyTestMethodLevel() finished in 1 ms
85.488 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init()
85.489 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.mannotation.MAnnotation2SampleTest.init() finished in 0 ms
85.490 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance()
85.491 -[VerboseTestNG] PASSED: "Regression2" - test.bug92.Bug92Test.BeforeTestShouldRunOnce() finished in 8 ms
85.492 -[VerboseTestNG] Fix for https://github.com/cbeust/testng/issues/92
85.493 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance()
85.494 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyConfigurationGroupsInheritance() finished in 1 ms
85.495 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance()
85.496 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnGroupsInheritance() finished in 1 ms
85.497 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestDependsOnMethodsInheritance() finished in 1 ms
85.498 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance()
85.499 -[VerboseTestNG] INVOKING: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance()
85.500 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestEnabledInheritance() finished in 1 ms
85.501 -[VerboseTestNG] PASSED: "Regression2" - test.mannotation.MAnnotation2SampleTest.verifyTestGroupsInheritance() finished in 1 ms
85.502 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel()
85.503 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods()
85.504 -[VerboseTestNG] FAILED: "Regression2" - test.thread.FactoryTest.verifyFactoryNotParallel() finished in 10 ms
85.505 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.506 -[VerboseTestNG] at test.thread.FactoryTest.runTest(FactoryTest.java:49)
85.507 -[VerboseTestNG] at test.thread.FactoryTest.verifyFactoryNotParallel(FactoryTest.java:16)
85.508 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.509 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.510 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.511 -[VerboseTestNG] FAILED: "Regression2" - test.thread.FactoryTest.verifyFactoryParallelMethods() finished in 11 ms
85.512 -[VerboseTestNG] java.lang.AssertionError: expected:<2> but was:<3>
85.513 -[VerboseTestNG] at test.thread.FactoryTest.runTest(FactoryTest.java:49)
85.514 -[VerboseTestNG] at test.thread.FactoryTest.verifyFactoryParallelMethods(FactoryTest.java:25)
85.515 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.516 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.517 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.518 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.519 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.520 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.521 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.522 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential1()
85.523 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential2()
85.524 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.525 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.526 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySequential3()
85.527 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.528 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.529 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1()
85.530 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.531 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.532 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2()
85.533 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.534 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.535 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3()
85.536 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded1() finished in 7 ms
85.537 -[VerboseTestNG] java.util.ConcurrentModificationException
85.538 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.539 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.540 -[VerboseTestNG] at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:451)
85.541 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:188)
85.542 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:67)
85.543 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded(SequentialTest.java:52)
85.544 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded1(SequentialTest.java:31)
85.545 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.546 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.547 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.548 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded2() finished in 22 ms
85.549 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.550 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:76)
85.551 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded(SequentialTest.java:52)
85.552 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded2(SequentialTest.java:36)
85.553 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.554 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.555 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.556 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySequential3() finished in 30 ms
85.557 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.558 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:76)
85.559 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential(SequentialTest.java:45)
85.560 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential3(SequentialTest.java:26)
85.561 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.562 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.563 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.564 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySequential1() finished in 32 ms
85.565 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.566 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:76)
85.567 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential(SequentialTest.java:45)
85.568 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential1(SequentialTest.java:16)
85.569 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.570 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.571 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.572 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySingleThreaded3() finished in 22 ms
85.573 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<4>
85.574 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:76)
85.575 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded(SequentialTest.java:52)
85.576 -[VerboseTestNG] at test.thread.SequentialTest.verifySingleThreaded3(SequentialTest.java:41)
85.577 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.578 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.579 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.580 -[VerboseTestNG] FAILED: "Regression2" - test.thread.SequentialTest.verifySequential2() finished in 38 ms
85.581 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.582 -[VerboseTestNG] at test.thread.SequentialTest.runTest(SequentialTest.java:76)
85.583 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential(SequentialTest.java:45)
85.584 -[VerboseTestNG] at test.thread.SequentialTest.verifySequential2(SequentialTest.java:21)
85.585 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.586 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.587 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.588 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.589 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.590 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory()
85.591 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.592 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.593 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.594 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.595 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.596 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.597 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory()
85.598 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods()
85.599 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.600 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.601 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone()
85.602 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses()
85.603 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.604 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.605 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests()
85.606 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory() finished in 24 ms
85.607 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.608 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.609 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyNonParallelClassesWithFactory(ParallelTestTest.java:47)
85.610 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.611 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.612 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.613 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyParallelNone() finished in 25 ms
85.614 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.615 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.616 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:61)
85.617 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyParallelNone(ParallelTestTest.java:22)
85.618 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.619 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.620 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.621 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClassesWithFactory() finished in 35 ms
85.622 -[VerboseTestNG] java.lang.AssertionError: expected:<2> but was:<3>
85.623 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.624 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyParallelClassesWithFactory(ParallelTestTest.java:42)
85.625 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.626 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.627 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.628 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyParallelClasses() finished in 37 ms
85.629 -[VerboseTestNG] java.lang.AssertionError: expected:<2> but was:<7>
85.630 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.631 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:61)
85.632 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyParallelClasses(ParallelTestTest.java:37)
85.633 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.634 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.635 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.636 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyParallelTests() finished in 44 ms
85.637 -[VerboseTestNG] java.lang.AssertionError: expected:<2> but was:<9>
85.638 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.639 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:61)
85.640 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyParallelTests(ParallelTestTest.java:27)
85.641 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.642 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.643 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.644 -[VerboseTestNG] FAILED: "Regression2" - test.thread.ParallelTestTest.verifyParallelMethods() finished in 52 ms
85.645 -[VerboseTestNG] java.lang.AssertionError: expected:<4> but was:<9>
85.646 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:91)
85.647 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyExpected(ParallelTestTest.java:61)
85.648 -[VerboseTestNG] at test.thread.ParallelTestTest.verifyParallelMethods(ParallelTestTest.java:32)
85.649 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.650 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.651 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.652 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount()
85.653 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel()
85.654 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount()
85.655 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldNotUseThreadsIfNotUsingParallel() finished in 9 ms
85.656 -[VerboseTestNG] FAILED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount() finished in 1013 ms
85.657 -[VerboseTestNG] java.lang.AssertionError: expected:<10> but was:<3>
85.658 -[VerboseTestNG] at test.thread.DataProviderThreadPoolSizeTest.shouldUseDefaultDataProviderThreadCount(DataProviderThreadPoolSizeTest.java:16)
85.659 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.660 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.661 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.662 -[VerboseTestNG] PASSED: "Regression2" - test.thread.DataProviderThreadPoolSizeTest.shouldUseSpecifiedDataProviderThreadCount() finished in 1007 ms
85.663 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads()
85.664 -[VerboseTestNG] INVOKING: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads()
85.665 -[VerboseTestNG] PASSED: "Regression2" - test.thread.MultiThreadedDependentTest.test3Threads() finished in 31 ms
85.666 -[VerboseTestNG] FAILED: "Regression2" - test.thread.MultiThreadedDependentTest.test2Threads() finished in 42 ms
85.667 -[VerboseTestNG] java.lang.AssertionError: expected:<14> but was:<28>
85.668 -[VerboseTestNG] at test.thread.MultiThreadedDependentTest.assertOrder(MultiThreadedDependentTest.java:31)
85.669 -[VerboseTestNG] at test.thread.MultiThreadedDependentTest.test(MultiThreadedDependentTest.java:78)
85.670 -[VerboseTestNG] at test.thread.MultiThreadedDependentTest.test2Threads(MultiThreadedDependentTest.java:60)
85.671 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.672 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.673 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.674 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
85.675 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init()
85.676 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 0 ms
85.677 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.simple.IncludedExcludedTest.init() finished in 0 ms
85.678 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1()
85.679 -[VerboseTestNG] INVOKING: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2()
85.680 -[VerboseTestNG] FAILED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1() finished in 6 ms
85.681 -[VerboseTestNG] First test method
85.682 -[VerboseTestNG] java.util.ConcurrentModificationException
85.683 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.684 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.685 -[VerboseTestNG] at test.simple.IncludedExcludedTest.verifyIncludedExcludedCount1(IncludedExcludedTest.java:35)
85.686 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.687 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.688 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.689 -[VerboseTestNG] FAILED: "Regression2" - test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2() finished in 11 ms
85.690 -[VerboseTestNG] Second test method
85.691 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.692 -[VerboseTestNG] at test.simple.MyReporter.generateReport(IncludedExcludedTest.java:70)
85.693 -[VerboseTestNG] at test.simple.IncludedExcludedTest.verifyIncludedExcludedCount2(IncludedExcludedTest.java:48)
85.694 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.695 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.696 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.697 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName()
85.698 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut()
85.699 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.verifyIndex()
85.700 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite()
85.701 -[VerboseTestNG] INVOKING: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName()
85.702 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.directoryShouldBeSuiteName() finished in 5 ms
85.703 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.verifyIndex() finished in 15 ms
85.704 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.reportLogShouldBeAvailableEvenWithTimeOut() finished in 16 ms
85.705 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.oneDirectoryPerSuite() finished in 58 ms
85.706 -[VerboseTestNG] PASSED: "Regression2" - test.reports.ReportTest.shouldHonorSuiteName() finished in 62 ms
85.707 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass()
85.708 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod()
85.709 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer()
85.710 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer()
85.711 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2()
85.712 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun()
85.713 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer()
85.714 -[VerboseTestNG] INVOKING: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer()
85.715 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyDataProviderTransformer() finished in 9 ms
85.716 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.annotationTransformerInXmlShouldBeRun() finished in 15 ms
85.717 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyFactoryTransformer() finished in 16 ms
85.718 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyConfigurationTransformer() finished in 19 ms
85.719 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationWithoutTransformer() finished in 24 ms
85.720 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerMethod() finished in 60 ms
85.721 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass2() finished in 1023 ms
85.722 -[VerboseTestNG] PASSED: "Regression2" - test.annotationtransformer.AnnotationTransformerTest.verifyAnnotationTransformerClass() finished in 2020 ms
85.723 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXml()
85.724 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithoutTestngXml()
85.725 -[VerboseTestNG] INVOKING: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine()
85.726 -[VerboseTestNG] FAILED: "Regression2" - test.jar.JarTest.jarWithTestngXml() finished in 1 ms
85.727 -[VerboseTestNG] org.testng.TestNGException: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
85.728 -[VerboseTestNG] at test.jar.JarTest.init(JarTest.java:19)
85.729 -[VerboseTestNG] at test.jar.JarTest.jarWithTestngXml(JarTest.java:26)
85.730 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.731 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.732 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.733 -[VerboseTestNG] Caused by: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
85.734 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1245)
85.735 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
85.736 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
85.737 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
85.738 -[VerboseTestNG] ... 19 more
85.739 -[VerboseTestNG] PASSED: "Regression2" - test.jar.JarTest.jarWithoutTestngXml() finished in 6 ms
85.740 -[VerboseTestNG] FAILED: "Regression2" - test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine() finished in 6 ms
85.741 -[VerboseTestNG] org.testng.TestNGException: java.lang.NullPointerException
85.742 -[VerboseTestNG] at test.jar.JarTest.jarWithTestngXmlOverriddenOnCommandLine(JarTest.java:49)
85.743 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.744 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.745 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.746 -[VerboseTestNG] Caused by: java.lang.NullPointerException
85.747 -[VerboseTestNG] ... 15 more
85.748 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites()
85.749 -[VerboseTestNG] INVOKING: "Regression2" - test.xml.XmlVerifyTest.simple()
85.750 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.simple() finished in 1 ms
85.751 -[VerboseTestNG] PASSED: "Regression2" - test.xml.XmlVerifyTest.handleInvalidSuites() finished in 19 ms
85.752 -[VerboseTestNG] Ensure that TestNG stops without running any tests if some class included in suite is missing
85.753 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass()
85.754 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps()
85.755 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess()
85.756 -[VerboseTestNG] INVOKING: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure()
85.757 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.testMethodsWithExpectedExceptionsShouldShowUpAsPass() finished in 4 ms
85.758 -[VerboseTestNG] Test methods with expected exceptions should show up as pass in IInvokedMethodListener's afterInvocaiton method
85.759 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withFailure() finished in 8 ms
85.760 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.withSuccess() finished in 10 ms
85.761 -[VerboseTestNG] PASSED: "Regression2" - test.invokedmethodlistener.InvokedMethodListenerTest.sameMethodInvokedMultipleTimesShouldHaveDifferentTimeStamps() finished in 207 ms
85.762 -[VerboseTestNG] INVOKING: "Regression2" - test.testng249.VerifyTest.verify()
85.763 -[VerboseTestNG] PASSED: "Regression2" - test.testng249.VerifyTest.verify() finished in 20 ms
85.764 -[VerboseTestNG] INVOKING: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized()
85.765 -[VerboseTestNG] PASSED: "Regression2" - test.testng195.AfterMethodTest.testContextShouldBeInitialized() finished in 3 ms
85.766 -[VerboseTestNG] INVOKING: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips()
85.767 -[VerboseTestNG] PASSED: "Regression2" - test.regression.BeforeTestFailingTest.beforeTestFailingShouldCauseSkips() finished in 3 ms
85.768 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.769 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.770 -[VerboseTestNG] INVOKING: "Regression2" - test.testng285.TestNG285Test.verifyBug()
85.771 -[VerboseTestNG] PASSED: "Regression2" - test.testng285.TestNG285Test.verifyBug() finished in 7 ms
85.772 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.773 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp()
85.774 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.775 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.776 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
85.777 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp()
85.778 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 0 ms
85.779 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded()
85.780 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.failedreporter.FailedReporterTest.setUp() finished in 0 ms
85.781 -[VerboseTestNG] INVOKING: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers()
85.782 -[VerboseTestNG] PASSED: "Regression2" - test.failedreporter.FailedReporterTest.failedMethodWithDataProviderShouldHaveInvocationNumbers() finished in 12 ms
85.783 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
85.784 -[VerboseTestNG] FAILED: "Regression2" - test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded() finished in 13 ms
85.785 -[VerboseTestNG] java.lang.AssertionError: expected:<0> but was:<1>
85.786 -[VerboseTestNG] at test.failedreporter.FailedReporterTest.testFailedReporter(FailedReporterTest.java:54)
85.787 -[VerboseTestNG] at test.failedreporter.FailedReporterTest.failedAndSkippedMethodsShouldBeIncluded(FailedReporterTest.java:34)
85.788 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.789 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.790 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.791 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown()
85.792 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 0 ms
85.793 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterMethod test.failedreporter.FailedReporterTest.tearDown() finished in 2 ms
85.794 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6)
85.795 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeClass test.attributes.AttributeTest.bc(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6) finished in 0 ms
85.796 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6)
85.797 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f1(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6) finished in 1 ms
85.798 -[VerboseTestNG] INVOKING: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6)
85.799 -[VerboseTestNG] PASSED: "Regression2" - test.attributes.AttributeTest.f2(org.testng.ITestContext)(value(s): org.testng.TestRunner@2c3299f6) finished in 0 ms
85.800 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener()
85.801 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyTestListener()
85.802 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation()
85.803 -[VerboseTestNG] INVOKING: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation()
85.804 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyBaseClassTestListener() finished in 4 ms
85.805 -[VerboseTestNG] FAILED: "Regression2" - test.verify.VerifyTest.verifyTestListener() finished in 8 ms
85.806 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<2>
85.807 -[VerboseTestNG] at test.verify.VerifyTest.verifyTestListener(VerifyTest.java:36)
85.808 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.809 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.810 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.811 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithAnnotation() finished in 9 ms
85.812 -[VerboseTestNG] PASSED: "Regression2" - test.verify.VerifyTest.verifyWithoutAnnotation() finished in 10 ms
85.813 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup()
85.814 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.C.testSetup() finished in 1 ms
85.815 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle()
85.816 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @BeforeMethod test.abstractconfmethod.B.doSomethingInMiddle() finished in 0 ms
85.817 -[VerboseTestNG] INVOKING: "Regression2" - test.abstractconfmethod.C.test1()
85.818 -[VerboseTestNG] PASSED: "Regression2" - test.abstractconfmethod.C.test1() finished in 0 ms
85.819 -[VerboseTestNG] Test depends on a config method that has implements an abstract methods
85.820 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve()
85.821 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies()
85.822 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder()
85.823 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder()
85.824 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@7ced65e0, [Ljava.lang.String;@45bb9533)
85.825 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.factoryPreserve() finished in 5 ms
85.826 -[VerboseTestNG] preserve-order on a factory doesn't cause an NPE
85.827 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.orderShouldBePreservedWithDependencies() finished in 9 ms
85.828 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@7ced65e0, [Ljava.lang.String;@45bb9533) finished in 15 ms
85.829 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@45a81bd5, [Ljava.lang.String;@1fbb60ad)
85.830 -[VerboseTestNG] FAILED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveMethodOrder() finished in 18 ms
85.831 -[VerboseTestNG] java.lang.AssertionError: Expected [a3, a2, a1] but got [C.c1, AAA.a3, C.c2, AAA.a2, C.c3, AAA.a1]
85.832 -[VerboseTestNG] at test.preserveorder.PreserveOrderTest.preserveMethodOrder(PreserveOrderTest.java:88)
85.833 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.834 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.835 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.836 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@45a81bd5, [Ljava.lang.String;@1fbb60ad) finished in 5 ms
85.837 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@71cd427a, [Ljava.lang.String;@5ac791f4)
85.838 -[VerboseTestNG] FAILED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveClassOrder() finished in 18 ms
85.839 -[VerboseTestNG] java.lang.AssertionError: expected:<9> but was:<5>
85.840 -[VerboseTestNG] at test.preserveorder.PreserveOrderTest.preserveClassOrder(PreserveOrderTest.java:47)
85.841 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.842 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.843 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.844 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@71cd427a, [Ljava.lang.String;@5ac791f4) finished in 5 ms
85.845 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1d7aaa0e, [Ljava.lang.String;@60328c40)
85.846 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@1d7aaa0e, [Ljava.lang.String;@60328c40) finished in 5 ms
85.847 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@4c5b55a9, [Ljava.lang.String;@54f169)
85.848 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@4c5b55a9, [Ljava.lang.String;@54f169) finished in 5 ms
85.849 -[VerboseTestNG] INVOKING: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@23ae81ab, [Ljava.lang.String;@15c313da)
85.850 -[VerboseTestNG] PASSED: "Regression2" - test.preserveorder.PreserveOrderTest.preserveOrderAnna([Ljava.lang.String;, [Ljava.lang.String;)(value(s): [Ljava.lang.String;@23ae81ab, [Ljava.lang.String;@15c313da) finished in 8 ms
85.851 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest()
85.852 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTest() finished in 0 ms
85.853 -[VerboseTestNG] INVOKING CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass()
85.854 -[VerboseTestNG] PASSED CONFIGURATION: "Regression2" - @AfterTest test.ClassConfigurations.afterTestClass() finished in 1 ms
85.855 -[VerboseTestNG]
85.856 -[VerboseTestNG] ===============================================
85.857 -[VerboseTestNG] Regression2
85.858 -[VerboseTestNG] Tests run: 174, Failures: 42, Skips: 0
85.859 -[VerboseTestNG] ===============================================
85.860 -[VerboseTestNG] RUNNING: Suite: "Threads" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.861 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
85.862 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 1 ms
85.863 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
85.864 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
85.865 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
85.866 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
85.867 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
85.868 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
85.869 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
85.870 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.f1()
85.871 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 0 ms
85.872 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.f1() finished in 1 ms
85.873 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeTest.verify()
85.874 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeTest.verify() finished in 0 ms
85.875 -[VerboseTestNG] INVOKING CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp()
85.876 -[VerboseTestNG] PASSED CONFIGURATION: "Threads" - @BeforeClass test.thread.ThreadPoolSizeBase.setUp() finished in 0 ms
85.877 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
85.878 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify()
85.879 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
85.880 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail()
85.881 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
85.882 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
85.883 -[VerboseTestNG] FAILED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.verify() finished in 2 ms
85.884 -[VerboseTestNG] java.lang.AssertionError: Ran on 1 threads instead of 3 expected:<3> but was:<1>
85.885 -[VerboseTestNG] at test.thread.BaseThreadTest.verifyThreads(BaseThreadTest.java:52)
85.886 -[VerboseTestNG] at test.thread.ThreadPoolSizeWithTimeOutTest.verify(ThreadPoolSizeWithTimeOutTest.java:18)
85.887 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.888 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.889 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.890 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
85.891 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
85.892 -[VerboseTestNG] INVOKING: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1()
85.893 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
85.894 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 0 ms
85.895 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.f1() finished in 1 ms
85.896 -[VerboseTestNG] PASSED: "Threads" - test.thread.ThreadPoolSizeWithTimeOutTest.threadPoolAndTimeOutShouldFail() finished in 103 ms
85.897 -[VerboseTestNG]
85.898 -[VerboseTestNG] ===============================================
85.899 -[VerboseTestNG] Threads
85.900 -[VerboseTestNG] Tests run: 187, Failures: 43, Skips: 0
85.901 -[VerboseTestNG] ===============================================
85.902 -[VerboseTestNG] RUNNING: Suite: "Listeners" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.903 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm()
85.904 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeClass test.listeners.EndMillisShouldNotBeZeroTest.bm() finished in 1 ms
85.905 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1()
85.906 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f1() finished in 2 ms
85.907 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2()
85.908 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.EndMillisShouldNotBeZeroTest.f2() finished in 0 ms
85.909 -[VerboseTestNG] Make sure that ITestResult#getEndMillis is properly set
85.910 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull()
85.911 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ResultEndMillisTest.endMillisShouldBeNonNull() finished in 22 ms
85.912 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
85.913 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
85.914 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
85.915 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
85.916 -[VerboseTestNG] INVOKING CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm()
85.917 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 1 ms
85.918 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 3 ms
85.919 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 3 ms
85.920 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork()
85.921 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod()
85.922 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 2 ms
85.923 -[VerboseTestNG] PASSED CONFIGURATION: "Listeners" - @BeforeMethod test.listeners.ListenerTest.bm() finished in 8 ms
85.924 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration()
85.925 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest()
85.926 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerTest.aggregateListeners()
85.927 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.failureBeforeAfterMethod() finished in 4 ms
85.928 -[VerboseTestNG] TESTNG-400: onTestFailure should be called before @AfterMethod
85.929 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest() finished in 4 ms
85.930 -[VerboseTestNG] Should attach only one instance of the same @Listener class per test
85.931 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.aggregateListeners() finished in 4 ms
85.932 -[VerboseTestNG] Inherited @Listeners annotations should aggregate
85.933 -[VerboseTestNG] FAILED: "Listeners" - test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration() finished in 5 ms
85.934 -[VerboseTestNG] Ensure that if a listener is present, we get test(), onSuccess(), afterMethod()
85.935 -[VerboseTestNG] java.lang.AssertionError: null: lists don't have the same size expected:<4> but was:<7>
85.936 -[VerboseTestNG] at test.listeners.ListenerTest.listenerShouldBeCalledBeforeConfiguration(ListenerTest.java:25)
85.937 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.938 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.939 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.940 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerTest.suiteListenersShouldWork() finished in 6 ms
85.941 -[VerboseTestNG] @Listeners with an ISuiteListener
85.942 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun()
85.943 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.SuiteAndInvokedMethodListenerTest.bothListenersShouldRun() finished in 0 ms
85.944 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked()
85.945 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ListenerInXmlTest.listenerInXmlShouldBeInvoked() finished in 7 ms
85.946 -[VerboseTestNG] Make sure that listeners defined in testng.xml are invoked
85.947 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation()
85.948 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerAnnotation() finished in 2 ms
85.949 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml()
85.950 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener()
85.951 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithXml() finished in 2 ms
85.952 -[VerboseTestNG] FAILED: "Listeners" - test.listeners.ExecutionListenerTest.executionListenerWithoutListener() finished in 2 ms
85.953 -[VerboseTestNG] java.lang.AssertionError: expected:<false> but was:<true>
85.954 -[VerboseTestNG] at test.listeners.ExecutionListenerTest.runTest(ExecutionListenerTest.java:61)
85.955 -[VerboseTestNG] at test.listeners.ExecutionListenerTest.executionListenerWithoutListener(ExecutionListenerTest.java:38)
85.956 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.957 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.958 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.959 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail()
85.960 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip()
85.961 -[VerboseTestNG] INVOKING: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed()
85.962 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldFail() finished in 2 ms
85.963 -[VerboseTestNG] FAILED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSkip() finished in 3 ms
85.964 -[VerboseTestNG] java.lang.AssertionError: expected:<13> but was:<19>
85.965 -[VerboseTestNG] at test.listeners.ConfigurationListenerTest.runTest(ConfigurationListenerTest.java:46)
85.966 -[VerboseTestNG] at test.listeners.ConfigurationListenerTest.shouldSkip(ConfigurationListenerTest.java:61)
85.967 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.968 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.969 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.970 -[VerboseTestNG] PASSED: "Listeners" - test.listeners.ConfigurationListenerTest.shouldSucceed() finished in 5 ms
85.971 -[VerboseTestNG] INVOKING: "Listeners" - test.multiplelisteners.TestMaker.run()
85.972 -[VerboseTestNG] PASSED: "Listeners" - test.multiplelisteners.TestMaker.run() finished in 3 ms
85.973 -[VerboseTestNG] Make sure only one listener is created and not 2^3
85.974 -[VerboseTestNG]
85.975 -[VerboseTestNG] ===============================================
85.976 -[VerboseTestNG] Listeners
85.977 -[VerboseTestNG] Tests run: 204, Failures: 46, Skips: 0
85.978 -[VerboseTestNG] ===============================================
85.979 -[VerboseTestNG] RUNNING: Suite: "Injection" containing "8" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.980 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@7c6d75b6)
85.981 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestContextTest.injectionAndParameters(java.lang.String, org.testng.ITestContext)(value(s): "Cedric", org.testng.TestRunner@7c6d75b6) finished in 0 ms
85.982 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@4a0ece36)
85.983 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@4a0ece36) finished in 0 ms
85.984 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@4a0ece36, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
85.985 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@4a0ece36, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 0 ms
85.986 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@4a0ece36)
85.987 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@4a0ece36) finished in 0 ms
85.988 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a")
85.989 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "a") finished in 0 ms
85.990 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@4a0ece36)
85.991 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@4a0ece36) finished in 0 ms
85.992 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@44a64a92)
85.993 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@44a64a92) finished in 0 ms
85.994 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@44a64a92, public void test.inject.InjectBeforeMethodTest.f(java.lang.String))
85.995 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before2([Ljava.lang.Object;, java.lang.reflect.Method)(value(s): [Ljava.lang.Object;@44a64a92, public void test.inject.InjectBeforeMethodTest.f(java.lang.String)) finished in 0 ms
85.996 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@44a64a92)
85.997 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @BeforeMethod test.inject.InjectBeforeMethodTest.before3(java.lang.reflect.Method, [Ljava.lang.Object;)(value(s): public void test.inject.InjectBeforeMethodTest.f(java.lang.String), [Ljava.lang.Object;@44a64a92) finished in 0 ms
85.998 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b")
85.999 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectBeforeMethodTest.f(java.lang.String)(value(s): "b") finished in 1 ms
85.1000 -[VerboseTestNG] INVOKING CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@44a64a92)
85.1001 -[VerboseTestNG] PASSED CONFIGURATION: "Injection" - @AfterMethod test.inject.InjectBeforeMethodTest.after([Ljava.lang.Object;)(value(s): [Ljava.lang.Object;@44a64a92) finished in 0 ms
85.1002 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection()
85.1003 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectTestResultTest.verifyTestResultInjection() finished in 4 ms
85.1004 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@7c6d75b6, "a")
85.1005 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@7c6d75b6, 1, "a")
85.1006 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@7c6d75b6)
85.1007 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 1, org.testng.TestRunner@7c6d75b6, "a") finished in 1 ms
85.1008 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@7c6d75b6, 1, "a") finished in 1 ms
85.1009 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 1, "a", org.testng.TestRunner@7c6d75b6) finished in 0 ms
85.1010 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@7c6d75b6, "b")
85.1011 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@7c6d75b6, 2, "b")
85.1012 -[VerboseTestNG] INVOKING: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@7c6d75b6)
85.1013 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject1(java.lang.Integer, org.testng.ITestContext, java.lang.String)(value(s): 2, org.testng.TestRunner@7c6d75b6, "b") finished in 0 ms
85.1014 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject2(org.testng.ITestContext, java.lang.Integer, java.lang.String)(value(s): org.testng.TestRunner@7c6d75b6, 2, "b") finished in 0 ms
85.1015 -[VerboseTestNG] PASSED: "Injection" - test.inject.InjectDataProviderTest.dpObject3(java.lang.Integer, java.lang.String, org.testng.ITestContext)(value(s): 2, "b", org.testng.TestRunner@7c6d75b6) finished in 0 ms
85.1016 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method))
85.1017 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)) finished in 0 ms
85.1018 -[VerboseTestNG] INVOKING: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f())
85.1019 -[VerboseTestNG] PASSED: "Injection" - test.inject.NoInjectionTest.withoutInjection(java.lang.reflect.Method)(value(s): public void test.inject.CC.f()) finished in 0 ms
85.1020 -[VerboseTestNG]
85.1021 -[VerboseTestNG] ===============================================
85.1022 -[VerboseTestNG] Injection
85.1023 -[VerboseTestNG] Tests run: 216, Failures: 46, Skips: 0
85.1024 -[VerboseTestNG] ===============================================
85.1025 -[VerboseTestNG] RUNNING: Suite: "BeforeMethod" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1026 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@7d0e6cbd)
85.1027 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeMethod" - @BeforeMethod test.configuration.BeforeMethodTest.before(java.lang.reflect.Method, org.testng.ITestContext)(value(s): public void test.configuration.BeforeMethodTest.mainTest(), org.testng.TestRunner@7d0e6cbd) finished in 0 ms
85.1028 -[VerboseTestNG] INVOKING: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest()
85.1029 -[VerboseTestNG] PASSED: "BeforeMethod" - test.configuration.BeforeMethodTest.mainTest() finished in 0 ms
85.1030 -[VerboseTestNG]
85.1031 -[VerboseTestNG] ===============================================
85.1032 -[VerboseTestNG] BeforeMethod
85.1033 -[VerboseTestNG] Tests run: 217, Failures: 46, Skips: 0
85.1034 -[VerboseTestNG] ===============================================
85.1035 -[VerboseTestNG] RUNNING: Suite: "Basic" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1036 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp()
85.1037 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod()
85.1038 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1039 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @BeforeMethod test.sample.Basic1.beforeTestMethod() finished in 0 ms
85.1040 -[VerboseTestNG] INVOKING: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails()
85.1041 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic1.basic1()
85.1042 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic1.basic1() finished in 0 ms
85.1043 -[VerboseTestNG] INVOKING: "Basic" - test.sample.Basic2.basic2()
85.1044 -[VerboseTestNG] PASSED: "Basic" - test.sample.Basic2.basic2() finished in 0 ms
85.1045 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun()
85.1046 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterClass test.sample.Basic2.checkTestAtClassLevelWasRun() finished in 0 ms
85.1047 -[VerboseTestNG] PASSED: "Basic" - test.Misc.makeSureSetUpWithParameterWithNoParametersFails() finished in 3 ms
85.1048 -[VerboseTestNG] INVOKING CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp()
85.1049 -[VerboseTestNG] PASSED CONFIGURATION: "Basic" - @AfterTest test.sample.Basic2.cleanUp() finished in 0 ms
85.1050 -[VerboseTestNG]
85.1051 -[VerboseTestNG] ===============================================
85.1052 -[VerboseTestNG] Basic
85.1053 -[VerboseTestNG] Tests run: 220, Failures: 46, Skips: 0
85.1054 -[VerboseTestNG] ===============================================
85.1055 -[VerboseTestNG] RUNNING: Suite: "Exclusion" containing "4" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1056 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
85.1057 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
85.1058 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
85.1059 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp()
85.1060 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1061 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1062 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1063 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1064 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
85.1065 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
85.1066 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
85.1067 -[VerboseTestNG] INVOKING CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup()
85.1068 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.1069 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.1070 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.noGroups()
85.1071 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 0 ms
85.1072 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsClass()
85.1073 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.setUpWithGroups()
85.1074 -[VerboseTestNG] PASSED CONFIGURATION: "Exclusion" - @BeforeMethod test.Test2.correctSetup() finished in 3 ms
85.1075 -[VerboseTestNG] INVOKING: "Exclusion" - test.Test2.partialGroupsMethod()
85.1076 -[VerboseTestNG] FAILED: "Exclusion" - test.Test2.partialGroupsMethod() finished in 10 ms
85.1077 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.1078 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1079 -[VerboseTestNG] at test.Test2.partialGroupsMethod(Test2.java:83)
85.1080 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1081 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1082 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1083 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.partialGroupsClass() finished in 13 ms
85.1084 -[VerboseTestNG] PASSED: "Exclusion" - test.Test2.setUpWithGroups() finished in 16 ms
85.1085 -[VerboseTestNG] FAILED: "Exclusion" - test.Test2.noGroups() finished in 20 ms
85.1086 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<6> but was:<2>
85.1087 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1088 -[VerboseTestNG] at test.Test2.noGroups(Test2.java:42)
85.1089 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1090 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1091 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1092 -[VerboseTestNG]
85.1093 -[VerboseTestNG] ===============================================
85.1094 -[VerboseTestNG] Exclusion
85.1095 -[VerboseTestNG] Tests run: 224, Failures: 48, Skips: 0
85.1096 -[VerboseTestNG] ===============================================
85.1097 -[VerboseTestNG] RUNNING: Suite: "Dependents" containing "44" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1098 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init()
85.1099 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeTest test.dependent.ClassWide1Test.init() finished in 0 ms
85.1100 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_first0()
85.1101 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.z_premiere1()
85.1102 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1103 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_first0() finished in 0 ms
85.1104 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.z_premiere1() finished in 0 ms
85.1105 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1106 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1107 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle()
85.1108 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1109 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1110 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1111 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip()
85.1112 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethods()
85.1113 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1114 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1115 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1116 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider()
85.1117 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1118 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod()
85.1119 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentGroupsWithCycle() finished in 2 ms
85.1120 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithNonExistentMethod() finished in 2 ms
85.1121 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1122 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1123 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle()
85.1124 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithCycle() finished in 2 ms
85.1125 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentTest.dependentMethodsWithSkip() finished in 5 ms
85.1126 -[VerboseTestNG] org.testng.TestNGException:
85.1127 -[VerboseTestNG] test.dependent.SampleDependentMethods5.step2() depends on nonexistent method blablabla
85.1128 -[VerboseTestNG] at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:451)
85.1129 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:188)
85.1130 -[VerboseTestNG] at test.dependent.DependentTest.dependentMethodsWithSkip(DependentTest.java:42)
85.1131 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1132 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1133 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1134 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1135 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentTest.test2()
85.1136 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1137 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.simpleSkip()
85.1138 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentTest.dependentMethods() finished in 7 ms
85.1139 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<5> but was:<0>
85.1140 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1141 -[VerboseTestNG] at test.dependent.DependentTest.dependentMethods(DependentTest.java:34)
85.1142 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1143 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1144 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1145 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime()
85.1146 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.canBeRunAnytime() finished in 0 ms
85.1147 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneA()
85.1148 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneA() finished in 0 ms
85.1149 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.oneB()
85.1150 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.oneB() finished in 0 ms
85.1151 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one()
85.1152 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one() finished in 0 ms
85.1153 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric")
85.1154 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.one(java.lang.String)(value(s): "Cedric") finished in 0 ms
85.1155 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance()
85.1156 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1157 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.createInstance() finished in 0 ms
85.1158 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1159 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation()
85.1160 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups()
85.1161 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.SampleDependentConfigurationMethods.firstInvocation() finished in 0 ms
85.1162 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents()
85.1163 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1164 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentConfigurationMethods.verifyDependents() finished in 1 ms
85.1165 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 4 ms
85.1166 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.instanceDependencies()
85.1167 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentTest.test2() finished in 5 ms
85.1168 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1169 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1170 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses()
85.1171 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1172 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1173 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun()
85.1174 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyGroupsAcrossClasses() finished in 4 ms
85.1175 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1176 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1177 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1178 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1179 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun()
85.1180 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1181 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1182 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups()
85.1183 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1184 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun() finished in 10 ms
85.1185 -[VerboseTestNG] java.lang.AssertionError: Verification for Failed tests failed: expected:<1> but was:<0>
85.1186 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1187 -[VerboseTestNG] at test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups1AlwaysRun(DependentAlwaysRunTest.java:39)
85.1188 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1189 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1190 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1191 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1192 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion()
85.1193 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1194 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1195 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2()
85.1196 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnMethodsAlwaysRun() finished in 5 ms
85.1197 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion() finished in 4 ms
85.1198 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1199 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1200 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3()
85.1201 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.dependentWithDataProvider() finished in 25 ms
85.1202 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1203 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1204 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion()
85.1205 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3() finished in 4 ms
85.1206 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.1207 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1208 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion3(ImplicitGroupInclusionTest.java:78)
85.1209 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1210 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1211 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1212 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide1Test.m1()
85.1213 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependentTest.simpleSkip() finished in 4 ms
85.1214 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1215 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 5 ms
85.1216 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup()
85.1217 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4()
85.1218 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeClass test.dependent.DepBugSampleTest.setup() finished in 0 ms
85.1219 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.send()
85.1220 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.send() finished in 0 ms
85.1221 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide1Test.m1() finished in 0 ms
85.1222 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun()
85.1223 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugVerifyTest.verify()
85.1224 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugVerifyTest.verify() finished in 0 ms
85.1225 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2()
85.1226 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before2() finished in 0 ms
85.1227 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before()
85.1228 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.dependent.DependsOnProtectedMethodTest.before() finished in 0 ms
85.1229 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations()
85.1230 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DependsOnProtectedMethodTest.verifyBeforeInvocations() finished in 0 ms
85.1231 -[VerboseTestNG] INVOKING: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses()
85.1232 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp()
85.1233 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1234 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DependentTest.multipleSkips()
85.1235 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances()
85.1236 -[VerboseTestNG] PASSED: "Dependents" - test.dependsongroup.DependsOnGroupsTest.methodsShouldBeGroupedByClasses() finished in 7 ms
85.1237 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances()
85.1238 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.GroupByInstancesTest.dontGroupByInstances() finished in 5 ms
85.1239 -[VerboseTestNG] java.lang.AssertionError: expected:<true> but was:<false>
85.1240 -[VerboseTestNG] at test.dependent.GroupByInstancesTest.runTest(GroupByInstancesTest.java:38)
85.1241 -[VerboseTestNG] at test.dependent.GroupByInstancesTest.dontGroupByInstances(GroupByInstancesTest.java:16)
85.1242 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1243 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1244 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1245 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion() finished in 18 ms
85.1246 -[VerboseTestNG] java.lang.AssertionError: Verification for Failed tests failed: expected:<0> but was:<1>
85.1247 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1248 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitMethodInclusion(ImplicitGroupInclusionTest.java:95)
85.1249 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1250 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1251 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1252 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.secondA()
85.1253 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.secondA() finished in 0 ms
85.1254 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0()
85.1255 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.a_second0() finished in 0 ms
85.1256 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods3.secondA()
85.1257 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods3.secondA() finished in 0 ms
85.1258 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown()
85.1259 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.OrderMethodTest.a_second1()
85.1260 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.OrderMethodTest.a_second1() finished in 0 ms
85.1261 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.GroupByInstancesTest.groupByInstances() finished in 5 ms
85.1262 -[VerboseTestNG] java.lang.AssertionError: expected:<true> but was:<false>
85.1263 -[VerboseTestNG] at test.dependent.GroupByInstancesTest.runTest(GroupByInstancesTest.java:33)
85.1264 -[VerboseTestNG] at test.dependent.GroupByInstancesTest.groupByInstances(GroupByInstancesTest.java:21)
85.1265 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1266 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1267 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1268 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.ClassWide2Test.m2()
85.1269 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentTest.instanceDependencies() finished in 37 ms
85.1270 -[VerboseTestNG] java.lang.AssertionError: Arrays do not have the same size:5 != 4
85.1271 -[VerboseTestNG] at test.BaseTest.verifyInstanceNames(BaseTest.java:383)
85.1272 -[VerboseTestNG] at test.dependent.DependentTest.instanceDependencies(DependentTest.java:92)
85.1273 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1274 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1275 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1276 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.DepBugSampleTest.get()
85.1277 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.DepBugSampleTest.get() finished in 0 ms
85.1278 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy()
85.1279 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.DepBugSampleTest.destroy() finished in 1 ms
85.1280 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.BaseOrderMethodTest.third0()
85.1281 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.BaseOrderMethodTest.third0() finished in 0 ms
85.1282 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun() finished in 30 ms
85.1283 -[VerboseTestNG] java.lang.AssertionError: Verification for Failed tests failed: expected:<1> but was:<0>
85.1284 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1285 -[VerboseTestNG] at test.dependent.DependentAlwaysRunTest.verifyDependsOnGroups2AlwaysRun(DependentAlwaysRunTest.java:57)
85.1286 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1287 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1288 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1289 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2() finished in 29 ms
85.1290 -[VerboseTestNG] org.testng.TestNGException:
85.1291 -[VerboseTestNG] Method "ImplicitGroupInclusionSampleTest.b()[pri:0, instance:test.dependent.ImplicitGroupInclusionSampleTest@17f920cf]" depends on nonexistent group "a"
85.1292 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:191)
85.1293 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion2(ImplicitGroupInclusionTest.java:32)
85.1294 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1295 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1296 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1297 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.MultiGroupTest.verifyDependsOnMultiGroups() finished in 30 ms
85.1298 -[VerboseTestNG] INVOKING: "Dependents" - test.dependent.SampleDependentMethods.thirdA()
85.1299 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.SampleDependentMethods.thirdA() finished in 1 ms
85.1300 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.DependentTest.multipleSkips() finished in 15 ms
85.1301 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<3>
85.1302 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1303 -[VerboseTestNG] at test.dependent.DependentTest.multipleSkips(DependentTest.java:83)
85.1304 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1305 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1306 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1307 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods3.tearDown() finished in 0 ms
85.1308 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ClassDependsOnGroups.verifyDependsOnGroups() finished in 40 ms
85.1309 -[VerboseTestNG] org.testng.TestNGException:
85.1310 -[VerboseTestNG] Method "DifferentClassDependsOnGroupsTest2.test1()[pri:0, instance:test.dependent.DifferentClassDependsOnGroupsTest2@639b99d]" depends on nonexistent group "mainGroup"
85.1311 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:191)
85.1312 -[VerboseTestNG] at test.dependent.ClassDependsOnGroups.verifyDependsOnGroups(ClassDependsOnGroups.java:14)
85.1313 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1314 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1315 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1316 -[VerboseTestNG] PASSED: "Dependents" - test.dependent.ClassWide2Test.m2() finished in 0 ms
85.1317 -[VerboseTestNG] INVOKING CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown()
85.1318 -[VerboseTestNG] PASSED CONFIGURATION: "Dependents" - @AfterClass test.dependent.SampleDependentMethods.tearDown() finished in 2 ms
85.1319 -[VerboseTestNG] FAILED: "Dependents" - test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4() finished in 22 ms
85.1320 -[VerboseTestNG] java.lang.AssertionError: Verification for Failed tests failed: expected:<0> but was:<1>
85.1321 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1322 -[VerboseTestNG] at test.dependent.ImplicitGroupInclusionTest.verifyImplicitGroupInclusion4(ImplicitGroupInclusionTest.java:58)
85.1323 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1324 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1325 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1326 -[VerboseTestNG]
85.1327 -[VerboseTestNG] ===============================================
85.1328 -[VerboseTestNG] Dependents
85.1329 -[VerboseTestNG] Tests run: 268, Failures: 61, Skips: 0
85.1330 -[VerboseTestNG] ===============================================
85.1331 -[VerboseTestNG] RUNNING: Suite: "Inheritance" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1332 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration()
85.1333 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.baseConfiguration() finished in 0 ms
85.1334 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0()
85.1335 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration0() finished in 1 ms
85.1336 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1()
85.1337 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.sample.BaseSampleInheritance.configuration1() finished in 0 ms
85.1338 -[VerboseTestNG] INVOKING CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2()
85.1339 -[VerboseTestNG] PASSED CONFIGURATION: "Inheritance" - @BeforeClass test.SampleInheritance.configuration2() finished in 0 ms
85.1340 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod()
85.1341 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.baseMethod() finished in 0 ms
85.1342 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder()
85.1343 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.setVerify()
85.1344 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.configurationsWereCalledInOrder() finished in 0 ms
85.1345 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.setVerify() finished in 0 ms
85.1346 -[VerboseTestNG] INVOKING: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans()
85.1347 -[VerboseTestNG] PASSED: "Inheritance" - test.sample.BaseSampleInheritance.testBooleans() finished in 0 ms
85.1348 -[VerboseTestNG] INVOKING: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder()
85.1349 -[VerboseTestNG] PASSED: "Inheritance" - test.SampleInheritance.inheritedMethodsWereCalledInOrder() finished in 0 ms
85.1350 -[VerboseTestNG] INVOKING: "Inheritance" - test.inheritance.ClassScopeTest.verify()
85.1351 -[VerboseTestNG] PASSED: "Inheritance" - test.inheritance.ClassScopeTest.verify() finished in 0 ms
85.1352 -[VerboseTestNG]
85.1353 -[VerboseTestNG] ===============================================
85.1354 -[VerboseTestNG] Inheritance
85.1355 -[VerboseTestNG] Tests run: 274, Failures: 61, Skips: 0
85.1356 -[VerboseTestNG] ===============================================
85.1357 -[VerboseTestNG] RUNNING: Suite: "Test outer scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1358 -[VerboseTestNG] INVOKING: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out")
85.1359 -[VerboseTestNG] PASSED: "Test outer scope" - test.sample.Scope.outerDeprecated(java.lang.String)(value(s): "out") finished in 0 ms
85.1360 -[VerboseTestNG]
85.1361 -[VerboseTestNG] ===============================================
85.1362 -[VerboseTestNG] Test outer scope
85.1363 -[VerboseTestNG] Tests run: 275, Failures: 61, Skips: 0
85.1364 -[VerboseTestNG] ===============================================
85.1365 -[VerboseTestNG] RUNNING: Suite: "Test inner scope" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1366 -[VerboseTestNG] INVOKING: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in")
85.1367 -[VerboseTestNG] PASSED: "Test inner scope" - test.sample.Scope.innerDeprecated(java.lang.String)(value(s): "in") finished in 0 ms
85.1368 -[VerboseTestNG]
85.1369 -[VerboseTestNG] ===============================================
85.1370 -[VerboseTestNG] Test inner scope
85.1371 -[VerboseTestNG] Tests run: 276, Failures: 61, Skips: 0
85.1372 -[VerboseTestNG] ===============================================
85.1373 -[VerboseTestNG] RUNNING: Suite: "AfterClassCalledAtEnd" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1374 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class()
85.1375 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @BeforeClass test.sample.AfterClassCalledAtEnd.before1Class() finished in 1 ms
85.1376 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1()
85.1377 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test1() finished in 0 ms
85.1378 -[VerboseTestNG] Verify that beforeClass and afterClass are called correctly
85.1379 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2()
85.1380 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test2() finished in 0 ms
85.1381 -[VerboseTestNG] INVOKING: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3()
85.1382 -[VerboseTestNG] PASSED: "AfterClassCalledAtEnd" - test.sample.AfterClassCalledAtEnd.test3() finished in 0 ms
85.1383 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass()
85.1384 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.AfterClassCalledAtEnd.afterClass() finished in 0 ms
85.1385 -[VerboseTestNG] INVOKING CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass()
85.1386 -[VerboseTestNG] PASSED CONFIGURATION: "AfterClassCalledAtEnd" - @AfterClass test.sample.BaseAfterClassCalledAtEnd.baseAfterClass() finished in 1 ms
85.1387 -[VerboseTestNG]
85.1388 -[VerboseTestNG] ===============================================
85.1389 -[VerboseTestNG] AfterClassCalledAtEnd
85.1390 -[VerboseTestNG] Tests run: 279, Failures: 61, Skips: 0
85.1391 -[VerboseTestNG] ===============================================
85.1392 -[VerboseTestNG] RUNNING: Suite: "Triangle" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1393 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
85.1394 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
85.1395 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1()
85.1396 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child1.child1a()
85.1397 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1() finished in 0 ms
85.1398 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child1.child1a() finished in 0 ms
85.1399 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
85.1400 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 1 ms
85.1401 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass()
85.1402 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @BeforeClass test.triangle.Base.initBeforeTestClass() finished in 0 ms
85.1403 -[VerboseTestNG] INVOKING: "Triangle" - test.triangle.Child2.child2()
85.1404 -[VerboseTestNG] PASSED: "Triangle" - test.triangle.Child2.child2() finished in 0 ms
85.1405 -[VerboseTestNG] INVOKING CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass()
85.1406 -[VerboseTestNG] PASSED CONFIGURATION: "Triangle" - @AfterClass test.triangle.Base.postAfterTestClass() finished in 1 ms
85.1407 -[VerboseTestNG]
85.1408 -[VerboseTestNG] ===============================================
85.1409 -[VerboseTestNG] Triangle
85.1410 -[VerboseTestNG] Tests run: 282, Failures: 61, Skips: 0
85.1411 -[VerboseTestNG] ===============================================
85.1412 -[VerboseTestNG] RUNNING: Suite: "CheckTrianglePost" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1413 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2")
85.1414 -[VerboseTestNG] INVOKING: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2")
85.1415 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCount(java.lang.String)(value(s): "2") finished in 1 ms
85.1416 -[VerboseTestNG] PASSED: "CheckTrianglePost" - test.triangle.CheckCount.testCheckCountDeprecated(java.lang.String)(value(s): "2") finished in 1 ms
85.1417 -[VerboseTestNG]
85.1418 -[VerboseTestNG] ===============================================
85.1419 -[VerboseTestNG] CheckTrianglePost
85.1420 -[VerboseTestNG] Tests run: 284, Failures: 61, Skips: 0
85.1421 -[VerboseTestNG] ===============================================
85.1422 -[VerboseTestNG] RUNNING: Suite: "Test class groups 1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1423 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first2()
85.1424 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.First.first1()
85.1425 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first2() finished in 1 ms
85.1426 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.First.first1() finished in 1 ms
85.1427 -[VerboseTestNG] INVOKING: "Test class groups 1" - test.classgroup.Second.verify()
85.1428 -[VerboseTestNG] PASSED: "Test class groups 1" - test.classgroup.Second.verify() finished in 0 ms
85.1429 -[VerboseTestNG]
85.1430 -[VerboseTestNG] ===============================================
85.1431 -[VerboseTestNG] Test class groups 1
85.1432 -[VerboseTestNG] Tests run: 287, Failures: 61, Skips: 0
85.1433 -[VerboseTestNG] ===============================================
85.1434 -[VerboseTestNG] RUNNING: Suite: "Test class groups 2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1435 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first1()
85.1436 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.First.first2()
85.1437 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first1() finished in 0 ms
85.1438 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.First.first2() finished in 0 ms
85.1439 -[VerboseTestNG] INVOKING: "Test class groups 2" - test.classgroup.Second.verify()
85.1440 -[VerboseTestNG] PASSED: "Test class groups 2" - test.classgroup.Second.verify() finished in 0 ms
85.1441 -[VerboseTestNG]
85.1442 -[VerboseTestNG] ===============================================
85.1443 -[VerboseTestNG] Test class groups 2
85.1444 -[VerboseTestNG] Tests run: 290, Failures: 61, Skips: 0
85.1445 -[VerboseTestNG] ===============================================
85.1446 -[VerboseTestNG] RUNNING: Suite: "Factory" containing "30" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1447 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest()
85.1448 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeTest test.factory.FactoryInSeparateClass.beforeTest() finished in 0 ms
85.1449 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation()
85.1450 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests()
85.1451 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved()
85.1452 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider()
85.1453 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider()
85.1454 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider()
85.1455 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail()
85.1456 -[VerboseTestNG] INVOKING: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun()
85.1457 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test()
85.1458 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryAndTestMethodTest$NullArgsTest.test() finished in 1 ms
85.1459 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
85.1460 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
85.1461 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider()
85.1462 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryFailureTest.factoryThrowingShouldNotRunTests() finished in 3 ms
85.1463 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
85.1464 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
85.1465 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt()
85.1466 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithInstanceInfoTest2.testInt() finished in 0 ms
85.1467 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
85.1468 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
85.1469 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
85.1470 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 0 ms
85.1471 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.testMethod()
85.1472 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.testMethod() finished in 1 ms
85.1473 -[VerboseTestNG] PASSED: "Factory" - test.factory.DisabledFactoryTest.disabledFactoryShouldNotRun() finished in 4 ms
85.1474 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
85.1475 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
85.1476 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
85.1477 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
85.1478 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 1 ms
85.1479 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testInputImages()
85.1480 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 1 ms
85.1481 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testInputImages() finished in 0 ms
85.1482 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
85.1483 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
85.1484 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
85.1485 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
85.1486 -[VerboseTestNG] INVOKING: "Factory" - test.factory.TestClassAnnotationTest.testOne()
85.1487 -[VerboseTestNG] PASSED: "Factory" - test.factory.TestClassAnnotationTest.testOne() finished in 0 ms
85.1488 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork()
85.1489 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithLocalDataProvider() finished in 6 ms
85.1490 -[VerboseTestNG] Test @Factory(dataProvider) on a local static data provider
85.1491 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify()
85.1492 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterClass test.factory.TestClassAnnotationTest.verify() finished in 1 ms
85.1493 -[VerboseTestNG] INVOKING: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory()
85.1494 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryInSeparateClass.checkSum()
85.1495 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSeparateClass.checkSum() finished in 0 ms
85.1496 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
85.1497 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
85.1498 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
85.1499 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
85.1500 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
85.1501 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
85.1502 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProviderShouldFail() finished in 8 ms
85.1503 -[VerboseTestNG] Should fail because the data provider is not static
85.1504 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
85.1505 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
85.1506 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp()
85.1507 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
85.1508 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @BeforeMethod test.factory.Sample2.setUp() finished in 0 ms
85.1509 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
85.1510 -[VerboseTestNG] INVOKING: "Factory" - test.factory.Sample2.testImages()
85.1511 -[VerboseTestNG] PASSED: "Factory" - test.factory.Sample2.testImages() finished in 0 ms
85.1512 -[VerboseTestNG] INVOKING CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown()
85.1513 -[VerboseTestNG] INVOKING: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun()
85.1514 -[VerboseTestNG] PASSED CONFIGURATION: "Factory" - @AfterMethod test.factory.Sample2.tearDown() finished in 0 ms
85.1515 -[VerboseTestNG] PASSED: "Factory" - test.factory.MyTest.verifyThatTestMethodOnFactoryClassWasRun() finished in 0 ms
85.1516 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInSuperClassTest.factoryInSuperClassShouldWork() finished in 5 ms
85.1517 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithStaticDataProvider() finished in 10 ms
85.1518 -[VerboseTestNG] Test @Factory(dataProvider) on a data provider in another class
85.1519 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryInterleavingTest.methodsShouldBeInterleaved() finished in 13 ms
85.1520 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryDataProviderTest.factoryWithNonStaticDataProvider() finished in 24 ms
85.1521 -[VerboseTestNG] Test @Factory(dataProvider) on a non static data provider with no arg ctor
85.1522 -[VerboseTestNG] INVOKING: "Factory" - test.factory.FactoryTest2.testInt()
85.1523 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryTest2.testInt() finished in 0 ms
85.1524 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryTest.mainCheck()
85.1525 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryTest.mainCheck() finished in 0 ms
85.1526 -[VerboseTestNG] INVOKING: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck()
85.1527 -[VerboseTestNG] PASSED: "Factory" - test.factory.VerifyFactoryWithInstanceInfoTest.mainCheck() finished in 0 ms
85.1528 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryOrderMainTest.factoriesShouldBeInvokedInTheOrderOfCreation() finished in 30 ms
85.1529 -[VerboseTestNG] PASSED: "Factory" - test.factory.FactoryWithDataProviderTest.verifyDataProvider() finished in 29 ms
85.1530 -[VerboseTestNG] PASSED: "Factory" - test.factory.classconf.XClassOrderWithFactoryTest.testBeforeAfterClassInvocationsWithFactory() finished in 30 ms
85.1531 -[VerboseTestNG]
85.1532 -[VerboseTestNG] ===============================================
85.1533 -[VerboseTestNG] Factory
85.1534 -[VerboseTestNG] Tests run: 320, Failures: 61, Skips: 0
85.1535 -[VerboseTestNG] ===============================================
85.1536 -[VerboseTestNG] RUNNING: Suite: "TimeOut" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1537 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1538 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1539 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel()
85.1540 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1541 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1542 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel()
85.1543 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1544 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1545 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut()
85.1546 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInNonParallel() finished in 1020 ms
85.1547 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutTest.timeOutInParallel() finished in 1020 ms
85.1548 -[VerboseTestNG] FAILED: "TimeOut" - test.timeout.TimeOutTest.verifyInvocationTimeOut() finished in 2276 ms
85.1549 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.1550 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1551 -[VerboseTestNG] at test.timeout.TimeOutTest.verifyInvocationTimeOut(TimeOutTest.java:63)
85.1552 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1553 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1554 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1555 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1556 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1557 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1558 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1559 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut()
85.1560 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag()
85.1561 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1562 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1563 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag()
85.1564 -[VerboseTestNG] INVOKING CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp()
85.1565 -[VerboseTestNG] PASSED CONFIGURATION: "TimeOut" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1566 -[VerboseTestNG] INVOKING: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests()
85.1567 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnSuiteTag() finished in 1014 ms
85.1568 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.timeOutOnTestTag() finished in 1011 ms
85.1569 -[VerboseTestNG] FAILED: "TimeOut" - test.timeout.TimeOutFromXmlTest.noTimeOut() finished in 1014 ms
85.1570 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<0>
85.1571 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1572 -[VerboseTestNG] at test.timeout.TimeOutFromXmlTest.noTimeOut(TimeOutFromXmlTest.java:61)
85.1573 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1574 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1575 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1576 -[VerboseTestNG] PASSED: "TimeOut" - test.timeout.TimeOutFromXmlTest.twoDifferentTests() finished in 3026 ms
85.1577 -[VerboseTestNG]
85.1578 -[VerboseTestNG] ===============================================
85.1579 -[VerboseTestNG] TimeOut
85.1580 -[VerboseTestNG] Tests run: 327, Failures: 63, Skips: 0
85.1581 -[VerboseTestNG] ===============================================
85.1582 -[VerboseTestNG] RUNNING: Suite: "InvocationCount" containing "13" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1583 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
85.1584 -[VerboseTestNG] INVOKING CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp()
85.1585 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1586 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds()
85.1587 -[VerboseTestNG] PASSED CONFIGURATION: "InvocationCount" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1588 -[VerboseTestNG] INVOKING: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount()
85.1589 -[VerboseTestNG] FAILED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds() finished in 2 ms
85.1590 -[VerboseTestNG] java.util.ConcurrentModificationException
85.1591 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.1592 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.1593 -[VerboseTestNG] at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:451)
85.1594 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:188)
85.1595 -[VerboseTestNG] at test.InvocationAndSuccessPercentageTest.successPercentageThatSucceeds(InvocationAndSuccessPercentageTest.java:43)
85.1596 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1597 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1598 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1599 -[VerboseTestNG] FAILED: "InvocationCount" - test.InvocationAndSuccessPercentageTest.invocationCount() finished in 10 ms
85.1600 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.1601 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1602 -[VerboseTestNG] at test.InvocationAndSuccessPercentageTest.invocationCount(InvocationAndSuccessPercentageTest.java:30)
85.1603 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1604 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1605 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1606 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop()
85.1607 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop()
85.1608 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop()
85.1609 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldStop() finished in 27 ms
85.1610 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop() finished in 64 ms
85.1611 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FailedInvocationCountTest.verifyGloballyShouldNotStop() finished in 67 ms
85.1612 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse()
85.1613 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue()
85.1614 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse()
85.1615 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue()
85.1616 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue()
85.1617 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue()
85.1618 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse()
85.1619 -[VerboseTestNG] INVOKING: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse()
85.1620 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueTrue() finished in 29 ms
85.1621 -[VerboseTestNG] FAILED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse() finished in 41 ms
85.1622 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.1623 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.run(FirstAndLastTimeTest.java:67)
85.1624 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountTrueFalse(FirstAndLastTimeTest.java:45)
85.1625 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1626 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1627 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1628 -[VerboseTestNG] FAILED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue() finished in 48 ms
85.1629 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.1630 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.run(FirstAndLastTimeTest.java:71)
85.1631 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseTrue(FirstAndLastTimeTest.java:30)
85.1632 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1633 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1634 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1635 -[VerboseTestNG] FAILED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue() finished in 48 ms
85.1636 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.1637 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.run(FirstAndLastTimeTest.java:71)
85.1638 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseTrue(FirstAndLastTimeTest.java:50)
85.1639 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1640 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1641 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1642 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyInvocationCountFalseFalse() finished in 30 ms
85.1643 -[VerboseTestNG] FAILED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse() finished in 57 ms
85.1644 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.1645 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.run(FirstAndLastTimeTest.java:67)
85.1646 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueFalse(FirstAndLastTimeTest.java:25)
85.1647 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1648 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1649 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1650 -[VerboseTestNG] PASSED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderFalseFalse() finished in 58 ms
85.1651 -[VerboseTestNG] FAILED: "InvocationCount" - test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue() finished in 60 ms
85.1652 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<3>
85.1653 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.run(FirstAndLastTimeTest.java:67)
85.1654 -[VerboseTestNG] at test.invocationcount.FirstAndLastTimeTest.verifyDataProviderTrueTrue(FirstAndLastTimeTest.java:35)
85.1655 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1656 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1657 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1658 -[VerboseTestNG]
85.1659 -[VerboseTestNG] ===============================================
85.1660 -[VerboseTestNG] InvocationCount
85.1661 -[VerboseTestNG] Tests run: 340, Failures: 70, Skips: 0
85.1662 -[VerboseTestNG] ===============================================
85.1663 -[VerboseTestNG] RUNNING: Suite: "Method1" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1664 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun1()
85.1665 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
85.1666 -[VerboseTestNG] INVOKING: "Method1" - test.methods.SampleMethod1.shouldRun2()
85.1667 -[VerboseTestNG] PASSED: "Method1" - test.methods.SampleMethod1.shouldRun2() finished in 1 ms
85.1668 -[VerboseTestNG] INVOKING: "Method1" - test.methods.VerifyMethod1.verify()
85.1669 -[VerboseTestNG] PASSED: "Method1" - test.methods.VerifyMethod1.verify() finished in 0 ms
85.1670 -[VerboseTestNG]
85.1671 -[VerboseTestNG] ===============================================
85.1672 -[VerboseTestNG] Method1
85.1673 -[VerboseTestNG] Tests run: 343, Failures: 70, Skips: 0
85.1674 -[VerboseTestNG] ===============================================
85.1675 -[VerboseTestNG] RUNNING: Suite: "Method2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1676 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun1()
85.1677 -[VerboseTestNG] INVOKING: "Method2" - test.methods.SampleMethod1.shouldRun2()
85.1678 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
85.1679 -[VerboseTestNG] PASSED: "Method2" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
85.1680 -[VerboseTestNG] INVOKING: "Method2" - test.methods.VerifyMethod1.verify()
85.1681 -[VerboseTestNG] PASSED: "Method2" - test.methods.VerifyMethod1.verify() finished in 0 ms
85.1682 -[VerboseTestNG]
85.1683 -[VerboseTestNG] ===============================================
85.1684 -[VerboseTestNG] Method2
85.1685 -[VerboseTestNG] Tests run: 346, Failures: 70, Skips: 0
85.1686 -[VerboseTestNG] ===============================================
85.1687 -[VerboseTestNG] RUNNING: Suite: "Method3" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1688 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun1()
85.1689 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun1() finished in 0 ms
85.1690 -[VerboseTestNG] INVOKING: "Method3" - test.methods.SampleMethod1.shouldRun2()
85.1691 -[VerboseTestNG] PASSED: "Method3" - test.methods.SampleMethod1.shouldRun2() finished in 0 ms
85.1692 -[VerboseTestNG] INVOKING: "Method3" - test.methods.VerifyMethod1.verify()
85.1693 -[VerboseTestNG] PASSED: "Method3" - test.methods.VerifyMethod1.verify() finished in 0 ms
85.1694 -[VerboseTestNG]
85.1695 -[VerboseTestNG] ===============================================
85.1696 -[VerboseTestNG] Method3
85.1697 -[VerboseTestNG] Tests run: 349, Failures: 70, Skips: 0
85.1698 -[VerboseTestNG] ===============================================
85.1699 -[VerboseTestNG] RUNNING: Suite: "Object factory" containing "7" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1700 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext()
85.1701 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite()
85.1702 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation()
85.1703 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setInvalidMethodFactoryByAnnotation() finished in 7 ms
85.1704 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
85.1705 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
85.1706 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG()
85.1707 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnSuite() finished in 9 ms
85.1708 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
85.1709 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 1 ms
85.1710 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CustomFactoryTest.factoryReceivesContext() finished in 19 ms
85.1711 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
85.1712 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 1 ms
85.1713 -[VerboseTestNG] FAILED: "Object factory" - test.objectfactory.CustomFactoryTest.setFactoryOnTestNG() finished in 15 ms
85.1714 -[VerboseTestNG] java.lang.AssertionError: Logging factory invoked 0 times
85.1715 -[VerboseTestNG] at test.objectfactory.CustomFactoryTest.setFactoryOnTestNG(CustomFactoryTest.java:22)
85.1716 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1717 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1718 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1719 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount()
85.1720 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @AfterMethod test.objectfactory.CustomFactoryTest.resetCount() finished in 0 ms
85.1721 -[VerboseTestNG] INVOKING CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp()
85.1722 -[VerboseTestNG] PASSED CONFIGURATION: "Object factory" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1723 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory()
85.1724 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.CombinedTestAndObjectFactoryTest.combinedTestAndObjectFactory() finished in 4 ms
85.1725 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork()
85.1726 -[VerboseTestNG] INVOKING: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork()
85.1727 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnTestNGShouldWork() finished in 10 ms
85.1728 -[VerboseTestNG] PASSED: "Object factory" - test.objectfactory.ObjectFactory2Test.factoryOnSuiteShouldWork() finished in 10 ms
85.1729 -[VerboseTestNG]
85.1730 -[VerboseTestNG] ===============================================
85.1731 -[VerboseTestNG] Object factory
85.1732 -[VerboseTestNG] Tests run: 356, Failures: 71, Skips: 0
85.1733 -[VerboseTestNG] ===============================================
85.1734 -[VerboseTestNG] RUNNING: Suite: "Parameters for constructors" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1735 -[VerboseTestNG] INVOKING: "Parameters for constructors" - test.ParameterConstructorTest.verify()
85.1736 -[VerboseTestNG] PASSED: "Parameters for constructors" - test.ParameterConstructorTest.verify() finished in 0 ms
85.1737 -[VerboseTestNG]
85.1738 -[VerboseTestNG] ===============================================
85.1739 -[VerboseTestNG] Parameters for constructors
85.1740 -[VerboseTestNG] Tests run: 357, Failures: 71, Skips: 0
85.1741 -[VerboseTestNG] ===============================================
85.1742 -[VerboseTestNG] RUNNING: Suite: "Excluded methods" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1743 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included1()
85.1744 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included1() finished in 0 ms
85.1745 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.included2()
85.1746 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.included2() finished in 1 ms
85.1747 -[VerboseTestNG] INVOKING: "Excluded methods" - test.Exclude.verify()
85.1748 -[VerboseTestNG] PASSED: "Excluded methods" - test.Exclude.verify() finished in 0 ms
85.1749 -[VerboseTestNG]
85.1750 -[VerboseTestNG] ===============================================
85.1751 -[VerboseTestNG] Excluded methods
85.1752 -[VerboseTestNG] Tests run: 360, Failures: 71, Skips: 0
85.1753 -[VerboseTestNG] ===============================================
85.1754 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 1" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1755 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1")
85.1756 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 1" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value1") finished in 1 ms
85.1757 -[VerboseTestNG] INVOKING: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1")
85.1758 -[VerboseTestNG] PASSED: "Parameters in init 1" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value1") finished in 0 ms
85.1759 -[VerboseTestNG]
85.1760 -[VerboseTestNG] ===============================================
85.1761 -[VerboseTestNG] Parameters in init 1
85.1762 -[VerboseTestNG] Tests run: 361, Failures: 71, Skips: 0
85.1763 -[VerboseTestNG] ===============================================
85.1764 -[VerboseTestNG] RUNNING: Suite: "Parameters in init 2" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1765 -[VerboseTestNG] INVOKING CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2")
85.1766 -[VerboseTestNG] PASSED CONFIGURATION: "Parameters in init 2" - @BeforeTest test.configuration.ConfigurationWithParameters.testInit(java.lang.String)(value(s): "value2") finished in 0 ms
85.1767 -[VerboseTestNG] INVOKING: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2")
85.1768 -[VerboseTestNG] PASSED: "Parameters in init 2" - test.configuration.ConfigurationWithParameters.testMethod(java.lang.String)(value(s): "value2") finished in 0 ms
85.1769 -[VerboseTestNG]
85.1770 -[VerboseTestNG] ===============================================
85.1771 -[VerboseTestNG] Parameters in init 2
85.1772 -[VerboseTestNG] Tests run: 362, Failures: 71, Skips: 0
85.1773 -[VerboseTestNG] ===============================================
85.1774 -[VerboseTestNG] RUNNING: Suite: "Individual method" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1775 -[VerboseTestNG] INVOKING CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp()
85.1776 -[VerboseTestNG] PASSED CONFIGURATION: "Individual method" - @BeforeMethod test.IndividualMethodsTest.setUp() finished in 1 ms
85.1777 -[VerboseTestNG] INVOKING: "Individual method" - test.IndividualMethodsTest.testMethod()
85.1778 -[VerboseTestNG] PASSED: "Individual method" - test.IndividualMethodsTest.testMethod() finished in 0 ms
85.1779 -[VerboseTestNG]
85.1780 -[VerboseTestNG] ===============================================
85.1781 -[VerboseTestNG] Individual method
85.1782 -[VerboseTestNG] Tests run: 363, Failures: 71, Skips: 0
85.1783 -[VerboseTestNG] ===============================================
85.1784 -[VerboseTestNG] RUNNING: Suite: "Method inheritance" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1785 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest()
85.1786 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeTest test.inheritance.ZBase_0.beforeTest() finished in 0 ms
85.1787 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication()
85.1788 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.ZBase_0.initApplication() finished in 0 ms
85.1789 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog()
85.1790 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.Child_1.initDialog() finished in 0 ms
85.1791 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2()
85.1792 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @BeforeMethod test.inheritance.DChild_2.initDialog2() finished in 0 ms
85.1793 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.DChild_2.test()
85.1794 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.DChild_2.test() finished in 1 ms
85.1795 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2()
85.1796 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.DChild_2.tearDownDialog2() finished in 0 ms
85.1797 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog()
85.1798 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.Child_1.tearDownDialog() finished in 0 ms
85.1799 -[VerboseTestNG] INVOKING CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication()
85.1800 -[VerboseTestNG] PASSED CONFIGURATION: "Method inheritance" - @AfterMethod test.inheritance.ZBase_0.tearDownApplication() finished in 0 ms
85.1801 -[VerboseTestNG] INVOKING: "Method inheritance" - test.inheritance.VerifyTest.verify()
85.1802 -[VerboseTestNG] PASSED: "Method inheritance" - test.inheritance.VerifyTest.verify() finished in 1 ms
85.1803 -[VerboseTestNG]
85.1804 -[VerboseTestNG] ===============================================
85.1805 -[VerboseTestNG] Method inheritance
85.1806 -[VerboseTestNG] Tests run: 365, Failures: 71, Skips: 0
85.1807 -[VerboseTestNG] ===============================================
85.1808 -[VerboseTestNG] RUNNING: Suite: "Method selectors" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1809 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1810 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.1811 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2()
85.1812 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1813 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1814 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests()
85.1815 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1816 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1817 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test()
85.1818 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1819 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1820 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups()
85.1821 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2() finished in 2 ms
85.1822 -[VerboseTestNG] java.util.ConcurrentModificationException
85.1823 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.1824 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.1825 -[VerboseTestNG] at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:451)
85.1826 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:188)
85.1827 -[VerboseTestNG] at test.methodselectors.MethodSelectorTest.greaterThanPriorityTest1Test2(MethodSelectorTest.java:57)
85.1828 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1829 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1830 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1831 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityAllGroups() finished in 5 ms
85.1832 -[VerboseTestNG] java.util.ConcurrentModificationException
85.1833 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.1834 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.1835 -[VerboseTestNG] at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:451)
85.1836 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:188)
85.1837 -[VerboseTestNG] at test.methodselectors.MethodSelectorTest.negativePriorityAllGroups(MethodSelectorTest.java:13)
85.1838 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1839 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1840 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1841 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1842 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1843 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2()
85.1844 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test() finished in 8 ms
85.1845 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<3>
85.1846 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1847 -[VerboseTestNG] at test.methodselectors.MethodSelectorTest.lessThanPriorityTest1Test(MethodSelectorTest.java:48)
85.1848 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1849 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1850 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1851 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorTest.lessThanPriorityAllTests() finished in 9 ms
85.1852 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.MethodSelectorTest.negativePriorityGroup2() finished in 7 ms
85.1853 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<3>
85.1854 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.1855 -[VerboseTestNG] at test.methodselectors.MethodSelectorTest.negativePriorityGroup2(MethodSelectorTest.java:33)
85.1856 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1857 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1858 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1859 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp()
85.1860 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1861 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1()
85.1862 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.BeanShellTest.onlyGroup1() finished in 39 ms
85.1863 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1864 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1865 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
85.1866 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2()
85.1867 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
85.1868 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests()
85.1869 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1870 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
85.1871 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups()
85.1872 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1873 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
85.1874 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test()
85.1875 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1876 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1877 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 4 ms
85.1878 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector()
85.1879 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1880 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 4 ms
85.1881 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile()
85.1882 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 4 ms
85.1883 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2()
85.1884 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests() finished in 29 ms
85.1885 -[VerboseTestNG] java.lang.AssertionError: wrong number of Passed tests expected:<3> but was:<0>
85.1886 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:173)
85.1887 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineLessThanPriorityAllTests(CommandLineTest.java:119)
85.1888 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1889 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1890 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1891 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup()
85.1892 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.CommandLineTest.setup() finished in 0 ms
85.1893 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors()
85.1894 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2() finished in 32 ms
85.1895 -[VerboseTestNG] java.lang.AssertionError: wrong number of Passed tests expected:<1> but was:<2>
85.1896 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:173)
85.1897 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineGreaterThanPriorityTest1Test2(CommandLineTest.java:105)
85.1898 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1899 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1900 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1901 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups() finished in 22 ms
85.1902 -[VerboseTestNG] java.lang.AssertionError: wrong number of Passed tests expected:<3> but was:<0>
85.1903 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:173)
85.1904 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineNegativePriorityAllGroups(CommandLineTest.java:61)
85.1905 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1906 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1907 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1908 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2() finished in 20 ms
85.1909 -[VerboseTestNG] java.lang.AssertionError: wrong number of Passed tests expected:<1> but was:<0>
85.1910 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:173)
85.1911 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineNegativePriorityGroup2(CommandLineTest.java:75)
85.1912 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1913 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1914 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1915 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineTestWithXmlFile() finished in 28 ms
85.1916 -[VerboseTestNG] java.lang.AssertionError: Expected to find method test3 in Passed but didn't find it. expected:<true> but was:<false>
85.1917 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:176)
85.1918 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineTestWithXmlFile(CommandLineTest.java:163)
85.1919 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1920 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1921 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1922 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineLessThanPriorityTest1Test() finished in 39 ms
85.1923 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineMultipleSelectors() finished in 25 ms
85.1924 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.CommandLineTest.commandLineNoTest1Selector() finished in 36 ms
85.1925 -[VerboseTestNG] java.lang.AssertionError: Expected to find method test3 in Passed but didn't find it. expected:<true> but was:<false>
85.1926 -[VerboseTestNG] at test.methodselectors.CommandLineTest.verifyTests(CommandLineTest.java:176)
85.1927 -[VerboseTestNG] at test.methodselectors.CommandLineTest.commandLineNoTest1Selector(CommandLineTest.java:148)
85.1928 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1929 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1930 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1931 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
85.1932 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
85.1933 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine()
85.1934 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
85.1935 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 0 ms
85.1936 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite()
85.1937 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.programmaticXmlSuite() finished in 3 ms
85.1938 -[VerboseTestNG] INVOKING CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup()
85.1939 -[VerboseTestNG] PASSED CONFIGURATION: "Method selectors" - @BeforeMethod test.methodselectors.MethodSelectorInSuiteTest.setup() finished in 1 ms
85.1940 -[VerboseTestNG] INVOKING: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite()
85.1941 -[VerboseTestNG] FAILED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine() finished in 12 ms
85.1942 -[VerboseTestNG] java.lang.AssertionError: expected:<1> but was:<0>
85.1943 -[VerboseTestNG] at test.methodselectors.MethodSelectorInSuiteTest.validate(MethodSelectorInSuiteTest.java:72)
85.1944 -[VerboseTestNG] at test.methodselectors.MethodSelectorInSuiteTest.fileOnCommandLine(MethodSelectorInSuiteTest.java:67)
85.1945 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.1946 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.1947 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.1948 -[VerboseTestNG] PASSED: "Method selectors" - test.methodselectors.MethodSelectorInSuiteTest.xmlXmlSuite() finished in 5 ms
85.1949 -[VerboseTestNG]
85.1950 -[VerboseTestNG] ===============================================
85.1951 -[VerboseTestNG] Method selectors
85.1952 -[VerboseTestNG] Tests run: 382, Failures: 82, Skips: 0
85.1953 -[VerboseTestNG] ===============================================
85.1954 -[VerboseTestNG] RUNNING: Suite: "Test order invocation" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1955 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest()
85.1956 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeTest test.interleavedorder.InterleavedInvocationTest.beforeTest() finished in 0 ms
85.1957 -[VerboseTestNG] INVOKING CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp()
85.1958 -[VerboseTestNG] PASSED CONFIGURATION: "Test order invocation" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1959 -[VerboseTestNG] INVOKING: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder()
85.1960 -[VerboseTestNG] PASSED: "Test order invocation" - test.interleavedorder.InterleavedInvocationTest.invocationOrder() finished in 16 ms
85.1961 -[VerboseTestNG]
85.1962 -[VerboseTestNG] ===============================================
85.1963 -[VerboseTestNG] Test order invocation
85.1964 -[VerboseTestNG] Tests run: 383, Failures: 82, Skips: 0
85.1965 -[VerboseTestNG] ===============================================
85.1966 -[VerboseTestNG] RUNNING: Suite: "DataProvider" containing "29" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.1967 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest()
85.1968 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeTest test.dataprovider.ConfigurationAndDataProvidersTest.setUpTest() finished in 0 ms
85.1969 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36)
85.1970 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
85.1971 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Cedric", 36) finished in 0 ms
85.1972 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1973 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37)
85.1974 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
85.1975 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyNames(java.lang.String, java.lang.Integer)(value(s): "Anne Marie", 37) finished in 0 ms
85.1976 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
85.1977 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked()
85.1978 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
85.1979 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.1980 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init()
85.1981 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.FailedDataProviderTest.init() finished in 0 ms
85.1982 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip()
85.1983 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider()
85.1984 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.failedDataProviderShouldCauseSkip() finished in 4 ms
85.1985 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
85.1986 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 0 ms
85.1987 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest()
85.1988 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.InstanceDataProviderSampleTest.beforeTest() finished in 0 ms
85.1989 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1805440858)
85.1990 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1656942101)
85.1991 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1805440858) finished in 1 ms
85.1992 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
85.1993 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InstanceDataProviderSampleTest.f(java.lang.Integer)(value(s): 1656942101) finished in 0 ms
85.1994 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
85.1995 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest()
85.1996 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @AfterClass test.dataprovider.InstanceDataProviderSampleTest.afterTest() finished in 0 ms
85.1997 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass()
85.1998 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeClass test.dataprovider.ConfigurationAndDataProvidersTest.setUpClass() finished in 4 ms
85.1999 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp()
85.2000 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.dataprovider.ConfigurationAndDataProvidersTest.setUp() finished in 0 ms
85.2001 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test)
85.2002 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ConfigurationAndDataProvidersTest.verifyNames(java.lang.Object)(value(s): Test) finished in 0 ms
85.2003 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true)
85.2004 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): true) finished in 0 ms
85.2005 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false)
85.2006 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.doStuff(boolean)(value(s): false) finished in 0 ms
85.2007 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
85.2008 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 2 ms
85.2009 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
85.2010 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 0 ms
85.2011 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42)
85.2012 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingIterableDataProviderTest.failingDataProvider() finished in 9 ms
85.2013 -[VerboseTestNG] INVOKING CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp()
85.2014 -[VerboseTestNG] PASSED CONFIGURATION: "DataProvider" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2015 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly()
85.2016 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailedDataProviderTest.allMethodsShouldBeInvoked() finished in 18 ms
85.2017 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.Sample1Test.verifyCount()
85.2018 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.Sample1Test.verifyCount() finished in 9 ms
85.2019 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.ClassTest.includeMethodsOnly() finished in 3 ms
85.2020 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 42) finished in 6 ms
85.2021 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43)
85.2022 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestInstanceTest.f(int)(value(s): 43) finished in 1 ms
85.2023 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a")
85.2024 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.InheritedDataProviderTest.f(java.lang.String)(value(s): "a") finished in 0 ms
85.2025 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestNG411Test.verify()
85.2026 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.BooleanTest.verify()
85.2027 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.BooleanTest.verify() finished in 0 ms
85.2028 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric")
85.2029 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test3(java.lang.String)(value(s): "Cedric") finished in 0 ms
85.2030 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric")
85.2031 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test2(java.lang.String)(value(s): "Cedric") finished in 0 ms
85.2032 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric")
85.2033 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Cedric") finished in 0 ms
85.2034 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois")
85.2035 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.test1(java.lang.String)(value(s): "Alois") finished in 0 ms
85.2036 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods()
85.2037 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.MethodTest.multipleTestMethods() finished in 0 ms
85.2038 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric")
85.2039 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.StaticDataProviderSampleTest.verifyStatic(java.lang.String)(value(s): "Cedric") finished in 1 ms
85.2040 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true)
85.2041 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): true) finished in 0 ms
85.2042 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false)
85.2043 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.doStuff(boolean)(value(s): false) finished in 0 ms
85.2044 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify()
85.2045 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.UnnamedDataProviderTest.verify() finished in 0 ms
85.2046 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifySix()
85.2047 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyTen()
85.2048 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.TestContextTest.verifyFive()
85.2049 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyTen() finished in 9 ms
85.2050 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifyFive() finished in 10 ms
85.2051 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestNG411Test.verify() finished in 22 ms
85.2052 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@1753d79c)
85.2053 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.VarArgsDataProviderTest.testWithTwoEntriesInTestToolWindow([Ljava.lang.String;)(value(s): [Ljava.lang.String;@1753d79c) finished in 0 ms
85.2054 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.TestContextTest.verifySix() finished in 21 ms
85.2055 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider()
85.2056 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders()
85.2057 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.duplicateDataProviders() finished in 2 ms
85.2058 -[VerboseTestNG] TESTNG-447: Abort when two data providers have the same name
85.2059 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.FailingDataProviderTest.failingDataProvider() finished in 2 ms
85.2060 -[VerboseTestNG] TESTNG-142: Exceptions in DataProvider are not reported as failed test
85.2061 -[VerboseTestNG] INVOKING: "DataProvider" - test.dataprovider.DataProviderAsTest.f()
85.2062 -[VerboseTestNG] PASSED: "DataProvider" - test.dataprovider.DataProviderAsTest.f() finished in 0 ms
85.2063 -[VerboseTestNG]
85.2064 -[VerboseTestNG] ===============================================
85.2065 -[VerboseTestNG] DataProvider
85.2066 -[VerboseTestNG] Tests run: 418, Failures: 82, Skips: 0
85.2067 -[VerboseTestNG] ===============================================
85.2068 -[VerboseTestNG] RUNNING: Suite: "DP" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2069 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException()
85.2070 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "Cedric", 36)
85.2071 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "Cedric", 36) finished in 0 ms
85.2072 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "Anne", 37)
85.2073 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "Anne", 37) finished in 0 ms
85.2074 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "A", 36)
85.2075 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "A", 36) finished in 0 ms
85.2076 -[VerboseTestNG] INVOKING: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "B", 37)
85.2077 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.verifyData1(org.testng.ITestContext, java.lang.String, java.lang.Integer)(value(s): org.testng.TestRunner@65b1fd9c, "B", 37) finished in 0 ms
85.2078 -[VerboseTestNG] PASSED: "DP" - test.dataprovider.ParallelDataProviderTest.shouldNotThrowConcurrentModificationException() finished in 2063 ms
85.2079 -[VerboseTestNG]
85.2080 -[VerboseTestNG] ===============================================
85.2081 -[VerboseTestNG] DP
85.2082 -[VerboseTestNG] Tests run: 423, Failures: 82, Skips: 0
85.2083 -[VerboseTestNG] ===============================================
85.2084 -[VerboseTestNG] RUNNING: Suite: "bug111" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2085 -[VerboseTestNG] INVOKING: "bug111" - test.test111.Test1.test()
85.2086 -[VerboseTestNG] INVOKING: "bug111" - test.test111.AbstractTest.testAbstract()
85.2087 -[VerboseTestNG] PASSED: "bug111" - test.test111.Test1.test() finished in 0 ms
85.2088 -[VerboseTestNG] PASSED: "bug111" - test.test111.AbstractTest.testAbstract() finished in 1 ms
85.2089 -[VerboseTestNG] INVOKING CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass()
85.2090 -[VerboseTestNG] PASSED CONFIGURATION: "bug111" - @AfterClass test.test111.AbstractTest.afterClass() finished in 1 ms
85.2091 -[VerboseTestNG]
85.2092 -[VerboseTestNG] ===============================================
85.2093 -[VerboseTestNG] bug111
85.2094 -[VerboseTestNG] Tests run: 425, Failures: 82, Skips: 0
85.2095 -[VerboseTestNG] ===============================================
85.2096 -[VerboseTestNG] RUNNING: Suite: "UniqueSuite" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2097 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore1.verify()
85.2098 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore1.verify() finished in 1 ms
85.2099 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestBefore2.verify()
85.2100 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestBefore2.verify() finished in 1 ms
85.2101 -[VerboseTestNG] INVOKING: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter()
85.2102 -[VerboseTestNG] PASSED: "UniqueSuite" - test.uniquesuite.TestAfter.testAfter() finished in 25 ms
85.2103 -[VerboseTestNG] INVOKING CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest()
85.2104 -[VerboseTestNG] PASSED CONFIGURATION: "UniqueSuite" - @AfterTest test.uniquesuite.TestAfter.afterTest() finished in 1 ms
85.2105 -[VerboseTestNG]
85.2106 -[VerboseTestNG] ===============================================
85.2107 -[VerboseTestNG] UniqueSuite
85.2108 -[VerboseTestNG] Tests run: 428, Failures: 82, Skips: 0
85.2109 -[VerboseTestNG] ===============================================
85.2110 -[VerboseTestNG] RUNNING: Suite: "InheritGroups" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2111 -[VerboseTestNG] INVOKING CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp()
85.2112 -[VerboseTestNG] PASSED CONFIGURATION: "InheritGroups" - @BeforeMethod test.configuration.ConfigurationInheritGroupsSampleTest.setUp() finished in 0 ms
85.2113 -[VerboseTestNG] INVOKING: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1()
85.2114 -[VerboseTestNG] PASSED: "InheritGroups" - test.configuration.ConfigurationInheritGroupsSampleTest.test1() finished in 0 ms
85.2115 -[VerboseTestNG]
85.2116 -[VerboseTestNG] ===============================================
85.2117 -[VerboseTestNG] InheritGroups
85.2118 -[VerboseTestNG] Tests run: 429, Failures: 82, Skips: 0
85.2119 -[VerboseTestNG] ===============================================
85.2120 -[VerboseTestNG] RUNNING: Suite: "Nested" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2121 -[VerboseTestNG] INVOKING: "Nested" - test.nested.GarfTest.testGarf()
85.2122 -[VerboseTestNG] PASSED: "Nested" - test.nested.GarfTest.testGarf() finished in 0 ms
85.2123 -[VerboseTestNG]
85.2124 -[VerboseTestNG] ===============================================
85.2125 -[VerboseTestNG] Nested
85.2126 -[VerboseTestNG] Tests run: 430, Failures: 82, Skips: 0
85.2127 -[VerboseTestNG] ===============================================
85.2128 -[VerboseTestNG] RUNNING: Suite: "Hookable" containing "6" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2129 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2130 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2131 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.2132 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2133 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2134 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2135 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2136 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2137 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2138 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2139 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2140 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2141 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2142 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2143 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2144 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp()
85.2145 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2146 -[VerboseTestNG] INVOKING CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm()
85.2147 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 3 ms
85.2148 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccess()
85.2149 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 6 ms
85.2150 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 3 ms
85.2151 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccess()
85.2152 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 3 ms
85.2153 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookSuccessWithListener()
85.2154 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.configurableSuccess() finished in 5 ms
85.2155 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 3 ms
85.2156 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener()
85.2157 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.configurableFailure()
85.2158 -[VerboseTestNG] PASSED CONFIGURATION: "Hookable" - @BeforeMethod test.hook.HookableTest.bm() finished in 4 ms
85.2159 -[VerboseTestNG] INVOKING: "Hookable" - test.hook.HookableTest.hookFailure()
85.2160 -[VerboseTestNG] FAILED: "Hookable" - test.hook.HookableTest.hookSuccess() finished in 6 ms
85.2161 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.2162 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2163 -[VerboseTestNG] at test.hook.HookableTest.hookSuccess(HookableTest.java:42)
85.2164 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2165 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2166 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2167 -[VerboseTestNG] FAILED: "Hookable" - test.hook.HookableTest.hookSuccessWithListener() finished in 13 ms
85.2168 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<2>
85.2169 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2170 -[VerboseTestNG] at test.hook.HookableTest.hookSuccessWithListener(HookableTest.java:53)
85.2171 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2172 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2173 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2174 -[VerboseTestNG] PASSED: "Hookable" - test.hook.HookableTest.hookFailure() finished in 12 ms
85.2175 -[VerboseTestNG] FAILED: "Hookable" - test.hook.HookableTest.configurableSuccessWithListener() finished in 13 ms
85.2176 -[VerboseTestNG] java.lang.AssertionError: expected:<4> but was:<8>
85.2177 -[VerboseTestNG] at test.hook.HookableTest.configurableSuccessWithListener(HookableTest.java:87)
85.2178 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2179 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2180 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2181 -[VerboseTestNG] FAILED: "Hookable" - test.hook.HookableTest.configurableFailure() finished in 24 ms
85.2182 -[VerboseTestNG] java.lang.AssertionError: expected:<4> but was:<28>
85.2183 -[VerboseTestNG] at test.hook.HookableTest.configurableFailure(HookableTest.java:100)
85.2184 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2185 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2186 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2187 -[VerboseTestNG]
85.2188 -[VerboseTestNG] ===============================================
85.2189 -[VerboseTestNG] Hookable
85.2190 -[VerboseTestNG] Tests run: 436, Failures: 86, Skips: 0
85.2191 -[VerboseTestNG] ===============================================
85.2192 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-1" containing "24" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2193 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1()
85.2194 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups1SampleTest.before1() finished in 0 ms
85.2195 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1()
85.2196 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa()
85.2197 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.f1() finished in 0 ms
85.2198 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.fa() finished in 0 ms
85.2199 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa()
85.2200 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.fa() finished in 0 ms
85.2201 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1()
85.2202 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups2SampleTest.before1() finished in 0 ms
85.2203 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1()
85.2204 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.f1() finished in 0 ms
85.2205 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f()
85.2206 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1()
85.2207 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run()
85.2208 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.Base3.anotherBefore1() finished in 0 ms
85.2209 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.run() finished in 0 ms
85.2210 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1()
85.2211 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups3SampleTest.before1() finished in 0 ms
85.2212 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1()
85.2213 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.f1() finished in 1 ms
85.2214 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f()
85.2215 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.f() finished in 0 ms
85.2216 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA()
85.2217 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @BeforeGroups test.configuration.ConfigurationGroups7SampleTest.initA() finished in 0 ms
85.2218 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething()
85.2219 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomething() finished in 0 ms
85.2220 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa()
85.2221 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore()
85.2222 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2()
85.2223 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.fa() finished in 3 ms
85.2224 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.testSomethingMore() finished in 0 ms
85.2225 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run2() finished in 2 ms
85.2226 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA()
85.2227 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.f() finished in 3 ms
85.2228 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups7SampleTest.cleanUpA() finished in 1 ms
85.2229 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify()
85.2230 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify()
85.2231 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups1SampleTest.verify() finished in 0 ms
85.2232 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups3SampleTest.verify() finished in 0 ms
85.2233 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1()
85.2234 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.g1() finished in 0 ms
85.2235 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1()
85.2236 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.run1() finished in 0 ms
85.2237 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after()
85.2238 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups6SampleTest.after() finished in 0 ms
85.2239 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1()
85.2240 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups4SampleTest.after1() finished in 0 ms
85.2241 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify()
85.2242 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups6SampleTest.verify() finished in 0 ms
85.2243 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify()
85.2244 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1()
85.2245 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run1() finished in 0 ms
85.2246 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
85.2247 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
85.2248 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify()
85.2249 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups4SampleTest.verify() finished in 1 ms
85.2250 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups2SampleTest.verify() finished in 0 ms
85.2251 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify()
85.2252 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f()
85.2253 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2()
85.2254 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.f() finished in 0 ms
85.2255 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups7SampleTest.verify() finished in 0 ms
85.2256 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.run2() finished in 0 ms
85.2257 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after()
85.2258 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-1" - @AfterGroups test.configuration.ConfigurationGroups5SampleTest.after() finished in 0 ms
85.2259 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify()
85.2260 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-1" - test.configuration.ConfigurationGroups5SampleTest.verify() finished in 0 ms
85.2261 -[VerboseTestNG]
85.2262 -[VerboseTestNG] ===============================================
85.2263 -[VerboseTestNG] BeforeGroups-AfterGroups-1
85.2264 -[VerboseTestNG] Tests run: 460, Failures: 86, Skips: 0
85.2265 -[VerboseTestNG] ===============================================
85.2266 -[VerboseTestNG] RUNNING: Suite: "BeforeGroups-AfterGroups-2" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2267 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething()
85.2268 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore()
85.2269 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomething() finished in 0 ms
85.2270 -[VerboseTestNG] PASSED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.testSomethingMore() finished in 0 ms
85.2271 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
85.2272 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
85.2273 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
85.2274 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
85.2275 -[VerboseTestNG] INVOKING: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify()
85.2276 -[VerboseTestNG] FAILED: "BeforeGroups-AfterGroups-2" - test.configuration.ConfigurationGroups8SampleTest.verify() finished in 0 ms
85.2277 -[VerboseTestNG] java.lang.AssertionError: Lists differ at element [1]: 1 != a expected:<1> but was:<a>
85.2278 -[VerboseTestNG] at test.configuration.ConfigurationGroups8SampleTest.verify(ConfigurationGroups8SampleTest.java:49)
85.2279 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2280 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2281 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2282 -[VerboseTestNG] INVOKING CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA()
85.2283 -[VerboseTestNG] PASSED CONFIGURATION: "BeforeGroups-AfterGroups-2" - @AfterMethod test.configuration.ConfigurationGroups8SampleTest.cleanUpA() finished in 0 ms
85.2284 -[VerboseTestNG]
85.2285 -[VerboseTestNG] ===============================================
85.2286 -[VerboseTestNG] BeforeGroups-AfterGroups-2
85.2287 -[VerboseTestNG] Tests run: 463, Failures: 87, Skips: 0
85.2288 -[VerboseTestNG] ===============================================
85.2289 -[VerboseTestNG] RUNNING: Suite: "JUnit" containing "12" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2290 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2291 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2292 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2293 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2294 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2295 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2296 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2297 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2298 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
85.2299 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
85.2300 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2301 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsThatStartWithTest()
85.2302 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.methodsWithSetup()
85.2303 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
85.2304 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked()
85.2305 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2306 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2307 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2308 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
85.2309 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped()
85.2310 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2311 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 1 ms
85.2312 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.setNameShouldBeInvoked() finished in 3 ms
85.2313 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<3>
85.2314 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2315 -[VerboseTestNG] at test.JUnitTest1.setNameShouldBeInvoked(JUnitTest1.java:112)
85.2316 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2317 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2318 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2319 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp()
85.2320 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.BaseTest.methodSetUp() finished in 0 ms
85.2321 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2322 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.methodsWithSetup() finished in 3 ms
85.2323 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<1> but was:<3>
85.2324 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2325 -[VerboseTestNG] at test.JUnitTest1.methodsWithSetup(JUnitTest1.java:50)
85.2326 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2327 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2328 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2329 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 0 ms
85.2330 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testSuite()
85.2331 -[VerboseTestNG] INVOKING CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag()
85.2332 -[VerboseTestNG] PASSED CONFIGURATION: "JUnit" - @BeforeMethod test.JUnitTest1.initJUnitFlag() finished in 2 ms
85.2333 -[VerboseTestNG] INVOKING: "JUnit" - test.JUnitTest1.testNewInstance()
85.2334 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.methodsThatStartWithTest() finished in 4 ms
85.2335 -[VerboseTestNG] java.util.ConcurrentModificationException
85.2336 -[VerboseTestNG] at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
85.2337 -[VerboseTestNG] at java.util.AbstractList$Itr.next(AbstractList.java:343)
85.2338 -[VerboseTestNG] at test.BaseTest.run(BaseTest.java:191)
85.2339 -[VerboseTestNG] at test.JUnitTest1.methodsThatStartWithTest(JUnitTest1.java:29)
85.2340 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2341 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2342 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2343 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped() finished in 4 ms
85.2344 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<0> but was:<3>
85.2345 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2346 -[VerboseTestNG] at test.JUnitTest1.setUpFailingShouldCauseMethodsToBeSkipped(JUnitTest1.java:95)
85.2347 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2348 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2349 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2350 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.testNewInstance() finished in 2 ms
85.2351 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<4>
85.2352 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2353 -[VerboseTestNG] at test.JUnitTest1.testNewInstance(JUnitTest1.java:79)
85.2354 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2355 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2356 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2357 -[VerboseTestNG] FAILED: "JUnit" - test.JUnitTest1.testSuite() finished in 2 ms
85.2358 -[VerboseTestNG] java.lang.AssertionError: Verification for Passed tests failed: expected:<2> but was:<4>
85.2359 -[VerboseTestNG] at test.BaseDistributedTest.verifyTests(BaseDistributedTest.java:18)
85.2360 -[VerboseTestNG] at test.JUnitTest1.testSuite(JUnitTest1.java:65)
85.2361 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2362 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2363 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2364 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing2()
85.2365 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.junitParsing()
85.2366 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testNameOverride()
85.2367 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument()
85.2368 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.suiteNameOverride()
85.2369 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testNameOverride() finished in 20 ms
85.2370 -[VerboseTestNG] INVOKING: "JUnit" - test.CommandLineTest.testMethodParameter()
85.2371 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing() finished in 20 ms
85.2372 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.suiteNameOverride() finished in 23 ms
85.2373 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.junitParsing2() finished in 47 ms
85.2374 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testUseDefaultListenersArgument() finished in 51 ms
85.2375 -[VerboseTestNG] PASSED: "JUnit" - test.CommandLineTest.testMethodParameter() finished in 30 ms
85.2376 -[VerboseTestNG]
85.2377 -[VerboseTestNG] ===============================================
85.2378 -[VerboseTestNG] JUnit
85.2379 -[VerboseTestNG] Tests run: 475, Failures: 93, Skips: 0
85.2380 -[VerboseTestNG] ===============================================
85.2381 -[VerboseTestNG] RUNNING: Suite: "Ant-ClassFileResolution" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2382 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution()
85.2383 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution()
85.2384 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testPathResolution() finished in 0 ms
85.2385 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testDOSPathResolution() finished in 0 ms
85.2386 -[VerboseTestNG] INVOKING: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution()
85.2387 -[VerboseTestNG] PASSED: "Ant-ClassFileResolution" - test.ant.TestCommandLineArgs.testUnixPathResolution() finished in 0 ms
85.2388 -[VerboseTestNG]
85.2389 -[VerboseTestNG] ===============================================
85.2390 -[VerboseTestNG] Ant-ClassFileResolution
85.2391 -[VerboseTestNG] Tests run: 478, Failures: 93, Skips: 0
85.2392 -[VerboseTestNG] ===============================================
85.2393 -[VerboseTestNG] RUNNING: Suite: "Class Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2394 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
85.2395 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 1 ms
85.2396 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.A.testA()
85.2397 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.A.testA() finished in 0 ms
85.2398 -[VerboseTestNG] INVOKING: "Class Run" - test.regression.groupsordering.B.testB()
85.2399 -[VerboseTestNG] PASSED: "Class Run" - test.regression.groupsordering.B.testB() finished in 0 ms
85.2400 -[VerboseTestNG] INVOKING CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
85.2401 -[VerboseTestNG] PASSED CONFIGURATION: "Class Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
85.2402 -[VerboseTestNG]
85.2403 -[VerboseTestNG] ===============================================
85.2404 -[VerboseTestNG] Class Run
85.2405 -[VerboseTestNG] Tests run: 480, Failures: 93, Skips: 0
85.2406 -[VerboseTestNG] ===============================================
85.2407 -[VerboseTestNG] RUNNING: Suite: "Groups Run" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2408 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp()
85.2409 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @BeforeGroups test.regression.groupsordering.Base.setUp() finished in 0 ms
85.2410 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.A.testA()
85.2411 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.A.testA() finished in 0 ms
85.2412 -[VerboseTestNG] INVOKING: "Groups Run" - test.regression.groupsordering.B.testB()
85.2413 -[VerboseTestNG] PASSED: "Groups Run" - test.regression.groupsordering.B.testB() finished in 0 ms
85.2414 -[VerboseTestNG] INVOKING CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown()
85.2415 -[VerboseTestNG] PASSED CONFIGURATION: "Groups Run" - @AfterGroups test.regression.groupsordering.Base.tearDown() finished in 0 ms
85.2416 -[VerboseTestNG]
85.2417 -[VerboseTestNG] ===============================================
85.2418 -[VerboseTestNG] Groups Run
85.2419 -[VerboseTestNG] Tests run: 482, Failures: 93, Skips: 0
85.2420 -[VerboseTestNG] ===============================================
85.2421 -[VerboseTestNG] RUNNING: Suite: "External group invocation" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2422 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups()
85.2423 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @BeforeGroups test.groupinvocation.GroupConfiguration.beforeGroups() finished in 0 ms
85.2424 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testA()
85.2425 -[VerboseTestNG] INVOKING: "External group invocation" - test.groupinvocation.DummyTest.testAB()
85.2426 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testA() finished in 0 ms
85.2427 -[VerboseTestNG] PASSED: "External group invocation" - test.groupinvocation.DummyTest.testAB() finished in 0 ms
85.2428 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups()
85.2429 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterGroups test.groupinvocation.GroupConfiguration.afterGroups() finished in 0 ms
85.2430 -[VerboseTestNG] INVOKING CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations()
85.2431 -[VerboseTestNG] PASSED CONFIGURATION: "External group invocation" - @AfterClass test.groupinvocation.DummyTest.checkInvocations() finished in 0 ms
85.2432 -[VerboseTestNG]
85.2433 -[VerboseTestNG] ===============================================
85.2434 -[VerboseTestNG] External group invocation
85.2435 -[VerboseTestNG] Tests run: 484, Failures: 93, Skips: 0
85.2436 -[VerboseTestNG] ===============================================
85.2437 -[VerboseTestNG] RUNNING: Suite: "SkipExceptions" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2438 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods()
85.2439 -[VerboseTestNG] INVOKING: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods()
85.2440 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInConfigurationMethods() finished in 3 ms
85.2441 -[VerboseTestNG] PASSED: "SkipExceptions" - test.skipex.SkippedExceptionTest.skippedExceptionInTestMethods() finished in 4 ms
85.2442 -[VerboseTestNG]
85.2443 -[VerboseTestNG] ===============================================
85.2444 -[VerboseTestNG] SkipExceptions
85.2445 -[VerboseTestNG] Tests run: 486, Failures: 93, Skips: 0
85.2446 -[VerboseTestNG] ===============================================
85.2447 -[VerboseTestNG] RUNNING: Suite: "MethodInterceptor" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2448 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst()
85.2449 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst()
85.2450 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml()
85.2451 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldRunFirst() finished in 8 ms
85.2452 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods()
85.2453 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.fastShouldNotRunFirst() finished in 9 ms
85.2454 -[VerboseTestNG] INVOKING: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun()
85.2455 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.nullMethodInterceptorWorksInTestngXml() finished in 18 ms
85.2456 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.noMethodsShouldRun() finished in 2 ms
85.2457 -[VerboseTestNG] PASSED: "MethodInterceptor" - test.methodinterceptors.MethodInterceptorTest.shouldNotLockUpWithInterceptorThatRemovesMethods() finished in 22 ms
85.2458 -[VerboseTestNG]
85.2459 -[VerboseTestNG] ===============================================
85.2460 -[VerboseTestNG] MethodInterceptor
85.2461 -[VerboseTestNG] Tests run: 491, Failures: 93, Skips: 0
85.2462 -[VerboseTestNG] ===============================================
85.2463 -[VerboseTestNG] RUNNING: Suite: "Asserts" containing "18" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2464 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail()
85.2465 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.assertEqualsMapShouldFail() finished in 1 ms
85.2466 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.mapAssertEquals()
85.2467 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals()
85.2468 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullCollectionAssertEquals() finished in 0 ms
85.2469 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.mapAssertEquals() finished in 0 ms
85.2470 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullMapAssertEquals()
85.2471 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullMapAssertEquals() finished in 0 ms
85.2472 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals()
85.2473 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertEquals() finished in 0 ms
85.2474 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder()
85.2475 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullObjectArrayAssertNoOrder() finished in 0 ms
85.2476 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals()
85.2477 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullMapAssertEquals() finished in 0 ms
85.2478 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.nullSetAssertEquals()
85.2479 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals()
85.2480 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.nullSetAssertEquals() finished in 1 ms
85.2481 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.oneNullSetAssertEquals() finished in 0 ms
85.2482 -[VerboseTestNG] INVOKING: "Asserts" - org.testng.AssertTest.setAssertEquals()
85.2483 -[VerboseTestNG] PASSED: "Asserts" - org.testng.AssertTest.setAssertEquals() finished in 0 ms
85.2484 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_3()
85.2485 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.intArray_Issue4()
85.2486 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays()
85.2487 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.intArray_Issue4() finished in 1 ms
85.2488 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.int_Integer_Arrays() finished in 0 ms
85.2489 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderSuccess()
85.2490 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderSuccess() finished in 0 ms
85.2491 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.setsSuccess()
85.2492 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.setsSuccess() finished in 0 ms
85.2493 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_2()
85.2494 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.noOrderFailure()
85.2495 -[VerboseTestNG] INVOKING: "Asserts" - test.asserttests.AssertTest.arraysFailures_1()
85.2496 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_3() finished in 1 ms
85.2497 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_2() finished in 1 ms
85.2498 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.noOrderFailure() finished in 0 ms
85.2499 -[VerboseTestNG] PASSED: "Asserts" - test.asserttests.AssertTest.arraysFailures_1() finished in 0 ms
85.2500 -[VerboseTestNG]
85.2501 -[VerboseTestNG] ===============================================
85.2502 -[VerboseTestNG] Asserts
85.2503 -[VerboseTestNG] Tests run: 509, Failures: 93, Skips: 0
85.2504 -[VerboseTestNG] ===============================================
85.2505 -[VerboseTestNG] RUNNING: Suite: "Utils" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2506 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin()
85.2507 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoin() finished in 0 ms
85.2508 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings()
85.2509 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.createEmptyStringWhenJoiningEmptyListWithJoinStrings() finished in 0 ms
85.2510 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.escapeUnicode()
85.2511 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.escapeUnicode() finished in 2 ms
85.2512 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin()
85.2513 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoin() finished in 0 ms
85.2514 -[VerboseTestNG] INVOKING: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings()
85.2515 -[VerboseTestNG] PASSED: "Utils" - org.testng.internal.UtilsTest.joinTwoStringsWithJoinStrings() finished in 0 ms
85.2516 -[VerboseTestNG]
85.2517 -[VerboseTestNG] ===============================================
85.2518 -[VerboseTestNG] Utils
85.2519 -[VerboseTestNG] Tests run: 514, Failures: 93, Skips: 0
85.2520 -[VerboseTestNG] ===============================================
85.2521 -[VerboseTestNG] RUNNING: Suite: "ConfigFailurePolicy" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2522 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip()
85.2523 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue()
85.2524 -[VerboseTestNG] FAILED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue() finished in 3 ms
85.2525 -[VerboseTestNG] java.lang.AssertionError: wrong number of configuration failures expected:<2> but was:<0>
85.2526 -[VerboseTestNG] at test.configurationfailurepolicy.FailurePolicyTest.verify(FailurePolicyTest.java:98)
85.2527 -[VerboseTestNG] at test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsContinue(FailurePolicyTest.java:94)
85.2528 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2529 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2530 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2531 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue()
85.2532 -[VerboseTestNG] FAILED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip() finished in 6 ms
85.2533 -[VerboseTestNG] java.lang.AssertionError: wrong number of configuration failures expected:<1> but was:<0>
85.2534 -[VerboseTestNG] at test.configurationfailurepolicy.FailurePolicyTest.verify(FailurePolicyTest.java:98)
85.2535 -[VerboseTestNG] at test.configurationfailurepolicy.FailurePolicyTest.commandLineTestWithXMLFile_policyAsSkip(FailurePolicyTest.java:84)
85.2536 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2537 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2538 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2539 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip()
85.2540 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@6688cf9e, 1, 1, 1)
85.2541 -[TestNG] [ERROR] org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
85.2542 -[TestNG] [ERROR] java.lang.NullPointerException
85.2543 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@6688cf9e, 1, 1, 1) finished in 18 ms
85.2544 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@31028a, 2, 0, 2)
85.2545 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsContinue() finished in 30 ms
85.2546 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@31028a, 2, 0, 2) finished in 15 ms
85.2547 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@5e8b957, 2, 2, 2)
85.2548 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.commandLineTest_policyAsSkip() finished in 45 ms
85.2549 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@5e8b957, 2, 2, 2) finished in 16 ms
85.2550 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@670bb83e, 1, 1, 1)
85.2551 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@670bb83e, 1, 1, 1) finished in 12 ms
85.2552 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@50a969e4, 1, 2, 2)
85.2553 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@50a969e4, 1, 2, 2) finished in 14 ms
85.2554 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@60813aca, 2, 3, 3)
85.2555 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@60813aca, 2, 3, 3) finished in 20 ms
85.2556 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@456e3eb3, 0, 1, 1)
85.2557 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@456e3eb3, 0, 1, 1) finished in 13 ms
85.2558 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@28ce2c57, 2, 0, 2)
85.2559 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@28ce2c57, 2, 0, 2) finished in 20 ms
85.2560 -[VerboseTestNG] INVOKING: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@34e6529c, 2, 2, 2)
85.2561 -[VerboseTestNG] PASSED: "ConfigFailurePolicy" - test.configurationfailurepolicy.FailurePolicyTest.confFailureTest([Ljava.lang.Class;, int, int, int)(value(s): [Ljava.lang.Class;@34e6529c, 2, 2, 2) finished in 18 ms
85.2562 -[VerboseTestNG]
85.2563 -[VerboseTestNG] ===============================================
85.2564 -[VerboseTestNG] ConfigFailurePolicy
85.2565 -[VerboseTestNG] Tests run: 527, Failures: 95, Skips: 0
85.2566 -[VerboseTestNG] ===============================================
85.2567 -[VerboseTestNG] RUNNING: Suite: "Nested2" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2568 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest()
85.2569 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithInheritedTest.nestedWithInheritedTest() finished in 0 ms
85.2570 -[VerboseTestNG] INVOKING: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA()
85.2571 -[VerboseTestNG] PASSED: "Nested2" - test.nested2.TmpA$NestedAWithTest.nestedA() finished in 0 ms
85.2572 -[VerboseTestNG]
85.2573 -[VerboseTestNG] ===============================================
85.2574 -[VerboseTestNG] Nested2
85.2575 -[VerboseTestNG] Tests run: 529, Failures: 95, Skips: 0
85.2576 -[VerboseTestNG] ===============================================
85.2577 -[VerboseTestNG] RUNNING: Suite: "Guice" containing "3" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2578 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceTest.guiceTest()
85.2579 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceTest.guiceTest() finished in 13 ms
85.2580 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork()
85.2581 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceInheritanceTest.singletonShouldWork() finished in 0 ms
85.2582 -[VerboseTestNG] INVOKING: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork()
85.2583 -[VerboseTestNG] PASSED: "Guice" - test.guice.GuiceModuleFactoryTest.singletonShouldWork() finished in 0 ms
85.2584 -[VerboseTestNG]
85.2585 -[VerboseTestNG] ===============================================
85.2586 -[VerboseTestNG] Guice
85.2587 -[VerboseTestNG] Tests run: 532, Failures: 95, Skips: 0
85.2588 -[VerboseTestNG] ===============================================
85.2589 -[VerboseTestNG] RUNNING: Suite: "Listener invokers" containing "2" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2590 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance()
85.2591 -[VerboseTestNG] INVOKING: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance()
85.2592 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingExtendedListenerInstance() finished in 0 ms
85.2593 -[VerboseTestNG] PASSED: "Listener invokers" - org.testng.internal.invokers.InvokedMethodListenerSubtypeTest.testFromListenerUsingSimpleListenerInstance() finished in 0 ms
85.2594 -[VerboseTestNG]
85.2595 -[VerboseTestNG] ===============================================
85.2596 -[VerboseTestNG] Listener invokers
85.2597 -[VerboseTestNG] Tests run: 534, Failures: 95, Skips: 0
85.2598 -[VerboseTestNG] ===============================================
85.2599 -[VerboseTestNG] RUNNING: Suite: "YAML" containing "1" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2600 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1")
85.2601 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a1") finished in 81 ms
85.2602 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2")
85.2603 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a2") finished in 16 ms
85.2604 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3")
85.2605 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a3") finished in 15 ms
85.2606 -[VerboseTestNG] INVOKING: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4")
85.2607 -[VerboseTestNG] PASSED: "YAML" - test.yaml.YamlTest.compareFiles(java.lang.String)(value(s): "a4") finished in 6 ms
85.2608 -[VerboseTestNG]
85.2609 -[VerboseTestNG] ===============================================
85.2610 -[VerboseTestNG] YAML
85.2611 -[VerboseTestNG] Tests run: 538, Failures: 95, Skips: 0
85.2612 -[VerboseTestNG] ===============================================
85.2613 -[VerboseTestNG] RUNNING: Suite: "Sanity Check" containing "5" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2614 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError()
85.2615 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites()
85.2616 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites()
85.2617 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites()
85.2618 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithChildSuites() finished in 0 ms
85.2619 -[VerboseTestNG] INVOKING: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites()
85.2620 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkWithoutChildSuites() finished in 1 ms
85.2621 -[VerboseTestNG] FAILED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites() finished in 18 ms
85.2622 -[VerboseTestNG] org.testng.TestNGException: org.xml.sax.SAXParseException: The ' = ' character must follow "ersion=" in the XML declaration.
85.2623 -[VerboseTestNG] at test.sanitycheck.CheckTestNamesTest.checkNoErrorWtihChildSuites(CheckTestNamesTest.java:76)
85.2624 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2625 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2626 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2627 -[VerboseTestNG] Caused by: org.xml.sax.SAXParseException: The ' = ' character must follow "ersion=" in the XML declaration.
85.2628 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
85.2629 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
85.2630 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
85.2631 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
85.2632 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:601)
85.2633 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:446)
85.2634 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:954)
85.2635 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:816)
85.2636 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
85.2637 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:453)
85.2638 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
85.2639 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
85.2640 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
85.2641 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
85.2642 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
85.2643 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
85.2644 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
85.2645 -[VerboseTestNG] ... 15 more
85.2646 -[VerboseTestNG] PASSED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkTestNamesForProgrammaticSuites() finished in 20 ms
85.2647 -[VerboseTestNG] FAILED: "Sanity Check" - test.sanitycheck.CheckTestNamesTest.checkNoError() finished in 20 ms
85.2648 -[VerboseTestNG] org.testng.TestNGException: org.xml.sax.SAXParseException: The ' = ' character must follow "ersion=" in the XML declaration.
85.2649 -[VerboseTestNG] at test.sanitycheck.CheckTestNamesTest.checkNoError(CheckTestNamesTest.java:62)
85.2650 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
85.2651 -[VerboseTestNG] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
85.2652 -[VerboseTestNG] at java.lang.Thread.run(Thread.java:662)
85.2653 -[VerboseTestNG] Caused by: org.xml.sax.SAXParseException: The ' = ' character must follow "ersion=" in the XML declaration.
85.2654 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
85.2655 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
85.2656 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
85.2657 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
85.2658 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanPseudoAttribute(XMLScanner.java:601)
85.2659 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanXMLDeclOrTextDecl(XMLScanner.java:446)
85.2660 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanXMLDeclOrTextDecl(XMLDocumentFragmentScannerImpl.java:954)
85.2661 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$XMLDeclDriver.next(XMLDocumentScannerImpl.java:816)
85.2662 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
85.2663 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:453)
85.2664 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
85.2665 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
85.2666 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
85.2667 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
85.2668 -[VerboseTestNG] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
85.2669 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
85.2670 -[VerboseTestNG] at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
85.2671 -[VerboseTestNG] ... 15 more
85.2672 -[VerboseTestNG]
85.2673 -[VerboseTestNG] ===============================================
85.2674 -[VerboseTestNG] Sanity Check
85.2675 -[VerboseTestNG] Tests run: 543, Failures: 97, Skips: 0
85.2676 -[VerboseTestNG] ===============================================
85.2677 -[VerboseTestNG] RUNNING: Suite: "Configuration" containing "17" Tests (config: /space/sources/tng_fork/src/test/resources/testng.xml)
85.2678 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest()
85.2679 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.ExternalConfigurationClass.beforeTest() finished in 0 ms
85.2680 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt()
85.2681 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeTest test.configuration.SingleConfigurationTest.bt() finished in 0 ms
85.2682 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation()
85.2683 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
85.2684 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
85.2685 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups()
85.2686 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
85.2687 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
85.2688 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups()
85.2689 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp()
85.2690 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.GroupsTest.setUp() finished in 0 ms
85.2691 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups()
85.2692 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
85.2693 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 0 ms
85.2694 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BaseGroupsTest.verifySingleInvocation() finished in 16 ms
85.2695 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SingleConfigurationTest.verify()
85.2696 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SingleConfigurationTest.verify() finished in 0 ms
85.2697 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel()
85.2698 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyParametersAfterGroups() finished in 28 ms
85.2699 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyBothAfterGroups() finished in 39 ms
85.2700 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods()
85.2701 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.GroupsTest.verifyDataProviderAfterGroups() finished in 30 ms
85.2702 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass()
85.2703 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.MethodCallOrderTest.beforeClass() finished in 0 ms
85.2704 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod()
85.2705 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.MethodCallOrderTest.beforeMethod() finished in 1 ms
85.2706 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MethodCallOrderTest.realTest()
85.2707 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MethodCallOrderTest.realTest() finished in 0 ms
85.2708 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod()
85.2709 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.MethodCallOrderTest.afterMethod() finished in 0 ms
85.2710 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass()
85.2711 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.MethodCallOrderTest.afterClass() finished in 0 ms
85.2712 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups()
85.2713 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeGroups test.configuration.MultipleBeforeGroupTest.beforeGroups() finished in 1 ms
85.2714 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.test()
85.2715 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.test() finished in 0 ms
85.2716 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassWithDisabledTest.afterClassShouldRunEvenWithDisabledMethods() finished in 6 ms
85.2717 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify()
85.2718 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.MultipleBeforeGroupTest.verify() finished in 0 ms
85.2719 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
85.2720 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 0 ms
85.2721 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()
85.2722 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1() finished in 0 ms
85.2723 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1())
85.2724 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test1()) finished in 0 ms
85.2725 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
85.2726 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.beforeMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 0 ms
85.2727 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()
85.2728 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2() finished in 0 ms
85.2729 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2())
85.2730 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ReflectMethodParametrizedConfigurationMethodTest.afterMethod(java.lang.reflect.Method)(value(s): public void test.configuration.ReflectMethodParametrizedConfigurationMethodTest.test2()) finished in 0 ms
85.2731 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations()
85.2732 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ReflectMethodParametrizedConfigurationMethodTest.assertBeforeAfterMethodsInvocations() finished in 0 ms
85.2733 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce()
85.2734 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteFactoryOnceTest.suiteMethodsShouldOnlyRunOnce() finished in 6 ms
85.2735 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.SuiteTest.test1()
85.2736 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.SuiteTest.test1() finished in 0 ms
85.2737 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeClassThreadTest.beforeClassMethodsShouldRunInParallel() finished in 2023 ms
85.2738 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering()
85.2739 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.BeforeTestOrderingTest.verifyBeforeTestOrdering() finished in 21 ms
85.2740 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass()
85.2741 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeClass test.configuration.ConfigurationTest.beforeClass() finished in 0 ms
85.2742 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod()
85.2743 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @BeforeMethod test.configuration.ConfigurationTest.beforeMethod() finished in 0 ms
85.2744 -[VerboseTestNG] INVOKING: "Configuration" - test.configuration.ConfigurationTest.verify()
85.2745 -[VerboseTestNG] PASSED: "Configuration" - test.configuration.ConfigurationTest.verify() finished in 0 ms
85.2746 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod()
85.2747 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterMethod test.configuration.ConfigurationTest.afterMethod() finished in 0 ms
85.2748 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass()
85.2749 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterClass test.configuration.ConfigurationTest.afterClass() finished in 1 ms
85.2750 -[VerboseTestNG] INVOKING CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest()
85.2751 -[VerboseTestNG] PASSED CONFIGURATION: "Configuration" - @AfterTest test.configuration.ExternalConfigurationClass.afterTest() finished in 0 ms
85.2752 -[VerboseTestNG]
85.2753 -[VerboseTestNG] ===============================================
85.2754 -[VerboseTestNG] Configuration
85.2755 -[VerboseTestNG] Tests run: 560, Failures: 97, Skips: 0
85.2756 -[VerboseTestNG] ===============================================
85.2757 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite()
85.2758 -[VerboseTestNG] PASSED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.FactoryTest.afterSuite() finished in 0 ms
85.2759 -[VerboseTestNG] INVOKING CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite()
85.2760 -[VerboseTestNG] FAILED CONFIGURATION: "UNKNOWN" - @AfterSuite test.factory.Sample2.afterSuite() finished in 0 ms
85.2761 -[VerboseTestNG] java.lang.AssertionError: Lists differ at element [1]: testInputImages != setUp expected:<testInputImages> but was:<setUp>
85.2762 -[VerboseTestNG] at test.factory.Sample2.afterSuite(Sample2.java:66)
85.2763 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.uniquesuite.BaseBefore.incrementAfter() finished in 0 ms
85.2764 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ConfigurationTest.afterSuite() finished in 0 ms
85.2765 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.afterSuite() finished in 0 ms
85.2766 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.ExternalConfigurationClass.cleanUp() finished in 0 ms
85.2767 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.MethodCallOrderTest.cleanUp() finished in 0 ms
85.2768 -[VerboseTestNG] SKIPPED CONFIGURATION: "UNKNOWN" - @AfterSuite test.configuration.VerifySuiteTest.verify() finished in 0 ms
85.2769 -
85.2770 -===============================================
85.2771 -TestNG
85.2772 -Total tests run: 560, Failures: 97, Skips: 0
85.2773 -Configuration Failures: 1, Skips: 6
85.2774 -===============================================
85.2775 -
85.2776 -The tests failed.
85.2777 -
85.2778 -reports:
86.1 --- a/testng/test/unit/data/projects/tngTestProject/build.xml Sat Mar 10 02:54:06 2012 +0100
86.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
86.3 @@ -1,45 +0,0 @@
86.4 -<!--
86.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
86.6 -
86.7 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
86.8 -
86.9 -
86.10 -The contents of this file are subject to the terms of either the GNU
86.11 -General Public License Version 2 only ("GPL") or the Common
86.12 -Development and Distribution License("CDDL") (collectively, the
86.13 -"License"). You may not use this file except in compliance with the
86.14 -License. You can obtain a copy of the License at
86.15 -http://www.netbeans.org/cddl-gplv2.html
86.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
86.17 -specific language governing permissions and limitations under the
86.18 -License. When distributing the software, include this License Header
86.19 -Notice in each file and include the License file at
86.20 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
86.21 -particular file as subject to the "Classpath" exception as provided
86.22 -by Sun in the GPL Version 2 section of the License file that
86.23 -accompanied this code. If applicable, add the following below the
86.24 -License Header, with the fields enclosed by brackets [] replaced by
86.25 -your own identifying information:
86.26 -"Portions Copyrighted [year] [name of copyright owner]"
86.27 -
86.28 -Contributor(s):
86.29 -
86.30 -The Original Software is NetBeans. The Initial Developer of the Original
86.31 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
86.32 -Microsystems, Inc. All Rights Reserved.
86.33 -
86.34 -If you wish your version of this file to be governed by only the CDDL
86.35 -or only the GPL Version 2, indicate your decision by adding
86.36 -"[Contributor] elects to include this software in this distribution
86.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
86.38 -single choice of license, a recipient has the option to distribute
86.39 -your version of this file under either the CDDL, the GPL Version 2 or
86.40 -to extend the choice of license to its licensees as provided above.
86.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
86.42 -Version 2 license, then the option applies only if the new code is
86.43 -made subject to such option by the copyright holder.
86.44 --->
86.45 -<project name="tngTestProject" default="default" basedir=".">
86.46 - <description>Builds, tests, and runs the project tngTestProject.</description>
86.47 - <import file="nbproject/build-impl.xml"/>
86.48 -</project>
87.1 --- a/testng/test/unit/data/projects/tngTestProject/manifest.mf Sat Mar 10 02:54:06 2012 +0100
87.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
87.3 @@ -1,2 +0,0 @@
87.4 -Manifest-Version: 1.0
87.5 -X-COMMENT: Main-Class will be added automatically by build
88.1 --- a/testng/test/unit/data/projects/tngTestProject/nbproject/build-impl.xml Sat Mar 10 02:54:06 2012 +0100
88.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
88.3 @@ -1,1042 +0,0 @@
88.4 -<?xml version="1.0" encoding="UTF-8"?>
88.5 -<!--
88.6 -*** GENERATED FROM project.xml - DO NOT EDIT ***
88.7 -*** EDIT ../build.xml INSTEAD ***
88.8 -
88.9 -For the purpose of easier reading the script
88.10 -is divided into following sections:
88.11 -
88.12 - - initialization
88.13 - - compilation
88.14 - - jar
88.15 - - execution
88.16 - - debugging
88.17 - - javadoc
88.18 - - junit compilation
88.19 - - junit execution
88.20 - - junit debugging
88.21 - - applet
88.22 - - cleanup
88.23 -
88.24 - -->
88.25 -<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="tngTestProject-impl">
88.26 - <import file="testng-impl.xml"/>
88.27 - <fail message="Please build using Ant 1.7.1 or higher.">
88.28 - <condition>
88.29 - <not>
88.30 - <antversion atleast="1.7.1"/>
88.31 - </not>
88.32 - </condition>
88.33 - </fail>
88.34 - <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>
88.35 - <!--
88.36 - ======================
88.37 - INITIALIZATION SECTION
88.38 - ======================
88.39 - -->
88.40 - <target name="-pre-init">
88.41 - <!-- Empty placeholder for easier customization. -->
88.42 - <!-- You can override this target in the ../build.xml file. -->
88.43 - </target>
88.44 - <target depends="-pre-init" name="-init-private">
88.45 - <property file="nbproject/private/config.properties"/>
88.46 - <property file="nbproject/private/configs/${config}.properties"/>
88.47 - <property file="nbproject/private/private.properties"/>
88.48 - </target>
88.49 - <target depends="-pre-init,-init-private" name="-init-user">
88.50 - <property file="${user.properties.file}"/>
88.51 - <!-- The two properties below are usually overridden -->
88.52 - <!-- by the active platform. Just a fallback. -->
88.53 - <property name="default.javac.source" value="1.4"/>
88.54 - <property name="default.javac.target" value="1.4"/>
88.55 - </target>
88.56 - <target depends="-pre-init,-init-private,-init-user" name="-init-project">
88.57 - <property file="nbproject/configs/${config}.properties"/>
88.58 - <property file="nbproject/project.properties"/>
88.59 - </target>
88.60 - <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">
88.61 - <available file="${manifest.file}" property="manifest.available"/>
88.62 - <condition property="splashscreen.available">
88.63 - <and>
88.64 - <not>
88.65 - <equals arg1="${application.splash}" arg2="" trim="true"/>
88.66 - </not>
88.67 - <available file="${application.splash}"/>
88.68 - </and>
88.69 - </condition>
88.70 - <condition property="main.class.available">
88.71 - <and>
88.72 - <isset property="main.class"/>
88.73 - <not>
88.74 - <equals arg1="${main.class}" arg2="" trim="true"/>
88.75 - </not>
88.76 - </and>
88.77 - </condition>
88.78 - <condition property="manifest.available+main.class">
88.79 - <and>
88.80 - <isset property="manifest.available"/>
88.81 - <isset property="main.class.available"/>
88.82 - </and>
88.83 - </condition>
88.84 - <condition property="do.archive">
88.85 - <not>
88.86 - <istrue value="${jar.archive.disabled}"/>
88.87 - </not>
88.88 - </condition>
88.89 - <condition property="do.mkdist">
88.90 - <and>
88.91 - <isset property="do.archive"/>
88.92 - <isset property="libs.CopyLibs.classpath"/>
88.93 - <not>
88.94 - <istrue value="${mkdist.disabled}"/>
88.95 - </not>
88.96 - </and>
88.97 - </condition>
88.98 - <condition property="manifest.available+main.class+mkdist.available">
88.99 - <and>
88.100 - <istrue value="${manifest.available+main.class}"/>
88.101 - <isset property="do.mkdist"/>
88.102 - </and>
88.103 - </condition>
88.104 - <condition property="do.archive+manifest.available">
88.105 - <and>
88.106 - <isset property="manifest.available"/>
88.107 - <istrue value="${do.archive}"/>
88.108 - </and>
88.109 - </condition>
88.110 - <condition property="do.archive+main.class.available">
88.111 - <and>
88.112 - <isset property="main.class.available"/>
88.113 - <istrue value="${do.archive}"/>
88.114 - </and>
88.115 - </condition>
88.116 - <condition property="do.archive+splashscreen.available">
88.117 - <and>
88.118 - <isset property="splashscreen.available"/>
88.119 - <istrue value="${do.archive}"/>
88.120 - </and>
88.121 - </condition>
88.122 - <condition property="do.archive+manifest.available+main.class">
88.123 - <and>
88.124 - <istrue value="${manifest.available+main.class}"/>
88.125 - <istrue value="${do.archive}"/>
88.126 - </and>
88.127 - </condition>
88.128 - <condition property="manifest.available-mkdist.available">
88.129 - <or>
88.130 - <istrue value="${manifest.available}"/>
88.131 - <isset property="do.mkdist"/>
88.132 - </or>
88.133 - </condition>
88.134 - <condition property="manifest.available+main.class-mkdist.available">
88.135 - <or>
88.136 - <istrue value="${manifest.available+main.class}"/>
88.137 - <isset property="do.mkdist"/>
88.138 - </or>
88.139 - </condition>
88.140 - <condition property="have.tests">
88.141 - <or>
88.142 - <available file="${test.src.dir}"/>
88.143 - </or>
88.144 - </condition>
88.145 - <condition property="have.sources">
88.146 - <or>
88.147 - <available file="${src.dir}"/>
88.148 - </or>
88.149 - </condition>
88.150 - <condition property="netbeans.home+have.tests">
88.151 - <and>
88.152 - <isset property="netbeans.home"/>
88.153 - <isset property="have.tests"/>
88.154 - </and>
88.155 - </condition>
88.156 - <condition property="no.javadoc.preview">
88.157 - <and>
88.158 - <isset property="javadoc.preview"/>
88.159 - <isfalse value="${javadoc.preview}"/>
88.160 - </and>
88.161 - </condition>
88.162 - <property name="run.jvmargs" value=""/>
88.163 - <property name="javac.compilerargs" value=""/>
88.164 - <property name="work.dir" value="${basedir}"/>
88.165 - <condition property="no.deps">
88.166 - <and>
88.167 - <istrue value="${no.dependencies}"/>
88.168 - </and>
88.169 - </condition>
88.170 - <property name="javac.debug" value="true"/>
88.171 - <property name="javadoc.preview" value="true"/>
88.172 - <property name="application.args" value=""/>
88.173 - <property name="source.encoding" value="${file.encoding}"/>
88.174 - <property name="runtime.encoding" value="${source.encoding}"/>
88.175 - <condition property="javadoc.encoding.used" value="${javadoc.encoding}">
88.176 - <and>
88.177 - <isset property="javadoc.encoding"/>
88.178 - <not>
88.179 - <equals arg1="${javadoc.encoding}" arg2=""/>
88.180 - </not>
88.181 - </and>
88.182 - </condition>
88.183 - <property name="javadoc.encoding.used" value="${source.encoding}"/>
88.184 - <property name="includes" value="**"/>
88.185 - <property name="excludes" value=""/>
88.186 - <property name="do.depend" value="false"/>
88.187 - <condition property="do.depend.true">
88.188 - <istrue value="${do.depend}"/>
88.189 - </condition>
88.190 - <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>
88.191 - <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">
88.192 - <length length="0" string="${endorsed.classpath}" when="greater"/>
88.193 - </condition>
88.194 - <condition else="false" property="jdkBug6558476">
88.195 - <and>
88.196 - <matches pattern="1\.[56]" string="${java.specification.version}"/>
88.197 - <not>
88.198 - <os family="unix"/>
88.199 - </not>
88.200 - </and>
88.201 - </condition>
88.202 - <property name="javac.fork" value="${jdkBug6558476}"/>
88.203 - <property name="jar.index" value="false"/>
88.204 - <property name="jar.index.metainf" value="${jar.index}"/>
88.205 - <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>
88.206 - </target>
88.207 - <target name="-post-init">
88.208 - <!-- Empty placeholder for easier customization. -->
88.209 - <!-- You can override this target in the ../build.xml file. -->
88.210 - </target>
88.211 - <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">
88.212 - <fail unless="src.dir">Must set src.dir</fail>
88.213 - <fail unless="test.src.dir">Must set test.src.dir</fail>
88.214 - <fail unless="build.dir">Must set build.dir</fail>
88.215 - <fail unless="dist.dir">Must set dist.dir</fail>
88.216 - <fail unless="build.classes.dir">Must set build.classes.dir</fail>
88.217 - <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>
88.218 - <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>
88.219 - <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>
88.220 - <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>
88.221 - <fail unless="dist.jar">Must set dist.jar</fail>
88.222 - </target>
88.223 - <target name="-init-macrodef-property">
88.224 - <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">
88.225 - <attribute name="name"/>
88.226 - <attribute name="value"/>
88.227 - <sequential>
88.228 - <property name="@{name}" value="${@{value}}"/>
88.229 - </sequential>
88.230 - </macrodef>
88.231 - </target>
88.232 - <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">
88.233 - <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
88.234 - <attribute default="${src.dir}" name="srcdir"/>
88.235 - <attribute default="${build.classes.dir}" name="destdir"/>
88.236 - <attribute default="${javac.classpath}" name="classpath"/>
88.237 - <attribute default="${javac.processorpath}" name="processorpath"/>
88.238 - <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
88.239 - <attribute default="${includes}" name="includes"/>
88.240 - <attribute default="${excludes}" name="excludes"/>
88.241 - <attribute default="${javac.debug}" name="debug"/>
88.242 - <attribute default="${empty.dir}" name="sourcepath"/>
88.243 - <attribute default="${empty.dir}" name="gensrcdir"/>
88.244 - <element name="customize" optional="true"/>
88.245 - <sequential>
88.246 - <property location="${build.dir}/empty" name="empty.dir"/>
88.247 - <mkdir dir="${empty.dir}"/>
88.248 - <mkdir dir="@{apgeneratedsrcdir}"/>
88.249 - <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
88.250 - <src>
88.251 - <dirset dir="@{gensrcdir}" erroronmissingdir="false">
88.252 - <include name="*"/>
88.253 - </dirset>
88.254 - </src>
88.255 - <classpath>
88.256 - <path path="@{classpath}"/>
88.257 - </classpath>
88.258 - <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
88.259 - <compilerarg line="${javac.compilerargs}"/>
88.260 - <compilerarg value="-processorpath"/>
88.261 - <compilerarg path="@{processorpath}:${empty.dir}"/>
88.262 - <compilerarg line="${ap.processors.internal}"/>
88.263 - <compilerarg line="${annotation.processing.processor.options}"/>
88.264 - <compilerarg value="-s"/>
88.265 - <compilerarg path="@{apgeneratedsrcdir}"/>
88.266 - <compilerarg line="${ap.proc.none.internal}"/>
88.267 - <customize/>
88.268 - </javac>
88.269 - </sequential>
88.270 - </macrodef>
88.271 - </target>
88.272 - <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">
88.273 - <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">
88.274 - <attribute default="${src.dir}" name="srcdir"/>
88.275 - <attribute default="${build.classes.dir}" name="destdir"/>
88.276 - <attribute default="${javac.classpath}" name="classpath"/>
88.277 - <attribute default="${javac.processorpath}" name="processorpath"/>
88.278 - <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>
88.279 - <attribute default="${includes}" name="includes"/>
88.280 - <attribute default="${excludes}" name="excludes"/>
88.281 - <attribute default="${javac.debug}" name="debug"/>
88.282 - <attribute default="${empty.dir}" name="sourcepath"/>
88.283 - <attribute default="${empty.dir}" name="gensrcdir"/>
88.284 - <element name="customize" optional="true"/>
88.285 - <sequential>
88.286 - <property location="${build.dir}/empty" name="empty.dir"/>
88.287 - <mkdir dir="${empty.dir}"/>
88.288 - <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">
88.289 - <src>
88.290 - <dirset dir="@{gensrcdir}" erroronmissingdir="false">
88.291 - <include name="*"/>
88.292 - </dirset>
88.293 - </src>
88.294 - <classpath>
88.295 - <path path="@{classpath}"/>
88.296 - </classpath>
88.297 - <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>
88.298 - <compilerarg line="${javac.compilerargs}"/>
88.299 - <customize/>
88.300 - </javac>
88.301 - </sequential>
88.302 - </macrodef>
88.303 - </target>
88.304 - <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">
88.305 - <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">
88.306 - <attribute default="${src.dir}" name="srcdir"/>
88.307 - <attribute default="${build.classes.dir}" name="destdir"/>
88.308 - <attribute default="${javac.classpath}" name="classpath"/>
88.309 - <sequential>
88.310 - <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">
88.311 - <classpath>
88.312 - <path path="@{classpath}"/>
88.313 - </classpath>
88.314 - </depend>
88.315 - </sequential>
88.316 - </macrodef>
88.317 - <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">
88.318 - <attribute default="${build.classes.dir}" name="destdir"/>
88.319 - <sequential>
88.320 - <fail unless="javac.includes">Must set javac.includes</fail>
88.321 - <pathconvert pathsep="${line.separator}" property="javac.includes.binary">
88.322 - <path>
88.323 - <filelist dir="@{destdir}" files="${javac.includes}"/>
88.324 - </path>
88.325 - <globmapper from="*.java" to="*.class"/>
88.326 - </pathconvert>
88.327 - <tempfile deleteonexit="true" property="javac.includesfile.binary"/>
88.328 - <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>
88.329 - <delete>
88.330 - <files includesfile="${javac.includesfile.binary}"/>
88.331 - </delete>
88.332 - <delete>
88.333 - <fileset file="${javac.includesfile.binary}"/>
88.334 - </delete>
88.335 - </sequential>
88.336 - </macrodef>
88.337 - </target>
88.338 - <target name="-init-macrodef-junit">
88.339 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
88.340 - <attribute default="${includes}" name="includes"/>
88.341 - <attribute default="${excludes}" name="excludes"/>
88.342 - <attribute default="**" name="testincludes"/>
88.343 - <sequential>
88.344 - <property name="junit.forkmode" value="perTest"/>
88.345 - <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">
88.346 - <batchtest todir="${build.test.results.dir}">
88.347 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
88.348 - <filename name="@{testincludes}"/>
88.349 - </fileset>
88.350 - </batchtest>
88.351 - <classpath>
88.352 - <path path="${run.test.classpath}"/>
88.353 - </classpath>
88.354 - <syspropertyset>
88.355 - <propertyref prefix="test-sys-prop."/>
88.356 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
88.357 - </syspropertyset>
88.358 - <formatter type="brief" usefile="false"/>
88.359 - <formatter type="xml"/>
88.360 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
88.361 - <jvmarg value="-ea"/>
88.362 - <jvmarg line="${run.jvmargs}"/>
88.363 - </junit>
88.364 - </sequential>
88.365 - </macrodef>
88.366 - </target>
88.367 - <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" name="profile-init"/>
88.368 - <target name="-profile-pre-init">
88.369 - <!-- Empty placeholder for easier customization. -->
88.370 - <!-- You can override this target in the ../build.xml file. -->
88.371 - </target>
88.372 - <target name="-profile-post-init">
88.373 - <!-- Empty placeholder for easier customization. -->
88.374 - <!-- You can override this target in the ../build.xml file. -->
88.375 - </target>
88.376 - <target name="-profile-init-macrodef-profile">
88.377 - <macrodef name="resolve">
88.378 - <attribute name="name"/>
88.379 - <attribute name="value"/>
88.380 - <sequential>
88.381 - <property name="@{name}" value="${env.@{value}}"/>
88.382 - </sequential>
88.383 - </macrodef>
88.384 - <macrodef name="profile">
88.385 - <attribute default="${main.class}" name="classname"/>
88.386 - <element name="customize" optional="true"/>
88.387 - <sequential>
88.388 - <property environment="env"/>
88.389 - <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>
88.390 - <java classname="@{classname}" dir="${profiler.info.dir}" fork="true" jvm="${profiler.info.jvm}">
88.391 - <jvmarg value="${profiler.info.jvmargs.agent}"/>
88.392 - <jvmarg line="${profiler.info.jvmargs}"/>
88.393 - <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
88.394 - <arg line="${application.args}"/>
88.395 - <classpath>
88.396 - <path path="${run.classpath}"/>
88.397 - </classpath>
88.398 - <syspropertyset>
88.399 - <propertyref prefix="run-sys-prop."/>
88.400 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
88.401 - </syspropertyset>
88.402 - <customize/>
88.403 - </java>
88.404 - </sequential>
88.405 - </macrodef>
88.406 - </target>
88.407 - <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" name="-profile-init-check">
88.408 - <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>
88.409 - <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>
88.410 - </target>
88.411 - <target depends="-init-debug-args" name="-init-macrodef-nbjpda">
88.412 - <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">
88.413 - <attribute default="${main.class}" name="name"/>
88.414 - <attribute default="${debug.classpath}" name="classpath"/>
88.415 - <attribute default="" name="stopclassname"/>
88.416 - <sequential>
88.417 - <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">
88.418 - <classpath>
88.419 - <path path="@{classpath}"/>
88.420 - </classpath>
88.421 - </nbjpdastart>
88.422 - </sequential>
88.423 - </macrodef>
88.424 - <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">
88.425 - <attribute default="${build.classes.dir}" name="dir"/>
88.426 - <sequential>
88.427 - <nbjpdareload>
88.428 - <fileset dir="@{dir}" includes="${fix.classes}">
88.429 - <include name="${fix.includes}*.class"/>
88.430 - </fileset>
88.431 - </nbjpdareload>
88.432 - </sequential>
88.433 - </macrodef>
88.434 - </target>
88.435 - <target name="-init-debug-args">
88.436 - <property name="version-output" value="java version "${ant.java.version}"/>
88.437 - <condition property="have-jdk-older-than-1.4">
88.438 - <or>
88.439 - <contains string="${version-output}" substring="java version "1.0"/>
88.440 - <contains string="${version-output}" substring="java version "1.1"/>
88.441 - <contains string="${version-output}" substring="java version "1.2"/>
88.442 - <contains string="${version-output}" substring="java version "1.3"/>
88.443 - </or>
88.444 - </condition>
88.445 - <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">
88.446 - <istrue value="${have-jdk-older-than-1.4}"/>
88.447 - </condition>
88.448 - <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">
88.449 - <os family="windows"/>
88.450 - </condition>
88.451 - <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">
88.452 - <isset property="debug.transport"/>
88.453 - </condition>
88.454 - </target>
88.455 - <target depends="-init-debug-args" name="-init-macrodef-debug">
88.456 - <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">
88.457 - <attribute default="${main.class}" name="classname"/>
88.458 - <attribute default="${debug.classpath}" name="classpath"/>
88.459 - <element name="customize" optional="true"/>
88.460 - <sequential>
88.461 - <java classname="@{classname}" dir="${work.dir}" fork="true">
88.462 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
88.463 - <jvmarg line="${debug-args-line}"/>
88.464 - <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
88.465 - <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
88.466 - <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
88.467 - <jvmarg line="${run.jvmargs}"/>
88.468 - <classpath>
88.469 - <path path="@{classpath}"/>
88.470 - </classpath>
88.471 - <syspropertyset>
88.472 - <propertyref prefix="run-sys-prop."/>
88.473 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
88.474 - </syspropertyset>
88.475 - <customize/>
88.476 - </java>
88.477 - </sequential>
88.478 - </macrodef>
88.479 - </target>
88.480 - <target name="-init-macrodef-java">
88.481 - <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">
88.482 - <attribute default="${main.class}" name="classname"/>
88.483 - <attribute default="${run.classpath}" name="classpath"/>
88.484 - <element name="customize" optional="true"/>
88.485 - <sequential>
88.486 - <java classname="@{classname}" dir="${work.dir}" fork="true">
88.487 - <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>
88.488 - <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>
88.489 - <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>
88.490 - <jvmarg line="${run.jvmargs}"/>
88.491 - <classpath>
88.492 - <path path="@{classpath}"/>
88.493 - </classpath>
88.494 - <syspropertyset>
88.495 - <propertyref prefix="run-sys-prop."/>
88.496 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
88.497 - </syspropertyset>
88.498 - <customize/>
88.499 - </java>
88.500 - </sequential>
88.501 - </macrodef>
88.502 - </target>
88.503 - <target name="-init-macrodef-copylibs">
88.504 - <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">
88.505 - <attribute default="${manifest.file}" name="manifest"/>
88.506 - <element name="customize" optional="true"/>
88.507 - <sequential>
88.508 - <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
88.509 - <pathconvert property="run.classpath.without.build.classes.dir">
88.510 - <path path="${run.classpath}"/>
88.511 - <map from="${build.classes.dir.resolved}" to=""/>
88.512 - </pathconvert>
88.513 - <pathconvert pathsep=" " property="jar.classpath">
88.514 - <path path="${run.classpath.without.build.classes.dir}"/>
88.515 - <chainedmapper>
88.516 - <flattenmapper/>
88.517 - <globmapper from="*" to="lib/*"/>
88.518 - </chainedmapper>
88.519 - </pathconvert>
88.520 - <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>
88.521 - <copylibs compress="${jar.compress}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" runtimeclasspath="${run.classpath.without.build.classes.dir}">
88.522 - <fileset dir="${build.classes.dir}"/>
88.523 - <manifest>
88.524 - <attribute name="Class-Path" value="${jar.classpath}"/>
88.525 - <customize/>
88.526 - </manifest>
88.527 - </copylibs>
88.528 - </sequential>
88.529 - </macrodef>
88.530 - </target>
88.531 - <target name="-init-presetdef-jar">
88.532 - <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">
88.533 - <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">
88.534 - <j2seproject1:fileset dir="${build.classes.dir}"/>
88.535 - </jar>
88.536 - </presetdef>
88.537 - </target>
88.538 - <target name="-init-ap-cmdline-properties">
88.539 - <property name="annotation.processing.enabled" value="true"/>
88.540 - <property name="annotation.processing.processors.list" value=""/>
88.541 - <property name="annotation.processing.processor.options" value=""/>
88.542 - <property name="annotation.processing.run.all.processors" value="true"/>
88.543 - <property name="javac.processorpath" value="${javac.classpath}"/>
88.544 - <property name="javac.test.processorpath" value="${javac.test.classpath}"/>
88.545 - <condition property="ap.supported.internal" value="true">
88.546 - <not>
88.547 - <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>
88.548 - </not>
88.549 - </condition>
88.550 - </target>
88.551 - <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">
88.552 - <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">
88.553 - <isfalse value="${annotation.processing.run.all.processors}"/>
88.554 - </condition>
88.555 - <condition else="" property="ap.proc.none.internal" value="-proc:none">
88.556 - <isfalse value="${annotation.processing.enabled}"/>
88.557 - </condition>
88.558 - </target>
88.559 - <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">
88.560 - <property name="ap.cmd.line.internal" value=""/>
88.561 - </target>
88.562 - <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-junit,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>
88.563 - <!--
88.564 - ===================
88.565 - COMPILATION SECTION
88.566 - ===================
88.567 - -->
88.568 - <target name="-deps-jar-init" unless="built-jar.properties">
88.569 - <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>
88.570 - <delete file="${built-jar.properties}" quiet="true"/>
88.571 - </target>
88.572 - <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
88.573 - <echo level="warn" message="Cycle detected: tngTestProject was already built"/>
88.574 - </target>
88.575 - <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
88.576 - <mkdir dir="${build.dir}"/>
88.577 - <touch file="${built-jar.properties}" verbose="false"/>
88.578 - <property file="${built-jar.properties}" prefix="already.built.jar."/>
88.579 - <antcall target="-warn-already-built-jar"/>
88.580 - <propertyfile file="${built-jar.properties}">
88.581 - <entry key="${basedir}" value=""/>
88.582 - </propertyfile>
88.583 - </target>
88.584 - <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
88.585 - <target depends="init" name="-check-automatic-build">
88.586 - <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>
88.587 - </target>
88.588 - <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">
88.589 - <antcall target="clean"/>
88.590 - </target>
88.591 - <target depends="init,deps-jar,-reinit-tasks" name="-pre-pre-compile">
88.592 - <mkdir dir="${build.classes.dir}"/>
88.593 - </target>
88.594 - <target name="-pre-compile">
88.595 - <!-- Empty placeholder for easier customization. -->
88.596 - <!-- You can override this target in the ../build.xml file. -->
88.597 - </target>
88.598 - <target if="do.depend.true" name="-compile-depend">
88.599 - <pathconvert property="build.generated.subdirs">
88.600 - <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">
88.601 - <include name="*"/>
88.602 - </dirset>
88.603 - </pathconvert>
88.604 - <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>
88.605 - </target>
88.606 - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">
88.607 - <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>
88.608 - <copy todir="${build.classes.dir}">
88.609 - <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
88.610 - </copy>
88.611 - </target>
88.612 - <target if="has.persistence.xml" name="-copy-persistence-xml">
88.613 - <mkdir dir="${build.classes.dir}/META-INF"/>
88.614 - <copy todir="${build.classes.dir}/META-INF">
88.615 - <fileset dir="${meta.inf.dir}" includes="persistence.xml"/>
88.616 - </copy>
88.617 - </target>
88.618 - <target name="-post-compile">
88.619 - <!-- Empty placeholder for easier customization. -->
88.620 - <!-- You can override this target in the ../build.xml file. -->
88.621 - </target>
88.622 - <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>
88.623 - <target name="-pre-compile-single">
88.624 - <!-- Empty placeholder for easier customization. -->
88.625 - <!-- You can override this target in the ../build.xml file. -->
88.626 - </target>
88.627 - <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
88.628 - <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
88.629 - <j2seproject3:force-recompile/>
88.630 - <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>
88.631 - </target>
88.632 - <target name="-post-compile-single">
88.633 - <!-- Empty placeholder for easier customization. -->
88.634 - <!-- You can override this target in the ../build.xml file. -->
88.635 - </target>
88.636 - <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>
88.637 - <!--
88.638 - ====================
88.639 - JAR BUILDING SECTION
88.640 - ====================
88.641 - -->
88.642 - <target depends="init" name="-pre-pre-jar">
88.643 - <dirname file="${dist.jar}" property="dist.jar.dir"/>
88.644 - <mkdir dir="${dist.jar.dir}"/>
88.645 - </target>
88.646 - <target name="-pre-jar">
88.647 - <!-- Empty placeholder for easier customization. -->
88.648 - <!-- You can override this target in the ../build.xml file. -->
88.649 - </target>
88.650 - <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive" name="-do-jar-without-manifest" unless="manifest.available-mkdist.available">
88.651 - <j2seproject1:jar/>
88.652 - </target>
88.653 - <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available" name="-do-jar-with-manifest" unless="manifest.available+main.class-mkdist.available">
88.654 - <j2seproject1:jar manifest="${manifest.file}"/>
88.655 - </target>
88.656 - <target depends="init,compile,-pre-pre-jar,-pre-jar" if="do.archive+manifest.available+main.class" name="-do-jar-with-mainclass" unless="manifest.available+main.class+mkdist.available">
88.657 - <j2seproject1:jar manifest="${manifest.file}">
88.658 - <j2seproject1:manifest>
88.659 - <j2seproject1:attribute name="Main-Class" value="${main.class}"/>
88.660 - </j2seproject1:manifest>
88.661 - </j2seproject1:jar>
88.662 - <echo level="info">To run this application from the command line without Ant, try:</echo>
88.663 - <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>
88.664 - <property location="${dist.jar}" name="dist.jar.resolved"/>
88.665 - <pathconvert property="run.classpath.with.dist.jar">
88.666 - <path path="${run.classpath}"/>
88.667 - <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>
88.668 - </pathconvert>
88.669 - <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>
88.670 - </target>
88.671 - <target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">
88.672 - <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
88.673 - <touch file="${tmp.manifest.file}" verbose="false"/>
88.674 - </target>
88.675 - <target depends="init" if="do.archive+manifest.available" name="-do-jar-with-libraries-copy-manifest">
88.676 - <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>
88.677 - <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>
88.678 - </target>
88.679 - <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+main.class.available" name="-do-jar-with-libraries-set-main">
88.680 - <manifest file="${tmp.manifest.file}" mode="update">
88.681 - <attribute name="Main-Class" value="${main.class}"/>
88.682 - </manifest>
88.683 - </target>
88.684 - <target depends="init,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-with-libraries-set-splashscreen">
88.685 - <basename file="${application.splash}" property="splashscreen.basename"/>
88.686 - <mkdir dir="${build.classes.dir}/META-INF"/>
88.687 - <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>
88.688 - <manifest file="${tmp.manifest.file}" mode="update">
88.689 - <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>
88.690 - </manifest>
88.691 - </target>
88.692 - <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen" if="do.mkdist" name="-do-jar-with-libraries-pack">
88.693 - <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>
88.694 - <echo level="info">To run this application from the command line without Ant, try:</echo>
88.695 - <property location="${dist.jar}" name="dist.jar.resolved"/>
88.696 - <echo level="info">java -jar "${dist.jar.resolved}"</echo>
88.697 - </target>
88.698 - <target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">
88.699 - <delete>
88.700 - <fileset file="${tmp.manifest.file}"/>
88.701 - </delete>
88.702 - </target>
88.703 - <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-with-libraries-create-manifest,-do-jar-with-libraries-copy-manifest,-do-jar-with-libraries-set-main,-do-jar-with-libraries-set-splashscreen,-do-jar-with-libraries-pack,-do-jar-with-libraries-delete-manifest" name="-do-jar-with-libraries"/>
88.704 - <target name="-post-jar">
88.705 - <!-- Empty placeholder for easier customization. -->
88.706 - <!-- You can override this target in the ../build.xml file. -->
88.707 - </target>
88.708 - <target depends="init,compile,-pre-jar,-do-jar-with-manifest,-do-jar-without-manifest,-do-jar-with-mainclass,-do-jar-with-libraries,-post-jar" description="Build JAR." name="jar"/>
88.709 - <!--
88.710 - =================
88.711 - EXECUTION SECTION
88.712 - =================
88.713 - -->
88.714 - <target depends="init,compile" description="Run a main class." name="run">
88.715 - <j2seproject1:java>
88.716 - <customize>
88.717 - <arg line="${application.args}"/>
88.718 - </customize>
88.719 - </j2seproject1:java>
88.720 - </target>
88.721 - <target name="-do-not-recompile">
88.722 - <property name="javac.includes.binary" value=""/>
88.723 - </target>
88.724 - <target depends="init,compile-single" name="run-single">
88.725 - <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
88.726 - <j2seproject1:java classname="${run.class}"/>
88.727 - </target>
88.728 - <target depends="init,compile-test-single" name="run-test-with-main">
88.729 - <fail unless="run.class">Must select one file in the IDE or set run.class</fail>
88.730 - <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>
88.731 - </target>
88.732 - <!--
88.733 - =================
88.734 - DEBUGGING SECTION
88.735 - =================
88.736 - -->
88.737 - <target depends="init" if="netbeans.home" name="-debug-start-debugger">
88.738 - <j2seproject1:nbjpdastart name="${debug.class}"/>
88.739 - </target>
88.740 - <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">
88.741 - <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>
88.742 - </target>
88.743 - <target depends="init,compile" name="-debug-start-debuggee">
88.744 - <j2seproject3:debug>
88.745 - <customize>
88.746 - <arg line="${application.args}"/>
88.747 - </customize>
88.748 - </j2seproject3:debug>
88.749 - </target>
88.750 - <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>
88.751 - <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">
88.752 - <j2seproject1:nbjpdastart stopclassname="${main.class}"/>
88.753 - </target>
88.754 - <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>
88.755 - <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">
88.756 - <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
88.757 - <j2seproject3:debug classname="${debug.class}"/>
88.758 - </target>
88.759 - <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>
88.760 - <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">
88.761 - <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>
88.762 - <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>
88.763 - </target>
88.764 - <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>
88.765 - <target depends="init" name="-pre-debug-fix">
88.766 - <fail unless="fix.includes">Must set fix.includes</fail>
88.767 - <property name="javac.includes" value="${fix.includes}.java"/>
88.768 - </target>
88.769 - <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">
88.770 - <j2seproject1:nbjpdareload/>
88.771 - </target>
88.772 - <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>
88.773 - <!--
88.774 - =================
88.775 - PROFILING SECTION
88.776 - =================
88.777 - -->
88.778 - <target depends="profile-init,compile" description="Profile a project in the IDE." if="netbeans.home" name="profile">
88.779 - <nbprofiledirect>
88.780 - <classpath>
88.781 - <path path="${run.classpath}"/>
88.782 - </classpath>
88.783 - </nbprofiledirect>
88.784 - <profile/>
88.785 - </target>
88.786 - <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="netbeans.home" name="profile-single">
88.787 - <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>
88.788 - <nbprofiledirect>
88.789 - <classpath>
88.790 - <path path="${run.classpath}"/>
88.791 - </classpath>
88.792 - </nbprofiledirect>
88.793 - <profile classname="${profile.class}"/>
88.794 - </target>
88.795 - <!--
88.796 - =========================
88.797 - APPLET PROFILING SECTION
88.798 - =========================
88.799 - -->
88.800 - <target depends="profile-init,compile-single" if="netbeans.home" name="profile-applet">
88.801 - <nbprofiledirect>
88.802 - <classpath>
88.803 - <path path="${run.classpath}"/>
88.804 - </classpath>
88.805 - </nbprofiledirect>
88.806 - <profile classname="sun.applet.AppletViewer">
88.807 - <customize>
88.808 - <arg value="${applet.url}"/>
88.809 - </customize>
88.810 - </profile>
88.811 - </target>
88.812 - <!--
88.813 - =========================
88.814 - TESTS PROFILING SECTION
88.815 - =========================
88.816 - -->
88.817 - <target depends="profile-init,compile-test-single" if="netbeans.home" name="profile-test-single">
88.818 - <nbprofiledirect>
88.819 - <classpath>
88.820 - <path path="${run.test.classpath}"/>
88.821 - </classpath>
88.822 - </nbprofiledirect>
88.823 - <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">
88.824 - <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>
88.825 - <jvmarg value="${profiler.info.jvmargs.agent}"/>
88.826 - <jvmarg line="${profiler.info.jvmargs}"/>
88.827 - <test name="${profile.class}"/>
88.828 - <classpath>
88.829 - <path path="${run.test.classpath}"/>
88.830 - </classpath>
88.831 - <syspropertyset>
88.832 - <propertyref prefix="test-sys-prop."/>
88.833 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
88.834 - </syspropertyset>
88.835 - <formatter type="brief" usefile="false"/>
88.836 - <formatter type="xml"/>
88.837 - </junit>
88.838 - </target>
88.839 - <!--
88.840 - ===============
88.841 - JAVADOC SECTION
88.842 - ===============
88.843 - -->
88.844 - <target depends="init" if="have.sources" name="-javadoc-build">
88.845 - <mkdir dir="${dist.javadoc.dir}"/>
88.846 - <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">
88.847 - <classpath>
88.848 - <path path="${javac.classpath}"/>
88.849 - </classpath>
88.850 - <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
88.851 - <filename name="**/*.java"/>
88.852 - </fileset>
88.853 - <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
88.854 - <include name="**/*.java"/>
88.855 - </fileset>
88.856 - </javadoc>
88.857 - <copy todir="${dist.javadoc.dir}">
88.858 - <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
88.859 - <filename name="**/doc-files/**"/>
88.860 - </fileset>
88.861 - <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
88.862 - <include name="**/doc-files/**"/>
88.863 - </fileset>
88.864 - </copy>
88.865 - </target>
88.866 - <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
88.867 - <nbbrowse file="${dist.javadoc.dir}/index.html"/>
88.868 - </target>
88.869 - <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>
88.870 - <!--
88.871 - =========================
88.872 - JUNIT COMPILATION SECTION
88.873 - =========================
88.874 - -->
88.875 - <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">
88.876 - <mkdir dir="${build.test.classes.dir}"/>
88.877 - </target>
88.878 - <target name="-pre-compile-test">
88.879 - <!-- Empty placeholder for easier customization. -->
88.880 - <!-- You can override this target in the ../build.xml file. -->
88.881 - </target>
88.882 - <target if="do.depend.true" name="-compile-test-depend">
88.883 - <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>
88.884 - </target>
88.885 - <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">
88.886 - <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>
88.887 - <copy todir="${build.test.classes.dir}">
88.888 - <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
88.889 - </copy>
88.890 - </target>
88.891 - <target name="-post-compile-test">
88.892 - <!-- Empty placeholder for easier customization. -->
88.893 - <!-- You can override this target in the ../build.xml file. -->
88.894 - </target>
88.895 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>
88.896 - <target name="-pre-compile-test-single">
88.897 - <!-- Empty placeholder for easier customization. -->
88.898 - <!-- You can override this target in the ../build.xml file. -->
88.899 - </target>
88.900 - <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">
88.901 - <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
88.902 - <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>
88.903 - <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>
88.904 - <copy todir="${build.test.classes.dir}">
88.905 - <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
88.906 - </copy>
88.907 - </target>
88.908 - <target name="-post-compile-test-single">
88.909 - <!-- Empty placeholder for easier customization. -->
88.910 - <!-- You can override this target in the ../build.xml file. -->
88.911 - </target>
88.912 - <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>
88.913 - <!--
88.914 - =======================
88.915 - JUNIT EXECUTION SECTION
88.916 - =======================
88.917 - -->
88.918 - <target depends="init" if="have.tests" name="-pre-test-run">
88.919 - <mkdir dir="${build.test.results.dir}"/>
88.920 - </target>
88.921 - <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">
88.922 - <j2seproject3:junit testincludes="**/*Test.java"/>
88.923 - </target>
88.924 - <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">
88.925 - <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
88.926 - </target>
88.927 - <target depends="init" if="have.tests" name="test-report"/>
88.928 - <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>
88.929 - <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>
88.930 - <target depends="init" if="have.tests" name="-pre-test-run-single">
88.931 - <mkdir dir="${build.test.results.dir}"/>
88.932 - </target>
88.933 - <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">
88.934 - <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>
88.935 - <j2seproject3:junit excludes="" includes="${test.includes}"/>
88.936 - </target>
88.937 - <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">
88.938 - <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>
88.939 - </target>
88.940 - <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>
88.941 - <!--
88.942 - =======================
88.943 - JUNIT DEBUGGING SECTION
88.944 - =======================
88.945 - -->
88.946 - <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-test">
88.947 - <fail unless="test.class">Must select one file in the IDE or set test.class</fail>
88.948 - <property location="${build.test.results.dir}/TEST-${test.class}.xml" name="test.report.file"/>
88.949 - <delete file="${test.report.file}"/>
88.950 - <mkdir dir="${build.test.results.dir}"/>
88.951 - <j2seproject3:debug classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner" classpath="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}">
88.952 - <customize>
88.953 - <syspropertyset>
88.954 - <propertyref prefix="test-sys-prop."/>
88.955 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
88.956 - </syspropertyset>
88.957 - <arg value="${test.class}"/>
88.958 - <arg value="showoutput=true"/>
88.959 - <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter"/>
88.960 - <arg value="formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,${test.report.file}"/>
88.961 - </customize>
88.962 - </j2seproject3:debug>
88.963 - </target>
88.964 - <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">
88.965 - <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>
88.966 - </target>
88.967 - <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>
88.968 - <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">
88.969 - <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>
88.970 - </target>
88.971 - <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>
88.972 - <!--
88.973 - =========================
88.974 - APPLET EXECUTION SECTION
88.975 - =========================
88.976 - -->
88.977 - <target depends="init,compile-single" name="run-applet">
88.978 - <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
88.979 - <j2seproject1:java classname="sun.applet.AppletViewer">
88.980 - <customize>
88.981 - <arg value="${applet.url}"/>
88.982 - </customize>
88.983 - </j2seproject1:java>
88.984 - </target>
88.985 - <!--
88.986 - =========================
88.987 - APPLET DEBUGGING SECTION
88.988 - =========================
88.989 - -->
88.990 - <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">
88.991 - <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>
88.992 - <j2seproject3:debug classname="sun.applet.AppletViewer">
88.993 - <customize>
88.994 - <arg value="${applet.url}"/>
88.995 - </customize>
88.996 - </j2seproject3:debug>
88.997 - </target>
88.998 - <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>
88.999 - <!--
88.1000 - ===============
88.1001 - CLEANUP SECTION
88.1002 - ===============
88.1003 - -->
88.1004 - <target name="-deps-clean-init" unless="built-clean.properties">
88.1005 - <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>
88.1006 - <delete file="${built-clean.properties}" quiet="true"/>
88.1007 - </target>
88.1008 - <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
88.1009 - <echo level="warn" message="Cycle detected: tngTestProject was already built"/>
88.1010 - </target>
88.1011 - <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
88.1012 - <mkdir dir="${build.dir}"/>
88.1013 - <touch file="${built-clean.properties}" verbose="false"/>
88.1014 - <property file="${built-clean.properties}" prefix="already.built.clean."/>
88.1015 - <antcall target="-warn-already-built-clean"/>
88.1016 - <propertyfile file="${built-clean.properties}">
88.1017 - <entry key="${basedir}" value=""/>
88.1018 - </propertyfile>
88.1019 - </target>
88.1020 - <target depends="init" name="-do-clean">
88.1021 - <delete dir="${build.dir}"/>
88.1022 - <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>
88.1023 - </target>
88.1024 - <target name="-post-clean">
88.1025 - <!-- Empty placeholder for easier customization. -->
88.1026 - <!-- You can override this target in the ../build.xml file. -->
88.1027 - </target>
88.1028 - <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>
88.1029 - <target name="-check-call-dep">
88.1030 - <property file="${call.built.properties}" prefix="already.built."/>
88.1031 - <condition property="should.call.dep">
88.1032 - <not>
88.1033 - <isset property="already.built.${call.subproject}"/>
88.1034 - </not>
88.1035 - </condition>
88.1036 - </target>
88.1037 - <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">
88.1038 - <ant antfile="${call.script}" inheritall="false" target="${call.target}">
88.1039 - <propertyset>
88.1040 - <propertyref prefix="transfer."/>
88.1041 - <mapper from="transfer.*" to="*" type="glob"/>
88.1042 - </propertyset>
88.1043 - </ant>
88.1044 - </target>
88.1045 -</project>
89.1 --- a/testng/test/unit/data/projects/tngTestProject/nbproject/genfiles.properties Sat Mar 10 02:54:06 2012 +0100
89.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
89.3 @@ -1,8 +0,0 @@
89.4 -build.xml.data.CRC32=3018e4f9
89.5 -build.xml.script.CRC32=57430010
89.6 -build.xml.stylesheet.CRC32=958a1d3e
89.7 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
89.8 -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
89.9 -nbproject/build-impl.xml.data.CRC32=121d2fbd
89.10 -nbproject/build-impl.xml.script.CRC32=3e3f3a83
89.11 -nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
90.1 --- a/testng/test/unit/data/projects/tngTestProject/nbproject/project.properties Sat Mar 10 02:54:06 2012 +0100
90.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
90.3 @@ -1,72 +0,0 @@
90.4 -annotation.processing.enabled=true
90.5 -annotation.processing.enabled.in.editor=false
90.6 -annotation.processing.run.all.processors=true
90.7 -application.title=tngTestProject
90.8 -application.vendor=jlukas
90.9 -build.classes.dir=${build.dir}/classes
90.10 -build.classes.excludes=**/*.java,**/*.form
90.11 -# This directory is removed when the project is cleaned:
90.12 -build.dir=build
90.13 -build.generated.dir=${build.dir}/generated
90.14 -build.generated.sources.dir=${build.dir}/generated-sources
90.15 -# Only compile against the classpath explicitly listed here:
90.16 -build.sysclasspath=ignore
90.17 -build.test.classes.dir=${build.dir}/test/classes
90.18 -build.test.results.dir=${build.dir}/test/results
90.19 -# Uncomment to specify the preferred debugger connection transport:
90.20 -#debug.transport=dt_socket
90.21 -debug.classpath=\
90.22 - ${run.classpath}
90.23 -debug.test.classpath=\
90.24 - ${run.test.classpath}
90.25 -# This directory is removed when the project is cleaned:
90.26 -dist.dir=dist
90.27 -dist.jar=${dist.dir}/tngTestProject.jar
90.28 -dist.javadoc.dir=${dist.dir}/javadoc
90.29 -endorsed.classpath=
90.30 -excludes=
90.31 -includes=**
90.32 -jar.compress=false
90.33 -javac.classpath=
90.34 -# Space-separated list of extra javac options
90.35 -javac.compilerargs=
90.36 -javac.deprecation=false
90.37 -javac.processorpath=\
90.38 - ${javac.classpath}
90.39 -javac.source=1.5
90.40 -javac.target=1.5
90.41 -javac.test.classpath=\
90.42 - ${javac.classpath}:\
90.43 - ${build.classes.dir}:\
90.44 - ${libs.junit.classpath}:\
90.45 - ${libs.junit_4.classpath}:\
90.46 - ${libs.TestNG-6.0.1.classpath}
90.47 -javadoc.additionalparam=
90.48 -javadoc.author=false
90.49 -javadoc.encoding=${source.encoding}
90.50 -javadoc.noindex=false
90.51 -javadoc.nonavbar=false
90.52 -javadoc.notree=false
90.53 -javadoc.private=false
90.54 -javadoc.splitindex=true
90.55 -javadoc.use=true
90.56 -javadoc.version=false
90.57 -javadoc.windowtitle=
90.58 -main.class=tngtestproject.Main
90.59 -manifest.file=manifest.mf
90.60 -meta.inf.dir=${src.dir}/META-INF
90.61 -mkdist.disabled=false
90.62 -platform.active=default_platform
90.63 -run.classpath=\
90.64 - ${javac.classpath}:\
90.65 - ${build.classes.dir}
90.66 -# Space-separated list of JVM arguments used when running the project
90.67 -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
90.68 -# or test-sys-prop.name=value to set system properties for unit tests):
90.69 -run.jvmargs=
90.70 -run.test.classpath=\
90.71 - ${javac.test.classpath}:\
90.72 - ${build.test.classes.dir}
90.73 -source.encoding=UTF-8
90.74 -src.dir=src
90.75 -test.src.dir=test
91.1 --- a/testng/test/unit/data/projects/tngTestProject/nbproject/project.xml Sat Mar 10 02:54:06 2012 +0100
91.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
91.3 @@ -1,62 +0,0 @@
91.4 -<?xml version="1.0" encoding="UTF-8"?>
91.5 -<!--
91.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
91.7 -
91.8 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
91.9 -
91.10 -
91.11 -The contents of this file are subject to the terms of either the GNU
91.12 -General Public License Version 2 only ("GPL") or the Common
91.13 -Development and Distribution License("CDDL") (collectively, the
91.14 -"License"). You may not use this file except in compliance with the
91.15 -License. You can obtain a copy of the License at
91.16 -http://www.netbeans.org/cddl-gplv2.html
91.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
91.18 -specific language governing permissions and limitations under the
91.19 -License. When distributing the software, include this License Header
91.20 -Notice in each file and include the License file at
91.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
91.22 -particular file as subject to the "Classpath" exception as provided
91.23 -by Sun in the GPL Version 2 section of the License file that
91.24 -accompanied this code. If applicable, add the following below the
91.25 -License Header, with the fields enclosed by brackets [] replaced by
91.26 -your own identifying information:
91.27 -"Portions Copyrighted [year] [name of copyright owner]"
91.28 -
91.29 -Contributor(s):
91.30 -
91.31 -The Original Software is NetBeans. The Initial Developer of the Original
91.32 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
91.33 -Microsystems, Inc. All Rights Reserved.
91.34 -
91.35 -If you wish your version of this file to be governed by only the CDDL
91.36 -or only the GPL Version 2, indicate your decision by adding
91.37 -"[Contributor] elects to include this software in this distribution
91.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
91.39 -single choice of license, a recipient has the option to distribute
91.40 -your version of this file under either the CDDL, the GPL Version 2 or
91.41 -to extend the choice of license to its licensees as provided above.
91.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
91.43 -Version 2 license, then the option applies only if the new code is
91.44 -made subject to such option by the copyright holder.
91.45 --->
91.46 -<project xmlns="http://www.netbeans.org/ns/project/1">
91.47 - <type>org.netbeans.modules.java.j2seproject</type>
91.48 - <configuration>
91.49 - <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
91.50 - <extension file="testng-impl.xml" id="test-ng-1.0">
91.51 - <dependency dependsOn="-reinit-tasks" target="-pre-pre-compile"/>
91.52 - </extension>
91.53 - </buildExtensions>
91.54 - <data xmlns="http://www.netbeans.org/ns/j2se-project/3">
91.55 - <name>tngTestProject</name>
91.56 - <minimum-ant-version>1.6.5</minimum-ant-version>
91.57 - <source-roots>
91.58 - <root id="src.dir"/>
91.59 - </source-roots>
91.60 - <test-roots>
91.61 - <root id="test.src.dir"/>
91.62 - </test-roots>
91.63 - </data>
91.64 - </configuration>
91.65 -</project>
92.1 --- a/testng/test/unit/data/projects/tngTestProject/nbproject/testng-impl.xml Sat Mar 10 02:54:06 2012 +0100
92.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
92.3 @@ -1,383 +0,0 @@
92.4 -<?xml version="1.0" encoding="UTF-8"?>
92.5 -<!--
92.6 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
92.7 -
92.8 -Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
92.9 -
92.10 -
92.11 -The contents of this file are subject to the terms of either the GNU
92.12 -General Public License Version 2 only ("GPL") or the Common
92.13 -Development and Distribution License("CDDL") (collectively, the
92.14 -"License"). You may not use this file except in compliance with the
92.15 -License. You can obtain a copy of the License at
92.16 -http://www.netbeans.org/cddl-gplv2.html
92.17 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
92.18 -specific language governing permissions and limitations under the
92.19 -License. When distributing the software, include this License Header
92.20 -Notice in each file and include the License file at
92.21 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
92.22 -particular file as subject to the "Classpath" exception as provided
92.23 -by Sun in the GPL Version 2 section of the License file that
92.24 -accompanied this code. If applicable, add the following below the
92.25 -License Header, with the fields enclosed by brackets [] replaced by
92.26 -your own identifying information:
92.27 -"Portions Copyrighted [year] [name of copyright owner]"
92.28 -
92.29 -Contributor(s):
92.30 -
92.31 -The Original Software is NetBeans. The Initial Developer of the Original
92.32 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
92.33 -Microsystems, Inc. All Rights Reserved.
92.34 -
92.35 -If you wish your version of this file to be governed by only the CDDL
92.36 -or only the GPL Version 2, indicate your decision by adding
92.37 -"[Contributor] elects to include this software in this distribution
92.38 -under the [CDDL or GPL Version 2] license." If you do not indicate a
92.39 -single choice of license, a recipient has the option to distribute
92.40 -your version of this file under either the CDDL, the GPL Version 2 or
92.41 -to extend the choice of license to its licensees as provided above.
92.42 -However, if you add GPL Version 2 code and therefore, elected the GPL
92.43 -Version 2 license, then the option applies only if the new code is
92.44 -made subject to such option by the copyright holder.
92.45 --->
92.46 -<project name="testng-impl" default="default" basedir="..">
92.47 - <target name="default">
92.48 - <echo message="Default target is not set."/>
92.49 - </target>
92.50 -
92.51 - <target name="-init-env">
92.52 - <condition property="run.jvmargs.prop" value="${run.jvmargs}" else="">
92.53 - <isset property="run.jvmargs"/>
92.54 - </condition>
92.55 - </target>
92.56 -
92.57 - <!-- Call testng ant task -->
92.58 - <target name="-init-macrodef-testng">
92.59 - <macrodef name="testng-ant">
92.60 - <attribute name="testincludes" default="**/*Test.class"/>
92.61 - <sequential>
92.62 - <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}"/>
92.63 - <testng workingDir="${basedir}" failureProperty="testng.tests.failed" outputdir="${build.test.results.dir}" dumpCommand="true" useDefaultListeners="true" verbose="2">
92.64 - <classpath>
92.65 - <pathelement path="${run.test.classpath}"/>
92.66 - <pathelement path="${j2ee.platform.classpath}"/>
92.67 - <pathelement path="${build.test.classes.dir}"/>
92.68 - </classpath>
92.69 - <classfileset dir="${build.test.classes.dir}">
92.70 - <filename name="@{testincludes}"/>
92.71 - </classfileset>
92.72 - <jvmarg line="${run.jvmargs.prop}"/>
92.73 - </testng>
92.74 - </sequential>
92.75 - </macrodef>
92.76 - <macrodef name="testng-ant-xml">
92.77 - <attribute name="testSuite" default="${build.dir}/generated/testng/temp-testng-customsuite.xml"/>
92.78 - <sequential>
92.79 - <taskdef name="testng" classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}"/>
92.80 - <testng workingDir="${basedir}" failureProperty="testng.tests.failed" outputdir="${build.test.results.dir}" dumpCommand="true" useDefaultListeners="true" verbose="2">
92.81 - <classpath>
92.82 - <pathelement path="${run.test.classpath}"/>
92.83 - <pathelement path="${j2ee.platform.classpath}"/>
92.84 - <pathelement path="${build.test.classes.dir}"/>
92.85 - </classpath>
92.86 - <xmlfileset file="@{testSuite}"/>
92.87 - <jvmarg line="${run.jvmargs.prop}"/>
92.88 - </testng>
92.89 - </sequential>
92.90 - </macrodef>
92.91 - </target>
92.92 -
92.93 - <target name="-testng" unless="junit.enabled">
92.94 - <!-- Java SE projects -->
92.95 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
92.96 - <attribute default="${includes}" name="includes"/>
92.97 - <attribute default="${excludes}" name="excludes"/>
92.98 - <attribute default="**" name="testincludes"/>
92.99 - <sequential>
92.100 - <testng-ant/>
92.101 - <condition property="tests.failed">
92.102 - <and>
92.103 - <isset property="testng.tests.failed"/>
92.104 - </and>
92.105 - </condition>
92.106 - </sequential>
92.107 - </macrodef>
92.108 -
92.109 - <!-- Web Projects -->
92.110 - <macrodef name="junit" uri="http://www.netbeans.org/ns/web-project/2">
92.111 - <attribute default="${includes}" name="includes"/>
92.112 - <attribute default="${excludes}" name="excludes"/>
92.113 - <attribute default="**" name="testincludes"/>
92.114 - <sequential>
92.115 - <testng-ant/>
92.116 - <condition property="tests.failed">
92.117 - <and>
92.118 - <isset property="testng.tests.failed"/>
92.119 - </and>
92.120 - </condition>
92.121 - </sequential>
92.122 - </macrodef>
92.123 -
92.124 - <!-- EJB Projects -->
92.125 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
92.126 - <attribute default="${includes}" name="includes"/>
92.127 - <attribute default="${excludes}" name="excludes"/>
92.128 - <attribute default="**" name="testincludes"/>
92.129 - <sequential>
92.130 - <testng-ant/>
92.131 - <condition property="tests.failed">
92.132 - <and>
92.133 - <isset property="testng.tests.failed"/>
92.134 - </and>
92.135 - </condition>
92.136 - </sequential>
92.137 - </macrodef>
92.138 -
92.139 - <!-- Java EE application client projects -->
92.140 - <macrodef name="junit" uri="http://www.netbeans.org/ns/car-project/1">
92.141 - <attribute default="${includes}" name="includes"/>
92.142 - <attribute default="${excludes}" name="excludes"/>
92.143 - <attribute default="**" name="testincludes"/>
92.144 - <sequential>
92.145 - <testng-ant/>
92.146 - <condition property="tests.failed">
92.147 - <and>
92.148 - <isset property="testng.tests.failed"/>
92.149 - </and>
92.150 - </condition>
92.151 - </sequential>
92.152 - </macrodef>
92.153 - </target>
92.154 -
92.155 - <target name="-testng-junit" if="junit.enabled">
92.156 - <!-- Java SE projects -->
92.157 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">
92.158 - <attribute default="${includes}" name="includes"/>
92.159 - <attribute default="${excludes}" name="excludes"/>
92.160 - <attribute default="**" name="testincludes"/>
92.161 - <sequential>
92.162 - <junit dir="${basedir}" errorproperty="junit.tests.failed" failureproperty="junit.tests.failed" fork="true" showoutput="true">
92.163 - <batchtest todir="${build.test.results.dir}">
92.164 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
92.165 - <filename name="@{testincludes}"/>
92.166 - </fileset>
92.167 - </batchtest>
92.168 - <classpath>
92.169 - <path path="${run.test.classpath}"/>
92.170 - </classpath>
92.171 - <syspropertyset>
92.172 - <propertyref prefix="test-sys-prop."/>
92.173 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.174 - </syspropertyset>
92.175 - <formatter type="brief" usefile="false"/>
92.176 - <formatter type="xml"/>
92.177 - <jvmarg line="${run.jvmargs.prop}"/>
92.178 - </junit>
92.179 - <testng-ant/>
92.180 - <condition property="tests.failed">
92.181 - <and>
92.182 - <isset property="junit.tests.failed"/>
92.183 - <isset property="testng.tests.failed"/>
92.184 - </and>
92.185 - </condition>
92.186 - </sequential>
92.187 - </macrodef>
92.188 -
92.189 - <!-- Web Projects -->
92.190 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
92.191 - <attribute default="${includes}" name="includes"/>
92.192 - <attribute default="${excludes}" name="excludes"/>
92.193 - <attribute default="**" name="testincludes"/>
92.194 - <sequential>
92.195 - <junit dir="${basedir}" errorproperty="junit.tests.failed" failureproperty="junit.tests.failed" fork="true" showoutput="true">
92.196 - <batchtest todir="${build.test.results.dir}">
92.197 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
92.198 - <filename name="@{testincludes}"/>
92.199 - </fileset>
92.200 - </batchtest>
92.201 - <classpath>
92.202 - <path path="${run.test.classpath}:${j2ee.platform.classpath}"/>
92.203 - </classpath>
92.204 - <syspropertyset>
92.205 - <propertyref prefix="test-sys-prop."/>
92.206 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.207 - </syspropertyset>
92.208 - <formatter type="brief" usefile="false"/>
92.209 - <formatter type="xml"/>
92.210 - <jvmarg line="${runmain.jvmargs}"/>
92.211 - </junit>
92.212 - <testng-ant/>
92.213 - <condition property="tests.failed">
92.214 - <and>
92.215 - <isset property="junit.tests.failed"/>
92.216 - <isset property="testng.tests.failed"/>
92.217 - </and>
92.218 - </condition>
92.219 - </sequential>
92.220 - </macrodef>
92.221 -
92.222 - <!-- EJB projects -->
92.223 - <macrodef name="junit" uri="http://www.netbeans.org/ns/j2ee-ejbjarproject/2">
92.224 - <attribute default="${includes}" name="includes"/>
92.225 - <attribute default="${excludes}" name="excludes"/>
92.226 - <attribute default="**" name="testincludes"/>
92.227 - <sequential>
92.228 - <junit dir="${basedir}" errorproperty="junit.tests.failed" failureproperty="junit.tests.failed" fork="true" showoutput="true">
92.229 - <batchtest todir="${build.test.results.dir}">
92.230 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
92.231 - <filename name="@{testincludes}"/>
92.232 - </fileset>
92.233 - </batchtest>
92.234 - <classpath>
92.235 - <path path="${run.test.classpath}"/>
92.236 - <path path="${j2ee.platform.classpath}"/>
92.237 - </classpath>
92.238 - <syspropertyset>
92.239 - <propertyref prefix="test-sys-prop."/>
92.240 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.241 - </syspropertyset>
92.242 - <formatter type="brief" usefile="false"/>
92.243 - <formatter type="xml"/>
92.244 - <jvmarg line="${runmain.jvmargs}"/>
92.245 - </junit>
92.246 - <testng-ant/>
92.247 - <condition property="tests.failed">
92.248 - <and>
92.249 - <isset property="junit.tests.failed"/>
92.250 - <isset property="testng.tests.failed"/>
92.251 - </and>
92.252 - </condition>
92.253 - </sequential>
92.254 - </macrodef>
92.255 -
92.256 - <!-- Java EE application client projects -->
92.257 - <macrodef name="junit" uri="http://www.netbeans.org/ns/car-project/1">
92.258 - <attribute default="${includes}" name="includes"/>
92.259 - <attribute default="${excludes}" name="excludes"/>
92.260 - <attribute default="**" name="testincludes"/>
92.261 - <sequential>
92.262 - <junit dir="${basedir}" errorproperty="junit.tests.failed" failureproperty="junit.tests.failed" fork="true" showoutput="true">
92.263 - <batchtest todir="${build.test.results.dir}">
92.264 - <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">
92.265 - <filename name="@{testincludes}"/>
92.266 - </fileset>
92.267 - </batchtest>
92.268 - <classpath>
92.269 - <path path="${run.test.classpath}"/>
92.270 - <path path="${j2ee.platform.classpath}"/>
92.271 - </classpath>
92.272 - <syspropertyset>
92.273 - <propertyref prefix="test-sys-prop."/>
92.274 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.275 - </syspropertyset>
92.276 - <formatter type="brief" usefile="false"/>
92.277 - <formatter type="xml"/>
92.278 - <jvmarg line="${run.jvmargs.param}"/>
92.279 - </junit>
92.280 - <testng-ant/>
92.281 - <condition property="tests.failed">
92.282 - <and>
92.283 - <isset property="junit.tests.failed"/>
92.284 - <isset property="testng.tests.failed"/>
92.285 - </and>
92.286 - </condition>
92.287 - </sequential>
92.288 - </macrodef>
92.289 - </target>
92.290 -
92.291 - <target name="-reinit-tasks" depends="-init-env, -init-macrodef-testng, -testng, -testng-junit" />
92.292 -
92.293 - <target name="-run-testng-default" unless="testng.config">
92.294 - <testng-ant/>
92.295 - </target>
92.296 -
92.297 - <target name="-run-testng-custom" if="testng.config">
92.298 - <testng-ant-xml testSuite="${testng.config}"/>
92.299 - </target>
92.300 -
92.301 - <target name="run-testng" depends="compile-test, -init-macrodef-testng, -run-testng-default, -run-testng-custom"/>
92.302 -
92.303 - <!-- Call testng from java -->
92.304 - <target name="-init-macrodef-testng-java">
92.305 - <macrodef name="testng-java">
92.306 - <sequential>
92.307 - <pathconvert property="testng.classnames" pathsep=" ">
92.308 - <path>
92.309 - <fileset dir="${build.test.classes.dir}" includes="**/*.class"/>
92.310 - </path>
92.311 - <map from="${basedir}${file.separator}" to="-testclass "/>
92.312 - </pathconvert>
92.313 - <java classname="org.testng.TestNG" dir="${basedir}">
92.314 - <classpath>
92.315 - <path path="${run.test.classpath}:${j2ee.platform.classpath}"/>
92.316 - </classpath>
92.317 - <arg line="-d ${build.test.results.dir}"/>
92.318 - <arg line="-sourcedir ${test.src.dir}"/>
92.319 - <arg line="-log 2"/>
92.320 - <arg line="${testng.classnames}"/>
92.321 - <syspropertyset>
92.322 - <propertyref prefix="test-sys-prop."/>
92.323 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.324 - </syspropertyset>
92.325 - <jvmarg value="-Dtestng.test.classpath=${build.test.classes.dir}"/>
92.326 - <jvmarg value="-ea"/>
92.327 - <jvmarg line="${run.jvmargs.prop}"/>
92.328 - </java>
92.329 - </sequential>
92.330 - </macrodef>
92.331 - </target>
92.332 -
92.333 - <target name="-init-macrodef-testng-java-xml">
92.334 - <macrodef name="testng-java-xml">
92.335 - <attribute name="testSuite" default="${build.dir}/generated/testng/temp-testng-customsuite.xml"/>
92.336 - <sequential>
92.337 - <java classname="org.testng.TestNG" dir="${basedir}">
92.338 - <classpath>
92.339 - <path path="${run.test.classpath}:${j2ee.platform.classpath}"/>
92.340 - </classpath>
92.341 - <arg line="-d ${build.test.results.dir}"/>
92.342 - <arg line="-sourcedir ${test.src.dir}"/>
92.343 - <arg line="@{testSuite}"/>
92.344 - <syspropertyset>
92.345 - <propertyref prefix="test-sys-prop."/>
92.346 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.347 - </syspropertyset>
92.348 - <jvmarg value="-Dtestng.test.classpath=${build.test.classes.dir}"/>
92.349 - <jvmarg value="-ea"/>
92.350 - <jvmarg line="${run.jvmargs.prop}"/>
92.351 - </java>
92.352 - </sequential>
92.353 - </macrodef>
92.354 - </target>
92.355 -
92.356 - <!-- DEBUG -->
92.357 - <target depends="-init-env, init, compile-test-single, -debug-start-debugger-test, -debug-start-debuggee-testng" name="debug-testng"/>
92.358 -
92.359 - <target depends="init,compile-test" if="have.tests" name="-debug-start-debuggee-testng">
92.360 - <fail unless="testng.config">Must select test class in the IDE or set testng.config</fail>
92.361 - <delete dir="${build.test.results.dir}" quiet="true"/>
92.362 - <mkdir dir="${build.test.results.dir}"/>
92.363 - <java classname="org.testng.TestNG" dir="${basedir}" fork="true">
92.364 - <jvmarg line="${debug-args-line}"/>
92.365 - <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>
92.366 - <jvmarg line="${run.jvmargs.prop}"/>
92.367 - <arg line="-d ${build.test.results.dir}"/>
92.368 - <arg line="-sourcedir ${test.src.dir}"/>
92.369 - <arg line="${testng.config}"/>
92.370 - <syspropertyset>
92.371 - <propertyref prefix="test-sys-prop."/>
92.372 - <mapper from="test-sys-prop.*" to="*" type="glob"/>
92.373 - </syspropertyset>
92.374 - <jvmarg value="-Dtestng.test.classpath=${build.test.classes.dir}"/>
92.375 - <jvmarg value="-ea"/>
92.376 - <classpath>
92.377 - <path path="${ant.home}/lib/ant.jar:${ant.home}/lib/ant-junit.jar:${debug.test.classpath}:${j2ee.platform.classpath}"/>
92.378 - </classpath>
92.379 - <syspropertyset>
92.380 - <propertyref prefix="run-sys-prop."/>
92.381 - <mapper from="run-sys-prop.*" to="*" type="glob"/>
92.382 - </syspropertyset>
92.383 - </java>
92.384 - </target>
92.385 -
92.386 -</project>
93.1 --- a/testng/test/unit/data/projects/tngTestProject/src/tngtestproject/Main.java Sat Mar 10 02:54:06 2012 +0100
93.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
93.3 @@ -1,54 +0,0 @@
93.4 -/*
93.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
93.6 - *
93.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
93.8 - *
93.9 - * The contents of this file are subject to the terms of either the GNU
93.10 - * General Public License Version 2 only ("GPL") or the Common
93.11 - * Development and Distribution License("CDDL") (collectively, the
93.12 - * "License"). You may not use this file except in compliance with the
93.13 - * License. You can obtain a copy of the License at
93.14 - * http://www.netbeans.org/cddl-gplv2.html
93.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
93.16 - * specific language governing permissions and limitations under the
93.17 - * License. When distributing the software, include this License Header
93.18 - * Notice in each file and include the License file at
93.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
93.20 - * particular file as subject to the "Classpath" exception as provided
93.21 - * by Sun in the GPL Version 2 section of the License file that
93.22 - * accompanied this code. If applicable, add the following below the
93.23 - * License Header, with the fields enclosed by brackets [] replaced by
93.24 - * your own identifying information:
93.25 - * "Portions Copyrighted [year] [name of copyright owner]"
93.26 - *
93.27 - * If you wish your version of this file to be governed by only the CDDL
93.28 - * or only the GPL Version 2, indicate your decision by adding
93.29 - * "[Contributor] elects to include this software in this distribution
93.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
93.31 - * single choice of license, a recipient has the option to distribute
93.32 - * your version of this file under either the CDDL, the GPL Version 2 or
93.33 - * to extend the choice of license to its licensees as provided above.
93.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
93.35 - * Version 2 license, then the option applies only if the new code is
93.36 - * made subject to such option by the copyright holder.
93.37 - *
93.38 - * Contributor(s):
93.39 - *
93.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
93.41 - */
93.42 -package tngtestproject;
93.43 -
93.44 -/**
93.45 - *
93.46 - * @author lukas
93.47 - */
93.48 -public class Main {
93.49 -
93.50 - /**
93.51 - * @param args the command line arguments
93.52 - */
93.53 - public static void main(String[] args) {
93.54 - // TODO code application logic here
93.55 - }
93.56 -
93.57 -}
94.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/CleanUpTest.java Sat Mar 10 02:54:06 2012 +0100
94.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
94.3 @@ -1,60 +0,0 @@
94.4 -/*
94.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
94.6 - *
94.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
94.8 - *
94.9 - * The contents of this file are subject to the terms of either the GNU
94.10 - * General Public License Version 2 only ("GPL") or the Common
94.11 - * Development and Distribution License("CDDL") (collectively, the
94.12 - * "License"). You may not use this file except in compliance with the
94.13 - * License. You can obtain a copy of the License at
94.14 - * http://www.netbeans.org/cddl-gplv2.html
94.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
94.16 - * specific language governing permissions and limitations under the
94.17 - * License. When distributing the software, include this License Header
94.18 - * Notice in each file and include the License file at
94.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
94.20 - * particular file as subject to the "Classpath" exception as provided
94.21 - * by Sun in the GPL Version 2 section of the License file that
94.22 - * accompanied this code. If applicable, add the following below the
94.23 - * License Header, with the fields enclosed by brackets [] replaced by
94.24 - * your own identifying information:
94.25 - * "Portions Copyrighted [year] [name of copyright owner]"
94.26 - *
94.27 - * If you wish your version of this file to be governed by only the CDDL
94.28 - * or only the GPL Version 2, indicate your decision by adding
94.29 - * "[Contributor] elects to include this software in this distribution
94.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
94.31 - * single choice of license, a recipient has the option to distribute
94.32 - * your version of this file under either the CDDL, the GPL Version 2 or
94.33 - * to extend the choice of license to its licensees as provided above.
94.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
94.35 - * Version 2 license, then the option applies only if the new code is
94.36 - * made subject to such option by the copyright holder.
94.37 - *
94.38 - * Contributor(s):
94.39 - *
94.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
94.41 - */
94.42 -package test;
94.43 -
94.44 -import org.testng.annotations.AfterClass;
94.45 -import org.testng.annotations.BeforeClass;
94.46 -import org.testng.annotations.Test;
94.47 -
94.48 -public class CleanUpTest {
94.49 -
94.50 - @BeforeClass
94.51 - public void setUp() {
94.52 - }
94.53 -
94.54 - @Test
94.55 - public void aTest() {
94.56 - System.out.println("Test");
94.57 - }
94.58 -
94.59 - @AfterClass
94.60 - public void cleanUp() {
94.61 - assert false : "some message";
94.62 - }
94.63 -}
95.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/FailPassSkipTest.java Sat Mar 10 02:54:06 2012 +0100
95.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
95.3 @@ -1,59 +0,0 @@
95.4 -/*
95.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
95.6 - *
95.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
95.8 - *
95.9 - * The contents of this file are subject to the terms of either the GNU
95.10 - * General Public License Version 2 only ("GPL") or the Common
95.11 - * Development and Distribution License("CDDL") (collectively, the
95.12 - * "License"). You may not use this file except in compliance with the
95.13 - * License. You can obtain a copy of the License at
95.14 - * http://www.netbeans.org/cddl-gplv2.html
95.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
95.16 - * specific language governing permissions and limitations under the
95.17 - * License. When distributing the software, include this License Header
95.18 - * Notice in each file and include the License file at
95.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
95.20 - * particular file as subject to the "Classpath" exception as provided
95.21 - * by Sun in the GPL Version 2 section of the License file that
95.22 - * accompanied this code. If applicable, add the following below the
95.23 - * License Header, with the fields enclosed by brackets [] replaced by
95.24 - * your own identifying information:
95.25 - * "Portions Copyrighted [year] [name of copyright owner]"
95.26 - *
95.27 - * If you wish your version of this file to be governed by only the CDDL
95.28 - * or only the GPL Version 2, indicate your decision by adding
95.29 - * "[Contributor] elects to include this software in this distribution
95.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
95.31 - * single choice of license, a recipient has the option to distribute
95.32 - * your version of this file under either the CDDL, the GPL Version 2 or
95.33 - * to extend the choice of license to its licensees as provided above.
95.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
95.35 - * Version 2 license, then the option applies only if the new code is
95.36 - * made subject to such option by the copyright holder.
95.37 - *
95.38 - * Contributor(s):
95.39 - *
95.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
95.41 - */
95.42 -package test;
95.43 -
95.44 -import org.testng.annotations.Test;
95.45 -
95.46 -public class FailPassSkipTest {
95.47 -
95.48 - @Test
95.49 - public void aTest() {
95.50 - System.out.println("Test");
95.51 - }
95.52 -
95.53 - @Test
95.54 - public void bTest() {
95.55 - assert false;
95.56 - }
95.57 -
95.58 - @Test(dependsOnMethods={"aTest", "bTest"})
95.59 - public void cTest() {
95.60 - System.out.println("Test");
95.61 - }
95.62 -}
96.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/FailingTest.java Sat Mar 10 02:54:06 2012 +0100
96.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
96.3 @@ -1,83 +0,0 @@
96.4 -/*
96.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
96.6 - *
96.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
96.8 - *
96.9 - * The contents of this file are subject to the terms of either the GNU
96.10 - * General Public License Version 2 only ("GPL") or the Common
96.11 - * Development and Distribution License("CDDL") (collectively, the
96.12 - * "License"). You may not use this file except in compliance with the
96.13 - * License. You can obtain a copy of the License at
96.14 - * http://www.netbeans.org/cddl-gplv2.html
96.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
96.16 - * specific language governing permissions and limitations under the
96.17 - * License. When distributing the software, include this License Header
96.18 - * Notice in each file and include the License file at
96.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
96.20 - * particular file as subject to the "Classpath" exception as provided
96.21 - * by Sun in the GPL Version 2 section of the License file that
96.22 - * accompanied this code. If applicable, add the following below the
96.23 - * License Header, with the fields enclosed by brackets [] replaced by
96.24 - * your own identifying information:
96.25 - * "Portions Copyrighted [year] [name of copyright owner]"
96.26 - *
96.27 - * If you wish your version of this file to be governed by only the CDDL
96.28 - * or only the GPL Version 2, indicate your decision by adding
96.29 - * "[Contributor] elects to include this software in this distribution
96.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
96.31 - * single choice of license, a recipient has the option to distribute
96.32 - * your version of this file under either the CDDL, the GPL Version 2 or
96.33 - * to extend the choice of license to its licensees as provided above.
96.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
96.35 - * Version 2 license, then the option applies only if the new code is
96.36 - * made subject to such option by the copyright holder.
96.37 - *
96.38 - * Contributor(s):
96.39 - *
96.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
96.41 - */
96.42 -package test;
96.43 -
96.44 -import java.lang.reflect.InvocationTargetException;
96.45 -import javax.swing.SwingUtilities;
96.46 -import org.testng.annotations.AfterClass;
96.47 -import org.testng.annotations.BeforeClass;
96.48 -import org.testng.annotations.Test;
96.49 -
96.50 -public class FailingTest {
96.51 -
96.52 - @BeforeClass
96.53 - public void setUp() {
96.54 - }
96.55 -
96.56 - @Test
96.57 - public void aTest() {
96.58 - assert false;
96.59 - }
96.60 -
96.61 - @Test(expectedExceptions={NullPointerException.class})
96.62 - public void bTest() {
96.63 - System.out.println("Test");
96.64 - }
96.65 -
96.66 - @Test(expectedExceptions={NullPointerException.class})
96.67 - public void cTest() {
96.68 - try {
96.69 - SwingUtilities.invokeAndWait(new Runnable() {
96.70 -
96.71 - public void run() {
96.72 - assert false;
96.73 - }
96.74 - });
96.75 - } catch (InterruptedException ex) {
96.76 - throw new RuntimeException(ex);
96.77 - } catch (InvocationTargetException ex) {
96.78 - throw new RuntimeException(ex);
96.79 - }
96.80 - throw new NullPointerException("catch this");
96.81 - }
96.82 -
96.83 - @AfterClass
96.84 - public void cleanUp() {
96.85 - }
96.86 -}
97.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/NewTestNGTest.java Sat Mar 10 02:54:06 2012 +0100
97.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
97.3 @@ -1,59 +0,0 @@
97.4 -/*
97.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
97.6 - *
97.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
97.8 - *
97.9 - * The contents of this file are subject to the terms of either the GNU
97.10 - * General Public License Version 2 only ("GPL") or the Common
97.11 - * Development and Distribution License("CDDL") (collectively, the
97.12 - * "License"). You may not use this file except in compliance with the
97.13 - * License. You can obtain a copy of the License at
97.14 - * http://www.netbeans.org/cddl-gplv2.html
97.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
97.16 - * specific language governing permissions and limitations under the
97.17 - * License. When distributing the software, include this License Header
97.18 - * Notice in each file and include the License file at
97.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
97.20 - * particular file as subject to the "Classpath" exception as provided
97.21 - * by Sun in the GPL Version 2 section of the License file that
97.22 - * accompanied this code. If applicable, add the following below the
97.23 - * License Header, with the fields enclosed by brackets [] replaced by
97.24 - * your own identifying information:
97.25 - * "Portions Copyrighted [year] [name of copyright owner]"
97.26 - *
97.27 - * If you wish your version of this file to be governed by only the CDDL
97.28 - * or only the GPL Version 2, indicate your decision by adding
97.29 - * "[Contributor] elects to include this software in this distribution
97.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
97.31 - * single choice of license, a recipient has the option to distribute
97.32 - * your version of this file under either the CDDL, the GPL Version 2 or
97.33 - * to extend the choice of license to its licensees as provided above.
97.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
97.35 - * Version 2 license, then the option applies only if the new code is
97.36 - * made subject to such option by the copyright holder.
97.37 - *
97.38 - * Contributor(s):
97.39 - *
97.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
97.41 - */
97.42 -package test;
97.43 -
97.44 -import org.testng.annotations.AfterClass;
97.45 -import org.testng.annotations.BeforeClass;
97.46 -import org.testng.annotations.Test;
97.47 -
97.48 -public class NewTestNGTest {
97.49 -
97.50 - @BeforeClass
97.51 - public void setUp() {
97.52 - }
97.53 -
97.54 - @Test
97.55 - public void aTest() {
97.56 - System.out.println("Test");
97.57 - }
97.58 -
97.59 - @AfterClass
97.60 - public void cleanUp() {
97.61 - }
97.62 -}
98.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/PassSkipTest.java Sat Mar 10 02:54:06 2012 +0100
98.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
98.3 @@ -1,66 +0,0 @@
98.4 -/*
98.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
98.6 - *
98.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
98.8 - *
98.9 - * The contents of this file are subject to the terms of either the GNU
98.10 - * General Public License Version 2 only ("GPL") or the Common
98.11 - * Development and Distribution License("CDDL") (collectively, the
98.12 - * "License"). You may not use this file except in compliance with the
98.13 - * License. You can obtain a copy of the License at
98.14 - * http://www.netbeans.org/cddl-gplv2.html
98.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
98.16 - * specific language governing permissions and limitations under the
98.17 - * License. When distributing the software, include this License Header
98.18 - * Notice in each file and include the License file at
98.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
98.20 - * particular file as subject to the "Classpath" exception as provided
98.21 - * by Sun in the GPL Version 2 section of the License file that
98.22 - * accompanied this code. If applicable, add the following below the
98.23 - * License Header, with the fields enclosed by brackets [] replaced by
98.24 - * your own identifying information:
98.25 - * "Portions Copyrighted [year] [name of copyright owner]"
98.26 - *
98.27 - * If you wish your version of this file to be governed by only the CDDL
98.28 - * or only the GPL Version 2, indicate your decision by adding
98.29 - * "[Contributor] elects to include this software in this distribution
98.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
98.31 - * single choice of license, a recipient has the option to distribute
98.32 - * your version of this file under either the CDDL, the GPL Version 2 or
98.33 - * to extend the choice of license to its licensees as provided above.
98.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
98.35 - * Version 2 license, then the option applies only if the new code is
98.36 - * made subject to such option by the copyright holder.
98.37 - *
98.38 - * Contributor(s):
98.39 - *
98.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
98.41 - */
98.42 -package test;
98.43 -
98.44 -import org.testng.annotations.AfterClass;
98.45 -import org.testng.annotations.BeforeClass;
98.46 -import org.testng.annotations.Test;
98.47 -
98.48 -public class PassSkipTest {
98.49 -
98.50 - @BeforeClass
98.51 - public void setUp() {
98.52 - // code that will be invoked before this test starts
98.53 - }
98.54 -
98.55 - @Test
98.56 - public void aTest() {
98.57 - System.out.println("Test");
98.58 - }
98.59 -
98.60 - @Test(dependsOnGroups={"xxx"})
98.61 - public void bTest() {
98.62 - System.out.println("Test");
98.63 - }
98.64 -
98.65 - @AfterClass
98.66 - public void cleanUp() {
98.67 - // code that will be invoked after this test ends
98.68 - }
98.69 -}
99.1 --- a/testng/test/unit/data/projects/tngTestProject/test/test/SetUpTest.java Sat Mar 10 02:54:06 2012 +0100
99.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99.3 @@ -1,60 +0,0 @@
99.4 -/*
99.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
99.6 - *
99.7 - * # Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
99.8 - *
99.9 - * The contents of this file are subject to the terms of either the GNU
99.10 - * General Public License Version 2 only ("GPL") or the Common
99.11 - * Development and Distribution License("CDDL") (collectively, the
99.12 - * "License"). You may not use this file except in compliance with the
99.13 - * License. You can obtain a copy of the License at
99.14 - * http://www.netbeans.org/cddl-gplv2.html
99.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
99.16 - * specific language governing permissions and limitations under the
99.17 - * License. When distributing the software, include this License Header
99.18 - * Notice in each file and include the License file at
99.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
99.20 - * particular file as subject to the "Classpath" exception as provided
99.21 - * by Sun in the GPL Version 2 section of the License file that
99.22 - * accompanied this code. If applicable, add the following below the
99.23 - * License Header, with the fields enclosed by brackets [] replaced by
99.24 - * your own identifying information:
99.25 - * "Portions Copyrighted [year] [name of copyright owner]"
99.26 - *
99.27 - * If you wish your version of this file to be governed by only the CDDL
99.28 - * or only the GPL Version 2, indicate your decision by adding
99.29 - * "[Contributor] elects to include this software in this distribution
99.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
99.31 - * single choice of license, a recipient has the option to distribute
99.32 - * your version of this file under either the CDDL, the GPL Version 2 or
99.33 - * to extend the choice of license to its licensees as provided above.
99.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
99.35 - * Version 2 license, then the option applies only if the new code is
99.36 - * made subject to such option by the copyright holder.
99.37 - *
99.38 - * Contributor(s):
99.39 - *
99.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
99.41 - */
99.42 -package test;
99.43 -
99.44 -import org.testng.annotations.AfterClass;
99.45 -import org.testng.annotations.BeforeClass;
99.46 -import org.testng.annotations.Test;
99.47 -
99.48 -public class SetUpTest {
99.49 -
99.50 - @BeforeClass
99.51 - public void setUp() {
99.52 - assert false;
99.53 - }
99.54 -
99.55 - @Test
99.56 - public void aTest() {
99.57 - System.out.println("Test");
99.58 - }
99.59 -
99.60 - @AfterClass
99.61 - public void cleanUp() {
99.62 - }
99.63 -}
100.1 --- a/testng/test/unit/data/results/testng-results.xml Sat Mar 10 02:54:06 2012 +0100
100.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
100.3 @@ -1,313 +0,0 @@
100.4 -<!--
100.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
100.6 -
100.7 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
100.8 -
100.9 -
100.10 -The contents of this file are subject to the terms of either the GNU
100.11 -General Public License Version 2 only ("GPL") or the Common
100.12 -Development and Distribution License("CDDL") (collectively, the
100.13 -"License"). You may not use this file except in compliance with the
100.14 -License. You can obtain a copy of the License at
100.15 -http://www.netbeans.org/cddl-gplv2.html
100.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
100.17 -specific language governing permissions and limitations under the
100.18 -License. When distributing the software, include this License Header
100.19 -Notice in each file and include the License file at
100.20 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
100.21 -particular file as subject to the "Classpath" exception as provided
100.22 -by Sun in the GPL Version 2 section of the License file that
100.23 -accompanied this code. If applicable, add the following below the
100.24 -License Header, with the fields enclosed by brackets [] replaced by
100.25 -your own identifying information:
100.26 -"Portions Copyrighted [year] [name of copyright owner]"
100.27 -
100.28 -Contributor(s):
100.29 -
100.30 -The Original Software is NetBeans. The Initial Developer of the Original
100.31 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
100.32 -Microsystems, Inc. All Rights Reserved.
100.33 -
100.34 -If you wish your version of this file to be governed by only the CDDL
100.35 -or only the GPL Version 2, indicate your decision by adding
100.36 -"[Contributor] elects to include this software in this distribution
100.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
100.38 -single choice of license, a recipient has the option to distribute
100.39 -your version of this file under either the CDDL, the GPL Version 2 or
100.40 -to extend the choice of license to its licensees as provided above.
100.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
100.42 -Version 2 license, then the option applies only if the new code is
100.43 -made subject to such option by the copyright holder.
100.44 --->
100.45 -<testng-results>
100.46 - <reporter-output>
100.47 - </reporter-output>
100.48 - <suite name="Ant suite">
100.49 - <groups>
100.50 - </groups>
100.51 - <test name="Ant test">
100.52 - <class name="test.FailPassSkipTest">
100.53 - <test-method status="FAIL" signature="bTest()" name="bTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.54 - <exception class="java.lang.AssertionError">
100.55 - <full-stacktrace>
100.56 - <![CDATA[java.lang.AssertionError
100.57 - at test.FailPassSkipTest.bTest(FailPassSkipTest.java:52)
100.58 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
100.59 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
100.60 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
100.61 - at java.lang.reflect.Method.invoke(Method.java:597)
100.62 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
100.63 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
100.64 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
100.65 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
100.66 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
100.67 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
100.68 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.69 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.70 - at org.testng.TestRunner.run(TestRunner.java:477)
100.71 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.72 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.73 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.74 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.75 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.76 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.77 - at org.testng.TestNG.run(TestNG.java:708)
100.78 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.79 - at org.testng.TestNG.main(TestNG.java:833)
100.80 -]]>
100.81 - </full-stacktrace>
100.82 - </exception>
100.83 - </test-method>
100.84 - <test-method status="SKIP" signature="cTest()" name="cTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" depends-on-methods="test.FailPassSkipTest.aTest, test.FailPassSkipTest.bTest" finished-at="2008-11-21T21:43:50Z">
100.85 - </test-method>
100.86 - <test-method status="PASS" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.87 - </test-method>
100.88 - </class>
100.89 - <class name="test.PassSkipTest">
100.90 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.91 - </test-method>
100.92 - <test-method status="PASS" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.93 - </test-method>
100.94 - <test-method status="PASS" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.95 - </test-method>
100.96 - <test-method status="SKIP" signature="bTest()" name="bTest" duration-ms="0" depends-on-groups="xxx" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.97 - <exception class="java.lang.Throwable">
100.98 - <message>
100.99 - <![CDATA[Method test.PassSkipTest.bTest() depends on nonexistent group "xxx"]]>
100.100 - </message>
100.101 - <full-stacktrace>
100.102 - <![CDATA[java.lang.Throwable: Method test.PassSkipTest.bTest() depends on nonexistent group "xxx"
100.103 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:964)
100.104 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
100.105 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
100.106 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.107 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.108 - at org.testng.TestRunner.run(TestRunner.java:477)
100.109 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.110 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.111 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.112 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.113 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.114 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.115 - at org.testng.TestNG.run(TestNG.java:708)
100.116 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.117 - at org.testng.TestNG.main(TestNG.java:833)
100.118 -]]>
100.119 - </full-stacktrace>
100.120 - </exception>
100.121 - </test-method>
100.122 - </class>
100.123 - <class name="test.CleanUpTest">
100.124 - <test-method status="FAIL" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.125 - <exception class="java.lang.AssertionError">
100.126 - <message>
100.127 - <![CDATA[some message]]>
100.128 - </message>
100.129 - <full-stacktrace>
100.130 - <![CDATA[java.lang.AssertionError: some message
100.131 - at test.CleanUpTest.cleanUp(CleanUpTest.java:58)
100.132 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
100.133 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
100.134 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
100.135 - at java.lang.reflect.Method.invoke(Method.java:597)
100.136 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
100.137 - at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
100.138 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
100.139 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
100.140 - at org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:210)
100.141 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:113)
100.142 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.143 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.144 - at org.testng.TestRunner.run(TestRunner.java:477)
100.145 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.146 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.147 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.148 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.149 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.150 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.151 - at org.testng.TestNG.run(TestNG.java:708)
100.152 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.153 - at org.testng.TestNG.main(TestNG.java:833)
100.154 -]]>
100.155 - </full-stacktrace>
100.156 - </exception>
100.157 - </test-method>
100.158 - <test-method status="PASS" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.159 - </test-method>
100.160 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.161 - </test-method>
100.162 - </class>
100.163 - <class name="test.FailingTest">
100.164 - <test-method status="FAIL" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.165 - <exception class="java.lang.AssertionError">
100.166 - <full-stacktrace>
100.167 - <![CDATA[java.lang.AssertionError
100.168 - at test.FailingTest.aTest(FailingTest.java:53)
100.169 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
100.170 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
100.171 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
100.172 - at java.lang.reflect.Method.invoke(Method.java:597)
100.173 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
100.174 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
100.175 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
100.176 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
100.177 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
100.178 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
100.179 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.180 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.181 - at org.testng.TestRunner.run(TestRunner.java:477)
100.182 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.183 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.184 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.185 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.186 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.187 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.188 - at org.testng.TestNG.run(TestNG.java:708)
100.189 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.190 - at org.testng.TestNG.main(TestNG.java:833)
100.191 -]]>
100.192 - </full-stacktrace>
100.193 - </exception>
100.194 - </test-method>
100.195 - <test-method status="FAIL" signature="bTest()" name="bTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.196 - <exception class="org.testng.TestException">
100.197 - <message>
100.198 - <![CDATA[
100.199 -Expected an exception in test method test.FailingTest.bTest()]]>
100.200 - </message>
100.201 - <full-stacktrace>
100.202 - <![CDATA[org.testng.TestException:
100.203 -Expected an exception in test method test.FailingTest.bTest()
100.204 - at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1122)
100.205 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:898)
100.206 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
100.207 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
100.208 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.209 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.210 - at org.testng.TestRunner.run(TestRunner.java:477)
100.211 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.212 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.213 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.214 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.215 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.216 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.217 - at org.testng.TestNG.run(TestNG.java:708)
100.218 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.219 - at org.testng.TestNG.main(TestNG.java:833)
100.220 -]]>
100.221 - </full-stacktrace>
100.222 - </exception>
100.223 - </test-method>
100.224 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.225 - </test-method>
100.226 - <test-method status="PASS" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.227 - </test-method>
100.228 - <test-method status="PASS" signature="cTest()" name="cTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.229 - <exception class="java.lang.NullPointerException">
100.230 - <message>
100.231 - <![CDATA[catch this]]>
100.232 - </message>
100.233 - <full-stacktrace>
100.234 - <![CDATA[java.lang.NullPointerException: catch this
100.235 - at test.FailingTest.cTest(FailingTest.java:63)
100.236 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
100.237 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
100.238 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
100.239 - at java.lang.reflect.Method.invoke(Method.java:597)
100.240 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
100.241 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
100.242 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
100.243 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
100.244 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
100.245 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
100.246 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.247 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.248 - at org.testng.TestRunner.run(TestRunner.java:477)
100.249 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.250 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.251 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.252 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.253 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.254 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.255 - at org.testng.TestNG.run(TestNG.java:708)
100.256 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.257 - at org.testng.TestNG.main(TestNG.java:833)
100.258 -]]>
100.259 - </full-stacktrace>
100.260 - </exception>
100.261 - </test-method>
100.262 - </class>
100.263 - <class name="test.NewTestNGTest">
100.264 - <test-method status="PASS" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.265 - </test-method>
100.266 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.267 - </test-method>
100.268 - <test-method status="PASS" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.269 - </test-method>
100.270 - </class>
100.271 - <class name="test.SetUpTest">
100.272 - <test-method status="FAIL" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.273 - <exception class="java.lang.AssertionError">
100.274 - <full-stacktrace>
100.275 - <![CDATA[java.lang.AssertionError
100.276 - at test.SetUpTest.setUp(SetUpTest.java:49)
100.277 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
100.278 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
100.279 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
100.280 - at java.lang.reflect.Method.invoke(Method.java:597)
100.281 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
100.282 - at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:398)
100.283 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145)
100.284 - at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82)
100.285 - at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:167)
100.286 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:104)
100.287 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
100.288 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
100.289 - at org.testng.TestRunner.run(TestRunner.java:477)
100.290 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
100.291 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
100.292 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
100.293 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
100.294 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
100.295 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
100.296 - at org.testng.TestNG.run(TestNG.java:708)
100.297 - at org.testng.TestNG.privateMain(TestNG.java:860)
100.298 - at org.testng.TestNG.main(TestNG.java:833)
100.299 -]]>
100.300 - </full-stacktrace>
100.301 - </exception>
100.302 - </test-method>
100.303 - <test-method status="SKIP" signature="aTest()" name="aTest" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.304 - </test-method>
100.305 - <test-method status="SKIP" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-21T21:43:50Z" finished-at="2008-11-21T21:43:50Z">
100.306 - </test-method>
100.307 - </class>
100.308 - </test>
100.309 - <test>
100.310 - <class name="test.SkippedExceptionTest">
100.311 - <test-method status="SKIP" signature="fexTest()" name="fexTest" duration-ms="0" started-at="2008-11-21T17:59:38Z" finished-at="2008-11-21T17:59:38Z">
100.312 - </test-method>
100.313 - </class>
100.314 - </test>
100.315 - </suite>
100.316 -</testng-results>
101.1 --- a/testng/test/unit/data/results/testng-results_1.xml Sat Mar 10 02:54:06 2012 +0100
101.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
101.3 @@ -1,1389 +0,0 @@
101.4 -<!--
101.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
101.6 -
101.7 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
101.8 -
101.9 -
101.10 -The contents of this file are subject to the terms of either the GNU
101.11 -General Public License Version 2 only ("GPL") or the Common
101.12 -Development and Distribution License("CDDL") (collectively, the
101.13 -"License"). You may not use this file except in compliance with the
101.14 -License. You can obtain a copy of the License at
101.15 -http://www.netbeans.org/cddl-gplv2.html
101.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
101.17 -specific language governing permissions and limitations under the
101.18 -License. When distributing the software, include this License Header
101.19 -Notice in each file and include the License file at
101.20 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
101.21 -particular file as subject to the "Classpath" exception as provided
101.22 -by Sun in the GPL Version 2 section of the License file that
101.23 -accompanied this code. If applicable, add the following below the
101.24 -License Header, with the fields enclosed by brackets [] replaced by
101.25 -your own identifying information:
101.26 -"Portions Copyrighted [year] [name of copyright owner]"
101.27 -
101.28 -Contributor(s):
101.29 -
101.30 -The Original Software is NetBeans. The Initial Developer of the Original
101.31 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
101.32 -Microsystems, Inc. All Rights Reserved.
101.33 -
101.34 -If you wish your version of this file to be governed by only the CDDL
101.35 -or only the GPL Version 2, indicate your decision by adding
101.36 -"[Contributor] elects to include this software in this distribution
101.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
101.38 -single choice of license, a recipient has the option to distribute
101.39 -your version of this file under either the CDDL, the GPL Version 2 or
101.40 -to extend the choice of license to its licensees as provided above.
101.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
101.42 -Version 2 license, then the option applies only if the new code is
101.43 -made subject to such option by the copyright holder.
101.44 --->
101.45 -<testng-results>
101.46 - <reporter-output>
101.47 - </reporter-output>
101.48 - <suite name="TestNG JDK 1.4">
101.49 - <groups>
101.50 - <group name="stop">
101.51 - <method signature="test.dependent.DependsWithRegexp.stop()" name="stop" class="test.dependent.DependsWithRegexp"/>
101.52 - </group>
101.53 - <group name="nopackage">
101.54 - <method signature="NoPackageTest.test()" name="test" class="NoPackageTest"/>
101.55 - </group>
101.56 - <group name="one">
101.57 - <method signature="test.dependent.SampleDependentMethods2.oneB()" name="oneB" class="test.dependent.SampleDependentMethods2"/>
101.58 - <method signature="test.dependent.SampleDependentMethods2.oneA()" name="oneA" class="test.dependent.SampleDependentMethods2"/>
101.59 - </group>
101.60 - <group name="init">
101.61 - <method signature="test.configuration.GroupLessTest.initMethod()" name="initMethod" class="test.configuration.GroupLessTest"/>
101.62 - <method signature="test.configuration.GroupLessTest.startMethod()" name="startMethod" class="test.configuration.GroupLessTest"/>
101.63 - </group>
101.64 - <group name="run">
101.65 - <method signature="test.configuration.GroupLessTest.endMethod()" name="endMethod" class="test.configuration.GroupLessTest"/>
101.66 - </group>
101.67 - <group name="2.1">
101.68 - <method signature="test.dependent.OrderMethodTest.a_second1()" name="a_second1" class="test.dependent.OrderMethodTest"/>
101.69 - </group>
101.70 - <group name="basic1">
101.71 - <method signature="test.sample.Basic1.basic1()" name="basic1" class="test.sample.Basic1"/>
101.72 - </group>
101.73 - <group name="2.0">
101.74 - <method signature="test.dependent.BaseOrderMethodTest.a_second0()" name="a_second0" class="test.dependent.BaseOrderMethodTest"/>
101.75 - </group>
101.76 - <group name="singleString">
101.77 - <method signature="test.parameters.ParameterSample.testSingleString(java.lang.String)" name="testSingleString" class="test.parameters.ParameterSample"/>
101.78 - <method signature="test.parameters.ParameterSample.testSingleStringDeprecated(java.lang.String)" name="testSingleStringDeprecated" class="test.parameters.ParameterSample"/>
101.79 - </group>
101.80 - <group name="outer-group">
101.81 - <method signature="test.sample.Scope.outer(java.lang.String)" name="outer" class="test.sample.Scope"/>
101.82 - <method signature="test.sample.Scope.outerDeprecated(java.lang.String)" name="outerDeprecated" class="test.sample.Scope"/>
101.83 - </group>
101.84 - <group name="3">
101.85 - <method signature="test.dependent.BaseOrderMethodTest.third0()" name="third0" class="test.dependent.BaseOrderMethodTest"/>
101.86 - </group>
101.87 - <group name="mytest1">
101.88 - <method signature="test.dataprovider.MultipleDataProviderTest.verifyData1(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData1" class="test.dataprovider.MultipleDataProviderTest"/>
101.89 - </group>
101.90 - <group name="testMethodOnFactoryClass">
101.91 - <method signature="test.factory.FactoryInSeparateClass.checkSum()" name="checkSum" class="test.factory.FactoryInSeparateClass"/>
101.92 - </group>
101.93 - <group name="MyTest">
101.94 - <method signature="test.factory.MyTest.testMethod()" name="testMethod" class="test.factory.MyTest"/>
101.95 - </group>
101.96 - <group name="start">
101.97 - <method signature="test.dependent.DependsWithRegexp.start()" name="start" class="test.dependent.DependsWithRegexp"/>
101.98 - </group>
101.99 - <group name="mytest2">
101.100 - <method signature="test.dataprovider.MultipleDataProviderTest.verifyData2(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData2" class="test.dataprovider.MultipleDataProviderTest"/>
101.101 - </group>
101.102 - <group name="inner-group">
101.103 - <method signature="test.sample.Scope.inner(java.lang.String)" name="inner" class="test.sample.Scope"/>
101.104 - <method signature="test.sample.Scope.innerDeprecated(java.lang.String)" name="innerDeprecated" class="test.sample.Scope"/>
101.105 - </group>
101.106 - <group name="1.0">
101.107 - <method signature="test.dependent.OrderMethodTest.z_first0()" name="z_first0" class="test.dependent.OrderMethodTest"/>
101.108 - </group>
101.109 - <group name="current">
101.110 - <method signature="test.Test1.includedGroups()" name="includedGroups" class="test.Test1"/>
101.111 - <method signature="test.CommandLineTest.junitParsing2()" name="junitParsing2" class="test.CommandLineTest"/>
101.112 - <method signature="test.MethodTest.excludeMethodsOnly()" name="excludeMethodsOnly" class="test.MethodTest"/>
101.113 - <method signature="test.CommandLineTest.junitParsing()" name="junitParsing" class="test.CommandLineTest"/>
101.114 - <method signature="test.MethodTest.includeMethodsOnly()" name="includeMethodsOnly" class="test.MethodTest"/>
101.115 - <method signature="test.JUnitTest1.methodsWithSetup()" name="methodsWithSetup" class="test.JUnitTest1"/>
101.116 - </group>
101.117 - <group name="currentold">
101.118 - <method signature="test.Test1.logger()" name="logger" class="test.Test1"/>
101.119 - </group>
101.120 - <group name="group1">
101.121 - <method signature="test.configuration.ConfigurationInheritGroupsSampleTest.test1()" name="test1" class="test.configuration.ConfigurationInheritGroupsSampleTest"/>
101.122 - </group>
101.123 - <group name="first">
101.124 - <method signature="test.classgroup.First.first2()" name="first2" class="test.classgroup.First"/>
101.125 - <method signature="test.classgroup.First.first1()" name="first1" class="test.classgroup.First"/>
101.126 - <method signature="test.factory.FactoryTest2.testInt()" name="testInt" class="test.factory.FactoryTest2"/>
101.127 - </group>
101.128 - <group name="inheritedTestMethod">
101.129 - <method signature="test.sample.BaseSampleInheritance.baseMethod()" name="baseMethod" class="test.sample.BaseSampleInheritance"/>
101.130 - </group>
101.131 - <group name="1.1">
101.132 - <method signature="test.dependent.OrderMethodTest.z_premiere1()" name="z_premiere1" class="test.dependent.OrderMethodTest"/>
101.133 - </group>
101.134 - </groups>
101.135 - <test name="DataProvider">
101.136 - <class name="test.dataprovider.StaticDataProviderSampleTest">
101.137 - <test-method status="PASS" signature="verifyStatic(java.lang.String)" name="verifyStatic" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.138 - <params>
101.139 - <param index="0">
101.140 - <value>
101.141 - <![CDATA[Cedric]]>
101.142 - </value>
101.143 - </param>
101.144 - </params>
101.145 - </test-method>
101.146 - </class>
101.147 - <class name="test.dataprovider.MultipleDataProviderTest">
101.148 - <test-method status="PASS" signature="verifyData2(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData2" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.149 - <params>
101.150 - <param index="0">
101.151 - <value>
101.152 - <![CDATA[Cedric]]>
101.153 - </value>
101.154 - </param>
101.155 - <param index="1">
101.156 - <value>
101.157 - <![CDATA[36]]>
101.158 - </value>
101.159 - </param>
101.160 - <param index="2">
101.161 - <value>
101.162 - <![CDATA[1]]>
101.163 - </value>
101.164 - </param>
101.165 - </params>
101.166 - </test-method>
101.167 - <test-method status="PASS" signature="verifyData2(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData2" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.168 - <params>
101.169 - <param index="0">
101.170 - <value>
101.171 - <![CDATA[Anne]]>
101.172 - </value>
101.173 - </param>
101.174 - <param index="1">
101.175 - <value>
101.176 - <![CDATA[37]]>
101.177 - </value>
101.178 - </param>
101.179 - <param index="2">
101.180 - <value>
101.181 - <![CDATA[2]]>
101.182 - </value>
101.183 - </param>
101.184 - </params>
101.185 - </test-method>
101.186 - <test-method status="PASS" signature="verifyData1(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData1" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.187 - <params>
101.188 - <param index="0">
101.189 - <value>
101.190 - <![CDATA[Name2]]>
101.191 - </value>
101.192 - </param>
101.193 - <param index="1">
101.194 - <value>
101.195 - <![CDATA[47]]>
101.196 - </value>
101.197 - </param>
101.198 - <param index="2">
101.199 - <value>
101.200 - <![CDATA[2]]>
101.201 - </value>
101.202 - </param>
101.203 - </params>
101.204 - </test-method>
101.205 - <test-method status="PASS" signature="verifyData1(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData1" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.206 - <params>
101.207 - <param index="0">
101.208 - <value>
101.209 - <![CDATA[Name1]]>
101.210 - </value>
101.211 - </param>
101.212 - <param index="1">
101.213 - <value>
101.214 - <![CDATA[46]]>
101.215 - </value>
101.216 - </param>
101.217 - <param index="2">
101.218 - <value>
101.219 - <![CDATA[1]]>
101.220 - </value>
101.221 - </param>
101.222 - </params>
101.223 - </test-method>
101.224 - <test-method status="PASS" signature="verifyTest2DataProvider()" name="verifyTest2DataProvider" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.MultipleDataProviderTest.verifyData2" finished-at="2008-08-14T12:02:14Z">
101.225 - </test-method>
101.226 - <test-method status="PASS" signature="verifyTest1DataProvider()" name="verifyTest1DataProvider" duration-ms="1" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.MultipleDataProviderTest.verifyData1" finished-at="2008-08-14T12:02:14Z">
101.227 - </test-method>
101.228 - <test-method status="PASS" signature="verifyData2(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData2" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.229 - <params>
101.230 - <param index="0">
101.231 - <value>
101.232 - <![CDATA[John]]>
101.233 - </value>
101.234 - </param>
101.235 - <param index="1">
101.236 - <value>
101.237 - <![CDATA[23]]>
101.238 - </value>
101.239 - </param>
101.240 - <param index="2">
101.241 - <value>
101.242 - <![CDATA[3]]>
101.243 - </value>
101.244 - </param>
101.245 - </params>
101.246 - </test-method>
101.247 - <test-method status="PASS" signature="verifyData1(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData1" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.248 - <params>
101.249 - <param index="0">
101.250 - <value>
101.251 - <![CDATA[Name3]]>
101.252 - </value>
101.253 - </param>
101.254 - <param index="1">
101.255 - <value>
101.256 - <![CDATA[43]]>
101.257 - </value>
101.258 - </param>
101.259 - <param index="2">
101.260 - <value>
101.261 - <![CDATA[3]]>
101.262 - </value>
101.263 - </param>
101.264 - </params>
101.265 - </test-method>
101.266 - <test-method status="PASS" signature="verifyData2(java.lang.String, java.lang.Integer, java.lang.Integer)" name="verifyData2" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.267 - <params>
101.268 - <param index="0">
101.269 - <value>
101.270 - <![CDATA[Mary]]>
101.271 - </value>
101.272 - </param>
101.273 - <param index="1">
101.274 - <value>
101.275 - <![CDATA[13]]>
101.276 - </value>
101.277 - </param>
101.278 - <param index="2">
101.279 - <value>
101.280 - <![CDATA[4]]>
101.281 - </value>
101.282 - </param>
101.283 - </params>
101.284 - </test-method>
101.285 - </class>
101.286 - <class name="test.dataprovider.IterableTest">
101.287 - <test-method status="PASS" signature="verifyNames(java.lang.String, java.lang.Integer)" name="verifyNames" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.288 - <params>
101.289 - <param index="0">
101.290 - <value>
101.291 - <![CDATA[Cedric]]>
101.292 - </value>
101.293 - </param>
101.294 - <param index="1">
101.295 - <value>
101.296 - <![CDATA[36]]>
101.297 - </value>
101.298 - </param>
101.299 - </params>
101.300 - </test-method>
101.301 - <test-method status="PASS" signature="verifyCount()" name="verifyCount" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.IterableTest.verifyNames" finished-at="2008-08-14T12:02:14Z">
101.302 - </test-method>
101.303 - <test-method status="PASS" signature="verifyNames(java.lang.String, java.lang.Integer)" name="verifyNames" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.304 - <params>
101.305 - <param index="0">
101.306 - <value>
101.307 - <![CDATA[Anne Marie]]>
101.308 - </value>
101.309 - </param>
101.310 - <param index="1">
101.311 - <value>
101.312 - <![CDATA[37]]>
101.313 - </value>
101.314 - </param>
101.315 - </params>
101.316 - </test-method>
101.317 - </class>
101.318 - <class name="test.dataprovider.Sample1Test">
101.319 - <test-method status="PASS" signature="verifyNames(java.lang.String, java.lang.Integer)" name="verifyNames" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.320 - <params>
101.321 - <param index="0">
101.322 - <value>
101.323 - <![CDATA[Alex]]>
101.324 - </value>
101.325 - </param>
101.326 - <param index="1">
101.327 - <value>
101.328 - <![CDATA[30]]>
101.329 - </value>
101.330 - </param>
101.331 - </params>
101.332 - </test-method>
101.333 - <test-method status="PASS" signature="verifyNames(java.lang.String, java.lang.Integer)" name="verifyNames" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.334 - <params>
101.335 - <param index="0">
101.336 - <value>
101.337 - <![CDATA[Cedric]]>
101.338 - </value>
101.339 - </param>
101.340 - <param index="1">
101.341 - <value>
101.342 - <![CDATA[36]]>
101.343 - </value>
101.344 - </param>
101.345 - </params>
101.346 - </test-method>
101.347 - <test-method status="PASS" signature="verifyCount()" name="verifyCount" duration-ms="1" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.Sample1Test.verifyNames" finished-at="2008-08-14T12:02:14Z">
101.348 - </test-method>
101.349 - <test-method status="PASS" signature="verifyNames(java.lang.String, java.lang.Integer)" name="verifyNames" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.350 - <params>
101.351 - <param index="0">
101.352 - <value>
101.353 - <![CDATA[Anne Marie]]>
101.354 - </value>
101.355 - </param>
101.356 - <param index="1">
101.357 - <value>
101.358 - <![CDATA[37]]>
101.359 - </value>
101.360 - </param>
101.361 - </params>
101.362 - </test-method>
101.363 - </class>
101.364 - <class name="test.dataprovider.ChildUsingParentDataProviderTest">
101.365 - <test-method status="PASS" signature="useParentDataProvider(java.lang.String, java.lang.Integer)" name="useParentDataProvider" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.366 - <params>
101.367 - <param index="0">
101.368 - <value>
101.369 - <![CDATA[Cedric]]>
101.370 - </value>
101.371 - </param>
101.372 - <param index="1">
101.373 - <value>
101.374 - <![CDATA[36]]>
101.375 - </value>
101.376 - </param>
101.377 - </params>
101.378 - </test-method>
101.379 - <test-method status="PASS" signature="verifyParentCount()" name="verifyParentCount" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.AbstractRootDataProvider.parentTest" finished-at="2008-08-14T12:02:14Z">
101.380 - </test-method>
101.381 - <test-method status="PASS" signature="parentTest(java.lang.String, java.lang.Integer)" name="parentTest" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.382 - <params>
101.383 - <param index="0">
101.384 - <value>
101.385 - <![CDATA[Anne Marie]]>
101.386 - </value>
101.387 - </param>
101.388 - <param index="1">
101.389 - <value>
101.390 - <![CDATA[37]]>
101.391 - </value>
101.392 - </param>
101.393 - </params>
101.394 - </test-method>
101.395 - <test-method status="PASS" signature="parentTest(java.lang.String, java.lang.Integer)" name="parentTest" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.396 - <params>
101.397 - <param index="0">
101.398 - <value>
101.399 - <![CDATA[Cedric]]>
101.400 - </value>
101.401 - </param>
101.402 - <param index="1">
101.403 - <value>
101.404 - <![CDATA[36]]>
101.405 - </value>
101.406 - </param>
101.407 - </params>
101.408 - </test-method>
101.409 - <test-method status="PASS" signature="useParentDataProvider(java.lang.String, java.lang.Integer)" name="useParentDataProvider" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.410 - <params>
101.411 - <param index="0">
101.412 - <value>
101.413 - <![CDATA[Anne Marie]]>
101.414 - </value>
101.415 - </param>
101.416 - <param index="1">
101.417 - <value>
101.418 - <![CDATA[37]]>
101.419 - </value>
101.420 - </param>
101.421 - </params>
101.422 - </test-method>
101.423 - <test-method status="PASS" signature="verifyCount()" name="verifyCount" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.ChildUsingParentDataProviderTest.useParentDataProvider" finished-at="2008-08-14T12:02:14Z">
101.424 - </test-method>
101.425 - </class>
101.426 - <class name="test.dataprovider.ChildDataProvider">
101.427 - <test-method status="PASS" signature="verifyParentInvocation()" name="verifyParentInvocation" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.dataprovider.ParentBaseTest.useChildDataProvider" finished-at="2008-08-14T12:02:14Z">
101.428 - </test-method>
101.429 - <test-method status="PASS" signature="useChildDataProvider(java.lang.String)" name="useChildDataProvider" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.430 - <params>
101.431 - <param index="0">
101.432 - <value>
101.433 - <![CDATA[Ana-Maria]]>
101.434 - </value>
101.435 - </param>
101.436 - </params>
101.437 - </test-method>
101.438 - <test-method status="PASS" signature="useChildDataProvider(java.lang.String)" name="useChildDataProvider" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.439 - <params>
101.440 - <param index="0">
101.441 - <value>
101.442 - <![CDATA[Alex]]>
101.443 - </value>
101.444 - </param>
101.445 - </params>
101.446 - </test-method>
101.447 - </class>
101.448 - </test>
101.449 - <test name="Parameters for constructors">
101.450 - <class name="test.ParameterConstructorTest">
101.451 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.452 - </test-method>
101.453 - </class>
101.454 - </test>
101.455 - <test name="Skip">
101.456 - <class name="test.dependent.DependentTest">
101.457 - <test-method status="PASS" signature="dependentMethodsWithSkip()" name="dependentMethodsWithSkip" duration-ms="5" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.458 - </test-method>
101.459 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.460 - </test-method>
101.461 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.462 - </test-method>
101.463 - <test-method status="PASS" signature="dependentMethodsWithNonExistentMethod()" name="dependentMethodsWithNonExistentMethod" duration-ms="2" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.464 - <exception class="org.testng.TestNGException">
101.465 - <message>
101.466 - <![CDATA[
101.467 -test.dependent.SampleDependentMethods5.step2() is depending on nonexistent method blablable]]>
101.468 - </message>
101.469 - <full-stacktrace>
101.470 - <![CDATA[org.testng.TestNGException:
101.471 -test.dependent.SampleDependentMethods5.step2() is depending on nonexistent method blablable
101.472 - at org.testng.internal.MethodHelper.findMethodsNamed(MethodHelper.java:143)
101.473 - at org.testng.internal.MethodHelper.topologicalSort(MethodHelper.java:472)
101.474 - at org.testng.internal.MethodHelper.sortMethods(MethodHelper.java:544)
101.475 - at org.testng.internal.MethodHelper.internalCollectAndOrderMethods(MethodHelper.java:77)
101.476 - at org.testng.internal.MethodHelper.collectAndOrderMethods(MethodHelper.java:49)
101.477 - at org.testng.TestRunner.initMethods(TestRunner.java:355)
101.478 - at org.testng.TestRunner.init(TestRunner.java:234)
101.479 - at org.testng.TestRunner.init(TestRunner.java:196)
101.480 - at org.testng.TestRunner.<init>(TestRunner.java:154)
101.481 - at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:307)
101.482 - at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:529)
101.483 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:250)
101.484 - at org.testng.SuiteRunner.run(SuiteRunner.java:204)
101.485 - at test.BaseTest.run(BaseTest.java:130)
101.486 - at test.dependent.DependentTest.dependentMethodsWithNonExistentMethod(DependentTest.java:92)
101.487 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
101.488 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
101.489 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
101.490 - at java.lang.reflect.Method.invoke(Method.java:597)
101.491 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
101.492 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:517)
101.493 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:669)
101.494 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:956)
101.495 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
101.496 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
101.497 - at org.testng.TestRunner.runWorkers(TestRunner.java:720)
101.498 - at org.testng.TestRunner.privateRun(TestRunner.java:590)
101.499 - at org.testng.TestRunner.run(TestRunner.java:484)
101.500 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
101.501 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
101.502 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
101.503 - at org.testng.SuiteRunner.run(SuiteRunner.java:204)
101.504 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:864)
101.505 - at org.testng.TestNG.runSuitesLocally(TestNG.java:830)
101.506 - at org.testng.TestNG.run(TestNG.java:748)
101.507 - at org.testng.TestNG.privateMain(TestNG.java:901)
101.508 - at org.testng.TestNG.main(TestNG.java:874)
101.509 -]]>
101.510 - </full-stacktrace>
101.511 - </exception>
101.512 - </test-method>
101.513 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.514 - </test-method>
101.515 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:13Z">
101.516 - </test-method>
101.517 - <test-method status="PASS" signature="dependentMethods()" name="dependentMethods" duration-ms="8" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.518 - </test-method>
101.519 - <test-method status="PASS" signature="simpleSkip()" name="simpleSkip" duration-ms="4" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.520 - </test-method>
101.521 - </class>
101.522 - </test>
101.523 - <test name="Test inner scope">
101.524 - <class name="test.sample.Scope">
101.525 - <test-method status="PASS" signature="innerDeprecated(java.lang.String)" name="innerDeprecated" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.526 - <params>
101.527 - <param index="0">
101.528 - <value>
101.529 - <![CDATA[in]]>
101.530 - </value>
101.531 - </param>
101.532 - </params>
101.533 - </test-method>
101.534 - <test-method status="PASS" signature="inner(java.lang.String)" name="inner" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.535 - <params>
101.536 - <param index="0">
101.537 - <value>
101.538 - <![CDATA[in]]>
101.539 - </value>
101.540 - </param>
101.541 - </params>
101.542 - </test-method>
101.543 - </class>
101.544 - </test>
101.545 - <test name="AfterClassCalledAtEnd">
101.546 - <class name="test.sample.AfterClassCalledAtEnd">
101.547 - <test-method status="PASS" signature="before1Class()" name="before1Class" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.548 - </test-method>
101.549 - <test-method status="PASS" signature="test3()" name="test3" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.550 - </test-method>
101.551 - <test-method status="PASS" signature="test1()" name="test1" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.552 - </test-method>
101.553 - <test-method status="PASS" signature="baseAfterClass()" name="baseAfterClass" is-config="true" duration-ms="0" depends-on-groups=".*" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.554 - </test-method>
101.555 - <test-method status="PASS" signature="afterClass()" name="afterClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.556 - </test-method>
101.557 - <test-method status="PASS" signature="test2()" name="test2" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.558 - </test-method>
101.559 - </class>
101.560 - </test>
101.561 - <test name="Factory">
101.562 - <class name="test.factory.IInstanceFactory">
101.563 - <test-method status="PASS" signature="afterVerification()" name="afterVerification" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.564 - </test-method>
101.565 - </class>
101.566 - <class name="test.factory.IInstanceFactory$TestInterface">
101.567 - <test-method status="PASS" signature="testMethod()" name="testMethod" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.568 - </test-method>
101.569 - </class>
101.570 - <class name="test.factory.MyTest">
101.571 - <test-method status="PASS" signature="verifyThatTestMethodOnFactoryClassWasRun()" name="verifyThatTestMethodOnFactoryClassWasRun" duration-ms="0" depends-on-groups="testMethodOnFactoryClass" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.572 - </test-method>
101.573 - <test-method status="PASS" signature="testMethod()" name="testMethod" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.574 - </test-method>
101.575 - <test-method status="PASS" signature="verifyThatTestMethodOnFactoryClassWasRun()" name="verifyThatTestMethodOnFactoryClassWasRun" duration-ms="0" depends-on-groups="testMethodOnFactoryClass" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.576 - </test-method>
101.577 - <test-method status="PASS" signature="verifyThatTestMethodOnFactoryClassWasRun()" name="verifyThatTestMethodOnFactoryClassWasRun" duration-ms="0" depends-on-groups="testMethodOnFactoryClass" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.578 - </test-method>
101.579 - <test-method status="PASS" signature="testMethod()" name="testMethod" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.580 - </test-method>
101.581 - <test-method status="PASS" signature="testMethod()" name="testMethod" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.582 - </test-method>
101.583 - </class>
101.584 - <class name="test.factory.FactoryTest2">
101.585 - <test-method status="PASS" signature="testInt()" name="testInt" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.586 - </test-method>
101.587 - <test-method status="PASS" signature="testInt()" name="testInt" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.588 - </test-method>
101.589 - </class>
101.590 - <class name="test.factory.FactoryInSeparateClass">
101.591 - <test-method status="PASS" signature="checkSum()" name="checkSum" duration-ms="1" depends-on-groups="MyTest" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.592 - </test-method>
101.593 - </class>
101.594 - <class name="test.factory.VerifyFactoryTest">
101.595 - <test-method status="PASS" signature="mainCheck()" name="mainCheck" duration-ms="0" depends-on-groups="first" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.596 - </test-method>
101.597 - </class>
101.598 - <class name="test.factory.FactoryWithDataProviderTest">
101.599 - <test-method status="PASS" signature="verifyDataProvider()" name="verifyDataProvider" duration-ms="31" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.600 - </test-method>
101.601 - </class>
101.602 - </test>
101.603 - <test name="Exclusion">
101.604 - <class name="test.Test2">
101.605 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.606 - </test-method>
101.607 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.608 - </test-method>
101.609 - <test-method status="PASS" signature="noGroups()" name="noGroups" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.610 - </test-method>
101.611 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.612 - </test-method>
101.613 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.614 - </test-method>
101.615 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.616 - </test-method>
101.617 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.618 - </test-method>
101.619 - <test-method status="PASS" signature="setUpWithGroups()" name="setUpWithGroups" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.620 - </test-method>
101.621 - <test-method status="PASS" signature="partialGroupsClass()" name="partialGroupsClass" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.622 - </test-method>
101.623 - <test-method status="PASS" signature="partialGroupsMethod()" name="partialGroupsMethod" duration-ms="5" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.624 - </test-method>
101.625 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.626 - </test-method>
101.627 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.628 - </test-method>
101.629 - </class>
101.630 - </test>
101.631 - <test name="Nopackage">
101.632 - <class name="NoPackageTest">
101.633 - <test-method status="PASS" signature="afterTest()" name="afterTest" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.634 - </test-method>
101.635 - <test-method status="PASS" signature="test()" name="test" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.636 - </test-method>
101.637 - </class>
101.638 - </test>
101.639 - <test name="Dependents">
101.640 - <class name="test.dependent.SampleDependentConfigurationMethods">
101.641 - <test-method status="PASS" signature="verifyDependents()" name="verifyDependents" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.642 - </test-method>
101.643 - <test-method status="PASS" signature="firstInvocation()" name="firstInvocation" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.644 - </test-method>
101.645 - <test-method status="PASS" signature="createInstance()" name="createInstance" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" depends-on-methods="test.dependent.SampleDependentConfigurationMethods.firstInvocation" finished-at="2008-08-14T12:02:11Z">
101.646 - </test-method>
101.647 - </class>
101.648 - <class name="test.dependent.SampleDependentMethods">
101.649 - <test-method status="PASS" signature="secondA()" name="secondA" duration-ms="0" started-at="2008-08-14T12:02:11Z" depends-on-methods="test.dependent.SampleDependentMethods.oneB, test.dependent.SampleDependentMethods.oneA" finished-at="2008-08-14T12:02:11Z">
101.650 - </test-method>
101.651 - <test-method status="PASS" signature="tearDown()" name="tearDown" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.652 - </test-method>
101.653 - <test-method status="PASS" signature="oneB()" name="oneB" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.654 - </test-method>
101.655 - <test-method status="PASS" signature="thirdA()" name="thirdA" duration-ms="0" started-at="2008-08-14T12:02:11Z" depends-on-methods="test.dependent.SampleDependentMethods.secondA" finished-at="2008-08-14T12:02:11Z">
101.656 - </test-method>
101.657 - <test-method status="PASS" signature="canBeRunAnytime()" name="canBeRunAnytime" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.658 - </test-method>
101.659 - <test-method status="PASS" signature="oneA()" name="oneA" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.660 - </test-method>
101.661 - </class>
101.662 - <class name="test.dependent.DependentAlwaysRunTest">
101.663 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="25" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.664 - </test-method>
101.665 - <test-method status="PASS" signature="verifyDependsOnMethodsAlwaysRun()" name="verifyDependsOnMethodsAlwaysRun" duration-ms="8" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.666 - </test-method>
101.667 - <test-method status="PASS" signature="verifyDependsOnGroups2AlwaysRun()" name="verifyDependsOnGroups2AlwaysRun" duration-ms="7" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.668 - </test-method>
101.669 - <test-method status="PASS" signature="verifyDependsOnGroups1AlwaysRun()" name="verifyDependsOnGroups1AlwaysRun" duration-ms="6" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.670 - </test-method>
101.671 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="31" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.672 - </test-method>
101.673 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="22" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.674 - </test-method>
101.675 - </class>
101.676 - <class name="test.dependent.DependsWithRegexp">
101.677 - <test-method status="PASS" signature="verify()" name="verify" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.678 - </test-method>
101.679 - <test-method status="PASS" signature="start()" name="start" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.680 - </test-method>
101.681 - <test-method status="PASS" signature="stop()" name="stop" duration-ms="1" depends-on-groups="start.*" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.682 - </test-method>
101.683 - </class>
101.684 - <class name="test.dependent.TestngTest">
101.685 - <test-method status="PASS" signature="test0()" name="test0" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.686 - </test-method>
101.687 - <test-method status="PASS" signature="test2()" name="test2" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.688 - </test-method>
101.689 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.690 - </test-method>
101.691 - <test-method status="PASS" signature="test1()" name="test1" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.692 - </test-method>
101.693 - <test-method status="PASS" signature="tearDown()" name="tearDown" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.694 - </test-method>
101.695 - </class>
101.696 - <class name="test.dependent.SampleDependentMethods3">
101.697 - <test-method status="PASS" signature="tearDown()" name="tearDown" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.698 - </test-method>
101.699 - <test-method status="PASS" signature="secondA()" name="secondA" duration-ms="0" started-at="2008-08-14T12:02:11Z" depends-on-methods="test.dependent.SampleDependentMethods3.one" finished-at="2008-08-14T12:02:11Z">
101.700 - </test-method>
101.701 - <test-method status="PASS" signature="one(java.lang.String)" name="one" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.702 - <params>
101.703 - <param index="0">
101.704 - <value>
101.705 - <![CDATA[Cedric]]>
101.706 - </value>
101.707 - </param>
101.708 - </params>
101.709 - </test-method>
101.710 - <test-method status="PASS" signature="one()" name="one" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.711 - </test-method>
101.712 - </class>
101.713 - <class name="test.dependent.SampleDependentMethods2">
101.714 - <test-method status="PASS" signature="tearDown()" name="tearDown" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.715 - </test-method>
101.716 - <test-method status="PASS" signature="thirdA()" name="thirdA" duration-ms="0" started-at="2008-08-14T12:02:11Z" depends-on-methods="test.dependent.SampleDependentMethods2.secondA" finished-at="2008-08-14T12:02:11Z">
101.717 - </test-method>
101.718 - <test-method status="PASS" signature="secondA()" name="secondA" duration-ms="0" depends-on-groups="one" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.719 - </test-method>
101.720 - <test-method status="PASS" signature="oneB()" name="oneB" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.721 - </test-method>
101.722 - <test-method status="PASS" signature="oneA()" name="oneA" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.723 - </test-method>
101.724 - <test-method status="PASS" signature="canBeRunAnytime()" name="canBeRunAnytime" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.725 - </test-method>
101.726 - </class>
101.727 - <class name="test.dependent.DependentTest">
101.728 - <test-method status="PASS" signature="dependentMethodsWithNonExistentMethod()" name="dependentMethodsWithNonExistentMethod" duration-ms="4" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.729 - <exception class="org.testng.TestNGException">
101.730 - <message>
101.731 - <![CDATA[
101.732 -test.dependent.SampleDependentMethods5.step2() is depending on nonexistent method blablable]]>
101.733 - </message>
101.734 - <full-stacktrace>
101.735 - <![CDATA[org.testng.TestNGException:
101.736 -test.dependent.SampleDependentMethods5.step2() is depending on nonexistent method blablable
101.737 - at org.testng.internal.MethodHelper.findMethodsNamed(MethodHelper.java:143)
101.738 - at org.testng.internal.MethodHelper.topologicalSort(MethodHelper.java:472)
101.739 - at org.testng.internal.MethodHelper.sortMethods(MethodHelper.java:544)
101.740 - at org.testng.internal.MethodHelper.internalCollectAndOrderMethods(MethodHelper.java:77)
101.741 - at org.testng.internal.MethodHelper.collectAndOrderMethods(MethodHelper.java:49)
101.742 - at org.testng.TestRunner.initMethods(TestRunner.java:355)
101.743 - at org.testng.TestRunner.init(TestRunner.java:234)
101.744 - at org.testng.TestRunner.init(TestRunner.java:196)
101.745 - at org.testng.TestRunner.<init>(TestRunner.java:154)
101.746 - at test.BaseTest$InternalTestRunnerFactory.newTestRunner(BaseTest.java:307)
101.747 - at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:529)
101.748 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:250)
101.749 - at org.testng.SuiteRunner.run(SuiteRunner.java:204)
101.750 - at test.BaseTest.run(BaseTest.java:130)
101.751 - at test.dependent.DependentTest.dependentMethodsWithNonExistentMethod(DependentTest.java:92)
101.752 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
101.753 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
101.754 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
101.755 - at java.lang.reflect.Method.invoke(Method.java:597)
101.756 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
101.757 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:517)
101.758 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:669)
101.759 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:956)
101.760 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
101.761 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
101.762 - at org.testng.TestRunner.runWorkers(TestRunner.java:720)
101.763 - at org.testng.TestRunner.privateRun(TestRunner.java:590)
101.764 - at org.testng.TestRunner.run(TestRunner.java:484)
101.765 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
101.766 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
101.767 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
101.768 - at org.testng.SuiteRunner.run(SuiteRunner.java:204)
101.769 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:864)
101.770 - at org.testng.TestNG.runSuitesLocally(TestNG.java:830)
101.771 - at org.testng.TestNG.run(TestNG.java:748)
101.772 - at org.testng.TestNG.privateMain(TestNG.java:901)
101.773 - at org.testng.TestNG.main(TestNG.java:874)
101.774 -]]>
101.775 - </full-stacktrace>
101.776 - </exception>
101.777 - </test-method>
101.778 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="21" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.779 - </test-method>
101.780 - <test-method status="PASS" signature="dependentMethodsWithSkip()" name="dependentMethodsWithSkip" duration-ms="6" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.781 - </test-method>
101.782 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="20" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.783 - </test-method>
101.784 - <test-method status="PASS" signature="simpleSkip()" name="simpleSkip" duration-ms="5" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.785 - </test-method>
101.786 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="18" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.787 - </test-method>
101.788 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="21" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.789 - </test-method>
101.790 - <test-method status="PASS" signature="dependentMethods()" name="dependentMethods" duration-ms="9" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.791 - </test-method>
101.792 - </class>
101.793 - <class name="test.dependent.OrderMethodTest">
101.794 - <test-method status="PASS" signature="third0()" name="third0" duration-ms="0" depends-on-groups="2.*" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.795 - </test-method>
101.796 - <test-method status="PASS" signature="a_second0()" name="a_second0" duration-ms="0" depends-on-groups="1.0, 1.1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.797 - </test-method>
101.798 - <test-method status="PASS" signature="z_first0()" name="z_first0" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.799 - </test-method>
101.800 - <test-method status="PASS" signature="z_premiere1()" name="z_premiere1" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.801 - </test-method>
101.802 - <test-method status="PASS" signature="a_second1()" name="a_second1" duration-ms="0" depends-on-groups="1.0, 1.1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.803 - </test-method>
101.804 - </class>
101.805 - <class name="test.dependent.ClassDependsOnGroups">
101.806 - <test-method status="PASS" signature="verifyDependsOnGroups()" name="verifyDependsOnGroups" duration-ms="31" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.807 - </test-method>
101.808 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="27" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.809 - </test-method>
101.810 - </class>
101.811 - </test>
101.812 - <test name="Regression2">
101.813 - <class name="test.configuration.MethodCallOrderTest">
101.814 - <test-method status="PASS" signature="beforeMethod()" name="beforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.815 - </test-method>
101.816 - <test-method status="PASS" signature="afterClass()" name="afterClass" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.817 - </test-method>
101.818 - <test-method status="PASS" signature="beforeTest()" name="beforeTest" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.819 - </test-method>
101.820 - <test-method status="PASS" signature="realTest()" name="realTest" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.821 - </test-method>
101.822 - <test-method status="PASS" signature="afterMethod()" name="afterMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.823 - </test-method>
101.824 - <test-method status="PASS" signature="beforeClass()" name="beforeClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.825 - </test-method>
101.826 - </class>
101.827 - <class name="test.abstractbaseclass.DummyTest">
101.828 - <test-method status="PASS" signature="test()" name="test" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.829 - </test-method>
101.830 - </class>
101.831 - <class name="test.mannotation.MAnnotationSampleTest">
101.832 - <test-method status="PASS" signature="verifyTestConstructorLevel()" name="verifyTestConstructorLevel" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.833 - </test-method>
101.834 - <test-method status="PASS" signature="verifyExpectedExceptions()" name="verifyExpectedExceptions" duration-ms="3" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.835 - </test-method>
101.836 - <test-method status="PASS" signature="verifyNewConfigurationAfter()" name="verifyNewConfigurationAfter" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.837 - </test-method>
101.838 - <test-method status="PASS" signature="verifygetDataProvider()" name="verifygetDataProvider" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.839 - </test-method>
101.840 - <test-method status="PASS" signature="verifyTestMethodLevel()" name="verifyTestMethodLevel" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.841 - </test-method>
101.842 - <test-method status="PASS" signature="verifyNewConfigurationBefore()" name="verifyNewConfigurationBefore" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.843 - </test-method>
101.844 - <test-method status="PASS" signature="verifyGetParameters()" name="verifyGetParameters" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.845 - </test-method>
101.846 - <test-method status="PASS" signature="verifyFactory()" name="verifyFactory" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.847 - </test-method>
101.848 - <test-method status="PASS" signature="verifyConfigurationOthers()" name="verifyConfigurationOthers" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.849 - </test-method>
101.850 - <test-method status="PASS" signature="verifyConfigurationAfter()" name="verifyConfigurationAfter" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.851 - </test-method>
101.852 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="19" started-at="2008-08-14T12:02:12Z" description="New annotation" finished-at="2008-08-14T12:02:12Z">
101.853 - </test-method>
101.854 - <test-method status="PASS" signature="verifyTestClassLevel()" name="verifyTestClassLevel" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.855 - </test-method>
101.856 - <test-method status="PASS" signature="verifyConfigurationBefore()" name="verifyConfigurationBefore" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.857 - </test-method>
101.858 - </class>
101.859 - <class name="test.CommandLineTest">
101.860 - <test-method status="PASS" signature="junitParsing2()" name="junitParsing2" duration-ms="27" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.861 - </test-method>
101.862 - <test-method status="PASS" signature="junitParsing()" name="junitParsing" duration-ms="25" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.863 - </test-method>
101.864 - </class>
101.865 - <class name="test.reports.ReportTest">
101.866 - <test-method status="PASS" signature="verifyIndex()" name="verifyIndex" duration-ms="4" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.867 - </test-method>
101.868 - <test-method status="PASS" signature="oneDirectoryPerSuite()" name="oneDirectoryPerSuite" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.869 - </test-method>
101.870 - <test-method status="PASS" signature="shouldHonorSuiteName()" name="shouldHonorSuiteName" duration-ms="37" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.871 - </test-method>
101.872 - <test-method status="PASS" signature="directoryShouldBeSuiteName()" name="directoryShouldBeSuiteName" duration-ms="2" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.873 - </test-method>
101.874 - </class>
101.875 - <class name="test.sample.AfterClassCalledAtEnd">
101.876 - <test-method status="PASS" signature="baseAfterClass()" name="baseAfterClass" is-config="true" duration-ms="0" depends-on-groups=".*" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.877 - </test-method>
101.878 - <test-method status="PASS" signature="test2()" name="test2" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.879 - </test-method>
101.880 - <test-method status="PASS" signature="test3()" name="test3" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.881 - </test-method>
101.882 - <test-method status="PASS" signature="before1Class()" name="before1Class" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.883 - </test-method>
101.884 - <test-method status="PASS" signature="test1()" name="test1" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.885 - </test-method>
101.886 - <test-method status="PASS" signature="afterClass()" name="afterClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.887 - </test-method>
101.888 - </class>
101.889 - <class name="test.configuration.ConfigurationTest">
101.890 - <test-method status="PASS" signature="afterClass()" name="afterClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.891 - </test-method>
101.892 - <test-method status="PASS" signature="beforeMethod()" name="beforeMethod" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.893 - </test-method>
101.894 - <test-method status="PASS" signature="beforeClass()" name="beforeClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.895 - </test-method>
101.896 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.897 - </test-method>
101.898 - <test-method status="PASS" signature="afterMethod()" name="afterMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.899 - </test-method>
101.900 - </class>
101.901 - <class name="test.multiple.TestMultiple">
101.902 - <test-method status="PASS" signature="multiple()" name="multiple" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.903 - </test-method>
101.904 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.905 - </test-method>
101.906 - </class>
101.907 - <class name="test.annotationtransformer.AnnotationTransformerTest">
101.908 - <test-method status="PASS" signature="verifyInvocationCount()" name="verifyInvocationCount" duration-ms="122" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.909 - </test-method>
101.910 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.911 - </test-method>
101.912 - </class>
101.913 - <class name="test.MethodTest">
101.914 - <test-method status="PASS" signature="excludeMethodsOnly()" name="excludeMethodsOnly" duration-ms="6" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.915 - </test-method>
101.916 - <test-method status="PASS" signature="excludePackage()" name="excludePackage" duration-ms="6" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.917 - </test-method>
101.918 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.919 - </test-method>
101.920 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.921 - </test-method>
101.922 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.923 - </test-method>
101.924 - <test-method status="PASS" signature="includeMethodsOnly()" name="includeMethodsOnly" duration-ms="5" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.925 - </test-method>
101.926 - </class>
101.927 - <class name="test.configuration.GroupLessTest">
101.928 - <test-method status="PASS" signature="startMethod()" name="startMethod" duration-ms="0" started-at="2008-08-14T12:02:12Z" depends-on-methods="test.configuration.GroupLessTest.initMethod" finished-at="2008-08-14T12:02:12Z">
101.929 - </test-method>
101.930 - <test-method status="PASS" signature="endMethod()" name="endMethod" duration-ms="0" depends-on-groups="init" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.931 - </test-method>
101.932 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" started-at="2008-08-14T12:02:12Z" depends-on-methods="test.configuration.GroupLessTest.endMethod" finished-at="2008-08-14T12:02:12Z">
101.933 - </test-method>
101.934 - <test-method status="PASS" signature="beforeClassMethod()" name="beforeClassMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.935 - </test-method>
101.936 - <test-method status="PASS" signature="initMethod()" name="initMethod" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.937 - </test-method>
101.938 - </class>
101.939 - <class name="test.privatemethod.PrivateMethodTest$PrivateMethodInnerTest">
101.940 - <test-method status="PASS" signature="testPrivateMethod()" name="testPrivateMethod" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.941 - </test-method>
101.942 - </class>
101.943 - <class name="test.thread.SequentialTest">
101.944 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.945 - </test-method>
101.946 - <test-method status="PASS" signature="verifySequential()" name="verifySequential" duration-ms="11" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.947 - </test-method>
101.948 - </class>
101.949 - <class name="test.configuration.ExternalConfigurationClass">
101.950 - <test-method status="PASS" signature="afterTest()" name="afterTest" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.951 - </test-method>
101.952 - </class>
101.953 - <class name="test.Test4">
101.954 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.955 - </test-method>
101.956 - <test-method status="PASS" signature="expectedExceptions()" name="expectedExceptions" duration-ms="5" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.957 - </test-method>
101.958 - </class>
101.959 - <class name="test.enabled.VerifyEnabledTest">
101.960 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.961 - </test-method>
101.962 - <test-method status="PASS" signature="disabledMethodsShouldNotRun()" name="disabledMethodsShouldNotRun" duration-ms="5" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.963 - </test-method>
101.964 - </class>
101.965 - <class name="test.Test1">
101.966 - <test-method status="PASS" signature="includedGroups()" name="includedGroups" duration-ms="11" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.967 - </test-method>
101.968 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.969 - </test-method>
101.970 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.971 - </test-method>
101.972 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.973 - </test-method>
101.974 - <test-method status="PASS" signature="excludedGroups()" name="excludedGroups" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.975 - </test-method>
101.976 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.977 - </test-method>
101.978 - <test-method status="PASS" signature="groupsOfGroupsSimple()" name="groupsOfGroupsSimple" duration-ms="10" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.979 - </test-method>
101.980 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.981 - </test-method>
101.982 - <test-method status="PASS" signature="regexp()" name="regexp" duration-ms="11" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.983 - </test-method>
101.984 - <test-method status="PASS" signature="logger()" name="logger" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.985 - </test-method>
101.986 - <test-method status="PASS" signature="groupsOfGroupsWithIndirections()" name="groupsOfGroupsWithIndirections" duration-ms="11" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.987 - </test-method>
101.988 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.989 - </test-method>
101.990 - <test-method status="PASS" signature="groupsOfGroupsWithCycle()" name="groupsOfGroupsWithCycle" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.991 - </test-method>
101.992 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.993 - </test-method>
101.994 - </class>
101.995 - </test>
101.996 - <test name="Test outer scope">
101.997 - <class name="test.sample.Scope">
101.998 - <test-method status="PASS" signature="outerDeprecated(java.lang.String)" name="outerDeprecated" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.999 - <params>
101.1000 - <param index="0">
101.1001 - <value>
101.1002 - <![CDATA[out]]>
101.1003 - </value>
101.1004 - </param>
101.1005 - </params>
101.1006 - </test-method>
101.1007 - <test-method status="PASS" signature="outer(java.lang.String)" name="outer" duration-ms="1" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1008 - <params>
101.1009 - <param index="0">
101.1010 - <value>
101.1011 - <![CDATA[out]]>
101.1012 - </value>
101.1013 - </param>
101.1014 - </params>
101.1015 - </test-method>
101.1016 - </class>
101.1017 - </test>
101.1018 - <test name="Regression1">
101.1019 - <class name="test.parameters.ParameterSample">
101.1020 - <test-method status="PASS" signature="beforeTest(java.lang.String)" name="beforeTest" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1021 - <params>
101.1022 - <param index="0">
101.1023 - <value>
101.1024 - <![CDATA[Cedric]]>
101.1025 - </value>
101.1026 - </param>
101.1027 - </params>
101.1028 - </test-method>
101.1029 - <test-method status="PASS" signature="beforeTest(java.lang.String)" name="beforeTest" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1030 - <params>
101.1031 - <param index="0">
101.1032 - <value>
101.1033 - <![CDATA[Cedric]]>
101.1034 - </value>
101.1035 - </param>
101.1036 - </params>
101.1037 - </test-method>
101.1038 - <test-method status="PASS" signature="testSingleString(java.lang.String)" name="testSingleString" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1039 - <params>
101.1040 - <param index="0">
101.1041 - <value>
101.1042 - <![CDATA[Cedric]]>
101.1043 - </value>
101.1044 - </param>
101.1045 - </params>
101.1046 - </test-method>
101.1047 - <test-method status="PASS" signature="beforeTestDeprecated(java.lang.String)" name="beforeTestDeprecated" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1048 - <params>
101.1049 - <param index="0">
101.1050 - <value>
101.1051 - <![CDATA[Cedric]]>
101.1052 - </value>
101.1053 - </param>
101.1054 - </params>
101.1055 - </test-method>
101.1056 - <test-method status="PASS" signature="beforeTestDeprecated(java.lang.String)" name="beforeTestDeprecated" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1057 - <params>
101.1058 - <param index="0">
101.1059 - <value>
101.1060 - <![CDATA[Cedric]]>
101.1061 - </value>
101.1062 - </param>
101.1063 - </params>
101.1064 - </test-method>
101.1065 - <test-method status="PASS" signature="testSingleStringDeprecated(java.lang.String)" name="testSingleStringDeprecated" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1066 - <params>
101.1067 - <param index="0">
101.1068 - <value>
101.1069 - <![CDATA[Cedric]]>
101.1070 - </value>
101.1071 - </param>
101.1072 - </params>
101.1073 - </test-method>
101.1074 - </class>
101.1075 - <class name="test.parameters.ParameterTest">
101.1076 - <test-method status="PASS" signature="stringSingle()" name="stringSingle" duration-ms="5" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1077 - </test-method>
101.1078 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1079 - </test-method>
101.1080 - </class>
101.1081 - <class name="test.expectedexceptions.ExpectedExceptionsTest">
101.1082 - <test-method status="PASS" signature="expectedExceptionsDeprecated()" name="expectedExceptionsDeprecated" duration-ms="6" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1083 - </test-method>
101.1084 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1085 - </test-method>
101.1086 - <test-method status="PASS" signature="expectedExceptions()" name="expectedExceptions" duration-ms="6" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1087 - </test-method>
101.1088 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1089 - </test-method>
101.1090 - </class>
101.1091 - <class name="test.CtorCalledOnce">
101.1092 - <test-method status="PASS" signature="afterTest()" name="afterTest" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1093 - </test-method>
101.1094 - <test-method status="PASS" signature="testMethod1()" name="testMethod1" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1095 - </test-method>
101.1096 - <test-method status="PASS" signature="testMethod2()" name="testMethod2" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1097 - </test-method>
101.1098 - <test-method status="PASS" signature="testMethod3()" name="testMethod3" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1099 - </test-method>
101.1100 - </class>
101.1101 - <class name="test.access.PrivateAccessConfigurationMethods">
101.1102 - <test-method status="PASS" signature="basePublicConfBeforeMethod()" name="basePublicConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1103 - </test-method>
101.1104 - <test-method status="PASS" signature="baseProtectedConfBeforeMethod()" name="baseProtectedConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1105 - </test-method>
101.1106 - <test-method status="PASS" signature="protectedConfBeforeMethod()" name="protectedConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1107 - </test-method>
101.1108 - <test-method status="PASS" signature="samePublicConfBeforeMethod()" name="samePublicConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1109 - </test-method>
101.1110 - <test-method status="PASS" signature="sameDefaultConfBeforeMethod()" name="sameDefaultConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1111 - </test-method>
101.1112 - <test-method status="PASS" signature="sameProtectedConfBeforeMethod()" name="sameProtectedConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1113 - </test-method>
101.1114 - <test-method status="PASS" signature="allAccessModifiersConfiguration()" name="allAccessModifiersConfiguration" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1115 - </test-method>
101.1116 - <test-method status="PASS" signature="publicConfBeforeMethod()" name="publicConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1117 - </test-method>
101.1118 - <test-method status="PASS" signature="defaultConfBeforeMethod()" name="defaultConfBeforeMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1119 - </test-method>
101.1120 - <test-method status="PASS" signature="privateConfBeforeMethod()" name="privateConfBeforeMethod" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1121 - </test-method>
101.1122 - </class>
101.1123 - <class name="test.Test2">
101.1124 - <test-method status="PASS" signature="noGroups()" name="noGroups" duration-ms="18" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1125 - </test-method>
101.1126 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1127 - </test-method>
101.1128 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="11" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1129 - </test-method>
101.1130 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1131 - </test-method>
101.1132 - <test-method status="PASS" signature="partialGroupsMethod()" name="partialGroupsMethod" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1133 - </test-method>
101.1134 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1135 - </test-method>
101.1136 - <test-method status="PASS" signature="partialGroupsClass()" name="partialGroupsClass" duration-ms="7" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1137 - </test-method>
101.1138 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1139 - </test-method>
101.1140 - <test-method status="PASS" signature="setUpWithGroups()" name="setUpWithGroups" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1141 - </test-method>
101.1142 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="14" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1143 - </test-method>
101.1144 - <test-method status="PASS" signature="correctSetup()" name="correctSetup" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1145 - </test-method>
101.1146 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1147 - </test-method>
101.1148 - </class>
101.1149 - <class name="test.Test1">
101.1150 - <test-method status="PASS" signature="logger()" name="logger" duration-ms="4" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1151 - </test-method>
101.1152 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1153 - </test-method>
101.1154 - <test-method status="PASS" signature="regexp()" name="regexp" duration-ms="14" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1155 - </test-method>
101.1156 - <test-method status="PASS" signature="excludedGroups()" name="excludedGroups" duration-ms="17" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1157 - </test-method>
101.1158 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1159 - </test-method>
101.1160 - <test-method status="PASS" signature="groupsOfGroupsSimple()" name="groupsOfGroupsSimple" duration-ms="13" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1161 - </test-method>
101.1162 - <test-method status="PASS" signature="groupsOfGroupsWithIndirections()" name="groupsOfGroupsWithIndirections" duration-ms="12" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1163 - </test-method>
101.1164 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="21" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:12Z">
101.1165 - </test-method>
101.1166 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="47" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1167 - </test-method>
101.1168 - <test-method status="PASS" signature="includedGroups()" name="includedGroups" duration-ms="12" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1169 - </test-method>
101.1170 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="16" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1171 - </test-method>
101.1172 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="34" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1173 - </test-method>
101.1174 - <test-method status="PASS" signature="groupsOfGroupsWithCycle()" name="groupsOfGroupsWithCycle" duration-ms="30" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1175 - </test-method>
101.1176 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="28" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1177 - </test-method>
101.1178 - </class>
101.1179 - </test>
101.1180 - <test name="Triangle">
101.1181 - <class name="test.triangle.Child2">
101.1182 - <test-method status="PASS" signature="child2()" name="child2" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1183 - </test-method>
101.1184 - <test-method status="PASS" signature="initBeforeTestClass()" name="initBeforeTestClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1185 - </test-method>
101.1186 - <test-method status="PASS" signature="postAfterTestClass()" name="postAfterTestClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1187 - </test-method>
101.1188 - </class>
101.1189 - <class name="test.triangle.Child1">
101.1190 - <test-method status="PASS" signature="child1()" name="child1" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1191 - </test-method>
101.1192 - <test-method status="PASS" signature="child1a()" name="child1a" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1193 - </test-method>
101.1194 - <test-method status="PASS" signature="postAfterTestClass()" name="postAfterTestClass" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1195 - </test-method>
101.1196 - <test-method status="PASS" signature="initBeforeTestClass()" name="initBeforeTestClass" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1197 - </test-method>
101.1198 - </class>
101.1199 - </test>
101.1200 - <test name="Basic">
101.1201 - <class name="test.sample.Basic2">
101.1202 - <test-method status="PASS" signature="checkTestAtClassLevelWasRun()" name="checkTestAtClassLevelWasRun" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1203 - </test-method>
101.1204 - <test-method status="PASS" signature="basic2()" name="basic2" duration-ms="0" depends-on-groups="basic1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1205 - </test-method>
101.1206 - </class>
101.1207 - <class name="test.sample.Basic1">
101.1208 - <test-method status="PASS" signature="basic1()" name="basic1" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1209 - </test-method>
101.1210 - <test-method status="PASS" signature="beforeTestMethod()" name="beforeTestMethod" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1211 - </test-method>
101.1212 - </class>
101.1213 - </test>
101.1214 - <test name="InheritGroups">
101.1215 - <class name="test.configuration.ConfigurationInheritGroupsSampleTest">
101.1216 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1217 - </test-method>
101.1218 - <test-method status="PASS" signature="test1()" name="test1" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1219 - </test-method>
101.1220 - </class>
101.1221 - </test>
101.1222 - <test name="Inheritance">
101.1223 - <class name="test.inheritance.ClassScopeTest">
101.1224 - <test-method status="PASS" signature="setVerify()" name="setVerify" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1225 - </test-method>
101.1226 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" started-at="2008-08-14T12:02:14Z" depends-on-methods="test.inheritance.ClassScopeTest.setVerify" finished-at="2008-08-14T12:02:14Z">
101.1227 - </test-method>
101.1228 - </class>
101.1229 - <class name="test.configuration.ExternalConfigurationClass">
101.1230 - <test-method status="PASS" signature="afterSuite()" name="afterSuite" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1231 - </test-method>
101.1232 - <test-method status="PASS" signature="afterSuite()" name="afterSuite" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1233 - </test-method>
101.1234 - <test-method status="PASS" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1235 - </test-method>
101.1236 - </class>
101.1237 - <class name="test.configuration.GroupLessTest">
101.1238 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1239 - </test-method>
101.1240 - <test-method status="PASS" signature="beforeSuite()" name="beforeSuite" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1241 - </test-method>
101.1242 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1243 - </test-method>
101.1244 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1245 - </test-method>
101.1246 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1247 - </test-method>
101.1248 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1249 - </test-method>
101.1250 - <test-method status="PASS" signature="beforeSuite()" name="beforeSuite" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1251 - </test-method>
101.1252 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="1" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1253 - </test-method>
101.1254 - <test-method status="PASS" signature="init()" name="init" is-config="true" duration-ms="0" started-at="2008-08-14T12:02:11Z" finished-at="2008-08-14T12:02:11Z">
101.1255 - </test-method>
101.1256 - </class>
101.1257 - </test>
101.1258 - <test name="InvocationCount">
101.1259 - <class name="test.invocationcount.FailedInvocationCountTest">
101.1260 - <test-method status="FAIL" signature="verifyAttributeShouldStop()" name="verifyAttributeShouldStop" duration-ms="102" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1261 - <exception class="java.lang.AssertionError">
101.1262 - <message>
101.1263 - <![CDATA[expected:<8> but was:<0>]]>
101.1264 - </message>
101.1265 - <full-stacktrace>
101.1266 - <![CDATA[java.lang.AssertionError: expected:<8> but was:<0>
101.1267 - at org.testng.Assert.fail(Assert.java:84)
101.1268 - at org.testng.Assert.failNotEquals(Assert.java:438)
101.1269 - at org.testng.Assert.assertEquals(Assert.java:108)
101.1270 - at org.testng.Assert.assertEquals(Assert.java:323)
101.1271 - at org.testng.Assert.assertEquals(Assert.java:333)
101.1272 - at test.invocationcount.FailedInvocationCountTest.verifyAttributeShouldStop(FailedInvocationCountTest.java:23)
101.1273 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
101.1274 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
101.1275 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
101.1276 - at java.lang.reflect.Method.invoke(Method.java:597)
101.1277 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
101.1278 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:517)
101.1279 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:669)
101.1280 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:956)
101.1281 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
101.1282 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
101.1283 - at org.testng.TestRunner.runWorkers(TestRunner.java:720)
101.1284 - at org.testng.TestRunner.privateRun(TestRunner.java:590)
101.1285 - at org.testng.TestRunner.run(TestRunner.java:484)
101.1286 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
101.1287 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
101.1288 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
101.1289 - at org.testng.SuiteRunner.run(SuiteRunner.java:204)
101.1290 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:864)
101.1291 - at org.testng.TestNG.runSuitesLocally(TestNG.java:830)
101.1292 - at org.testng.TestNG.run(TestNG.java:748)
101.1293 - at org.testng.TestNG.privateMain(TestNG.java:901)
101.1294 - at org.testng.TestNG.main(TestNG.java:874)
101.1295 -]]>
101.1296 - </full-stacktrace>
101.1297 - </exception>
101.1298 - </test-method>
101.1299 - </class>
101.1300 - <class name="test.InvocationAndSuccessPercentageTest">
101.1301 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1302 - </test-method>
101.1303 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="23" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1304 - </test-method>
101.1305 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1306 - </test-method>
101.1307 - <test-method status="PASS" signature="successPercentageThatFails()" name="successPercentageThatFails" duration-ms="14" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1308 - </test-method>
101.1309 - <test-method status="PASS" signature="successPercentageThatSucceeds()" name="successPercentageThatSucceeds" duration-ms="8" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1310 - </test-method>
101.1311 - <test-method status="PASS" signature="invocationCount()" name="invocationCount" duration-ms="7" started-at="2008-08-14T12:02:14Z" finished-at="2008-08-14T12:02:14Z">
101.1312 - </test-method>
101.1313 - </class>
101.1314 - </test>
101.1315 - <test name="Test class groups 1">
101.1316 - <class name="test.classgroup.Second">
101.1317 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" depends-on-groups="first" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1318 - </test-method>
101.1319 - </class>
101.1320 - <class name="test.classgroup.First">
101.1321 - <test-method status="PASS" signature="first1()" name="first1" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1322 - </test-method>
101.1323 - <test-method status="PASS" signature="first2()" name="first2" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1324 - </test-method>
101.1325 - </class>
101.1326 - </test>
101.1327 - <test name="JUnit">
101.1328 - <class name="test.JUnitTest1">
101.1329 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1330 - </test-method>
101.1331 - <test-method status="PASS" signature="methodsThatStartWithTest()" name="methodsThatStartWithTest" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1332 - </test-method>
101.1333 - <test-method status="PASS" signature="testSuite()" name="testSuite" duration-ms="2" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1334 - </test-method>
101.1335 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1336 - </test-method>
101.1337 - <test-method status="PASS" signature="methodsWithSetup()" name="methodsWithSetup" duration-ms="1" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1338 - </test-method>
101.1339 - <test-method status="PASS" signature="initJUnitFlag()" name="initJUnitFlag" is-config="true" duration-ms="0" depends-on-groups="initTest" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1340 - </test-method>
101.1341 - <test-method status="PASS" signature="initJUnitFlag()" name="initJUnitFlag" is-config="true" duration-ms="0" depends-on-groups="initTest" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1342 - </test-method>
101.1343 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="9" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1344 - </test-method>
101.1345 - <test-method status="PASS" signature="initJUnitFlag()" name="initJUnitFlag" is-config="true" duration-ms="0" depends-on-groups="initTest" started-at="2008-08-14T12:02:12Z" finished-at="2008-08-14T12:02:12Z">
101.1346 - </test-method>
101.1347 - </class>
101.1348 - </test>
101.1349 - <test name="TimeOut">
101.1350 - <class name="test.Test3">
101.1351 - <test-method status="PASS" signature="methodSetUp()" name="methodSetUp" is-config="true" duration-ms="8" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1352 - </test-method>
101.1353 - <test-method status="PASS" signature="timeOut()" name="timeOut" duration-ms="1014" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:14Z">
101.1354 - </test-method>
101.1355 - </class>
101.1356 - </test>
101.1357 - <test name="Test class groups 2">
101.1358 - <class name="test.classgroup.Second">
101.1359 - <test-method status="PASS" signature="verify()" name="verify" duration-ms="0" depends-on-groups="first" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1360 - </test-method>
101.1361 - </class>
101.1362 - <class name="test.classgroup.First">
101.1363 - <test-method status="PASS" signature="first1()" name="first1" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1364 - </test-method>
101.1365 - <test-method status="PASS" signature="first2()" name="first2" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1366 - </test-method>
101.1367 - </class>
101.1368 - </test>
101.1369 - <test name="CheckTrianglePost">
101.1370 - <class name="test.triangle.CheckCount">
101.1371 - <test-method status="PASS" signature="testCheckCountDeprecated(java.lang.String)" name="testCheckCountDeprecated" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1372 - <params>
101.1373 - <param index="0">
101.1374 - <value>
101.1375 - <![CDATA[2]]>
101.1376 - </value>
101.1377 - </param>
101.1378 - </params>
101.1379 - </test-method>
101.1380 - <test-method status="PASS" signature="testCheckCount(java.lang.String)" name="testCheckCount" duration-ms="0" started-at="2008-08-14T12:02:13Z" finished-at="2008-08-14T12:02:13Z">
101.1381 - <params>
101.1382 - <param index="0">
101.1383 - <value>
101.1384 - <![CDATA[2]]>
101.1385 - </value>
101.1386 - </param>
101.1387 - </params>
101.1388 - </test-method>
101.1389 - </class>
101.1390 - </test>
101.1391 - </suite>
101.1392 -</testng-results>
102.1 --- a/testng/test/unit/data/results/testng-results_2.xml Sat Mar 10 02:54:06 2012 +0100
102.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
102.3 @@ -1,129 +0,0 @@
102.4 -<!--
102.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
102.6 -
102.7 -Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
102.8 -
102.9 -
102.10 -The contents of this file are subject to the terms of either the GNU
102.11 -General Public License Version 2 only ("GPL") or the Common
102.12 -Development and Distribution License("CDDL") (collectively, the
102.13 -"License"). You may not use this file except in compliance with the
102.14 -License. You can obtain a copy of the License at
102.15 -http://www.netbeans.org/cddl-gplv2.html
102.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
102.17 -specific language governing permissions and limitations under the
102.18 -License. When distributing the software, include this License Header
102.19 -Notice in each file and include the License file at
102.20 -nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
102.21 -particular file as subject to the "Classpath" exception as provided
102.22 -by Sun in the GPL Version 2 section of the License file that
102.23 -accompanied this code. If applicable, add the following below the
102.24 -License Header, with the fields enclosed by brackets [] replaced by
102.25 -your own identifying information:
102.26 -"Portions Copyrighted [year] [name of copyright owner]"
102.27 -
102.28 -Contributor(s):
102.29 -
102.30 -The Original Software is NetBeans. The Initial Developer of the Original
102.31 -Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
102.32 -Microsystems, Inc. All Rights Reserved.
102.33 -
102.34 -If you wish your version of this file to be governed by only the CDDL
102.35 -or only the GPL Version 2, indicate your decision by adding
102.36 -"[Contributor] elects to include this software in this distribution
102.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
102.38 -single choice of license, a recipient has the option to distribute
102.39 -your version of this file under either the CDDL, the GPL Version 2 or
102.40 -to extend the choice of license to its licensees as provided above.
102.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
102.42 -Version 2 license, then the option applies only if the new code is
102.43 -made subject to such option by the copyright holder.
102.44 --->
102.45 -<testng-results>
102.46 - <reporter-output>
102.47 - </reporter-output>
102.48 - <suite name="Ant suite">
102.49 - <groups>
102.50 - </groups>
102.51 - <test name="Ant test">
102.52 - <class name="javaapplication5.MainTest">
102.53 - <test-method status="PASS" signature="cleanUp()" name="cleanUp" is-config="true" duration-ms="0" started-at="2008-11-20T00:23:58Z" finished-at="2008-11-20T00:23:58Z">
102.54 - </test-method>
102.55 - <test-method status="FAIL" signature="cTest()" name="cTest" duration-ms="1" started-at="2008-11-20T00:23:58Z" finished-at="2008-11-20T00:23:58Z">
102.56 - <exception class="java.lang.NullPointerException">
102.57 - <message>
102.58 - <![CDATA[test]]>
102.59 - </message>
102.60 - <full-stacktrace>
102.61 - <![CDATA[java.lang.NullPointerException: test
102.62 - at javaapplication5.MainTest.cTest(MainTest.java:35)
102.63 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
102.64 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
102.65 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
102.66 - at java.lang.reflect.Method.invoke(Method.java:585)
102.67 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
102.68 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
102.69 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
102.70 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
102.71 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
102.72 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
102.73 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
102.74 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
102.75 - at org.testng.TestRunner.run(TestRunner.java:477)
102.76 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
102.77 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
102.78 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
102.79 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
102.80 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
102.81 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
102.82 - at org.testng.TestNG.run(TestNG.java:708)
102.83 - at org.testng.TestNG.privateMain(TestNG.java:860)
102.84 - at org.testng.TestNG.main(TestNG.java:833)
102.85 -]]>
102.86 - </full-stacktrace>
102.87 - </exception>
102.88 - </test-method>
102.89 - <test-method status="PASS" signature="setUp()" name="setUp" is-config="true" duration-ms="3" started-at="2008-11-20T00:23:58Z" finished-at="2008-11-20T00:23:58Z">
102.90 - </test-method>
102.91 - <test-method status="SKIP" signature="bTest()" name="bTest" duration-ms="0" started-at="2008-11-20T00:23:58Z" depends-on-methods="javaapplication5.MainTest.cTest" finished-at="2008-11-20T00:23:58Z">
102.92 - </test-method>
102.93 - <test-method status="PASS" signature="dTest()" name="dTest" duration-ms="0" started-at="2008-11-20T00:23:58Z" finished-at="2008-11-20T00:23:58Z">
102.94 - <exception class="java.lang.NullPointerException">
102.95 - <message>
102.96 - <![CDATA[test]]>
102.97 - </message>
102.98 - <full-stacktrace>
102.99 - <![CDATA[java.lang.NullPointerException: test
102.100 - at javaapplication5.MainTest.dTest(MainTest.java:40)
102.101 - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
102.102 - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
102.103 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
102.104 - at java.lang.reflect.Method.invoke(Method.java:585)
102.105 - at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
102.106 - at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
102.107 - at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:617)
102.108 - at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
102.109 - at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
102.110 - at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
102.111 - at org.testng.TestRunner.runWorkers(TestRunner.java:712)
102.112 - at org.testng.TestRunner.privateRun(TestRunner.java:582)
102.113 - at org.testng.TestRunner.run(TestRunner.java:477)
102.114 - at org.testng.SuiteRunner.runTest(SuiteRunner.java:324)
102.115 - at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:319)
102.116 - at org.testng.SuiteRunner.privateRun(SuiteRunner.java:292)
102.117 - at org.testng.SuiteRunner.run(SuiteRunner.java:198)
102.118 - at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:823)
102.119 - at org.testng.TestNG.runSuitesLocally(TestNG.java:790)
102.120 - at org.testng.TestNG.run(TestNG.java:708)
102.121 - at org.testng.TestNG.privateMain(TestNG.java:860)
102.122 - at org.testng.TestNG.main(TestNG.java:833)
102.123 -]]>
102.124 - </full-stacktrace>
102.125 - </exception>
102.126 - </test-method>
102.127 - <test-method status="PASS" signature="aTest()" name="aTest" duration-ms="1" started-at="2008-11-20T00:23:58Z" finished-at="2008-11-20T00:23:58Z">
102.128 - </test-method>
102.129 - </class>
102.130 - </test>
102.131 - </suite>
102.132 -</testng-results>
103.1 --- a/testng/test/unit/src/META-INF/services/org.openide.loaders.DataLoader Sat Mar 10 02:54:06 2012 +0100
103.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
103.3 @@ -1,1 +0,0 @@
103.4 -org.netbeans.modules.contrib.testng.TestNGSuiteDataLoader
104.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/CreateTestActionTest.java Sat Mar 10 02:54:06 2012 +0100
104.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
104.3 @@ -1,71 +0,0 @@
104.4 -/*
104.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
104.6 - *
104.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
104.8 - *
104.9 - * The contents of this file are subject to the terms of either the GNU
104.10 - * General Public License Version 2 only ("GPL") or the Common
104.11 - * Development and Distribution License("CDDL") (collectively, the
104.12 - * "License"). You may not use this file except in compliance with the
104.13 - * License. You can obtain a copy of the License at
104.14 - * http://www.netbeans.org/cddl-gplv2.html
104.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
104.16 - * specific language governing permissions and limitations under the
104.17 - * License. When distributing the software, include this License Header
104.18 - * Notice in each file and include the License file at
104.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
104.20 - * particular file as subject to the "Classpath" exception as provided
104.21 - * by Sun in the GPL Version 2 section of the License file that
104.22 - * accompanied this code. If applicable, add the following below the
104.23 - * License Header, with the fields enclosed by brackets [] replaced by
104.24 - * your own identifying information:
104.25 - * "Portions Copyrighted [year] [name of copyright owner]"
104.26 - *
104.27 - * If you wish your version of this file to be governed by only the CDDL
104.28 - * or only the GPL Version 2, indicate your decision by adding
104.29 - * "[Contributor] elects to include this software in this distribution
104.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
104.31 - * single choice of license, a recipient has the option to distribute
104.32 - * your version of this file under either the CDDL, the GPL Version 2 or
104.33 - * to extend the choice of license to its licensees as provided above.
104.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
104.35 - * Version 2 license, then the option applies only if the new code is
104.36 - * made subject to such option by the copyright holder.
104.37 - *
104.38 - * Contributor(s):
104.39 - *
104.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
104.41 - */
104.42 -package org.netbeans.modules.contrib.testng.actions;
104.43 -
104.44 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
104.45 -import org.netbeans.modules.contrib.testng.impl.TestNGImpl;
104.46 -import org.openide.util.actions.NodeActionsInfraHid;
104.47 -import org.openide.util.actions.SystemAction;
104.48 -
104.49 -/**
104.50 - *
104.51 - * @author lukas
104.52 - */
104.53 -public class CreateTestActionTest extends TestActionT {
104.54 -
104.55 - static {
104.56 - TestNGImpl.setSupportedActions(Action.CREATE_TEST);
104.57 - }
104.58 - private final CreateTestAction action = SystemAction.get(CreateTestAction.class);
104.59 -
104.60 - public CreateTestActionTest(String name) {
104.61 - super(name);
104.62 - }
104.63 -
104.64 - public void testEnable() {
104.65 - NodeActionsInfraHid.setCurrentNodes(EMPTY_ARRAY);
104.66 - assertFalse(action.isEnabled());
104.67 - NodeActionsInfraHid.setCurrentNodes(EMPTY_NODES);
104.68 - assertFalse(action.isEnabled());
104.69 - NodeActionsInfraHid.setCurrentNodes(FILEOBJECT_NODE);
104.70 - assertFalse(action.isEnabled());
104.71 - NodeActionsInfraHid.setCurrentNodes(DATAOBJECT_NODE);
104.72 - assertTrue(action.isEnabled());
104.73 - }
104.74 -}
104.75 \ No newline at end of file
105.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/RerunFailedTestsActionTest.java Sat Mar 10 02:54:06 2012 +0100
105.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
105.3 @@ -1,72 +0,0 @@
105.4 -/*
105.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
105.6 - *
105.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
105.8 - *
105.9 - * The contents of this file are subject to the terms of either the GNU
105.10 - * General Public License Version 2 only ("GPL") or the Common
105.11 - * Development and Distribution License("CDDL") (collectively, the
105.12 - * "License"). You may not use this file except in compliance with the
105.13 - * License. You can obtain a copy of the License at
105.14 - * http://www.netbeans.org/cddl-gplv2.html
105.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
105.16 - * specific language governing permissions and limitations under the
105.17 - * License. When distributing the software, include this License Header
105.18 - * Notice in each file and include the License file at
105.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
105.20 - * particular file as subject to the "Classpath" exception as provided
105.21 - * by Sun in the GPL Version 2 section of the License file that
105.22 - * accompanied this code. If applicable, add the following below the
105.23 - * License Header, with the fields enclosed by brackets [] replaced by
105.24 - * your own identifying information:
105.25 - * "Portions Copyrighted [year] [name of copyright owner]"
105.26 - *
105.27 - * If you wish your version of this file to be governed by only the CDDL
105.28 - * or only the GPL Version 2, indicate your decision by adding
105.29 - * "[Contributor] elects to include this software in this distribution
105.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
105.31 - * single choice of license, a recipient has the option to distribute
105.32 - * your version of this file under either the CDDL, the GPL Version 2 or
105.33 - * to extend the choice of license to its licensees as provided above.
105.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
105.35 - * Version 2 license, then the option applies only if the new code is
105.36 - * made subject to such option by the copyright holder.
105.37 - *
105.38 - * Contributor(s):
105.39 - *
105.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
105.41 - */
105.42 -package org.netbeans.modules.contrib.testng.actions;
105.43 -
105.44 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
105.45 -import org.netbeans.modules.contrib.testng.impl.TestNGImpl;
105.46 -import org.openide.util.actions.NodeActionsInfraHid;
105.47 -import org.openide.util.actions.SystemAction;
105.48 -
105.49 -/**
105.50 - *
105.51 - * @author lukas
105.52 - */
105.53 -public class RerunFailedTestsActionTest extends TestActionT {
105.54 -
105.55 - static {
105.56 - TestNGImpl.setSupportedActions(Action.RUN_FAILED);
105.57 - }
105.58 - private final RerunFailedTestsAction action = SystemAction.get(RerunFailedTestsAction.class);
105.59 -
105.60 - public RerunFailedTestsActionTest(String name) {
105.61 - super(name);
105.62 - }
105.63 -
105.64 - public void testEnable() {
105.65 - NodeActionsInfraHid.setCurrentNodes(EMPTY_ARRAY);
105.66 - assertFalse(action.isEnabled());
105.67 - NodeActionsInfraHid.setCurrentNodes(EMPTY_NODES);
105.68 - assertFalse(action.isEnabled());
105.69 - TestNGImpl.getTestExecutor().setHasFailed(true);
105.70 - NodeActionsInfraHid.setCurrentNodes(PROJECT_NODE);
105.71 - assertTrue(action.isEnabled());
105.72 - NodeActionsInfraHid.setCurrentNodes(DATAOBJECT_NODE);
105.73 - assertTrue(action.isEnabled());
105.74 - }
105.75 -}
105.76 \ No newline at end of file
106.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/RetoucheTestBase.java Sat Mar 10 02:54:06 2012 +0100
106.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
106.3 @@ -1,150 +0,0 @@
106.4 -/*
106.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
106.6 - *
106.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
106.8 - *
106.9 - * The contents of this file are subject to the terms of either the GNU
106.10 - * General Public License Version 2 only ("GPL") or the Common
106.11 - * Development and Distribution License("CDDL") (collectively, the
106.12 - * "License"). You may not use this file except in compliance with the
106.13 - * License. You can obtain a copy of the License at
106.14 - * http://www.netbeans.org/cddl-gplv2.html
106.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
106.16 - * specific language governing permissions and limitations under the
106.17 - * License. When distributing the software, include this License Header
106.18 - * Notice in each file and include the License file at
106.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
106.20 - * particular file as subject to the "Classpath" exception as provided
106.21 - * by Sun in the GPL Version 2 section of the License file that
106.22 - * accompanied this code. If applicable, add the following below the
106.23 - * License Header, with the fields enclosed by brackets [] replaced by
106.24 - * your own identifying information:
106.25 - * "Portions Copyrighted [year] [name of copyright owner]"
106.26 - *
106.27 - * If you wish your version of this file to be governed by only the CDDL
106.28 - * or only the GPL Version 2, indicate your decision by adding
106.29 - * "[Contributor] elects to include this software in this distribution
106.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
106.31 - * single choice of license, a recipient has the option to distribute
106.32 - * your version of this file under either the CDDL, the GPL Version 2 or
106.33 - * to extend the choice of license to its licensees as provided above.
106.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
106.35 - * Version 2 license, then the option applies only if the new code is
106.36 - * made subject to such option by the copyright holder.
106.37 - *
106.38 - * Contributor(s):
106.39 - *
106.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
106.41 - */
106.42 -package org.netbeans.modules.contrib.testng.actions;
106.43 -
106.44 -import java.io.File;
106.45 -import java.net.MalformedURLException;
106.46 -import java.net.URL;
106.47 -import java.util.ArrayList;
106.48 -import java.util.List;
106.49 -import java.util.StringTokenizer;
106.50 -import org.netbeans.api.java.classpath.ClassPath;
106.51 -import org.netbeans.api.java.source.SourceUtilsTestUtil;
106.52 -import org.netbeans.api.java.source.TestUtilities;
106.53 -import org.netbeans.junit.NbTestCase;
106.54 -import org.netbeans.modules.java.JavaDataLoader;
106.55 -import org.netbeans.spi.java.classpath.ClassPathProvider;
106.56 -import org.netbeans.spi.java.classpath.PathResourceImplementation;
106.57 -import org.netbeans.spi.java.classpath.support.ClassPathSupport;
106.58 -import org.openide.filesystems.FileObject;
106.59 -import org.openide.filesystems.FileUtil;
106.60 -import org.openide.util.SharedClassObject;
106.61 -
106.62 -/**
106.63 - *
106.64 - * @author lukas
106.65 - */
106.66 -public class RetoucheTestBase extends NbTestCase {
106.67 -
106.68 - private FileObject testFO;
106.69 -
106.70 - public RetoucheTestBase(String name) {
106.71 - super(name);
106.72 - }
106.73 -
106.74 - @Override
106.75 - protected void setUp() throws Exception {
106.76 - final FileObject sd = SourceUtilsTestUtil.makeScratchDir(this);
106.77 - final FileObject src = sd.createFolder("src");
106.78 - ClassPathProvider cpp = new ClassPathProvider() {
106.79 -
106.80 - public ClassPath findClassPath(FileObject file, String type) {
106.81 - if (type.equals(ClassPath.SOURCE)) {
106.82 - return ClassPathSupport.createClassPath(new FileObject[]{src});
106.83 - }
106.84 - if (type.equals(ClassPath.COMPILE)) {
106.85 - return ClassPathSupport.createClassPath(new FileObject[0]);
106.86 - }
106.87 - if (type.equals(ClassPath.BOOT)) {
106.88 - return createClassPath(System.getProperty("sun.boot.class.path"));
106.89 - }
106.90 - return null;
106.91 - }
106.92 - };
106.93 - SharedClassObject loader = JavaDataLoader.findObject(JavaDataLoader.class, true);
106.94 -
106.95 - SourceUtilsTestUtil.prepareTest(src, sd.createFolder("build"), sd.createFolder("cache"));
106.96 - SourceUtilsTestUtil.prepareTest(
106.97 - new String[]{},
106.98 - new Object[]{loader, cpp});
106.99 - testFO = FileUtil.createFolder(src, "sample/pkg/").createData("Test.java");
106.100 - TestUtilities.copyStringToFile(testFO,
106.101 - "package sample.pkg;\n" +
106.102 - "\n" +
106.103 - "public class Test {\n" +
106.104 - "\n" +
106.105 - " @Deprecated\n" +
106.106 - " void method() {\n" +
106.107 - " }\n" +
106.108 - "\n" +
106.109 - "}\n");
106.110 - }
106.111 -
106.112 - protected FileObject getTestFO() {
106.113 - return testFO;
106.114 - }
106.115 -
106.116 - private static ClassPath createClassPath(String classpath) {
106.117 - StringTokenizer tokenizer = new StringTokenizer(classpath, File.pathSeparator);
106.118 - List<PathResourceImplementation> list = new ArrayList<PathResourceImplementation>();
106.119 - while (tokenizer.hasMoreTokens()) {
106.120 - String item = tokenizer.nextToken();
106.121 - File f = FileUtil.normalizeFile(new File(item));
106.122 - URL url = getRootURL(f);
106.123 - if (url != null) {
106.124 - list.add(ClassPathSupport.createResource(url));
106.125 - }
106.126 - }
106.127 - return ClassPathSupport.createClassPath(list);
106.128 - }
106.129 -
106.130 - private static URL getRootURL(File f) {
106.131 - URL url = null;
106.132 - try {
106.133 - if (isArchiveFile(f)) {
106.134 - url = FileUtil.getArchiveRoot(f.toURI().toURL());
106.135 - } else {
106.136 - url = f.toURI().toURL();
106.137 - String surl = url.toExternalForm();
106.138 - if (!surl.endsWith("/")) {
106.139 - url = new URL(surl + "/");
106.140 - }
106.141 - }
106.142 - } catch (MalformedURLException e) {
106.143 - throw new AssertionError(e);
106.144 - }
106.145 - return url;
106.146 - }
106.147 -
106.148 - private static boolean isArchiveFile(File f) {
106.149 - // the f might not exist and so you cannot use e.g. f.isFile() here
106.150 - String fileName = f.getName().toLowerCase();
106.151 - return fileName.endsWith(".jar") || fileName.endsWith(".zip"); //NOI18N
106.152 - }
106.153 -}
107.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/RunTestMethodActionTest.java Sat Mar 10 02:54:06 2012 +0100
107.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
107.3 @@ -1,74 +0,0 @@
107.4 -/*
107.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
107.6 - *
107.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
107.8 - *
107.9 - * The contents of this file are subject to the terms of either the GNU
107.10 - * General Public License Version 2 only ("GPL") or the Common
107.11 - * Development and Distribution License("CDDL") (collectively, the
107.12 - * "License"). You may not use this file except in compliance with the
107.13 - * License. You can obtain a copy of the License at
107.14 - * http://www.netbeans.org/cddl-gplv2.html
107.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
107.16 - * specific language governing permissions and limitations under the
107.17 - * License. When distributing the software, include this License Header
107.18 - * Notice in each file and include the License file at
107.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
107.20 - * particular file as subject to the "Classpath" exception as provided
107.21 - * by Sun in the GPL Version 2 section of the License file that
107.22 - * accompanied this code. If applicable, add the following below the
107.23 - * License Header, with the fields enclosed by brackets [] replaced by
107.24 - * your own identifying information:
107.25 - * "Portions Copyrighted [year] [name of copyright owner]"
107.26 - *
107.27 - * If you wish your version of this file to be governed by only the CDDL
107.28 - * or only the GPL Version 2, indicate your decision by adding
107.29 - * "[Contributor] elects to include this software in this distribution
107.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
107.31 - * single choice of license, a recipient has the option to distribute
107.32 - * your version of this file under either the CDDL, the GPL Version 2 or
107.33 - * to extend the choice of license to its licensees as provided above.
107.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
107.35 - * Version 2 license, then the option applies only if the new code is
107.36 - * made subject to such option by the copyright holder.
107.37 - *
107.38 - * Contributor(s):
107.39 - *
107.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
107.41 - */
107.42 -package org.netbeans.modules.contrib.testng.actions;
107.43 -
107.44 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
107.45 -import org.netbeans.modules.contrib.testng.impl.TestNGImpl;
107.46 -import org.netbeans.spi.project.SingleMethod;
107.47 -import org.openide.nodes.Node;
107.48 -import org.openide.util.actions.NodeActionsInfraHid;
107.49 -import org.openide.util.actions.SystemAction;
107.50 -
107.51 -/**
107.52 - *
107.53 - * @author lukas
107.54 - */
107.55 -public class RunTestMethodActionTest extends TestActionT {
107.56 -
107.57 - static {
107.58 - TestNGImpl.setSupportedActions(Action.RUN_TESTMETHOD);
107.59 - }
107.60 - private final RunTestMethodAction action = SystemAction.get(RunTestMethodAction.class);
107.61 -
107.62 - public RunTestMethodActionTest(String name) {
107.63 - super(name);
107.64 - }
107.65 -
107.66 - public void testEnable() {
107.67 - NodeActionsInfraHid.setCurrentNodes(EMPTY_ARRAY);
107.68 - assertFalse(action.isEnabled());
107.69 - NodeActionsInfraHid.setCurrentNodes(EMPTY_NODES);
107.70 - assertFalse(action.isEnabled());
107.71 - NodeActionsInfraHid.setCurrentNodes(DATAOBJECT_NODE);
107.72 - assertTrue(action.isEnabled());
107.73 - NodeActionsInfraHid.setCurrentNodes(new Node[]{
107.74 - new NodeImpl(new SingleMethod(p.getProjectDirectory(), "myMethod"))});
107.75 - assertTrue(action.isEnabled());
107.76 - }
107.77 -}
107.78 \ No newline at end of file
108.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/TestActionT.java Sat Mar 10 02:54:06 2012 +0100
108.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
108.3 @@ -1,91 +0,0 @@
108.4 -/*
108.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
108.6 - *
108.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
108.8 - *
108.9 - * The contents of this file are subject to the terms of either the GNU
108.10 - * General Public License Version 2 only ("GPL") or the Common
108.11 - * Development and Distribution License("CDDL") (collectively, the
108.12 - * "License"). You may not use this file except in compliance with the
108.13 - * License. You can obtain a copy of the License at
108.14 - * http://www.netbeans.org/cddl-gplv2.html
108.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
108.16 - * specific language governing permissions and limitations under the
108.17 - * License. When distributing the software, include this License Header
108.18 - * Notice in each file and include the License file at
108.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
108.20 - * particular file as subject to the "Classpath" exception as provided
108.21 - * by Sun in the GPL Version 2 section of the License file that
108.22 - * accompanied this code. If applicable, add the following below the
108.23 - * License Header, with the fields enclosed by brackets [] replaced by
108.24 - * your own identifying information:
108.25 - * "Portions Copyrighted [year] [name of copyright owner]"
108.26 - *
108.27 - * If you wish your version of this file to be governed by only the CDDL
108.28 - * or only the GPL Version 2, indicate your decision by adding
108.29 - * "[Contributor] elects to include this software in this distribution
108.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
108.31 - * single choice of license, a recipient has the option to distribute
108.32 - * your version of this file under either the CDDL, the GPL Version 2 or
108.33 - * to extend the choice of license to its licensees as provided above.
108.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
108.35 - * Version 2 license, then the option applies only if the new code is
108.36 - * made subject to such option by the copyright holder.
108.37 - *
108.38 - * Contributor(s):
108.39 - *
108.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
108.41 - */
108.42 -package org.netbeans.modules.contrib.testng.actions;
108.43 -
108.44 -import org.netbeans.api.project.Project;
108.45 -import org.netbeans.junit.NbTestCase;
108.46 -import org.netbeans.modules.contrib.testng.impl.ProjectImpl;
108.47 -import org.openide.filesystems.FileObject;
108.48 -import org.openide.filesystems.FileUtil;
108.49 -import org.openide.loaders.DataObject;
108.50 -import org.openide.nodes.AbstractNode;
108.51 -import org.openide.nodes.Children;
108.52 -import org.openide.nodes.Node;
108.53 -import org.openide.util.Lookup;
108.54 -import org.openide.util.actions.NodeActionsInfraHid;
108.55 -import org.openide.util.lookup.Lookups;
108.56 -
108.57 -/**
108.58 - *
108.59 - * @author lukas
108.60 - */
108.61 -public abstract class TestActionT extends NbTestCase {
108.62 -
108.63 - protected static final Node[] EMPTY_ARRAY = new Node[0];
108.64 - protected static final Node[] EMPTY_NODES = new Node[] {new NodeImpl(), new NodeImpl()};
108.65 - protected Node[] DATAOBJECT_NODE;
108.66 - protected Node[] PROJECT_NODE;
108.67 - protected Node[] FILEOBJECT_NODE;
108.68 - protected Project p;
108.69 -
108.70 - static {
108.71 - NodeActionsInfraHid.install();
108.72 - }
108.73 -
108.74 - public TestActionT(String name) {
108.75 - super(name);
108.76 - }
108.77 -
108.78 - @Override
108.79 - protected void setUp() throws Exception {
108.80 - super.setUp();
108.81 - FileObject root = FileUtil.toFileObject(getWorkDir());
108.82 - p = new ProjectImpl(root, Lookup.EMPTY);
108.83 - PROJECT_NODE = new Node[] {new NodeImpl(p)};
108.84 - FILEOBJECT_NODE = new Node[] {new NodeImpl(root)};
108.85 - DATAOBJECT_NODE = new Node[] {new NodeImpl(DataObject.find(root))};
108.86 - }
108.87 -
108.88 - static class NodeImpl extends AbstractNode {
108.89 -
108.90 - NodeImpl(Object... toLookup) {
108.91 - super(Children.LEAF, toLookup.length < 1 ? Lookup.EMPTY : Lookups.fixed(toLookup));
108.92 - }
108.93 - }
108.94 -}
109.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/actions/TestClassInfoTaskTest.java Sat Mar 10 02:54:06 2012 +0100
109.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
109.3 @@ -1,111 +0,0 @@
109.4 -/*
109.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
109.6 - *
109.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
109.8 - *
109.9 - * The contents of this file are subject to the terms of either the GNU
109.10 - * General Public License Version 2 only ("GPL") or the Common
109.11 - * Development and Distribution License("CDDL") (collectively, the
109.12 - * "License"). You may not use this file except in compliance with the
109.13 - * License. You can obtain a copy of the License at
109.14 - * http://www.netbeans.org/cddl-gplv2.html
109.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
109.16 - * specific language governing permissions and limitations under the
109.17 - * License. When distributing the software, include this License Header
109.18 - * Notice in each file and include the License file at
109.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
109.20 - * particular file as subject to the "Classpath" exception as provided
109.21 - * by Sun in the GPL Version 2 section of the License file that
109.22 - * accompanied this code. If applicable, add the following below the
109.23 - * License Header, with the fields enclosed by brackets [] replaced by
109.24 - * your own identifying information:
109.25 - * "Portions Copyrighted [year] [name of copyright owner]"
109.26 - *
109.27 - * If you wish your version of this file to be governed by only the CDDL
109.28 - * or only the GPL Version 2, indicate your decision by adding
109.29 - * "[Contributor] elects to include this software in this distribution
109.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
109.31 - * single choice of license, a recipient has the option to distribute
109.32 - * your version of this file under either the CDDL, the GPL Version 2 or
109.33 - * to extend the choice of license to its licensees as provided above.
109.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
109.35 - * Version 2 license, then the option applies only if the new code is
109.36 - * made subject to such option by the copyright holder.
109.37 - *
109.38 - * Contributor(s):
109.39 - *
109.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
109.41 - */
109.42 -package org.netbeans.modules.contrib.testng.actions;
109.43 -
109.44 -import org.netbeans.api.java.source.JavaSource;
109.45 -import org.netbeans.api.java.source.TestUtilities;
109.46 -import org.openide.filesystems.FileObject;
109.47 -
109.48 -/**
109.49 - *
109.50 - * @author lukas
109.51 - */
109.52 -public class TestClassInfoTaskTest extends RetoucheTestBase {
109.53 -
109.54 - static {
109.55 - TestClassInfoTask.ANNOTATION = "java.lang.Deprecated";
109.56 - }
109.57 -
109.58 - public TestClassInfoTaskTest(String testName) {
109.59 - super(testName);
109.60 - }
109.61 -
109.62 - public void testCursorInMethod() throws Exception {
109.63 - JavaSource src = JavaSource.forFileObject(getTestFO());
109.64 - TestClassInfoTask task = new TestClassInfoTask(70);
109.65 - src.runUserActionTask(task, true);
109.66 - assertEquals("method", task.getMethodName());
109.67 - assertEquals("sample.pkg", task.getPackageName());
109.68 - assertEquals("Test", task.getClassName());
109.69 - }
109.70 -
109.71 - public void testCursorInClass() throws Exception {
109.72 - JavaSource src = JavaSource.forFileObject(getTestFO());
109.73 - TestClassInfoTask task = new TestClassInfoTask(42);
109.74 - src.runUserActionTask(task, true);
109.75 - assertNull(task.getMethodName());
109.76 - assertEquals("Test", task.getClassName());
109.77 - assertEquals("sample.pkg", task.getPackageName());
109.78 - }
109.79 -
109.80 - public void testCursorInClass2() throws Exception {
109.81 - JavaSource src = JavaSource.forFileObject(getTestFO());
109.82 - TestClassInfoTask task = new TestClassInfoTask(0);
109.83 - src.runUserActionTask(task, true);
109.84 - assertNull(task.getMethodName());
109.85 - assertEquals("Test", task.getClassName());
109.86 - assertEquals("sample.pkg", task.getPackageName());
109.87 - }
109.88 -
109.89 - public void testCursorInClass3() throws Exception {
109.90 - JavaSource src = JavaSource.forFileObject(getTestFO());
109.91 - TestClassInfoTask task = new TestClassInfoTask(87);
109.92 - src.runUserActionTask(task, true);
109.93 - assertNull(task.getMethodName());
109.94 - assertEquals("Test", task.getClassName());
109.95 - assertEquals("sample.pkg", task.getPackageName());
109.96 - }
109.97 -
109.98 - public void testDefaultPackage() throws Exception {
109.99 - TestUtilities.copyStringToFile(getTestFO(),
109.100 - "public class Test {\n" +
109.101 - "\n" +
109.102 - " @Deprecated\n" +
109.103 - " void method() {\n" +
109.104 - " }\n" +
109.105 - "\n" +
109.106 - "}\n");
109.107 - JavaSource src = JavaSource.forFileObject(getTestFO());
109.108 - TestClassInfoTask task = new TestClassInfoTask(20);
109.109 - src.runUserActionTask(task, true);
109.110 - assertNull(task.getMethodName());
109.111 - assertEquals("", task.getPackageName());
109.112 - assertEquals("Test", task.getClassName());
109.113 - }
109.114 -}
110.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/impl/ProjectImpl.java Sat Mar 10 02:54:06 2012 +0100
110.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
110.3 @@ -1,66 +0,0 @@
110.4 -/*
110.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
110.6 - *
110.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
110.8 - *
110.9 - * The contents of this file are subject to the terms of either the GNU
110.10 - * General Public License Version 2 only ("GPL") or the Common
110.11 - * Development and Distribution License("CDDL") (collectively, the
110.12 - * "License"). You may not use this file except in compliance with the
110.13 - * License. You can obtain a copy of the License at
110.14 - * http://www.netbeans.org/cddl-gplv2.html
110.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
110.16 - * specific language governing permissions and limitations under the
110.17 - * License. When distributing the software, include this License Header
110.18 - * Notice in each file and include the License file at
110.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
110.20 - * particular file as subject to the "Classpath" exception as provided
110.21 - * by Sun in the GPL Version 2 section of the License file that
110.22 - * accompanied this code. If applicable, add the following below the
110.23 - * License Header, with the fields enclosed by brackets [] replaced by
110.24 - * your own identifying information:
110.25 - * "Portions Copyrighted [year] [name of copyright owner]"
110.26 - *
110.27 - * If you wish your version of this file to be governed by only the CDDL
110.28 - * or only the GPL Version 2, indicate your decision by adding
110.29 - * "[Contributor] elects to include this software in this distribution
110.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
110.31 - * single choice of license, a recipient has the option to distribute
110.32 - * your version of this file under either the CDDL, the GPL Version 2 or
110.33 - * to extend the choice of license to its licensees as provided above.
110.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
110.35 - * Version 2 license, then the option applies only if the new code is
110.36 - * made subject to such option by the copyright holder.
110.37 - *
110.38 - * Contributor(s):
110.39 - *
110.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
110.41 - */
110.42 -
110.43 -package org.netbeans.modules.contrib.testng.impl;
110.44 -
110.45 -import org.netbeans.api.project.Project;
110.46 -import org.openide.filesystems.FileObject;
110.47 -import org.openide.util.Lookup;
110.48 -
110.49 -/**
110.50 - *
110.51 - * @author lukas
110.52 - */
110.53 -public class ProjectImpl implements Project {
110.54 -
110.55 - private Lookup l;
110.56 - private FileObject root;
110.57 -
110.58 - public ProjectImpl(FileObject root, Lookup l) {
110.59 - this.root = root;
110.60 - this.l = l;
110.61 - }
110.62 - public FileObject getProjectDirectory() {
110.63 - return root;
110.64 - }
110.65 -
110.66 - public Lookup getLookup() {
110.67 - return l;
110.68 - }
110.69 -}
111.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/impl/TestNGImpl.java Sat Mar 10 02:54:06 2012 +0100
111.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
111.3 @@ -1,122 +0,0 @@
111.4 -/*
111.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
111.6 - *
111.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
111.8 - *
111.9 - * The contents of this file are subject to the terms of either the GNU
111.10 - * General Public License Version 2 only ("GPL") or the Common
111.11 - * Development and Distribution License("CDDL") (collectively, the
111.12 - * "License"). You may not use this file except in compliance with the
111.13 - * License. You can obtain a copy of the License at
111.14 - * http://www.netbeans.org/cddl-gplv2.html
111.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
111.16 - * specific language governing permissions and limitations under the
111.17 - * License. When distributing the software, include this License Header
111.18 - * Notice in each file and include the License file at
111.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
111.20 - * particular file as subject to the "Classpath" exception as provided
111.21 - * by Sun in the GPL Version 2 section of the License file that
111.22 - * accompanied this code. If applicable, add the following below the
111.23 - * License Header, with the fields enclosed by brackets [] replaced by
111.24 - * your own identifying information:
111.25 - * "Portions Copyrighted [year] [name of copyright owner]"
111.26 - *
111.27 - * If you wish your version of this file to be governed by only the CDDL
111.28 - * or only the GPL Version 2, indicate your decision by adding
111.29 - * "[Contributor] elects to include this software in this distribution
111.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
111.31 - * single choice of license, a recipient has the option to distribute
111.32 - * your version of this file under either the CDDL, the GPL Version 2 or
111.33 - * to extend the choice of license to its licensees as provided above.
111.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
111.35 - * Version 2 license, then the option applies only if the new code is
111.36 - * made subject to such option by the copyright holder.
111.37 - *
111.38 - * Contributor(s):
111.39 - *
111.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
111.41 - */
111.42 -package org.netbeans.modules.contrib.testng.impl;
111.43 -
111.44 -import java.io.IOException;
111.45 -import java.util.ArrayList;
111.46 -import java.util.Arrays;
111.47 -import java.util.List;
111.48 -import org.netbeans.api.project.Project;
111.49 -import org.netbeans.modules.contrib.testng.api.TestNGSupport.Action;
111.50 -import org.netbeans.modules.contrib.testng.spi.TestConfig;
111.51 -import org.netbeans.modules.contrib.testng.spi.TestNGSupportImplementation;
111.52 -import org.openide.filesystems.FileObject;
111.53 -import org.openide.util.lookup.ServiceProvider;
111.54 -
111.55 -/**
111.56 - *
111.57 - * @author lukas
111.58 - */
111.59 -@ServiceProvider(service = TestNGSupportImplementation.class,
111.60 - supersedes = {"org.netbeans.modules.contrib.testng.ant.AntTestNGSupport",
111.61 - "org.netbeans.modules.contrib.testng.maven.MavenTestNGSupport"})
111.62 -public class TestNGImpl extends TestNGSupportImplementation {
111.63 -
111.64 - private static List<Action> sa = new ArrayList<Action>();
111.65 - private boolean configured = false;
111.66 - private static TestExecutorImpl te = new TestExecutorImpl();
111.67 -
111.68 - public static void setSupportedActions(Action... a) {
111.69 - sa.clear();
111.70 - sa = Arrays.asList(a);
111.71 - }
111.72 -
111.73 - public static TestExecutorImpl getTestExecutor() {
111.74 - return te;
111.75 - }
111.76 -
111.77 - public boolean isConfigured() {
111.78 - return configured;
111.79 - }
111.80 -
111.81 - @Override
111.82 - public boolean isActionSupported(Action action, Project p) {
111.83 - return sa.contains(action);
111.84 - }
111.85 -
111.86 - @Override
111.87 - public void configureProject(FileObject createdFile) {
111.88 - configured = true;
111.89 - }
111.90 -
111.91 - @Override
111.92 - public TestExecutor createExecutor(Project p) {
111.93 - te.p = p;
111.94 - return te;
111.95 - }
111.96 -
111.97 - public static class TestExecutorImpl implements TestExecutor {
111.98 -
111.99 - private boolean hasFailed = false;
111.100 - private Project p;
111.101 - private Action executedAction = null;
111.102 - private TestConfig testConfig = null;
111.103 -
111.104 - public void setHasFailed(boolean hasFailed) {
111.105 - this.hasFailed = hasFailed;
111.106 - }
111.107 -
111.108 - public Action getExecutedAction() {
111.109 - return executedAction;
111.110 - }
111.111 -
111.112 - public TestConfig getTestConfig() {
111.113 - return testConfig;
111.114 - }
111.115 -
111.116 - public boolean hasFailedTests() {
111.117 - return hasFailed;
111.118 - }
111.119 -
111.120 - public void execute(Action action, TestConfig config) throws IOException {
111.121 - executedAction = action;
111.122 - testConfig = config;
111.123 - }
111.124 - }
111.125 -}
112.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/output/RegexpUtilsTest.java Sat Mar 10 02:54:06 2012 +0100
112.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
112.3 @@ -1,619 +0,0 @@
112.4 -/*
112.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
112.6 - *
112.7 - * Copyright © 1997-2011 Oracle and/or its affiliates. All rights reserved.
112.8 - *
112.9 - * The contents of this file are subject to the terms of either the GNU
112.10 - * General Public License Version 2 only ("GPL") or the Common
112.11 - * Development and Distribution License("CDDL") (collectively, the
112.12 - * "License"). You may not use this file except in compliance with the
112.13 - * License. You can obtain a copy of the License at
112.14 - * http://www.netbeans.org/cddl-gplv2.html
112.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
112.16 - * specific language governing permissions and limitations under the
112.17 - * License. When distributing the software, include this License Header
112.18 - * Notice in each file and include the License file at
112.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
112.20 - * particular file as subject to the "Classpath" exception as provided
112.21 - * by Sun in the GPL Version 2 section of the License file that
112.22 - * accompanied this code. If applicable, add the following below the
112.23 - * License Header, with the fields enclosed by brackets [] replaced by
112.24 - * your own identifying information:
112.25 - * "Portions Copyrighted [year] [name of copyright owner]"
112.26 - *
112.27 - * Contributor(s):
112.28 - *
112.29 - * The Original Software is NetBeans. The Initial Developer of the Original
112.30 - * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
112.31 - * Microsystems, Inc. All Rights Reserved.
112.32 - *
112.33 - * If you wish your version of this file to be governed by only the CDDL
112.34 - * or only the GPL Version 2, indicate your decision by adding
112.35 - * "[Contributor] elects to include this software in this distribution
112.36 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
112.37 - * single choice of license, a recipient has the option to distribute
112.38 - * your version of this file under either the CDDL, the GPL Version 2 or
112.39 - * to extend the choice of license to its licensees as provided above.
112.40 - * However, if you add GPL Version 2 code and therefore, elected the GPL
112.41 - * Version 2 license, then the option applies only if the new code is
112.42 - * made subject to such option by the copyright holder.
112.43 - */
112.44 -
112.45 -package org.netbeans.modules.contrib.testng.output;
112.46 -
112.47 -import java.lang.reflect.Field;
112.48 -import java.lang.reflect.InvocationTargetException;
112.49 -import java.lang.reflect.Method;
112.50 -import java.util.regex.Matcher;
112.51 -import java.util.regex.Pattern;
112.52 -import junit.framework.TestCase;
112.53 -
112.54 -/**
112.55 - *
112.56 - * @author Marian Petras
112.57 - */
112.58 -public class RegexpUtilsTest extends TestCase {
112.59 -
112.60 - private final Field instRefField;
112.61 - private final Method methodSpecialTrim;
112.62 -
112.63 - private RegexpUtils inst;
112.64 -
112.65 - public RegexpUtilsTest(String testName) throws NoSuchFieldException,
112.66 - NoSuchMethodException {
112.67 - super(testName);
112.68 - instRefField = RegexpUtils.class.getDeclaredField("instRef");
112.69 - instRefField.setAccessible(true);
112.70 -
112.71 - methodSpecialTrim = RegexpUtils.class.getDeclaredMethod(
112.72 - "specialTrim",
112.73 - new Class[] {String.class});
112.74 - methodSpecialTrim.setAccessible(true);
112.75 - }
112.76 -
112.77 - @Override
112.78 - public void setUp() throws IllegalAccessException {
112.79 - instRefField.set(null, null);
112.80 -
112.81 - inst = RegexpUtils.getInstance();
112.82 - }
112.83 -
112.84 - public void testParseTimeMillis() {
112.85 - assertEquals(0, inst.parseTimeMillis("0"));
112.86 - assertEquals(0, inst.parseTimeMillis("00"));
112.87 - assertEquals(1234000, inst.parseTimeMillis("1234"));
112.88 - assertEquals(1234500, inst.parseTimeMillis("1234.5"));
112.89 - assertEquals(1234560, inst.parseTimeMillis("1234.56"));
112.90 - assertEquals(1234567, inst.parseTimeMillis("1234.567"));
112.91 - assertEquals(1234567, inst.parseTimeMillis("1234.5670"));
112.92 - assertEquals(1234567, inst.parseTimeMillis("1234.5671"));
112.93 - assertEquals(1234567, inst.parseTimeMillis("1234.5674"));
112.94 - assertEquals(1234568, inst.parseTimeMillis("1234.5675"));
112.95 - assertEquals(1234568, inst.parseTimeMillis("1234.5676"));
112.96 - assertEquals(1234568, inst.parseTimeMillis("1234.56764"));
112.97 - assertEquals(1234568, inst.parseTimeMillis("1234.56766"));
112.98 - assertEquals(500, inst.parseTimeMillis(".5"));
112.99 - assertEquals(560, inst.parseTimeMillis(".56"));
112.100 - assertEquals(567, inst.parseTimeMillis(".567"));
112.101 - assertEquals(567, inst.parseTimeMillis(".5670"));
112.102 - assertEquals(567, inst.parseTimeMillis(".5671"));
112.103 - assertEquals(567, inst.parseTimeMillis(".5674"));
112.104 - assertEquals(568, inst.parseTimeMillis(".5675"));
112.105 - assertEquals(568, inst.parseTimeMillis(".5676"));
112.106 - }
112.107 -
112.108 - public void testTimeSecsRegex() throws Exception {
112.109 - Pattern pattern = getPattern("SECONDS_REGEX");
112.110 -
112.111 - final String[] matchingStrings = new String[] {
112.112 - "s",
112.113 - "sec",
112.114 - "secs",
112.115 - "sec(s)",
112.116 - "second",
112.117 - "seconds",
112.118 - "second(s)",
112.119 - };
112.120 - final String[] nonMatchingStrings = new String[] {
112.121 - "ss",
112.122 - "s(s)",
112.123 - "secss",
112.124 - "secs(s)",
112.125 - "secondss",
112.126 - "seconds(s)"
112.127 - };
112.128 -
112.129 - for (int i = 0; i < matchingStrings.length; i++) {
112.130 - String string = matchingStrings[i];
112.131 - assertTrue("should match: " + string,
112.132 - pattern.matcher(string).matches());
112.133 - }
112.134 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.135 - String string = nonMatchingStrings[i];
112.136 - assertFalse("should not match: " + string,
112.137 - pattern.matcher(string).matches());
112.138 - }
112.139 - }
112.140 -
112.141 - public void testTestcaseIssueRegex() throws Exception {
112.142 - Pattern pattern = getPattern("TESTCASE_ISSUE_REGEX");
112.143 -
112.144 - final String[] matchingStrings = new String[] {
112.145 - "FAILED",
112.146 - "Caused an ERROR",
112.147 - "error",
112.148 - " FAILED",
112.149 - "\t \t FAILED",
112.150 - " \t \tFAILED",
112.151 - "\t \t FAILED ",
112.152 - " \t \tFAILED ",
112.153 - "xxxxx ErRoR yyy"
112.154 - };
112.155 - final String[] nonMatchingStrings = new String[] {
112.156 - "failed",
112.157 - "Failed",
112.158 - "x FAILED",
112.159 - "xFAILED",
112.160 - "FAILEDx",
112.161 - "mistakeerror",
112.162 - "mistake errors",
112.163 - };
112.164 -
112.165 - for (int i = 0; i < matchingStrings.length; i++) {
112.166 - String string = matchingStrings[i];
112.167 - assertTrue("should match: " + string,
112.168 - pattern.matcher(string).matches());
112.169 - }
112.170 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.171 - String string = nonMatchingStrings[i];
112.172 - assertFalse("should not match: " + string,
112.173 - pattern.matcher(string).matches());
112.174 - }
112.175 - }
112.176 -
112.177 - public void testTestcaseHeaderPlainRegex() throws Exception {
112.178 - Pattern pattern = getPattern("TESTCASE_HEADER_PLAIN_REGEX");
112.179 -
112.180 - final String[] matchingStrings = new String[] {
112.181 - "testComputeSum took 0.002 sec",
112.182 - "testComputeSum took 0 sec",
112.183 - "testComputeSum took 0.002 s",
112.184 - " testComputeSum took 0.002 sec",
112.185 - " testComputeSum took 0.002 sec",
112.186 - "\ttestComputeSum took 0.002 sec",
112.187 - "\t\t\testComputeSum took 0.002 sec",
112.188 - " \t\t testComputeSum took 0.002 sec",
112.189 - "\t\t testComputeSum took 0.002 sec",
112.190 - "test took 12 seconds",
112.191 - "test\ttook 12 seconds",
112.192 - "test\t\ttook .5 seconds",
112.193 - "test\t took .5 seconds",
112.194 - "test took .5 seconds",
112.195 - "test12 took 12 secs"
112.196 - };
112.197 - final String[] nonMatchingStrings = new String[] {
112.198 - "12test took 12 seconds",
112.199 - "test tooks",
112.200 - "test took3 seconds",
112.201 - "test took 3 bflmpsvz",
112.202 - };
112.203 -
112.204 - for (int i = 0; i < matchingStrings.length; i++) {
112.205 - String string = matchingStrings[i];
112.206 - assertTrue("should match: " + string,
112.207 - pattern.matcher(string).matches());
112.208 - }
112.209 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.210 - String string = nonMatchingStrings[i];
112.211 - assertFalse("should not match: " + string,
112.212 - pattern.matcher(string).matches());
112.213 - }
112.214 - }
112.215 -
112.216 - public void testTestcaseHeaderBriefRegex() throws Exception {
112.217 - Pattern pattern = getPattern("TESTCASE_HEADER_BRIEF_REGEX");
112.218 -
112.219 - final String[] matchingStrings = new String[] {
112.220 - "testMain(javapplication2.MainTest): FAILED",
112.221 - "testMain(javapplication2.MainTest): Caused an ERROR",
112.222 - "testMain(MainTest): FAILED",
112.223 - " testMain(javapplication2.MainTest): FAILED",
112.224 - "testMain(javapplication2.MainTest) :FAILED",
112.225 - "testMain(javapplication2.MainTest) : FAILED",
112.226 - "testMain(javapplication2.MainTest): mistake error"
112.227 - };
112.228 - final String[] nonMatchingStrings = new String[] {
112.229 - "testMain(javapplication2.MainTest)",
112.230 - "(javapplication2.MainTest): FAILED",
112.231 - "testMain(javapplication2.MainTest): Failed",
112.232 - "testMain(javapplication2.MainTest): mistake",
112.233 - "testMain(javapplication2.MainTest): errors",
112.234 - "testMain(javapplication2.MainTest): mistakeerror",
112.235 - "testMain(javapplication2.MainTest): mistake errors",
112.236 - "testMain(javapplication2.): FAILED",
112.237 - "testMain(.MainTest): FAILED",
112.238 - "testMain(javapplication2..MainTest): FAILED",
112.239 - "testMain(2.MainTest): FAILED",
112.240 - "testMain(javapplication2.2): FAILED"
112.241 - };
112.242 -
112.243 - for (int i = 0; i < matchingStrings.length; i++) {
112.244 - String string = matchingStrings[i];
112.245 - assertTrue("should match: " + string,
112.246 - pattern.matcher(string).matches());
112.247 - }
112.248 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.249 - String string = nonMatchingStrings[i];
112.250 - assertFalse("should not match: " + string,
112.251 - pattern.matcher(string).matches());
112.252 - }
112.253 - }
112.254 -
112.255 - public void testTestcaseExceptionRegex() throws Exception {
112.256 - Pattern pattern = getPattern("TESTCASE_EXCEPTION_REGEX");
112.257 -
112.258 - final String[] matchingStrings = new String[] {
112.259 - "junit.framework.AssertionFailedException",
112.260 - "junit.framework.AssertionFailedException: The test case is empty.",
112.261 - "java.lang.NullPointerException",
112.262 - "java.lang.Exception",
112.263 - "java.lang.Throwable",
112.264 - "MySpecialException",
112.265 - "MySpecialError",
112.266 - "foo.Exception",
112.267 - "foo.Error",
112.268 - "foo.bar.Exception",
112.269 - "foo.bar.Error" };
112.270 - final String[] nonMatchingStrings = new String[] {
112.271 - "Exception",
112.272 - "Error",
112.273 - "Throwable",
112.274 - "mypackage.Throwable",
112.275 - "foo.bar.Throwable",
112.276 - ".foo",
112.277 - ".Exception",
112.278 - ".Error",
112.279 - ".foo.Exception",
112.280 - ".foo.Error",
112.281 - "Exception.",
112.282 - "Error.",
112.283 - "foo.Exception.",
112.284 - "foo.Error.",
112.285 - "foo.bar.Exception.",
112.286 - "foo.bar.Error.",
112.287 - "foo..bar.Exception",
112.288 - "foo..bar.Error",
112.289 - "junit.framework.AssertionFailedException It failed" };
112.290 - for (int i = 0; i < matchingStrings.length; i++) {
112.291 - String string = matchingStrings[i];
112.292 - assertTrue("should match: " + string,
112.293 - pattern.matcher(string).matches());
112.294 - }
112.295 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.296 - String string = nonMatchingStrings[i];
112.297 - assertFalse("should not match: " + string,
112.298 - pattern.matcher(string).matches());
112.299 - }
112.300 -
112.301 - Matcher matcher;
112.302 -
112.303 - matcher = pattern.matcher("java.lang.NullPointerException");
112.304 - assertTrue(matcher.matches());
112.305 - assertEquals("java.lang.NullPointerException", matcher.group(1));
112.306 - assertNull(matcher.group(2));
112.307 -
112.308 - matcher = pattern.matcher("java.lang.NullPointerException:");
112.309 - assertTrue(matcher.matches());
112.310 - assertEquals("java.lang.NullPointerException", matcher.group(1));
112.311 - assertEquals("", matcher.group(2));
112.312 -
112.313 - matcher = pattern.matcher("java.lang.NullPointerException : Failed");
112.314 - assertTrue(matcher.matches());
112.315 - assertEquals("java.lang.NullPointerException", matcher.group(1));
112.316 - assertEquals("Failed", matcher.group(2));
112.317 - }
112.318 -
112.319 - public void testCallstackLineRegex() throws Exception{
112.320 - Pattern pattern = getPattern("CALLSTACK_LINE_REGEX");
112.321 -
112.322 - final String[] matchingStrings = new String[] {
112.323 - " at javaapplication.MainTest.test",
112.324 - " at javaapplication.MainTest.test",
112.325 - " at javaapplication.MainTest.test",
112.326 - "\tat javaapplication.MainTest.test",
112.327 - "\t\tat javaapplication.MainTest.test",
112.328 - "[catch] at javaapplication.MainTest.test",
112.329 - " [catch] at javaapplication.MainTest.test",
112.330 - " [catch] at javaapplication.MainTest.test",
112.331 - " [catch] at javaapplication.MainTest.test",
112.332 - "\t[catch] at javaapplication.MainTest.test",
112.333 - "\t [catch] at javaapplication.MainTest.test",
112.334 - " \t[catch] at javaapplication.MainTest.test",
112.335 - "\t [catch] at javaapplication.MainTest.test",
112.336 - " \t [catch] at javaapplication.MainTest.test",
112.337 - " \t[catch] at javaapplication.MainTest.test",
112.338 - "\t [catch] at javaapplication.MainTest.test",
112.339 - " \t [catch] at javaapplication.MainTest.test",
112.340 - " \t [catch] at javaapplication.MainTest.test",
112.341 - " \t[catch] at javaapplication.MainTest.test",
112.342 - " at MainTest.test",
112.343 - " at javaapplication.MainTest.test(a)",
112.344 - " at javaapplication.MainTest.test (a)",
112.345 - " at javaapplication.MainTest.test (Compiled)",
112.346 - " at javaapplication.MainTest.test (Native method)",
112.347 - " at javaapplication.MainTest.test (MainTest.java)",
112.348 - " at javaapplication.MainTest.test (MainTest.java:32)",
112.349 - " at javaapplication.MainTest.test(MainTest.java:32)"
112.350 - };
112.351 - final String[] nonMatchingStrings = new String[] {
112.352 - "javaapplication.MainTest.test",
112.353 - " javaapplication.MainTest.test",
112.354 - "at javaapplication.MainTest.test",
112.355 - " at javaapplication.MainTest.test",
112.356 - " at javaapplication.MainTest.test",
112.357 - "\t at javaapplication.MainTest.test",
112.358 - " \tat javaapplication.MainTest.test",
112.359 - "\t at javaapplication.MainTest.test",
112.360 - " \t at javaapplication.MainTest.test",
112.361 - " \tat javaapplication.MainTest.test",
112.362 - "\t\t at javaapplication.MainTest.test",
112.363 - "\t \tat javaapplication.MainTest.test",
112.364 - " \t\tat javaapplication.MainTest.test",
112.365 - "\t\t at javaapplication.MainTest.test",
112.366 - "\t \t at javaapplication.MainTest.test",
112.367 - "\t \tat javaapplication.MainTest.test",
112.368 - " \t\t at javaapplication.MainTest.test",
112.369 - " \t \tat javaapplication.MainTest.test",
112.370 - " \t\tat javaapplication.MainTest.test",
112.371 - "\t\t[catch] at javaapplication.MainTest.test",
112.372 - " \t\t[catch] at javaapplication.MainTest.test",
112.373 - "\t \t[catch] at javaapplication.MainTest.test",
112.374 - "\t\t [catch] at javaapplication.MainTest.test",
112.375 - " at test",
112.376 - " at javaapplication.%dfsd",
112.377 - " at 2application.MainTest",
112.378 - " at javaapplication.MainTest.test()",
112.379 - " at javaapplication.MainTest.test ()",
112.380 - " at javaapplication.MainTest.test (a)",
112.381 - " at javaapplication.MainTest.test xyz",
112.382 - " at javaapplication.MainTest.test (abc) x",
112.383 - " at javaapplication.MainTest.test (abc) (de)",
112.384 - " at javaapplication.MainTest.test (ab(cd)",
112.385 - " at javaapplication.MainTest.test (ab)cd)",
112.386 - " at javaapplication.MainTest.test (ab(cd))"
112.387 - };
112.388 -
112.389 - for (int i = 0; i < matchingStrings.length; i++) {
112.390 - String string = matchingStrings[i];
112.391 - assertTrue("should match: " + string,
112.392 - pattern.matcher(string).matches());
112.393 - }
112.394 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.395 - String string = nonMatchingStrings[i];
112.396 - assertFalse("should not match: " + string,
112.397 - pattern.matcher(string).matches());
112.398 - }
112.399 - }
112.400 -
112.401 - public void testXmlDeclRegex() throws Exception {
112.402 - Pattern pattern = getPattern("XML_DECL_REGEX");
112.403 -
112.404 - final String[] matchingStrings = new String[] {
112.405 - "<?xml version=\"1.0\"?>",
112.406 - "<?xml version=\"1.0\"?>",
112.407 - "<?xml\tversion=\"1.0\"?>",
112.408 - "<?xml\t\t version=\"1.0\"?>",
112.409 - "<?xml version =\"1.0\"?>",
112.410 - "<?xml version =\"1.0\"?>",
112.411 - "<?xml version= \"1.0\"?>",
112.412 - "<?xml version= \"1.0\"?>",
112.413 - "<?xml version = \"1.0\"?>",
112.414 - "<?xml version \t=\t \"1.0\"?>",
112.415 - "<?xml version=\"1.0\" encoding=\"abc\"?>",
112.416 - "<?xml version=\"1.0\" encoding=\'abc\'?>",
112.417 - "<?xml version=\"1.0\"\tencoding=\"abc\"?>",
112.418 - "<?xml version=\"1.0\" encoding=\"abc\"?>",
112.419 - "<?xml version=\"1.0\"\t\tencoding=\"abc\"?>",
112.420 - "<?xml version=\"1.0\" \tencoding=\"abc\"?>",
112.421 - "<?xml version=\"1.0\"\t encoding=\"abc\"?>",
112.422 - "<?xml version=\"1.0\" encoding =\"abc\"?>",
112.423 - "<?xml version=\"1.0\" encoding= \"abc\"?>",
112.424 - "<?xml version=\"1.0\" encoding\t=\t\"abc\"?>",
112.425 - "<?xml version=\"1.0\" encoding\t = \t\"abc\"?>",
112.426 - "<?xml version=\"1.0\" encoding=\"ab1c\"?>",
112.427 - "<?xml version=\"1.0\" encoding=\"ab.c\"?>",
112.428 - "<?xml version=\"1.0\" encoding=\"ab_c\"?>",
112.429 - "<?xml version=\"1.0\" encoding=\"ab-c\"?>",
112.430 -
112.431 - "<?xml version=\"1.0\" standalone=\"yes\"?>",
112.432 - "<?xml version=\"1.0\" standalone=\'yes\'?>",
112.433 - "<?xml version=\"1.0\" standalone=\"no\"?>",
112.434 - "<?xml version=\"1.0\" standalone=\'no\'?>",
112.435 - "<?xml version=\"1.0\"\tstandalone=\"yes\"?>",
112.436 - "<?xml version=\"1.0\" standalone=\"yes\"?>",
112.437 - "<?xml version=\"1.0\"\t\tstandalone=\"yes\"?>",
112.438 - "<?xml version=\"1.0\" \tstandalone=\"yes\"?>",
112.439 - "<?xml version=\"1.0\"\t standalone=\"yes\"?>",
112.440 - "<?xml version=\"1.0\" standalone =\"yes\"?>",
112.441 - "<?xml version=\"1.0\" standalone= \"yes\"?>",
112.442 - "<?xml version=\"1.0\" standalone\t=\t\"yes\"?>",
112.443 - "<?xml version=\"1.0\" standalone\t = \t\"yes\"?>",
112.444 -
112.445 - "<?xml version=\"1.0\" encoding=\"abc\" standalone=\"yes\"?>",
112.446 - "<?xml version=\"1.0\" encoding=\"abc\" standalone=\'yes\'?>",
112.447 - "<?xml version=\"1.0\" encoding=\'abc\' standalone=\"yes\"?>",
112.448 - "<?xml version=\"1.0\" encoding=\'abc\' standalone=\'yes\'?>",
112.449 -
112.450 - "<?xml version=\"1.0\" encoding=\"abc\" standalone=\"yes\" ?>",
112.451 - "<?xml version=\"1.0\" encoding=\"abc\" standalone=\"yes\"\t?>"
112.452 - };
112.453 - final String[] nonMatchingStrings = new String[] {
112.454 - "<?xml?>",
112.455 - "<?xml ?>",
112.456 - "<?xml version=\"1.1\"?>",
112.457 - "<?xmlversion=\"1.0\"?>",
112.458 - "<Uxml version=\"1.0\"?>",
112.459 - "<?xml version=\"1.0\"U>",
112.460 - "<?xml version=\"1.0\"?> ",
112.461 - "<?xml version=\"1.0\"?>\t",
112.462 - "xml version=\"1.0\"?>",
112.463 - "<?xml version=\"1.0>",
112.464 - "<?xml version=\"1.0\"encoding=\"abc\"?>",
112.465 - "<?xml version=\"1.0\" encoding=\"ab%\"?>",
112.466 - "<?xml version=\"1.0\" encoding=\"1abc\"?>",
112.467 - "<?xml version=\"1.0\" encoding=\".abc\"?>",
112.468 - "<?xml version=\"1.0\" encoding=\"_abc\"?>",
112.469 - "<?xml version=\"1.0\" encoding=\"-abc\"?>",
112.470 - "<?xml version=\"1.0\"standalone=yes?>",
112.471 - "<?xml version=\"1.0\" standalone=yes>",
112.472 - "<?xml version=\"1.0\" standalone=\'yes\"?>",
112.473 - "<?xml version=\"1.0\" standalone=\"yes\'?>",
112.474 - "<?xml version=\"1.0\" standalone=\"yes?>",
112.475 - "<?xml version=\"1.0\" standalone=yes\"?>",
112.476 - "<?xml version=\"1.0\" standalone=\'yes?>",
112.477 - "<?xml version=\"1.0\" standalone=yes\'?>",
112.478 - "<?xml version=\"1.0\" standalone=\"maybe\"?>",
112.479 - "<?xml version=\"1.0\" encoding=\"abc\" standalone=\'yes\"?>",
112.480 - "<?xml version=\"1.0\" encoding=\'abc\" standalone=\"yes\"?>"
112.481 - };
112.482 -
112.483 - for (int i = 0; i < matchingStrings.length; i++) {
112.484 - String string = matchingStrings[i];
112.485 - assertTrue("should match: " + string,
112.486 - pattern.matcher(string).matches());
112.487 - }
112.488 - for (int i = 0; i < nonMatchingStrings.length; i++) {
112.489 - String string = nonMatchingStrings[i];
112.490 - assertFalse("should not match: " + string,
112.491 - pattern.matcher(string).matches());
112.492 - }
112.493 - }
112.494 -
112.495 - /**
112.496 - */
112.497 - public void testSpecialTrim() throws IllegalAccessException,
112.498 - InvocationTargetException {
112.499 - assertSame("", specialTrim(""));
112.500 - assertSame("abcde", specialTrim("abcde"));
112.501 - assertSame("ab\tc de", specialTrim("ab\tc de"));
112.502 - assertSame("ab c\tde", specialTrim("ab c\tde"));
112.503 - assertEquals("", specialTrim(" "));
112.504 - assertEquals("", specialTrim("\t\t"));
112.505 - assertEquals("abcde", specialTrim(" abcde"));
112.506 - assertEquals("abcde", specialTrim("abcde "));
112.507 - assertEquals("abcde", specialTrim(" abcde "));
112.508 - assertEquals("ab\tc de", specialTrim(" ab\tc de"));
112.509 - assertEquals("ab c\tde", specialTrim("\tab c\tde"));
112.510 - assertEquals("ab\tc de", specialTrim("ab\tc de "));
112.511 - assertEquals("ab c\tde", specialTrim("ab c\tde\t"));
112.512 - }
112.513 -
112.514 - public void testRunningSuite() throws Exception {
112.515 - Pattern pattern = getPattern("RUNNING_SUITE_REGEX");
112.516 - final String matchingString =
112.517 - "[NBTestListener] RUNNING: Suite: \"Junit via TestNG XML\" containing \"5\" Tests (config: /space/sources/tng_fork/src/test/resources/junit-suite.xml)";
112.518 - Matcher m = pattern.matcher(matchingString);
112.519 - assertTrue(m.matches());
112.520 - assertEquals(3, m.groupCount());
112.521 - assertEquals("Junit via TestNG XML", m.group(1));
112.522 - assertEquals("5", m.group(2));
112.523 - assertEquals("/space/sources/tng_fork/src/test/resources/junit-suite.xml", m.group(3));
112.524 - final String matchingString2 =
112.525 - "[NBTestListener] RUNNING: Suite: \"Junit via TestNG XML\" containing \"5\" Tests (config: c:\\test\\resources\\junit-suite.xml)";
112.526 - m = pattern.matcher(matchingString2);
112.527 - assertTrue(m.matches());
112.528 - assertEquals(3, m.groupCount());
112.529 - assertEquals("Junit via TestNG XML", m.group(1));
112.530 - assertEquals("5", m.group(2));
112.531 - assertEquals("c:\\test\\resources\\junit-suite.xml", m.group(3));
112.532 - }
112.533 -
112.534 - public void testTestRegexp() throws Exception {
112.535 - Pattern pattern = getPattern("TEST_REGEX");
112.536 - final String matchingString =
112.537 - "[NBTestListener] PASSED: \"Regression1\" - test.parameters.ParameterSample.testSingleString() finished in 4 ms";
112.538 - Matcher m = pattern.matcher(matchingString);
112.539 - assertTrue(m.matches());
112.540 - assertEquals(8, m.groupCount());
112.541 - assertEquals("Regression1", m.group(1));
112.542 - assertEquals("test.parameters.ParameterSample.testSingleString", m.group(2));
112.543 - assertEquals("", m.group(4));
112.544 - assertNull(m.group(5));
112.545 - assertNull(m.group(6));
112.546 - assertEquals("4", m.group(8));
112.547 - final String matchingString2 =
112.548 - "[NBTestListener] PASSED: \"Regression1\" - test.parameters.ParameterSample.testSingleString(java.lang.String)(value(s): \"Cedric\") finished in 2 ms";
112.549 - m = pattern.matcher(matchingString2);
112.550 - assertTrue(m.matches());
112.551 - assertEquals(8, m.groupCount());
112.552 - assertEquals("Regression1", m.group(1));
112.553 - assertEquals("test.parameters.ParameterSample.testSingleString", m.group(2));
112.554 - assertEquals("java.lang.String", m.group(4));
112.555 - assertEquals("(value(s): \"Cedric\")", m.group(5));
112.556 - assertEquals("\"Cedric\"", m.group(6));
112.557 - assertEquals("2", m.group(8));
112.558 - final String matchingString3 =
112.559 - "[NBTestListener] PASSED: \"Injection\" - test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)) finished in 15 ms";
112.560 - m = pattern.matcher(matchingString3);
112.561 - assertTrue(m.matches());
112.562 - assertEquals(8, m.groupCount());
112.563 - assertEquals("Injection", m.group(1));
112.564 - assertEquals("test.inject.NoInjectionTest.withInjection", m.group(2));
112.565 - assertEquals("java.lang.reflect.Method", m.group(4));
112.566 - assertEquals("(value(s): public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method))", m.group(5));
112.567 - assertEquals("public void test.inject.NoInjectionTest.withInjection(java.lang.reflect.Method)", m.group(6));
112.568 - assertEquals("15", m.group(8));
112.569 -
112.570 - final String matchingString4 =
112.571 - "[VerboseTestNG] INVOKING: \"Ant test\" - test.MyTest";
112.572 - m = pattern.matcher(matchingString4);
112.573 - assertTrue(m.matches());
112.574 - assertEquals(8, m.groupCount());
112.575 - assertEquals("Ant test", m.group(1));
112.576 - assertEquals("test.MyTest", m.group(2));
112.577 - assertNull(m.group(3));
112.578 - assertNull(m.group(4));
112.579 - assertNull(m.group(5));
112.580 - assertNull(m.group(7));
112.581 - }
112.582 -
112.583 - public void testStatsRegexp() throws Exception {
112.584 - Pattern pattern = getPattern("STATS_REGEX");
112.585 - final String matchingString =
112.586 - "[NBTestListener] Tests run: 559, Failures: 4, Skips: 9";
112.587 - Matcher m = pattern.matcher(matchingString);
112.588 - assertTrue(m.matches());
112.589 - assertEquals(4, m.groupCount());
112.590 - assertEquals("559", m.group(1));
112.591 - assertEquals("4", m.group(2));
112.592 - assertEquals("9", m.group(4));
112.593 - final String matchingString2 =
112.594 - "[NBTestListener] Configuration Failures: 22, Skips: 11";
112.595 - m = pattern.matcher(matchingString2);
112.596 - assertTrue(m.matches());
112.597 - assertEquals(4, m.groupCount());
112.598 - assertEquals("22", m.group(1));
112.599 - assertEquals("11", m.group(2));
112.600 - assertNull(m.group(3));
112.601 - assertNull(m.group(4));
112.602 - }
112.603 -
112.604 - private Pattern getPattern(String fieldName) throws Exception {
112.605 - return Pattern.compile(getRegex(fieldName));
112.606 - }
112.607 -
112.608 - private String getRegex(String fieldName) throws Exception {
112.609 - Field regexField = RegexpUtils.class.getDeclaredField(fieldName);
112.610 - regexField.setAccessible(true);
112.611 - return (String) regexField.get(null);
112.612 - }
112.613 -
112.614 - /**
112.615 - */
112.616 - private String specialTrim(String str) throws IllegalAccessException,
112.617 - InvocationTargetException {
112.618 - Object result = methodSpecialTrim.invoke(null, new Object[] {str});
112.619 - return (String) result;
112.620 - }
112.621 -
112.622 -}
113.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/output/TestNGOutputReaderTest.java Sat Mar 10 02:54:06 2012 +0100
113.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
113.3 @@ -1,92 +0,0 @@
113.4 -/*
113.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
113.6 - *
113.7 - * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
113.8 - *
113.9 - * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
113.10 - * Other names may be trademarks of their respective owners.
113.11 - *
113.12 - * The contents of this file are subject to the terms of either the GNU
113.13 - * General Public License Version 2 only ("GPL") or the Common
113.14 - * Development and Distribution License("CDDL") (collectively, the
113.15 - * "License"). You may not use this file except in compliance with the
113.16 - * License. You can obtain a copy of the License at
113.17 - * http://www.netbeans.org/cddl-gplv2.html
113.18 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
113.19 - * specific language governing permissions and limitations under the
113.20 - * License. When distributing the software, include this License Header
113.21 - * Notice in each file and include the License file at
113.22 - * nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
113.23 - * particular file as subject to the "Classpath" exception as provided
113.24 - * by Oracle in the GPL Version 2 section of the License file that
113.25 - * accompanied this code. If applicable, add the following below the
113.26 - * License Header, with the fields enclosed by brackets [] replaced by
113.27 - * your own identifying information:
113.28 - * "Portions Copyrighted [year] [name of copyright owner]"
113.29 - *
113.30 - * If you wish your version of this file to be governed by only the CDDL
113.31 - * or only the GPL Version 2, indicate your decision by adding
113.32 - * "[Contributor] elects to include this software in this distribution
113.33 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
113.34 - * single choice of license, a recipient has the option to distribute
113.35 - * your version of this file under either the CDDL, the GPL Version 2 or
113.36 - * to extend the choice of license to its licensees as provided above.
113.37 - * However, if you add GPL Version 2 code and therefore, elected the GPL
113.38 - * Version 2 license, then the option applies only if the new code is
113.39 - * made subject to such option by the copyright holder.
113.40 - *
113.41 - * Contributor(s):
113.42 - *
113.43 - * Portions Copyrighted 2011 Sun Microsystems, Inc.
113.44 - */
113.45 -package org.netbeans.modules.contrib.testng.output;
113.46 -
113.47 -import java.io.BufferedReader;
113.48 -import java.io.File;
113.49 -import java.io.FileReader;
113.50 -import java.io.IOException;
113.51 -import org.netbeans.api.extexecution.print.LineConvertors;
113.52 -import org.netbeans.api.project.Project;
113.53 -import org.netbeans.junit.NbTestCase;
113.54 -import org.netbeans.modules.contrib.testng.impl.ProjectImpl;
113.55 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
113.56 -import org.openide.filesystems.FileObject;
113.57 -import org.openide.filesystems.FileUtil;
113.58 -import org.openide.util.lookup.Lookups;
113.59 -//14226
113.60 -/**
113.61 - *
113.62 - * @author lukas
113.63 - */
113.64 -public class TestNGOutputReaderTest extends NbTestCase {
113.65 -
113.66 - public TestNGOutputReaderTest(String name) {
113.67 - super(name);
113.68 - }
113.69 -
113.70 - public void testMsgLogged() throws IOException {
113.71 - FileObject root = FileUtil.toFileObject(getWorkDir());
113.72 - Project p = new ProjectImpl(root, Lookups.fixed(new LineConvertors.FileLocator() {
113.73 -
113.74 - public FileObject find(String filename) {
113.75 - return null;
113.76 - }
113.77 - }));
113.78 - TestNGTestSession ts = new TestNGTestSession("UnitTest", p, TestSession.SessionType.TEST, new TestNGTestNodeFactory());
113.79 - TestNGOutputReader r = new TestNGOutputReader(ts);
113.80 -
113.81 - BufferedReader br = new BufferedReader(
113.82 - new FileReader(new File(getDataDir(), "antOut/log.txt")));
113.83 - String line;
113.84 - while ((line = br.readLine()) != null) {
113.85 - if (line.startsWith(RegexpUtils.TEST_LISTENER_PREFIX)) {
113.86 - r.verboseMessageLogged(line);
113.87 - }
113.88 - }
113.89 - assertEquals(23116, ts.getSessionResult().getElapsedTime());
113.90 - assertEquals(0, ts.getSessionResult().getErrors());
113.91 - assertEquals(0, ts.getSessionResult().getFailed());
113.92 - System.out.println(ts.getSessionResult().getPassed());
113.93 - System.out.println(ts.getSessionResult().getTotal());
113.94 - }
113.95 -}
114.1 --- a/testng/test/unit/src/org/netbeans/modules/contrib/testng/output/XmlOutputParserTest.java Sat Mar 10 02:54:06 2012 +0100
114.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
114.3 @@ -1,141 +0,0 @@
114.4 -/*
114.5 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
114.6 - *
114.7 - * Copyright © 2008-2011 Oracle and/or its affiliates. All rights reserved.
114.8 - *
114.9 - * The contents of this file are subject to the terms of either the GNU
114.10 - * General Public License Version 2 only ("GPL") or the Common
114.11 - * Development and Distribution License("CDDL") (collectively, the
114.12 - * "License"). You may not use this file except in compliance with the
114.13 - * License. You can obtain a copy of the License at
114.14 - * http://www.netbeans.org/cddl-gplv2.html
114.15 - * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
114.16 - * specific language governing permissions and limitations under the
114.17 - * License. When distributing the software, include this License Header
114.18 - * Notice in each file and include the License file at
114.19 - * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
114.20 - * particular file as subject to the "Classpath" exception as provided
114.21 - * by Sun in the GPL Version 2 section of the License file that
114.22 - * accompanied this code. If applicable, add the following below the
114.23 - * License Header, with the fields enclosed by brackets [] replaced by
114.24 - * your own identifying information:
114.25 - * "Portions Copyrighted [year] [name of copyright owner]"
114.26 - *
114.27 - * If you wish your version of this file to be governed by only the CDDL
114.28 - * or only the GPL Version 2, indicate your decision by adding
114.29 - * "[Contributor] elects to include this software in this distribution
114.30 - * under the [CDDL or GPL Version 2] license." If you do not indicate a
114.31 - * single choice of license, a recipient has the option to distribute
114.32 - * your version of this file under either the CDDL, the GPL Version 2 or
114.33 - * to extend the choice of license to its licensees as provided above.
114.34 - * However, if you add GPL Version 2 code and therefore, elected the GPL
114.35 - * Version 2 license, then the option applies only if the new code is
114.36 - * made subject to such option by the copyright holder.
114.37 - *
114.38 - * Contributor(s):
114.39 - *
114.40 - * Portions Copyrighted 2008 Sun Microsystems, Inc.
114.41 - */
114.42 -package org.netbeans.modules.contrib.testng.output;
114.43 -
114.44 -import java.io.*;
114.45 -import java.util.List;
114.46 -import org.netbeans.api.project.Project;
114.47 -import org.netbeans.junit.NbTestCase;
114.48 -import org.netbeans.modules.gsf.testrunner.api.TestSession;
114.49 -import org.netbeans.modules.gsf.testrunner.api.TestSession.SessionType;
114.50 -import org.netbeans.modules.gsf.testrunner.api.Testcase;
114.51 -import org.openide.filesystems.FileObject;
114.52 -import org.openide.util.Lookup;
114.53 -import org.xml.sax.SAXException;
114.54 -
114.55 -/**
114.56 - *
114.57 - * @author lukas
114.58 - */
114.59 -public class XmlOutputParserTest extends NbTestCase {
114.60 -
114.61 - public XmlOutputParserTest(String name) {
114.62 - super(name);
114.63 - }
114.64 -
114.65 - public void testParseSimpleXmlOutput() throws Exception {
114.66 - XmlResult suite = parseResultXML(new File(getDataDir(), "results/testng-results.xml"));
114.67 - assertEquals("Ant suite", suite.getName());
114.68 - List<TestNGTest> testNGTests = suite.getTestNGTests();
114.69 - assertEquals(2, testNGTests.size());
114.70 - assertEquals("Ant test", testNGTests.get(0).getName());
114.71 - assertEquals("", testNGTests.get(1).getName());
114.72 - List<TestNGTestSuite> testSuites = suite.getTestSuites();
114.73 - assertEquals(7, testSuites.size());
114.74 -
114.75 - TestNGTestSuite result = testSuites.get(0);
114.76 - assertEquals("test.FailPassSkipTest", result.getName());
114.77 - List<Testcase> testcases = result.getTestcases();
114.78 - assertEquals(3, testcases.size());
114.79 - Testcase[] tcs = testcases.toArray(new Testcase[3]);
114.80 - assertEquals("test.FailPassSkipTest.cTest", tcs[1].getName());
114.81 -// assertEquals(1, result.failures);
114.82 -// assertEquals(1, result.skips);
114.83 -// assertEquals(3, result.totalTests);
114.84 -// assertEquals(1, result.detectedPassedTests);
114.85 -// assertEquals(0, result.confSkips);
114.86 -// assertEquals(0, result.confFailures);
114.87 -// assertNotNull(tcs[1].trouble);
114.88 -// assertFalse(tcs[1].trouble.isFailure());
114.89 -// assertNotNull(tcs[0].trouble);
114.90 -// assertTrue(tcs[0].trouble.isFailure());
114.91 -//
114.92 - result = testSuites.get(5);
114.93 - assertEquals("test.SetUpTest", result.getName());
114.94 - testcases = result.getTestcases();
114.95 - assertEquals(3, testcases.size());
114.96 - tcs = testcases.toArray(new Testcase[3]);
114.97 - assertEquals("test.SetUpTest.setUp", tcs[0].getName());
114.98 -// assertEquals(0, result.failures);
114.99 -// assertEquals(1, result.skips);
114.100 -// assertEquals(1, result.totalTests);
114.101 -// assertEquals(0, result.detectedPassedTests);
114.102 -// assertEquals(1, result.confSkips);
114.103 -// assertEquals(1, result.confFailures);
114.104 -// assertNotNull(tcs[0].trouble);
114.105 -// assertTrue(tcs[0].trouble.isFailure());
114.106 -// assertNotNull(tcs[1].trouble);
114.107 -// assertFalse(tcs[1].trouble.isFailure());
114.108 - }
114.109 -
114.110 - public void testParseXmlOutput() throws Exception {
114.111 - XmlResult reports = parseResultXML(new File(getDataDir(), "results/testng-results_1.xml"));
114.112 - assertEquals(22, reports.getTestNGTests().size());
114.113 - List<TestNGTestSuite> testSuites = reports.getTestSuites();
114.114 - assertEquals(71, testSuites.size());
114.115 - }
114.116 -
114.117 - public void testParseXmlOutput2() throws Exception {
114.118 - XmlResult reports = parseResultXML(new File(getDataDir(), "results/testng-results_2.xml"));
114.119 - List<TestNGTestSuite> testSuites = reports.getTestSuites();
114.120 - assertEquals(1, testSuites.size());
114.121 - int tc = 0;
114.122 - for (TestNGTestSuite s:testSuites) {
114.123 - tc += s.getTestcases().size();
114.124 - }
114.125 - assertEquals(6, tc);
114.126 - }
114.127 -
114.128 - XmlResult parseResultXML(File f) throws IOException, SAXException {
114.129 - Reader reader = new BufferedReader(new FileReader(f));
114.130 - TestSession ts = new TestSession("test", new P(), SessionType.TEST);
114.131 - return XmlOutputParser.parseXmlOutput(reader, ts);
114.132 - }
114.133 -
114.134 - private class P implements Project {
114.135 -
114.136 - public FileObject getProjectDirectory() {
114.137 - return null;
114.138 - }
114.139 -
114.140 - public Lookup getLookup() {
114.141 - return Lookup.EMPTY;
114.142 - }
114.143 - }
114.144 -}