Home
last modified time | relevance | path

Searched refs:expectedOutput (Results 1 – 25 of 60) sorted by relevance

123

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/
DDotPrinterTest.java34 String expectedOutput = "digraph {" + System.lineSeparator(); in testWithType() local
35 expectedOutput += "n0 [label=\"root (MethodCallExpr)\"];" + System.lineSeparator(); in testWithType()
36 expectedOutput += "n1 [label=\"name (SimpleName)\"];" + System.lineSeparator(); in testWithType()
37 expectedOutput += "n0 -> n1;" + System.lineSeparator(); in testWithType()
38 expectedOutput += "n2 [label=\"identifier='x'\"];" + System.lineSeparator(); in testWithType()
39 expectedOutput += "n1 -> n2;" + System.lineSeparator(); in testWithType()
40 expectedOutput += "n3 [label=\"arguments\"];" + System.lineSeparator(); in testWithType()
41 expectedOutput += "n0 -> n3;" + System.lineSeparator(); in testWithType()
42 expectedOutput += "n4 [label=\"argument (IntegerLiteralExpr)\"];" + System.lineSeparator(); in testWithType()
43 expectedOutput += "n3 -> n4;" + System.lineSeparator(); in testWithType()
[all …]
DYamlPrinterTest.java35 String expectedOutput = "---" + System.lineSeparator(); in testWithType() local
36 expectedOutput += "root(Type=MethodCallExpr): " + System.lineSeparator(); in testWithType()
37 expectedOutput += " name(Type=SimpleName): " + System.lineSeparator(); in testWithType()
38 expectedOutput += " identifier: \"x\"" + System.lineSeparator(); in testWithType()
39 expectedOutput += " arguments: " + System.lineSeparator(); in testWithType()
40 expectedOutput += " - argument(Type=IntegerLiteralExpr): " + System.lineSeparator(); in testWithType()
41 expectedOutput += " value: \"1\"" + System.lineSeparator(); in testWithType()
42 expectedOutput += " - argument(Type=IntegerLiteralExpr): " + System.lineSeparator(); in testWithType()
43 expectedOutput += " value: \"1\"" + System.lineSeparator(); in testWithType()
44 expectedOutput += "..."; in testWithType()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmPointerParameterTests.cpp50 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 …]
DvktSpvAsmVariableInitTests.cpp110 vector<float> expectedOutput; in addComputeVariableInitPrivateTest() local
151 expectedOutput.reserve(numFloats); in addComputeVariableInitPrivateTest()
153 expectedOutput.push_back(1.0f); in addComputeVariableInitPrivateTest()
155 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputeVariableInitPrivateTest()
192 vector<float> expectedOutput; in addGraphicsVariableInitPrivateTest() local
234 expectedOutput.reserve(numFloats); in addGraphicsVariableInitPrivateTest()
236 expectedOutput.push_back(1.0f); in addGraphicsVariableInitPrivateTest()
238 …resources.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)), VK_DESCRIPTOR_TY… in addGraphicsVariableInitPrivateTest()
583 vector<float> expectedOutput; in addGraphicsVariableInitOutputTest() local
585 expectedOutput.reserve(numComponents); in addGraphicsVariableInitOutputTest()
[all …]
DvktSpvAsmVariablePointersTests.cpp308 …const vector<float>& expectedOutput = isSingleInputBuffer ? AmuxAOutputFloats : AmuxBOutputFloa… in addVariablePointersComputeGroup() local
337 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
358 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
387 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
411 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
441 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
475 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
540 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput)))); in addVariablePointersComputeGroup()
554 vector<float> expectedOutput (1, 0); in addComplexTypesVariablePointersComputeGroup() local
926 expectedOutput[0] = selectedInput[baseOffset]; in addComplexTypesVariablePointersComputeGroup()
[all …]
/external/perf_data_converter/src/
Dperf_to_profile_lib_test.cc21 string expectedOutput; in TEST() member
31 .expectedOutput = "output_profile", in TEST()
39 .expectedOutput = "output_profile", in TEST()
47 .expectedOutput = "", in TEST()
55 .expectedOutput = "", in TEST()
63 .expectedOutput = "", in TEST()
77 EXPECT_THAT(output, Eq(test.expectedOutput)); in TEST()
/external/deqp-deps/glslang/gtests/
DTestFixture.h442 std::string input, expectedOutput; variable
445 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput);
459 checkEqAndUpdateIfRequested(expectedOutput, stream.str(),
474 std::string input, expectedOutput; variable
477 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput);
488 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname);
501 std::string input, expectedOutput; variable
504 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput);
514 checkEqAndUpdateIfRequested(expectedOutput, stream.str(),
535 std::string input, expectedOutput; in loadFileCompileIoMapAndCheck() local
[all …]
DLink.FromFile.cpp82 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()
DConfig.FromFile.cpp91 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()
DLink.FromFile.Vk.cpp98 std::string expectedOutput; in TEST_P() local
99 tryLoadFile(expectedOutputFname, "expected output", &expectedOutput); in TEST_P()
101 checkEqAndUpdateIfRequested(expectedOutput, stream.str(), expectedOutputFname, in TEST_P()
/external/brotli/java/org/brotli/dec/
DTransformTest.java41 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/
DTransformTest.cs38 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/antlr/runtime/Python/tests/
Dt046rewrite.py29 expectedOutput = textwrap.dedent('''\
49 expectedOutput
/external/antlr/runtime/Python3/tests/
Dt046rewrite.py29 expectedOutput = textwrap.dedent('''\
47 self.assertEqual(str(tStream), expectedOutput)
/external/deqp/external/openglcts/modules/common/
DglcShaderMacroTests.cpp40 int expectedOutput);
51 const ShaderSpec& shaderSpec, int expectedOutput) in ExecutorTestCase() argument
55 , m_expectedOutput(expectedOutput) in ExecutorTestCase()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpPutRequestTest.java51 String[] expectedOutput = { in testPutRequestSendsContent() local
60 assertResponse(outputStream, expectedOutput); in testPutRequestSendsContent()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DAntiSamyTest.java722 …String expectedOutput = "<object height=\"340\" width=\"560\"><param name=\"movie\" value=\"http:/…
724 assertSanitizedDoesContain(input, expectedOutput);
739expectedOutput = "<object height=\"340\" width=\"560\"><param name=\"allowFullScreen\" value=\"tru…
742 assertSanitizedDoesContain(input, expectedOutput);
756expectedOutput = "<object height=\"340\" width=\"560\"><param name=\"movie\" value=\"http://www.yo…
760 assertSanitizedDoesContain(input, expectedOutput);
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java204 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
224 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java204 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
224 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java220 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
240 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java225 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
243 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java225 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
245 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java204 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
224 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java204 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
224 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/session/
DDefaultSession_RunTest.java204 private void runCommandAndVerifyOutput(CommandHandler commandHandler, String expectedOutput) in runCommandAndVerifyOutput() argument
224 … assertTrue("output: expected [" + expectedOutput + "]", output.indexOf(expectedOutput) != -1); in runCommandAndVerifyOutput()

123