Package ca.odell.glazedlists.matchers

Examples of ca.odell.glazedlists.matchers.ThresholdMatcherEditor$MatchOperation


    }

    @Test
    @SuppressWarnings({ "unchecked", "rawtypes" })
    public void shouldMapBetweenNatTableAndGlazedLists() throws Exception {
        ThresholdMatcherEditor fixture = new ThresholdMatcherEditor();

        FilterRowUtils.setMatchOperation(fixture, MatchType.EQUAL);
        assertEquals(ThresholdMatcherEditor.EQUAL, fixture.getMatchOperation());

        FilterRowUtils.setMatchOperation(fixture, MatchType.NOT_EQUAL);
        assertEquals(ThresholdMatcherEditor.NOT_EQUAL,
                fixture.getMatchOperation());

        FilterRowUtils.setMatchOperation(fixture, MatchType.GREATER_THAN);
        assertEquals(ThresholdMatcherEditor.GREATER_THAN,
                fixture.getMatchOperation());

        FilterRowUtils.setMatchOperation(fixture,
                MatchType.GREATER_THAN_OR_EQUAL);
        assertEquals(ThresholdMatcherEditor.GREATER_THAN_OR_EQUAL,
                fixture.getMatchOperation());

        FilterRowUtils.setMatchOperation(fixture, MatchType.LESS_THAN);
        assertEquals(ThresholdMatcherEditor.LESS_THAN,
                fixture.getMatchOperation());

        FilterRowUtils.setMatchOperation(fixture, MatchType.LESS_THAN_OR_EQUAL);
        assertEquals(ThresholdMatcherEditor.LESS_THAN_OR_EQUAL,
                fixture.getMatchOperation());
    }
View Full Code Here

TOP

Related Classes of ca.odell.glazedlists.matchers.ThresholdMatcherEditor$MatchOperation

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.