Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for setupTest (0.19 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy

        abstract protected boolean isSameNodeType(FileSystemNode node)
    
        abstract boolean isAllowEmptyChildren()
    
        def "invalidate child with no common pathToParent has no effect (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            expect:
            initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() is initialRoot
            removedNodes.empty
            addedNodes.empty
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

        protected FileSystemLocationSnapshot mockChild() {
            Mock(FileSystemLocationSnapshot)
        }
    
        def "invalidate child with no common pathToParent creates a partial directory node (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get()
            then:
            resultRoot instanceof PartialDirectoryNode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/PartialDirectoryNodeTest.groovy

        }
    
        @Override
        boolean isAllowEmptyChildren() {
            return true
        }
    
        def "invalidate #vfsSpec.searchedPath removes child #vfsSpec.selectedChildPath (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get()
            then:
            resultRoot.children == childrenWithSelectedChildRemoved()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy

        }
    
        @Override
        boolean isAllowEmptyChildren() {
            return false
        }
    
        def "invalidate #vfsSpec.searchedPath removes child #vfsSpec.selectedChildPath (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get()
            then:
            resultRoot.children == childrenWithSelectedChildRemoved()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

            setup:
            buildFile << '''
                tasks.register('setupTest')
                tasks.register('cleanupTest')
            '''
    
            when:
            withConnection { ProjectConnection connection ->
                TestLauncher testLauncher = connection.newTestLauncher()
                collectOutputs(testLauncher)
    
                testLauncher.forTasks("setupTest")
                            .withTestsFor(s -> s.forTaskPath(":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceregistry_test.go

    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    	istiotest "istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func setupTest(t *testing.T) (model.ConfigStoreController, kubernetes.Interface, *xdsfake.Updater) {
    	t.Helper()
    	client := kubeclient.NewFakeClient()
    
    	endpoints := model.NewEndpointIndex(model.DisabledCache{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/TestSetup.java

    package org.gradle;
    
    import org.testng.annotations.BeforeTest;
    
    public class TestSetup {
        @BeforeTest
        public void setupTest() {
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 143 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    )
    
    func init() {
    	scheme.AddKnownTypeWithName(fakeGVK, &unstructured.Unstructured{})
    	scheme.AddKnownTypeWithName(fakeGVKList, &unstructured.UnstructuredList{})
    }
    
    func setupTest(ctx context.Context, customReconciler func(string, string, runtime.Object) error) (
    	tracker clienttesting.ObjectTracker,
    	controller generic.Controller[*unstructured.Unstructured],
    	informer *testInformer,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. tests/integration/security/sds_ingress/quic/ingress_test.go

    		Setup(func(ctx resource.Context) error {
    			// TODO: due to issue https://github.com/istio/istio/issues/25286,
    			// currently VM does not work in this test
    			err := ingressutil.SetupTest(ctx, &customConfig, namespace.Future(&echo1NS))
    			if err != nil {
    				return err
    			}
    			return nil
    		}).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{
    			Namespaces: []namespace.Getter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top