/external/testng/ |
D | TODO.txt | 4 * Allow a testng.xml file to be passed when -testjar is used 8 * Make it possible to specify groups on command line and classes in testng.xml 9 (and any combinations thereof: command line, ant, testng.xml) 10 * DataProvider index in testng.xml 12 * Add time-outs at the testng.xml. Also: test and suite time-outs? http://tinyurl.com/kbwxq 15 * Make it possible to add listeners from the Eclipse plug-in 26 * Multi-threading for invocationCount and maybe for <test> too 32 * testng-dist.zip should contain a top-level directory 39 * Improve the plug-in API so people can add listeners without having to 57 avoid having to use testng.xml [all …]
|
D | CHANGES.txt | 2 Fixed: GITHUB-841: testName from @Test is now used and available from ITestResult#getName() and ITe… 3 New: GITHUB-776: Add BeforeClass/AfterClass like on ITestListener (@vguna & Julien Herr) 4 Fixed: GITHUB-872: Enable end-users of TestNG to alter XmlSuite and XmlTest (Krishnan Mahadevan) 5 New: GITHUB-900: Support @Listeners in annotation transformer (Julien Herr) 6 New: GITHUB-898: Activate XML validation when possible (Julien Herr) 7 Fixed: GITHUB-889: XmlSuite in nested directories results in FIleNotFoundException (Virender Singh) 8 Fixed: GITHUB-811: Timeout is not working with parallel=tests (@michael-yxf & Julien Herr) 9 Fixed: GITHUB-839: Missing encoding meta data for report file (@banbq & Julien Herr) 10 Fixed: GITHUB-876: NullPointerException creating tests with parameters by a factory (@vixgeo & Juli… 11 New: GITHUB-886: Add some checks on factory methods (Julien Herr) [all …]
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/ |
D | XmlDocumentationTest.java | 6 * http://www.eclipse.org/legal/epl-v10.html 9 * Marc R. Hoffmann - initial API and implementation 14 import static org.junit.Assert.assertTrue; 15 import static org.junit.Assert.fail; 21 import javax.xml.parsers.DocumentBuilder; 22 import javax.xml.parsers.DocumentBuilderFactory; 23 import javax.xml.xpath.XPath; 24 import javax.xml.xpath.XPathConstants; 25 import javax.xml.xpath.XPathExpressionException; 26 import javax.xml.xpath.XPathFactory; [all …]
|
/external/catch2/docs/ |
D | ci-and-misc.md | 5 [Continuous Integration systems](#continuous-integration-systems)<br> 6 [Other reporters](#other-reporters)<br> 7 [Low-level tools](#low-level-tools)<br> 11 Build Systems may refer to low-level tools, like CMake, or larger systems that run on servers, like… 15 …h three reporters that should cover the majority of build servers out there - although adding more… 17 … in (XML and JUnit) and the third (TeamCity) is included as a separate header. It's possible that … 19 ### XML Reporter 20 ```-r xml``` 22 The XML Reporter writes in an XML format that is specific to Catch. 24 … unusual features, such as nested sections) and is a fully streaming format - that is it writes ou… [all …]
|
D | reporters.md | 10 To specify a reporter use [`-r` or `--reporter`](command-line.md#choosing-a-reporter-to-use), follo… 13 -r xml 20 * `compact` similar to `console` but optimised for minimal output - each entry on one line 21 …junit` writes xml that corresponds to Ant's [junitreport](http://help.catchsoftware.com/display/ET… 22 Because of the way the junit format is structured the run must complete before anything is written. 23 * `xml` writes an xml format tailored to Catch. Unlike `junit` this is a streaming format so result… 26 Do this in one source file - the same one you have `CATCH_CONFIG_MAIN` or `CATCH_CONFIG_RUNNER`. 29 …amCity build to see results as they happen ([code example](../examples/207-Rpt-TeamCityReporter.cp… 31 …(https://www.gnu.org/software/automake/manual/html_node/Log-files-generation-and-test-results-reco… 33 You see what reporters are available from the command line by running with `--list-reporters`. [all …]
|
/external/testng/bin/ |
D | run-tests.sh | 3 JAR14=$ROOT/testng-$VERSION-jdk14.jar 4 JAR15=$ROOT/testng-$VERSION-jdk15.jar 6 java -ea -classpath test/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH … 8 java -ea -classpath test/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPA… 10 …-ea -classpath test-14/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPATH o… 12 …-ea -classpath test-14/v4/build:$ROOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPAT…
|
/external/testng/ant/ |
D | build-tests.xml | 6 <property name="junit.report.dir" value="${report.dir}/test-tmp"/> 11 <!-- ==================================================================== --> 12 <!-- Compile --> 13 <!-- ==================================================================== --> 17 <fileset dir="${lib.dir}" includes="${junit.jar}" /> 18 <fileset dir="${lib.dir}" includes="aopalliance-1.0.jar" /> 27 JUNIT.REPORT.DIR =${junit.report.dir} 33 <echo message=" -- Compiling tests --"/> 48 <mkdir dir="${junit.report.dir}"/> 56 <!-- [all …]
|
/external/icu/icu4j/ |
D | build.xml | 1 <!-- 5 * Copyright (C) 1997-2016, International Business Machines Corporation and * 8 --> 13 <property file="build-local.properties"/> 17 <import file="${shared.dir}/build/common-targets.xml"/> 21 <!-- icu4j binaries --> 24 <property name="icu4j-charset.jar.file" value="icu4j-charset.jar"/> 25 <property name="icu4j-localespi.jar.file" value="icu4j-localespi.jar"/> 29 <!-- icu4j API doc jar file --> 30 <property name="icu4jdocs.jar.file" value="icu4j-docs.jar"/> [all …]
|
/external/testng/src/main/java/ |
D | testng-1.0.dtd.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-st… 10 <pre class="code"><span class="xml-comment"><!-- 42 --></span> 45 <span class="xml-comment"><!-- A suite is the top-level element of a testng.xml file … 47 <!ELEMENT suite (listeners|packages|test|parameter|method-selectors|suite-files)* > 49 <span class="xml-comment"><!-- Attributes: --></span> 50 <span class="xml-comment"><!-- 52 @attr junit Whether to run in JUnit mode. 59 @attr thread-count An integer giving the size of the thread pool to use 64 @attr time-out The time to wait in milliseconds before aborting the [all …]
|
/external/objenesis/tck/src/test/java/org/objenesis/tck/ |
D | OsgiTest.java | 2 * Copyright 2006-2017 the original author or authors. 8 * http://www.apache.org/licenses/LICENSE-2.0 22 import org.junit.Test; 23 import org.junit.runner.RunWith; 28 import org.ops4j.pax.exam.junit.PaxExam; 33 import javax.xml.parsers.DocumentBuilder; 34 import javax.xml.parsers.DocumentBuilderFactory; 35 import javax.xml.xpath.XPath; 36 import javax.xml.xpath.XPathExpression; 37 import javax.xml.xpath.XPathExpressionException; [all …]
|
/external/jacoco/org.jacoco.doc/ |
D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 7 http://www.eclipse.org/legal/epl-v10.html 10 Evgeny Mandrikov - initial API and implementation 11 --> 12 …p://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http… 23 …<!-- do not set packaging to pom, because otherwise we will receive "Not executing Javadoc as the … 106 <artifactId>jacoco-maven-plugin</artifactId> 111 <artifactId>jacoco-maven-plugin.test</artifactId> 123 <artifactId>jacoco-maven-plugin</artifactId> [all …]
|
/external/testng/doc/ |
D | migrating.html | 3 <title>TestNG - Migrating from JUnit</title> 31 <h2 align="center">Migrating from JUnit</h2> 35 …JUnit tests to TestNG is to use the Eclipse TestNG plug-in refactoring support. You will find a fu… 38 … a different argument ordering than the ones used by JUnit. If you are porting code that uses JUni… 44 <h3>Running JUnit Tests</h3> 46 <p>TestNG can automatically recognize and run JUnit tests, so you can use TestNG as a runner for al… 48 <p>All you have to do is to put JUnit library on the TestNG classpath, so it can find and use JUnit… 49 change your test runner from JUnit to TestNG in Ant and then run TestNG in <tt>"mixed"</tt> mode. 51 This approach also allows you to convert your existing JUnit tests to TestNG incrementally.</p> 53 <h4>Example - replacing JUnit Ant task with TestNG one</h4> [all …]
|
D | eclipse.html | 3 <title>TestNG - Eclipse</title> 14 <h2 align="center">TestNG Eclipse plug-in</h2> 15 <p>The TestNG Eclipse plug-in allows you to run your TestNG tests from Eclipse 16 … has its own <a href="http://github.com/cbeust/testng-eclipse">project repository called <tt>testn… 21 <a class="summary" href="#eclipse-installation">1 - Installation</a> 23 <a class="summary" href="#eclipse-creating">2 - Creating a TestNG class</a> 25 <a class="summary" href="#eclipse-create-launch">3 - Launch configurations</a> 27 <a class="summary" href="#eclipse-create-class">3.1 - From a class file</a> 29 <a class="summary" href="#eclipse-create-groups">3.2 - From groups</a> 31 <a class="summary" href="#eclipse-create-xml">3.3 - From an XML file</a> [all …]
|
/external/testng/src/main/java/org/testng/ |
D | CommandLineArgs.java | 7 import org.testng.xml.XmlSuite; 14 @Parameter(description = "The XML suite files to run") 17 public static final String LOG = "-log"; 18 public static final String VERBOSE = "-verbose"; 22 public static final String GROUPS = "-groups"; 23 @Parameter(names = GROUPS, description = "Comma-separated list of group names to be run") 26 public static final String EXCLUDED_GROUPS = "-excludegroups"; 27 @Parameter(names = EXCLUDED_GROUPS, description ="Comma-separated list of group names to " 31 public static final String OUTPUT_DIRECTORY = "-d"; 35 public static final String JUNIT = "-junit"; field in CommandLineArgs [all …]
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/manifest/ |
D | MetaDataTest.java | 4 import javax.xml.parsers.DocumentBuilder; 5 import javax.xml.parsers.DocumentBuilderFactory; 6 import javax.xml.parsers.ParserConfigurationException; 7 import org.junit.Before; 8 import org.junit.Test; 9 import org.junit.runner.RunWith; 10 import org.junit.runners.JUnit4; 32 Element metaDataElement = createMetaDataNode("aName", "@xml/non_existant_resource"); in testNonExistantResource_throwsResourceNotFoundException() 43 metaDataElement = db.newDocument().createElement("meta-data"); in createMetaDataNode()
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
D | ReportTest.java | 6 * http://www.eclipse.org/legal/epl-v10.html 9 * Marc R. Hoffmann - initial API and implementation 14 import static org.junit.Assert.assertTrue; 22 import org.junit.Rule; 23 import org.junit.Test; 24 import org.junit.rules.TemporaryFolder; 40 assertContains("Option \"--classfiles\" is required", err); in should_print_usage_when_no_options_are_given() 42 "Usage: java -jar jacococli.jar report [<execfiles> ...]", err); in should_print_usage_when_no_options_are_given() 48 execute("report", "--classfiles", getClassPath()); in should_print_warning_when_no_exec_files_are_provided() 56 execute("report", "--classfiles", getClassPath()); in should_print_number_of_analyzed_classes() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/ |
D | XMLDocumentTest.java | 6 * http://www.eclipse.org/legal/epl-v10.html 9 * Marc R. Hoffmann - initial API and implementation 12 package org.jacoco.report.internal.xml; 14 import static org.junit.Assert.assertEquals; 15 import static org.junit.Assert.assertTrue; 21 import org.junit.Test; 31 new XMLDocument("test", null, null, "UTF-8", false, writer).close(); in testNoDoctype() 32 assertEquals("<?xml version=\"1.0\" encoding=\"UTF-8\"?><test/>", in testNoDoctype() 39 new XMLDocument("test", null, null, "UTF-8", true, writer).close(); in testNoDoctypeStandalone() 41 "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" in testNoDoctypeStandalone() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | ManifestFactoryTest.java | 6 import org.junit.Test; 7 import org.junit.runner.RunWith; 8 import org.junit.runners.JUnit4; 23 properties.setProperty("android_merged_manifest", "/path/to/MergedManifest.xml"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 24 properties.setProperty("android_merged_resources", "/path/to/merged-resources"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 25 properties.setProperty("android_merged_assets", "/path/to/merged-assets"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 35 String baseDir = System.getProperty("robolectric-tests.base-dir"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 45 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/MergedManifest.xml")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 47 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 49 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() [all …]
|
/external/libphonenumber/ |
D | build.xml | 1 <?xml version="1.0" ?> 20 value="../tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar"/> 27 <pathelement location="${lib.dir}/junit/junit-4.8.1.jar"/> 28 <pathelement location="${jar.dir}/${ant.project.name}-test.jar"/> 34 <target name="build-phone-metadata"> 36 <arg value="-jar" /> 39 <arg value="--input-file=${resources.dir}/PhoneNumberMetadata.xml"/> 40 <arg value="--output-dir=${libphonenumber.src.dir}/com/google/i18n/phonenumbers"/> 41 <arg value="--data-prefix=data/PhoneNumberMetadataProto"/> 42 <arg value="--mapping-class=CountryCodeToRegionCodeMap"/> [all …]
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | report_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Generate XML and HTML test reports.""" 27 import xml.etree.cElementTree as ET 33 if output_format in ['XML', 'HTML']: 35 # that make XML report unparseable. 38 msg.decode('UTF-8', 'ignore')) 55 """Generate JUnit-like XML report.""" 63 """Generate JUnit-like report file from xml tree .""" 68 tree.write(report_file, encoding='UTF-8') 77 """Append a JUnit-like XML report tree with test results as a new suite.""" [all …]
|
/external/guava/guava-gwt/test/com/google/common/xml/ |
D | testModule.gwt.xml | 1 <?xml version="1.0" encoding="utf-8"?> 4 <inherits name="com.google.gwt.junit.JUnit"/> 8 <inherits name="com.google.common.xml.Xml"/> 9 <entry-point class="com.google.common.xml.TestModuleEntryPoint"/>
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
D | ClassPathResolver.java | 123 String odexEntry = entry.substring(0, entry.length() - 4) + ".odex"; in ClassPathResolver() 136 String jarEntry = entry.substring(0, entry.length() - 5) + ".jar"; in ClassPathResolver() 283 return dependencyLeaf.substring(0, dependencyLeaf.length() - 4) + ".oat"; in getFilenameForOatDependency() 328 bcp.set(i, entry.substring(0, entry.length() - 4) + ".oat"); in getDefaultBootClassPath() 355 "/system/framework/core-junit.jar"); in getDefaultBootClassPath() 359 "/system/framework/apache-xml.jar", in getDefaultBootClassPath() 365 "/system/framework/core-junit.jar"); in getDefaultBootClassPath() 369 "/system/framework/core-junit.jar", in getDefaultBootClassPath() 375 "/system/framework/apache-xml.jar", in getDefaultBootClassPath() 381 "/system/framework/core-junit.jar", in getDefaultBootClassPath() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | XmlResourceParserImplTest.java | 6 import static org.junit.Assert.assertTrue; 7 import static org.junit.Assert.fail; 8 import static org.junit.Assume.assumeTrue; 13 import androidx.test.ext.junit.runners.AndroidJUnit4; 23 import javax.xml.parsers.DocumentBuilder; 24 import javax.xml.parsers.DocumentBuilderFactory; 25 import org.junit.After; 26 import org.junit.Before; 27 import org.junit.Test; 28 import org.junit.runner.RunWith; [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/ |
D | DefaultManifestFactoryTest.java | 6 import org.junit.Test; 7 import org.junit.runner.RunWith; 8 import org.junit.runners.JUnit4; 21 properties.put("android_merged_manifest", "/gradle/AndroidManifest.xml"); in identify() 28 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify() 34 .isEqualTo(FileFsFile.from(baseDir + "/gradle/AndroidManifest.xml")); in identify() 45 properties.put("android_merged_manifest", "/gradle/AndroidManifest.xml"); in identify_withResourceApk() 53 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify_withResourceApk() 59 .isEqualTo(FileFsFile.from(baseDir + "/gradle/AndroidManifest.xml")); in identify_withResourceApk() 78 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify_withMissingValues() [all …]
|
/external/python/cpython3/.azure-pipelines/ |
D | posix-steps.yml | 9 - checkout: self 13 - script: ${{ parameters.sudo_dependencies }} ./.azure-pipelines/posix-deps-${{ parameters.dependen… 16 - script: ./configure --with-pydebug 19 - script: make -s -j4 22 - ${{ if eq(parameters.coverage, 'true') }}: 23 - script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage 26 - script: ./venv/bin/python -m test.pythoninfo 29 - script: | 30 $COMMAND -m coverage run --pylib -m test \ 31 --fail-env-changed \ [all …]
|