Package org.locationtech.geogig.api.plumbing.diff.PostOrderDiffWalk

Examples of org.locationtech.geogig.api.plumbing.diff.PostOrderDiffWalk.Consumer


            }
        };

        // receives notifications of feature/bucket/tree diffs. Only interested in the "new"/right
        // side of the comparisons
        Consumer consumer = new Consumer() {
            final int bulkSize = 10_000;

            @Override
            public void feature(@Nullable Node left, Node right) {
                add(left);
View Full Code Here


    public void testSameRootTree() {
        RevTree left = createFeaturesTree(leftSource, "f", 10).build();
        RevTree right = left;
        PostOrderDiffWalk visitor = new PostOrderDiffWalk(left, right, leftSource, rightSource);

        Consumer consumer = mock(Consumer.class);

        visitor.walk(consumer);

        verifyNoMoreInteractions(consumer);
    }
View Full Code Here

    public void testSameChildTree() {
        RevTree left = createFeaturesTree(leftSource, "f", 10).build();
        RevTree right = left;
        PostOrderDiffWalk visitor = new PostOrderDiffWalk(left, right, leftSource, rightSource);

        Consumer consumer = mock(Consumer.class);
        visitor.walk(consumer);

        verifyNoMoreInteractions(consumer);
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.plumbing.diff.PostOrderDiffWalk.Consumer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.