Home
last modified time | relevance | path

Searched refs:testContext (Results 1 – 25 of 71) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp585 void generateWork (TestContext& testContext) in generateWork() argument
587 const DeviceInterface& deviceInterface = testContext.vkd; in generateWork()
588 const deUint32 queueFamilyNdx = testContext.queueFamilyIndex; in generateWork()
593 testContext.device, in generateWork()
594 testContext.binaryCollection.get("glslvert"), in generateWork()
598 testContext.device, in generateWork()
599 testContext.binaryCollection.get("glslfrag"), in generateWork()
673 bufferParameters.memory = testContext.vertices; in generateWork()
674 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4); in generateWork()
680 …createVulkanBuffer(deviceInterface, testContext.device, testContext.allocator, bufferParameters, b… in generateWork()
[all …]
/external/testng/src/main/java/org/testng/remote/strprotocol/
DTestMessage.java40 public TestMessage(final ITestContext testContext, final boolean isTestStart) { in TestMessage() argument
42 testContext.getSuite().getName(), in TestMessage()
43 testContext.getCurrentXmlTest().getName(), in TestMessage()
44 testContext.getAllTestMethods().length, in TestMessage()
45 testContext.getPassedTests().size(), in TestMessage()
46 testContext.getFailedTests().size(), in TestMessage()
47 testContext.getSkippedTests().size(), in TestMessage()
48 testContext.getFailedButWithinSuccessPercentageTests().size()); in TestMessage()
/external/testng/src/main/java/org/testng/internal/invokers/
DInvokedMethodListenerInvoker.java39 ITestResult testResult, ITestContext testContext) { in InvokedMethodListenerInvoker() argument
41 m_testContext = testContext; in InvokedMethodListenerInvoker()
77 ITestContext testContext); in callMethod() argument
83 ITestResult testResult, ITestContext testContext) { in callMethod() argument
91 ITestResult testResult, ITestContext testContext) { in callMethod() argument
92 listener.beforeInvocation(invokedMethod, testResult, testContext); in callMethod()
99 ITestResult testResult, ITestContext testContext) { in callMethod() argument
107 ITestResult testResult, ITestContext testContext) { in callMethod() argument
108 listener.afterInvocation(invokedMethod, testResult, testContext); in callMethod()
/external/testng/src/main/java/org/testng/reporters/
DTestHTMLReporter.java247 public static void generateLog(ITestContext testContext, in generateLog() argument
259 .append("<title>TestNG: ").append(testContext.getName()).append("</title>\n") in generateLog()
265 Date startDate = testContext.getStartDate(); in generateLog()
266 Date endDate = testContext.getEndDate(); in generateLog()
269 testContext.getPassedTests().size() + in generateLog()
270 testContext.getFailedButWithinSuccessPercentageTests().size(); in generateLog()
271 int failed = testContext.getFailedTests().size(); in generateLog()
272 int skipped = testContext.getSkippedTests().size(); in generateLog()
277 .append("<h2 align='center'>").append(testContext.getName()).append("</h2>") in generateLog()
284 ….append("<td>Started on:</td><td>").append(testContext.getStartDate().toString()).append("</td>\n") in generateLog()
[all …]
DEmailableReporter.java91 ITestContext testContext = r2.getTestContext(); in generateMethodSummaryReport() local
92 String testName = testContext.getName(); in generateMethodSummaryReport()
94 resultSummary(suite, testContext.getFailedConfigurations(), testName, in generateMethodSummaryReport()
96 resultSummary(suite, testContext.getFailedTests(), testName, "failed", in generateMethodSummaryReport()
98 resultSummary(suite, testContext.getSkippedConfigurations(), testName, in generateMethodSummaryReport()
100 resultSummary(suite, testContext.getSkippedTests(), testName, in generateMethodSummaryReport()
102 resultSummary(suite, testContext.getPassedTests(), testName, "passed", in generateMethodSummaryReport()
116 ITestContext testContext = r2.getTestContext(); in generateMethodDetailReport() local
118 m_out.println("<h1>" + testContext.getName() + "</h1>"); in generateMethodDetailReport()
120 resultDetail(testContext.getFailedConfigurations()); in generateMethodDetailReport()
[all …]
DXMLReporter.java47 ITestContext testContext = sr.getTestContext(); in generateReport() local
48 passed += testContext.getPassedTests().size(); in generateReport()
49 failed += testContext.getFailedTests().size(); in generateReport()
50 skipped += testContext.getSkippedTests().size(); in generateReport()
156 ITestContext testContext = result.getValue().getTestContext(); in getSuiteAttributes() local
157 Date startDate = testContext.getStartDate(); in getSuiteAttributes()
158 Date endDate = testContext.getEndDate(); in getSuiteAttributes()
DXMLSuiteResultWriter.java66 ITestContext testContext = suiteResult.getTestContext(); in writeAllToBuffer() local
67 addAllTestResults(testResults, testContext.getPassedTests()); in writeAllToBuffer()
68 addAllTestResults(testResults, testContext.getFailedTests()); in writeAllToBuffer()
69 addAllTestResults(testResults, testContext.getSkippedTests()); in writeAllToBuffer()
70 addAllTestResults(testResults, testContext.getPassedConfigurations()); in writeAllToBuffer()
71 addAllTestResults(testResults, testContext.getSkippedConfigurations()); in writeAllToBuffer()
72 addAllTestResults(testResults, testContext.getFailedConfigurations()); in writeAllToBuffer()
73 addAllTestResults(testResults, testContext.getFailedButWithinSuccessPercentageTests()); in writeAllToBuffer()
DFailedReporter.java65 ITestContext testContext = suiteResult.getTestContext(); in generateFailureSuite() local
68 xmlTests.get(testContext.getName()), in generateFailureSuite()
69 testContext, in generateFailureSuite()
70 testContext.getFailedTests().getAllResults(), in generateFailureSuite()
71 testContext.getSkippedTests().getAllResults()); in generateFailureSuite()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java625 TestSSLContext testContext = TestSSLContext.create(); in test_SSLContextTest_TestSSLContext_create() local
626 assertNotNull(testContext); in test_SSLContextTest_TestSSLContext_create()
627 assertNotNull(testContext.clientKeyStore); in test_SSLContextTest_TestSSLContext_create()
628 assertNull(testContext.clientStorePassword); in test_SSLContextTest_TestSSLContext_create()
629 assertNotNull(testContext.serverKeyStore); in test_SSLContextTest_TestSSLContext_create()
630 assertNotNull(testContext.clientKeyManagers); in test_SSLContextTest_TestSSLContext_create()
631 assertNotNull(testContext.serverKeyManagers); in test_SSLContextTest_TestSSLContext_create()
632 if (testContext.clientKeyManagers.length == 0) { in test_SSLContextTest_TestSSLContext_create()
635 if (testContext.serverKeyManagers.length == 0) { in test_SSLContextTest_TestSSLContext_create()
638 assertNotNull(testContext.clientKeyManagers[0]); in test_SSLContextTest_TestSSLContext_create()
[all …]
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java637 TestSSLContext testContext = TestSSLContext.create(); in test_SSLContextTest_TestSSLContext_create() local
638 assertNotNull(testContext); in test_SSLContextTest_TestSSLContext_create()
639 assertNotNull(testContext.clientKeyStore); in test_SSLContextTest_TestSSLContext_create()
640 assertNull(testContext.clientStorePassword); in test_SSLContextTest_TestSSLContext_create()
641 assertNotNull(testContext.serverKeyStore); in test_SSLContextTest_TestSSLContext_create()
642 assertNotNull(testContext.clientKeyManagers); in test_SSLContextTest_TestSSLContext_create()
643 assertNotNull(testContext.serverKeyManagers); in test_SSLContextTest_TestSSLContext_create()
644 if (testContext.clientKeyManagers.length == 0) { in test_SSLContextTest_TestSSLContext_create()
647 if (testContext.serverKeyManagers.length == 0) { in test_SSLContextTest_TestSSLContext_create()
650 assertNotNull(testContext.clientKeyManagers[0]); in test_SSLContextTest_TestSSLContext_create()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback2.cpp31 std::unique_ptr<TestContext> testContext; member
52 lbData->testContext.reset(new LatencyTestContext( in lb2Init()
62 lbData->testContext.reset(new GlitchTestContext( in lb2Init()
72 lbData->soundSys.reset(new SoundSystemAAudio(lbData->testContext.get())); in lb2Init()
78 static_cast<LatencyTestContext*>(lbData->testContext.get()))); in lb2Init()
83 static_cast<GlitchTestContext*>(lbData->testContext.get()))); in lb2Init()
/external/skia/tests/
DGrContextFactoryTest.cpp58 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST()
66 REPORTER_ASSERT(reporter, info2.testContext()); in DEF_GPUTEST()
106 REPORTER_ASSERT(reporter, info3.testContext() != info4.testContext()); in DEF_GPUTEST()
111 REPORTER_ASSERT(reporter, info5.testContext()); in DEF_GPUTEST()
113 REPORTER_ASSERT(reporter, info5.testContext() != info4.testContext()); in DEF_GPUTEST()
DImageTest.cpp374 sk_gpu_test::TestContext* testContext = contextInfo.testContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
377 testContext->makeCurrent(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
391 auto restore = otherContextInfo.testContext()->makeCurrentAndAutoRestore(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
927 sk_gpu_test::TestContext* testContext = ctxInfo.testContext(); in test_cross_context_image() local
931 sk_gpu_test::TestContext* otherTestContext = otherContextInfo.testContext(); in test_cross_context_image()
943 testContext->makeCurrent(); in test_cross_context_image()
950 testContext->makeCurrent(); in test_cross_context_image()
956 testContext->makeCurrent(); in test_cross_context_image()
962 testContext->makeCurrent(); in test_cross_context_image()
975 testContext->makeCurrent(); in test_cross_context_image()
[all …]
/external/skqp/tests/
DGrContextFactoryTest.cpp58 REPORTER_ASSERT(reporter, info1.testContext()); in DEF_GPUTEST()
66 REPORTER_ASSERT(reporter, info2.testContext()); in DEF_GPUTEST()
106 REPORTER_ASSERT(reporter, info3.testContext() != info4.testContext()); in DEF_GPUTEST()
111 REPORTER_ASSERT(reporter, info5.testContext()); in DEF_GPUTEST()
113 REPORTER_ASSERT(reporter, info5.testContext() != info4.testContext()); in DEF_GPUTEST()
DImageTest.cpp374 sk_gpu_test::TestContext* testContext = contextInfo.testContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
377 testContext->makeCurrent(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
391 auto restore = otherContextInfo.testContext()->makeCurrentAndAutoRestore(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
927 sk_gpu_test::TestContext* testContext = ctxInfo.testContext(); in test_cross_context_image() local
931 sk_gpu_test::TestContext* otherTestContext = otherContextInfo.testContext(); in test_cross_context_image()
943 testContext->makeCurrent(); in test_cross_context_image()
950 testContext->makeCurrent(); in test_cross_context_image()
956 testContext->makeCurrent(); in test_cross_context_image()
962 testContext->makeCurrent(); in test_cross_context_image()
975 testContext->makeCurrent(); in test_cross_context_image()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cSparseBufferTests.hpp178 …AtomicCounterBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::G…
238 …ureStorageTestCase(const glw::Functions& gl, deqp::Context& context, tcu::TestContext& testContext,
289 …ClearOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint …
348 …CopyOpsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint p…
426 IndirectDispatchBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext,
470 …InvalidateBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLin…
515 …PixelPackBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint…
570 …PixelUnpackBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLi…
672 …QuadsBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint pag…
752 …QueryBufferStorageTestCase(const glw::Functions& gl, tcu::TestContext& testContext, glw::GLint pag…
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlChangeReporterTest.java43 final Context testContext = new Context(); in testChangeReporting() local
51 assertSame(testContext, context); in testChangeReporting()
57 assertSame(testContext, context); in testChangeReporting()
66 renderer, listener, testContext); in testChangeReporting()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp55 SamplerTest (tcu::TestContext& testContext,
88 SamplerMagFilterTest (tcu::TestContext& testContext,
104 SamplerMinFilterTest (tcu::TestContext& testContext,
120 SamplerMagReduceFilterTest (tcu::TestContext& testContext,
140 SamplerMinReduceFilterTest (tcu::TestContext& testContext,
160 SamplerLodTest (tcu::TestContext& testContext,
183 SamplerAddressModesTest (tcu::TestContext& testContext,
207 SamplerTest::SamplerTest (tcu::TestContext& testContext, in SamplerTest() argument
214 : vkt::TestCase (testContext, name, description) in SamplerTest()
493 SamplerMagFilterTest::SamplerMagFilterTest (tcu::TestContext& testContext, in SamplerMagFilterTest() argument
[all …]
DvktPipelineCacheTests.cpp420 vkt::TestCase* newTestCase (tcu::TestContext& testContext, in newTestCase() argument
423 return new Test(testContext, in newTestCase()
498 CacheTest(tcu::TestContext& testContext, in CacheTest() argument
502 : vkt::TestCase (testContext, name, description) in CacheTest()
584 GraphicsCacheTest (tcu::TestContext& testContext, in GraphicsCacheTest() argument
588 : CacheTest (testContext, name, description, param) in GraphicsCacheTest()
1049 ComputeCacheTest (tcu::TestContext& testContext, in ComputeCacheTest() argument
1053 : CacheTest (testContext, name, description, param) in ComputeCacheTest()
1316 …PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& name, const std::string&…
1321 PipelineFromCacheTest::PipelineFromCacheTest (tcu::TestContext& testContext, const std::string& nam… in PipelineFromCacheTest() argument
[all …]
/external/testng/src/main/java/org/testng/internal/
DTestMethodWorker.java52 ITestContext testContext, in TestMethodWorker() argument
61 m_testContext = testContext; in TestMethodWorker()
121 ITestContext testContext) in invokeTestMethods() argument
134 testContext); in invokeTestMethods()
298 ITestContext testContext, in SingleTestMethodWorker() argument
307 testContext, in SingleTestMethodWorker()
DInvoker.java107 ITestContext testContext, in Invoker() argument
114 m_testContext= testContext; in Invoker()
120 …m_continueOnFailedConfiguration = XmlSuite.CONTINUE.equals(testContext.getSuite().getXmlSuite().ge… in Invoker()
950 ITestContext testContext, in retryFailed() argument
963 allParameters, suite, testContext, null /* fedInstance */); in retryFailed()
978 ITestContext testContext, in createParameters() argument
990 instance, allParameterNames, parameters, null, suite, testContext, fedInstance, null); in createParameters()
1017 ITestContext testContext) in invokeTestMethods() argument
1031 final String okToProceed = checkDependencies(testMethod, testContext.getAllTestMethods()); in invokeTestMethods()
1045 testMethod.findMethodParameters(testContext.getCurrentXmlTest()); in invokeTestMethods()
[all …]
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp75 std::vector<tcu::TestNode*> createTests (tcu::TestContext& testContext, in createTests() argument
169 ret.push_back(new ShaderLibraryCase(testContext, in createTests()
190 ret.push_back(new ShaderLibraryCase(testContext, in createTests()
223 ret.push_back(new ShaderLibraryCase(testContext, in createTests()
244 ret.push_back(new ShaderLibraryCase(testContext, in createTests()
/external/skia/tools/gpu/
DGrContextFactory.h176 TestContext* testContext() const { return fTestContext; } in testContext() function
186 ContextInfo(GrContextFactory::ContextType type, TestContext* testContext, GrContext* grContext, in ContextInfo() argument
188 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo()
/external/skqp/tools/gpu/
DGrContextFactory.h176 TestContext* testContext() const { return fTestContext; } in testContext() function
186 ContextInfo(GrContextFactory::ContextType type, TestContext* testContext, GrContext* grContext, in ContextInfo() argument
188 : fType(type), fTestContext(testContext), fGrContext(grContext), fOptions(options) {} in ContextInfo()
/external/testng/src/main/java/org/testng/
DTestListenerAdapter.java68 public void onStart(ITestContext testContext) { in onStart() argument
69 m_testContexts.add(testContext); in onStart()
73 public void onFinish(ITestContext testContext) { in onFinish() argument

123