Home
last modified time | relevance | path

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

12345678910>>...27

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/test/context/transaction/
H A DTransactionalTestExecutionListener.java135 testContext.getTestClass()); in beforeTestMethod()
149 + testContext + "]"); in beforeTestMethod()
161 tm = getTransactionManager(testContext); in beforeTestMethod()
164 runBeforeTransactionMethods(testContext); in beforeTestMethod()
165 startNewTransaction(testContext, txContext); in beforeTestMethod()
186 endTransaction(testContext, txContext); in afterTestMethod()
189 runAfterTransactionMethods(testContext); in afterTestMethod()
209 + testContext + "]"); in runBeforeTransactionMethods()
211 method.invoke(testContext.getTestInstance()); in runBeforeTransactionMethods()
288 boolean rollback = isRollback(testContext); in endTransaction()
[all …]
/dports/misc/usd/USD-21.11/pxr/usd/ar/testenv/
H A DtestArResolverContext.cpp159 ArResolverContext testContext( in TestMultipleContextObjects() local
162 TF_AXIOM(context == testContext); in TestMultipleContextObjects()
169 ArResolverContext testContext( in TestMultipleContextObjects() local
172 TF_AXIOM(context == testContext); in TestMultipleContextObjects()
179 ArResolverContext testContext( in TestMultipleContextObjects() local
182 TF_AXIOM(context == testContext); in TestMultipleContextObjects()
195 TF_AXIOM(context != testContext); in TestMultipleContextObjects()
200 TF_AXIOM(context != testContext); in TestMultipleContextObjects()
205 TF_AXIOM(context != testContext); in TestMultipleContextObjects()
209 ArResolverContext testContext( in TestMultipleContextObjects() local
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/go.mongodb.org/mongo-driver/mongo/integration/mtest/
H A Dsetup.go38 var testContext struct { var
79 testContext.topo, err = topology.New(
81 return testContext.connString
94 testContext.client, err = setupClient(testContext.connString, options.Client())
103 testContext.connString.Original)
110 switch testContext.topo.Kind() {
112 testContext.topoKind = Single
114 testContext.topoKind = ReplicaSet
116 testContext.topoKind = Sharded
122 if testContext.topoKind == Sharded {
[all …]
H A Dglobal_state.go20 return testContext.authEnabled
25 return testContext.sslEnabled
30 return testContext.topoKind
35 return testContext.connString.Original
40 return testContext.connString
46 return testContext.client
51 return testContext.topo
57 return testContext.serverVersion
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/go.mongodb.org/mongo-driver/mongo/integration/mtest/
H A Dsetup.go38 var testContext struct { var
79 testContext.topo, err = topology.New(
81 return testContext.connString
94 testContext.client, err = setupClient(testContext.connString, options.Client())
103 testContext.connString.Original)
110 switch testContext.topo.Kind() {
112 testContext.topoKind = Single
114 testContext.topoKind = ReplicaSet
116 testContext.topoKind = Sharded
122 if testContext.topoKind == Sharded {
[all …]
H A Dglobal_state.go20 return testContext.authEnabled
25 return testContext.sslEnabled
30 return testContext.topoKind
35 return testContext.connString.Original
40 return testContext.connString
46 return testContext.client
51 return testContext.topo
57 return testContext.serverVersion
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/go.mongodb.org/mongo-driver/mongo/integration/mtest/
H A Dsetup.go37 var testContext struct { var
56 testContext.connString, err = getConnString()
61 return testContext.connString
70 testContext.client, err = setupClient(testContext.connString, options.Client())
79 testContext.connString.Original)
86 switch testContext.topo.Kind() {
88 testContext.topoKind = Single
90 testContext.topoKind = ReplicaSet
92 testContext.topoKind = Sharded
95 if testContext.topoKind == ReplicaSet && compareVersions(testContext.serverVersion, "4.0") >= 0 {
[all …]
/dports/databases/mongodb42-tools/mongo-tools-r4.2.17/vendor/go.mongodb.org/mongo-driver/mongo/integration/mtest/
H A Dsetup.go37 var testContext struct { var
56 testContext.connString, err = getConnString()
61 return testContext.connString
70 testContext.client, err = setupClient(testContext.connString, options.Client())
79 testContext.connString.Original)
86 switch testContext.topo.Kind() {
88 testContext.topoKind = Single
90 testContext.topoKind = ReplicaSet
92 testContext.topoKind = Sharded
95 if testContext.topoKind == ReplicaSet && compareVersions(testContext.serverVersion, "4.0") >= 0 {
[all …]
/dports/sysutils/istio/istio-1.6.7/pkg/test/framework/
H A Dtestcontext.go79 var _ TestContext = &testContext{}
80 var _ test.Failer = &testContext{}
83 type testContext struct { struct
124 return &testContext{
199 func (c *testContext) newChildContext(test *Test) *testContext { argument
223 func (c *testContext) Done() { argument
252 func (c *testContext) Fail() { argument
257 func (c *testContext) FailNow() { argument
262 func (c *testContext) Failed() bool { argument
287 func (c *testContext) Name() string { argument
[all …]
/dports/security/vault/vault-1.8.2/vendor/go.mongodb.org/mongo-driver/mongo/integration/mtest/
H A Dsetup.go38 var testContext struct { var
73 testContext.topo, err = topology.New(
75 return testContext.connString
88 testContext.client, err = setupClient(testContext.connString, options.Client())
97 testContext.connString.Original)
104 switch testContext.topo.Kind() {
106 testContext.topoKind = Single
108 testContext.topoKind = ReplicaSet
110 testContext.topoKind = Sharded
115 …if testContext.topoKind == ReplicaSet && CompareServerVersions(testContext.serverVersion, "4.0") >…
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/geometry_checker/
H A Dtestqgsgeometrychecks.cpp195 cleanupTestContext( testContext ); in testAngleCheck()
291 cleanupTestContext( testContext ); in testAreaCheck()
329 cleanupTestContext( testContext ); in testContainedCheck()
367 cleanupTestContext( testContext ); in testDangleCheck()
403 cleanupTestContext( testContext ); in testDegeneratePolygonCheck()
449 cleanupTestContext( testContext ); in testDuplicateCheck()
491 cleanupTestContext( testContext ); in testDuplicateNodesCheck()
512 cleanupTestContext( testContext ); in testDuplicateNodesCheckTolerance()
535 cleanupTestContext( testContext ); in testFollowBoundariesCheck()
587 cleanupTestContext( testContext ); in testGapCheck()
[all …]
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/geometry_checker/
H A Dtestqgsgeometrychecks.cpp193 cleanupTestContext( testContext ); in testAngleCheck()
289 cleanupTestContext( testContext ); in testAreaCheck()
327 cleanupTestContext( testContext ); in testContainedCheck()
365 cleanupTestContext( testContext ); in testDangleCheck()
401 cleanupTestContext( testContext ); in testDegeneratePolygonCheck()
447 cleanupTestContext( testContext ); in testDuplicateCheck()
489 cleanupTestContext( testContext ); in testDuplicateNodesCheck()
512 cleanupTestContext( testContext ); in testFollowBoundariesCheck()
564 cleanupTestContext( testContext ); in testGapCheck()
633 cleanupTestContext( testContext ); in testAllowedGaps()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/main/java/org/springframework/test/context/support/
H A DDependencyInjectionTestExecutionListener.java71 public void prepareTestInstance(final TestContext testContext) throws Exception { in prepareTestInstance() argument
73 logger.debug("Performing dependency injection for test context [" + testContext + "]."); in prepareTestInstance()
75 injectDependencies(testContext); in prepareTestInstance()
86 public void beforeTestMethod(final TestContext testContext) throws Exception { in beforeTestMethod() argument
87 if (Boolean.TRUE.equals(testContext.getAttribute(REINJECT_DEPENDENCIES_ATTRIBUTE))) { in beforeTestMethod()
89 logger.debug("Reinjecting dependencies for test context [" + testContext + "]."); in beforeTestMethod()
91 injectDependencies(testContext); in beforeTestMethod()
107 protected void injectDependencies(final TestContext testContext) throws Exception { in injectDependencies() argument
108 Object bean = testContext.getTestInstance(); in injectDependencies()
111 beanFactory.initializeBean(bean, testContext.getTestClass().getName()); in injectDependencies()
[all …]
H A DDirtiesContextTestExecutionListener.java53 protected void dirtyContext(TestContext testContext) { in dirtyContext() argument
54 testContext.markApplicationContextDirty(); in dirtyContext()
72 public void afterTestMethod(TestContext testContext) throws Exception { in afterTestMethod() argument
73 Class<?> testClass = testContext.getTestClass(); in afterTestMethod()
75 Method testMethod = testContext.getTestMethod(); in afterTestMethod()
86 logger.debug("After test method: context [" + testContext + "], class dirties context [" in afterTestMethod()
92 dirtyContext(testContext); in afterTestMethod()
107 public void afterTestClass(TestContext testContext) throws Exception { in afterTestClass() argument
108 Class<?> testClass = testContext.getTestClass(); in afterTestClass()
113 …logger.debug("After test class: context [" + testContext + "], dirtiesContext [" + dirtiesContext … in afterTestClass()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.expression/src/test/java/org/springframework/expression/spel/
H A DTestScenarioCreator.java35 StandardEvaluationContext testContext = new StandardEvaluationContext(); in getTestEvaluationContext() local
36 setupRootContextObject(testContext); in getTestEvaluationContext()
37 populateVariables(testContext); in getTestEvaluationContext()
38 populateFunctions(testContext); in getTestEvaluationContext()
39 return testContext; in getTestEvaluationContext()
46 private static void populateFunctions(StandardEvaluationContext testContext) { in populateFunctions() argument
48 testContext.registerFunction("isEven", TestScenarioCreator.class.getDeclaredMethod("isEven", in populateFunctions()
70 private static void populateVariables(StandardEvaluationContext testContext) { in populateVariables() argument
71 testContext.setVariable("answer", 42); in populateVariables()
80 private static void setupRootContextObject(StandardEvaluationContext testContext) { in setupRootContextObject() argument
[all …]
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/actions/
H A DWatchActionTest.php36 $testContext->setTitle( $testTitle );
37 $this->context = $testContext;
40 $testContext
112 $testContext
135 $testContext
149 $testContext->setUser( $loggedInUser );
152 $testContext
175 $testContext->setOutput( $testOutput );
181 $testContext
208 $testContext
[all …]
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/actions/
H A DWatchActionTest.php38 $testContext->setTitle( $testTitle );
39 $this->context = $testContext;
42 $testContext
105 $testContext->setAuthority( $performer );
116 $testContext
139 $testContext
156 $testContext
179 $testContext->setOutput( $testOutput );
185 $testContext
212 $testContext
[all …]
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Mvc.Test/Test/
H A DCompareAttributeTest.cs36 ValidationContext testContext = new ValidationContext(otherObject, null, null); in ValidateDoesNotThrowWhenComparedObjectsAreEqual()
39 attr.Validate(currentObject.CompareProperty, testContext); in ValidateDoesNotThrowWhenComparedObjectsAreEqual()
48 ValidationContext testContext = new ValidationContext(otherObject, null, null); in ValidateThrowsWhenComparedObjectsAreNotEqual()
49 testContext.DisplayName = "CurrentProperty"; in ValidateThrowsWhenComparedObjectsAreNotEqual()
62 ValidationContext testContext = new ValidationContext(otherObject, null, null); in ValidateThrowsWithOtherPropertyDisplayName()
63 testContext.DisplayName = "CurrentProperty"; in ValidateThrowsWithOtherPropertyDisplayName()
76 ValidationContext testContext = new ValidationContext(otherObject, null, null); in ValidateUsesSetDisplayName()
77 testContext.DisplayName = "CurrentProperty"; in ValidateUsesSetDisplayName()
93 testContext.DisplayName = "CurrentProperty"; in ValidateThrowsWhenPropertyNameIsUnknown()
97 () => attr.Validate(currentObject.CompareProperty, testContext), in ValidateThrowsWhenPropertyNameIsUnknown()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.framework/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/serviceregistry/
H A DServiceHookTests.java373 tmpFilter = testContext.createFilter(filterString); in testEventHook01()
374 testContext.addServiceListener(sl, filterString); in testEventHook01()
423 contexts.remove(testContext); in testEventHook01()
524 testContext.removeServiceListener(sl); in testEventHook01()
615 testContext.removeServiceListener(testSL); in testListenerHook01()
629 testContext.removeServiceListener(testSL); in testListenerHook01()
706 testContext.addServiceListener(testSL); in testListenerHook02()
716 if ((c == testContext) && (f == filterString2)) { in testListenerHook02()
730 testContext.removeServiceListener(testSL); in testListenerHook02()
739 if ((c == testContext) && (f == filterString2)) { in testListenerHook02()
[all …]
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/actions/
H A DWatchActionTest.php41 $testContext->setTitle( $testTitle );
42 $this->context = $testContext;
45 $testContext
116 $testContext->setAuthority( $performer );
127 $testContext
150 $testContext
167 $testContext
190 $testContext->setOutput( $testOutput );
196 $testContext
223 $testContext
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp595 testContext.device, in generateWork()
600 testContext.device, in generateWork()
716 testContext.image = image.image; in generateWork()
723 …createColorOnlyRenderPass(deviceInterface, testContext.device, renderPassParameters, testContext.r… in generateWork()
858 testContext.pipelineCache = createPipelineCache(deviceInterface, testContext.device, &cacheState); in generateWork()
859testContext.pipeline = createGraphicsPipeline(deviceInterface, testContext.device, testContext.pi… in generateWork()
872 testContext.framebuffer = createFramebuffer(deviceInterface, testContext.device, &fbState); in generateWork()
873 testContext.imageView = image.imageView; in generateWork()
1009 testContext.vertices = vertices; in testFences()
1012testContext.renderSize = sizeof(deUint32) * testContext.renderDimension.x() * testContext.renderDi… in testFences()
[all …]
/dports/sysutils/helm/helm-3.5.2/vendor/k8s.io/apiserver/pkg/registry/generic/registry/
H A Dstore_test.go206 ctx := testContext
444 if !updateAndVerify(t, testContext, registry, podA) {
464 if !updateAndVerify(t, testContext, registry, podB) {
568 if !updateAndVerify(t, testContext, registry, &podA) {
612 if !updateAndVerify(t, testContext, registry, &podA) {
642 _, err := registry.Get(testContext, podA.Name, &metav1.GetOptions{})
648 if !updateAndVerify(t, testContext, registry, podA) {
685 _, err = registry.Get(testContext, podA.Name, &metav1.GetOptions{})
742 _, err = registry.Get(testContext, podA.Name, &metav1.GetOptions{})
1565 ctx := testContext
[all …]
/dports/www/grafana8/azure-sdk-for-go-sdk-azidentity-v0.10.0/sdk/internal/recording/
H A Dtestcontext.go16 type testContext struct { struct
29 return &testContext{fail: failer, log: logger, name: name()}
33 func (c *testContext) Fail(msg string) { argument
39 func (c *testContext) Log(msg string) { argument
44 func (c *testContext) Name() string { argument
49 func (c *testContext) IsFailed() bool { argument
/dports/www/grafana8/azure-sdk-for-go-sdk-azcore-v0.19.0/sdk/internal/recording/
H A Dtestcontext.go16 type testContext struct { struct
29 return &testContext{fail: failer, log: logger, name: name()}
33 func (c *testContext) Fail(msg string) { argument
39 func (c *testContext) Log(msg string) { argument
44 func (c *testContext) Name() string { argument
49 func (c *testContext) IsFailed() bool { argument
/dports/sysutils/restic/restic-0.12.1/vendor/github.com/Azure/azure-sdk-for-go/sdk/internal/recording/
H A Dtestcontext.go15 type testContext struct { struct
28 return &testContext{fail: failer, log: logger, name: name()}
32 func (c *testContext) Fail(msg string) { argument
38 func (c *testContext) Log(msg string) { argument
43 func (c *testContext) Name() string { argument
48 func (c *testContext) IsFailed() bool { argument

12345678910>>...27