aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server/src/test/java/com/vaadin/data/util/HierarchicalContainerOrderedWrapperTest.java
blob: 54984f07ad0976218c0d1786a33efffcebd81292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.vaadin.data.util;

import org.junit.Test;

public class HierarchicalContainerOrderedWrapperTest
        extends AbstractHierarchicalContainerTestBase {

    private HierarchicalContainerOrderedWrapper createContainer() {
        return new HierarchicalContainerOrderedWrapper(
                new ContainerHierarchicalWrapper(new IndexedContainer()));
    }

    @Test
    public void testBasicOperations() {
        testBasicContainerOperations(createContainer());
    }

    @Test
    public void testHierarchicalContainer() {
        testHierarchicalContainer(createContainer());
    }

    @Test
    public void testContainerOrdered() {
        testContainerOrdered(createContainer());
    }

    @Test
    public void testRemoveSubtree() {
        testRemoveHierarchicalWrapperSubtree(createContainer());
    }

}