Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addedNodes (0.3 sec)

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

            then:
            resultRoot.children == childrenWithSelectedChildRemoved()
            isSameNodeType(resultRoot)
            removedNodes == [selectedChild]
            addedNodes.empty
            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << (IS_PREFIX_OF_CHILD + SAME_PATH).findAll { it.childPaths.size() > 1 }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/PartialDirectoryNodeTest.groovy

            then:
            resultRoot.children == childrenWithSelectedChildRemoved()
            isSameNodeType(resultRoot)
            removedNodes == [selectedChild]
            addedNodes.empty
            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << IS_PREFIX_OF_CHILD + SAME_PATH
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

            then:
            resultRoot instanceof PartialDirectoryNode
            resultRoot.children == children
            removedNodes == [initialRoot.getSnapshot().get()]
            addedNodes == children.stream().map(ChildMap.Entry::getValue).toList()
            interaction { noMoreInteractions() }
    
            where:
            vfsSpec << onlyDirectChildren(NO_COMMON_PREFIX)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

        List<FileSystemNode> removedNodes = []
        List<FileSystemNode> addedNodes = []
    
        SnapshotHierarchy.NodeDiffListener diffListener = new SnapshotHierarchy.NodeDiffListener() {
            @Override
            void nodeRemoved(FileSystemNode node) {
                removedNodes.add(node)
            }
    
            @Override
            void nodeAdded(FileSystemNode node) {
                addedNodes.add(node)
            }
        }
    
        String selectedChildPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/fakes_test.go

    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    func (f *fakeZtunnel) Run(ctx context.Context) {
    }
    
    func (f *fakeZtunnel) PodDeleted(ctx context.Context, uid string) error {
    	f.deletedPods.Add(1)
    	return nil
    }
    
    func (f *fakeZtunnel) PodAdded(ctx context.Context, pod *corev1.Pod, netns Netns) error {
    	f.addedPods.Add(1)
    	return f.addError
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top