/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/ |
D | DotPrinterTest.java | 36 String expectedOutput = "digraph {" + System.lineSeparator(); in testWithType() local 37 expectedOutput += "n0 [label=\"root (MethodCallExpr)\"];" + System.lineSeparator(); in testWithType() 38 expectedOutput += "n1 [label=\"name (SimpleName)\"];" + System.lineSeparator(); in testWithType() 39 expectedOutput += "n0 -> n1;" + System.lineSeparator(); in testWithType() 40 expectedOutput += "n2 [label=\"identifier='x'\"];" + System.lineSeparator(); in testWithType() 41 expectedOutput += "n1 -> n2;" + System.lineSeparator(); in testWithType() 42 expectedOutput += "n3 [label=\"arguments\"];" + System.lineSeparator(); in testWithType() 43 expectedOutput += "n0 -> n3;" + System.lineSeparator(); in testWithType() 44 expectedOutput += "n4 [label=\"argument (IntegerLiteralExpr)\"];" + System.lineSeparator(); in testWithType() 45 expectedOutput += "n3 -> n4;" + System.lineSeparator(); in testWithType() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmPointerParameterTests.cpp | 50 vector<float> expectedOutput; in addComputePointerParamToParamTest() local 131 expectedOutput.reserve(numFloats); in addComputePointerParamToParamTest() 133 expectedOutput.push_back(7.0f); in addComputePointerParamToParamTest() 135 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToParamTest() 148 vector<float> expectedOutput; in addComputePointerParamToGlobalTest() local 247 expectedOutput.reserve(numFloats); in addComputePointerParamToGlobalTest() 249 expectedOutput.push_back(7.0f); in addComputePointerParamToGlobalTest() 251 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToGlobalTest() 264 vector<float> expectedOutput; in addComputePointerBufferMemoryTest() local 374 expectedOutput.reserve(numFloats); in addComputePointerBufferMemoryTest() [all …]
|
D | vktSpvAsmEmptyStructTests.cpp | 126 std::vector<int> expectedOutput; in addCopyingComputeGroup() member 204 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup() 286 std::vector<int> expectedOutput = { 1 }; in addPointerComparisionComputeGroup() local 294 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(expectedOutput)))); in addPointerComparisionComputeGroup()
|
D | vktSpvAsmVariableInitTests.cpp | 125 vector<float> expectedOutput (numFloats, 1.0f); in addComputeVariableInitPrivateTest() local 132 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputeVariableInitPrivateTest() 231 vector<float> expectedOutput (numFloats, 1.0f); in addGraphicsVariableInitPrivateTest() local 247 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitPrivateTest() 625 vector<float> expectedOutput (testParams[paramIdx].numComponents, 1.0f); in addGraphicsVariableInitOutputTest() local 627 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitOutputTest()
|
D | vktSpvAsmVariablePointersTests.cpp | 362 …const vector<float>& expectedOutput = isSingleInputBuffer ? AmuxAOutputFloats : AmuxBOutputFloa… in addPhysicalOrVariablePointersComputeGroup() local 400 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 424 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 456 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 483 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 516 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 553 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 624 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addPhysicalOrVariablePointersComputeGroup() 649 vector<float> expectedOutput (1, 0); in addComplexTypesPhysicalOrVariablePointersComputeGroup() local 1090 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesPhysicalOrVariablePointersComputeGroup() [all …]
|
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
D | PartialFormattingTest.java | 71 String expectedOutput = in testGetFormatReplacements0() local 81 assertThat(output).isEqualTo(expectedOutput); in testGetFormatReplacements0() 94 String expectedOutput = in testGetFormatReplacements1() local 102 assertThat(output).isEqualTo(expectedOutput); in testGetFormatReplacements1() 117 String expectedOutput = in expandToStatement() local 126 assertThat(output).isEqualTo(expectedOutput); in expandToStatement() 143 String expectedOutput = in expandToMethodSignature() local 155 assertThat(output).isEqualTo(expectedOutput); in expandToMethodSignature() 171 String expectedOutput = in expandToClassSignature() local 184 assertThat(output).isEqualTo(expectedOutput); in expandToClassSignature() [all …]
|
D | FormatterTest.java | 51 String expectedOutput = in testFormatAosp() local 74 assertThat(out.toString()).isEqualTo(expectedOutput); in testFormatAosp() 95 String expectedOutput = "class Foo {\n" + " void f() {}\n" + "}\n"; in testFormatStdinStdoutWithDashFlag() local 106 assertThat(out.toString()).isEqualTo(expectedOutput); in testFormatStdinStdoutWithDashFlag() 114 String expectedOutput = "class Foo {\n" + " void f() {}\n" + "}\n"; in testFormatLengthUpToEOF() local 126 assertThat(out.toString()).isEqualTo(expectedOutput); in testFormatLengthUpToEOF() 304 String expectedOutput = getResource(outputResourceName); in importOrdering() local 319 assertThat(output).isEqualTo(expectedOutput); in importOrdering()
|
/external/auto/value/src/test/java/com/google/auto/value/processor/ |
D | AutoAnnotationCompilationTest.java | 70 JavaFileObject expectedOutput = in testSimple() local 137 .hasSourceEquivalentTo(expectedOutput); in testSimple() 157 JavaFileObject expectedOutput = in testEmptyPackage() local 198 .hasSourceEquivalentTo(expectedOutput); in testEmptyPackage() 234 JavaFileObject expectedOutput = in testGwtSimple() local 296 .hasSourceEquivalentTo(expectedOutput); in testGwtSimple() 339 JavaFileObject expectedOutput = in testCollectionsForArrays() local 434 .hasSourceEquivalentTo(expectedOutput); in testCollectionsForArrays()
|
D | AutoOneOfCompilationTest.java | 62 JavaFileObject expectedOutput = in success() local 231 .hasSourceEquivalentTo(expectedOutput); in success() 253 JavaFileObject expectedOutput = in voidInstanceWithoutGenericTypeParameters() local 315 .hasSourceEquivalentTo(expectedOutput); in voidInstanceWithoutGenericTypeParameters()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | FieldMaskTest.cs | 98 public void ToString(string[] input, string expectedOutput) in ToString() argument 102 Assert.AreEqual(expectedOutput, mask.ToString()); in ToString() 110 public void FromString(string input, string[] expectedOutput) in FromString() argument 113 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromString() 114 for (int i = 0; i < expectedOutput.Length; i++) in FromString() 116 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromString() 132 public void FromFieldNumbers(int[] input, string[] expectedOutput) in FromFieldNumbers() argument 135 Assert.AreEqual(expectedOutput.Length, mask.Paths.Count); in FromFieldNumbers() 136 for (int i = 0; i < expectedOutput.Length; i++) in FromFieldNumbers() 138 Assert.AreEqual(expectedOutput[i], mask.Paths[i]); in FromFieldNumbers() [all …]
|
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/ |
D | GwtCompilationTest.java | 70 JavaFileObject expectedOutput = in testBasic() local 134 .hasSourceEquivalentTo(expectedOutput); in testBasic() 162 JavaFileObject expectedOutput = in testSuppressWarnings() local 228 .hasSourceEquivalentTo(expectedOutput); in testSuppressWarnings() 264 JavaFileObject expectedOutput = in testBuildersAndGenerics() local 340 .hasSourceEquivalentTo(expectedOutput); in testBuildersAndGenerics()
|
/external/angle/third_party/vulkan-deps/glslang/src/gtests/ |
D | TestFixture.h | 455 std::string input, expectedOutput; variable 458 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 472 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), 488 std::string input, expectedOutput; variable 491 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 502 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); 515 std::string input, expectedOutput; variable 518 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 528 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), 549 std::string input, expectedOutput; in loadFileCompileIoMapAndCheck() local [all …]
|
D | Link.FromFile.cpp | 82 std::string expectedOutput; in TEST_P() local 83 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); in TEST_P() 85 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); in TEST_P()
|
D | Config.FromFile.cpp | 91 std::string expectedOutput; in TEST_P() local 92 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); in TEST_P() 94 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); in TEST_P()
|
/external/deqp-deps/glslang/gtests/ |
D | TestFixture.h | 455 std::string input, expectedOutput; variable 458 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 472 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), 488 std::string input, expectedOutput; variable 491 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 502 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); 515 std::string input, expectedOutput; variable 518 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); 528 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), 549 std::string input, expectedOutput; in loadFileCompileIoMapAndCheck() local [all …]
|
D | Link.FromFile.cpp | 82 std::string expectedOutput; in TEST_P() local 83 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); in TEST_P() 85 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); in TEST_P()
|
D | Config.FromFile.cpp | 91 std::string expectedOutput; in TEST_P() local 92 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); in TEST_P() 94 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname); in TEST_P()
|
/external/brotli/java/org/brotli/dec/ |
D | TransformTest.java | 41 byte[] expectedOutput = new byte[0]; in testTrimAll() 42 assertArrayEquals(expectedOutput, output); in testTrimAll() 51 byte[] expectedOutput = {81, -61, -122, -32, -92, -81}; // "QÆय" in testCapitalize() 52 assertArrayEquals(expectedOutput, output); in testCapitalize()
|
/external/brotli/csharp/org/brotli/dec/ |
D | TransformTest.cs | 38 byte[] expectedOutput = new byte[] { 91, 93 }; in TestTrimAll() 40 NUnit.Framework.Assert.AreEqual(expectedOutput, output); in TestTrimAll() 51 …byte[] expectedOutput = new byte[] { 91, 81, unchecked((byte)(-61)), unchecked((byte)(-122)), unch… in TestCapitalize() 53 NUnit.Framework.Assert.AreEqual(expectedOutput, output); in TestCapitalize()
|
/external/skia/tests/ |
D | GrRenderTaskClusterTest.cpp | 132 SkTArray<sk_sp<GrMockRenderTask>> expectedOutput; in DEF_TEST() local 134 (tests[i])(&graph, &expectedOutput); in DEF_TEST() 143 if (expectedOutput.empty()) { in DEF_TEST() 152 REPORTER_ASSERT(reporter, newCount == expectedOutput.count()); in DEF_TEST() 156 REPORTER_ASSERT(reporter, n == expectedOutput[j++].get()); in DEF_TEST()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | SignedBytesTest.java | 164 private static void testSortDescending(byte[] input, byte[] expectedOutput) { in testSortDescending() argument 167 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending() 171 byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { in testSortDescending() argument 174 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending()
|
D | CharsTest.java | 331 private static void testReverse(char[] input, char[] expectedOutput) { in testReverse() argument 334 assertTrue(Arrays.equals(expectedOutput, input)); in testReverse() 337 private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testReverse() argument 340 assertTrue(Arrays.equals(expectedOutput, input)); in testReverse() 360 private static void testSortDescending(char[] input, char[] expectedOutput) { in testSortDescending() argument 363 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending() 367 char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testSortDescending() argument 370 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending()
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | SignedBytesTest.java | 164 private static void testSortDescending(byte[] input, byte[] expectedOutput) { in testSortDescending() argument 167 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending() 171 byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) { in testSortDescending() argument 174 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending()
|
D | CharsTest.java | 331 private static void testReverse(char[] input, char[] expectedOutput) { in testReverse() argument 334 assertTrue(Arrays.equals(expectedOutput, input)); in testReverse() 337 private static void testReverse(char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testReverse() argument 340 assertTrue(Arrays.equals(expectedOutput, input)); in testReverse() 360 private static void testSortDescending(char[] input, char[] expectedOutput) { in testSortDescending() argument 363 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending() 367 char[] input, int fromIndex, int toIndex, char[] expectedOutput) { in testSortDescending() argument 370 assertTrue(Arrays.equals(expectedOutput, input)); in testSortDescending()
|
/external/antlr/runtime/Python3/tests/ |
D | t046rewrite.py | 29 expectedOutput = textwrap.dedent('''\ 47 self.assertEqual(str(tStream), expectedOutput)
|