| /external/jazzer-api/ |
| D | maven_install.json | 4 "__RESOLVED_ARTIFACTS_HASH": -1745128755, 6 "junit:junit:4.12": "junit:junit:4.13.2" 21 "com.fasterxml.jackson.core:jackson-annotations": { 27 "com.fasterxml.jackson.core:jackson-core": { 33 "com.fasterxml.jackson.core:jackson-databind": { 39 "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor": { 51 "com.google.auto.value:auto-value-annotations": { 85 "version": "30.1.1-android" 91 "version": "9999.0-empty-to-avoid-conflict-with-guava" 93 "com.google.j2objc:j2objc-annotations": { [all …]
|
| /external/jazzer-api/examples/junit-spring-web/ |
| D | build-and-run-tests.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Development-only. This script builds the example project against the local version of Jazzer, 19 set -e 24 # Update jazzer version used for building this project in the pom.xml 25 JAZZER_VERSION=$(grep -oP '(?<=JAZZER_VERSION = ")[^"]*' ../../maven.bzl) 26 # Find line with "<artifactId>jazzer-junit</artifactId>" and replace the version in the next line 27 sed -i "/<artifactId>jazzer-junit<\/artifactId>/ {n;s/<version>.*<\/version>/<version>$JAZZER_VERSI… 29 # Add locally-built Jazzer to the Maven repository 30 …vnw install:install-file -Dfile=../../bazel-bin/deploy/jazzer-junit-project.jar -DpomFile=../../ba… 31 ./mvnw install:install-file -Dfile=../../bazel-bin/deploy/jazzer-project.jar -DpomFile=../../… [all …]
|
| /external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/tool/ |
| D | TestKeyboardFlatten.java | 3 import static org.junit.jupiter.api.Assertions.assertFalse; 4 import static org.junit.jupiter.api.Assertions.assertThrows; 5 import static org.junit.jupiter.api.Assertions.assertTrue; 11 import javax.xml.transform.TransformerConfigurationException; 12 import javax.xml.transform.TransformerException; 13 import javax.xml.transform.TransformerFactoryConfigurationError; 14 import org.junit.jupiter.api.Test; 15 import org.junit.jupiter.params.ParameterizedTest; 16 import org.junit.jupiter.params.provider.ValueSource; 18 import org.xml.sax.InputSource; [all …]
|
| /external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/ |
| D | XmlDocumentationTest.java | 5 * http://www.eclipse.org/legal/epl-2.0 7 * SPDX-License-Identifier: EPL-2.0 10 * Marc R. Hoffmann - initial API and implementation 15 import static org.junit.Assert.assertTrue; 16 import static org.junit.Assert.fail; 22 import javax.xml.parsers.DocumentBuilder; 23 import javax.xml.parsers.DocumentBuilderFactory; 24 import javax.xml.xpath.XPath; 25 import javax.xml.xpath.XPathConstants; 26 import javax.xml.xpath.XPathExpressionException; [all …]
|
| /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/apache-commons-io/src/test/java/org/apache/commons/io/ |
| D | FileUtilsListFilesTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 19 import static org.junit.jupiter.api.Assertions.assertEquals; 20 import static org.junit.jupiter.api.Assertions.assertFalse; 21 import static org.junit.jupiter.api.Assertions.assertThrows; 22 import static org.junit.jupiter.api.Assertions.assertTrue; 33 import org.junit.jupiter.api.BeforeEach; 34 import org.junit.jupiter.api.Test; 35 import org.junit.jupiter.api.io.TempDir; 58 files.forEachRemaining(f -> fileNames.add(f.getName())); in filesToFilenames() 66 File file = new File(dir, "dummy-build.xml"); in setUp() [all …]
|
| /external/slf4j/integration/ |
| D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst… 3 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 9 <artifactId>slf4j-parent</artifactId> 11 <relativePath>../parent/pom.xml</relativePath> 22 <junit.version>4.10</junit.version> 23 <!-- 1.9.1 does not work. Do not update lightly --> 24 <ant-junit.version>1.9.0</ant-junit.version> 25 <antrun-plugin.version>1.8</antrun-plugin.version> 32 <artifactId>slf4j-api</artifactId> [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/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/ |
| D | TestCLDRFile.java | 3 import static org.junit.jupiter.api.Assertions.assertAll; 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertNotEquals; 7 import static org.junit.jupiter.api.Assertions.assertNotNull; 8 import static org.junit.jupiter.api.Assertions.assertNull; 9 import static org.junit.jupiter.api.Assertions.assertThrows; 10 import static org.junit.jupiter.api.Assertions.assertTrue; 18 import org.junit.jupiter.api.BeforeAll; 19 import org.junit.jupiter.api.Disabled; [all …]
|
| D | TestDoctypeXmlStreamWrapper.java | 8 import org.junit.jupiter.api.BeforeAll; 9 import org.junit.jupiter.api.Test; 10 import org.junit.jupiter.params.ParameterizedTest; 11 import org.junit.jupiter.params.provider.ValueSource; 14 import org.xml.sax.InputSource; 15 import org.xml.sax.SAXException; 19 private static final String COMMON_MT = CLDRPaths.BASE_DIRECTORY + "/common/main/mt.xml"; 20 private static final String KEYBOARDS_MT = CLDRPaths.BASE_DIRECTORY + "/keyboards/3.0/mt.xml"; 42 .readCLDRResource("dl_iso_table_a1.xml", -1, false); in TestReadJar() 51 .read(COMMON_MT, -1, true); in TestReadCommon() [all …]
|
| /external/robolectric/resources/src/test/java/org/robolectric/manifest/ |
| D | MetaDataTest.java | 3 import static org.junit.Assert.assertThrows; 6 import javax.xml.parsers.DocumentBuilder; 7 import javax.xml.parsers.DocumentBuilderFactory; 8 import javax.xml.parsers.ParserConfigurationException; 9 import org.junit.Before; 10 import org.junit.Test; 11 import org.junit.runner.RunWith; 12 import org.junit.runners.JUnit4; 34 Element metaDataElement = createMetaDataNode("aName", "@xml/non_existant_resource"); in testNonExistantResource_throwsResourceNotFoundException() 38 assertThrows(RoboNotFoundException.class, () -> metaData.init(resourceProvider, "a.package")); in testNonExistantResource_throwsResourceNotFoundException() [all …]
|
| /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/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/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/jacoco/org.jacoco.doc/ |
| D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 6 http://www.eclipse.org/legal/epl-2.0 8 SPDX-License-Identifier: EPL-2.0 11 Evgeny Mandrikov - initial API and implementation 12 --> 13 …p://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http… 24 …<!-- do not set packaging to pom, because otherwise we will receive "Not executing Javadoc as the … 107 <artifactId>jacoco-maven-plugin</artifactId> 112 <artifactId>jacoco-maven-plugin.test</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 …]
|
| /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/aws-sdk-java-v2/services/s3/src/test/java/software/amazon/awssdk/services/s3/ |
| D | MultipartUploadTest.java | 29 import com.github.tomakehurst.wiremock.junit.WireMockRule; 31 import org.junit.Before; 32 import org.junit.Rule; 33 import org.junit.Test; 66 .willReturn(aResponse().withStatus(200).withBody("<xml></xml>"))); in syncCreateMultipartUpload_shouldHaveUploadsQueryParam() 67 s3Client.createMultipartUpload(b -> b.key("key").bucket("bucket")); in syncCreateMultipartUpload_shouldHaveUploadsQueryParam() 70 verify(anyRequestedFor(anyUrl()).withHeader(CONTENT_TYPE, equalTo("binary/octet-stream"))); in syncCreateMultipartUpload_shouldHaveUploadsQueryParam() 76 .willReturn(aResponse().withStatus(200).withBody("<xml></xml>"))); in asyncCreateMultipartUpload_shouldHaveUploadsQueryParam() 77 s3AsyncClient.createMultipartUpload(b -> b.key("key").bucket("bucket")).join(); in asyncCreateMultipartUpload_shouldHaveUploadsQueryParam() 80 verify(anyRequestedFor(anyUrl()).withHeader(CONTENT_TYPE, equalTo("binary/octet-stream"))); in asyncCreateMultipartUpload_shouldHaveUploadsQueryParam() [all …]
|
| /external/mesa3d/.gitlab-ci/test/ |
| D | gitlab-ci.yml | 7 - !reference [default, before_script] 9 - rm -rf install 10 - tar -xf artifacts/install.tar 11 - section_start ldd_section "Checking ldd on driver build" 12 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \; 13 - section_end ldd_section 18 - results/ 20 - !reference [.never-post-merge-rules, rules] 22 .formatting-check: 25 stage: code-validation [all …]
|
| /external/aws-sdk-java-v2/core/protocols/aws-xml-protocol/ |
| D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 15 --> 18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 27 <artifactId>aws-xml-protocol</artifactId> 28 <name>AWS Java SDK :: Core :: Protocols :: AWS Xml Protocol</name> 29 <description>The AWS SDK for Java - module holds the classes for AWS Xml protocol 36 <artifactId>aws-query-protocol</artifactId> 41 <artifactId>protocol-core</artifactId> [all …]
|
| /external/libphonenumber/ |
| D | build.xml | 1 <?xml version="1.0" ?> 15 <property name="script.name" value="download-junit-jars.sh"/> 22 value="../tools/java/java-build/target/java-build-1.0-SNAPSHOT-jar-with-dependencies.jar"/> 29 <pathelement location="${lib.dir}/junit/junit-4.13.1.jar"/> 30 <pathelement location="${jar.dir}/${ant.project.name}-test.jar"/> 36 <target name="download-jars"> 37 <!-- Execute the shell script to download junit and mockito jars --> 43 <target name="build-phone-metadata"> 45 <arg value="-jar" /> 48 <arg value="--input-file=${resources.dir}/PhoneNumberMetadata.xml"/> [all …]
|
| /external/apache-commons-io/src/test/java/org/apache/commons/io/output/ |
| D | XmlStreamWriterTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 19 import static org.junit.jupiter.api.Assertions.assertArrayEquals; 20 import static org.junit.jupiter.api.Assertions.assertEquals; 21 import static org.junit.jupiter.api.Assertions.assertTrue; 28 import org.junit.jupiter.api.Test; 53 …private static void checkXmlContent(final String xml, final String encodingName, final String defa… in checkXmlContent() argument 59 writer.write(xml); in checkXmlContent() 66 assertArrayEquals(xml.getBytes(encodingName), xmlContent); in checkXmlContent() 76 final String xml = createXmlContent(text, encoding); in checkXmlWriter() local 81 checkXmlContent(xml, effectiveEncoding, defaultEncoding); in checkXmlWriter() [all …]
|
| /external/angle/build/android/docs/ |
| D | coverage.md | 4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage]. 10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented 23 Now when building, pre-instrumented files will be created in the build directory. 25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save 26 the .exec file. For example, you can run chrome JUnit tests: 27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`. 29 3. The coverage results of JUnit and instrumentation tests will be merged 34 1. Now we have generated .exec files already. We can create a JaCoCo HTML/XML/CSV 39 --format html \ 40 --output-dir /tmp/coverage_report/ \ [all …]
|
| /external/cronet/build/android/docs/ |
| D | coverage.md | 4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage]. 10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented 23 Now when building, pre-instrumented files will be created in the build directory. 25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save 26 the .exec file. For example, you can run chrome JUnit tests: 27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`. 29 3. The coverage results of JUnit and instrumentation tests will be merged 34 1. Now we have generated .exec files already. We can create a JaCoCo HTML/XML/CSV 39 --format html \ 40 --output-dir /tmp/coverage_report/ \ [all …]
|