Examples of IKeyEventMatcher


Examples of org.eclipse.nebula.widgets.nattable.ui.matcher.IKeyEventMatcher

public class KeyEventMatcherTest {

    @Test
    public void testEquals() {
        IKeyEventMatcher matcher1 = new KeyEventMatcher(12, 101);
        IKeyEventMatcher matcher2 = new KeyEventMatcher(12, 101);
        Assert.assertEquals(matcher1, matcher2);
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.ui.matcher.IKeyEventMatcher

        Assert.assertEquals(matcher1, matcher2);
    }

    @Test
    public void testNotEqual() {
        IKeyEventMatcher matcher = new KeyEventMatcher(12, 101);

        Assert.assertFalse(matcher.equals(new KeyEventMatcher(11, 101)));
        Assert.assertFalse(matcher.equals(new KeyEventMatcher(12, 102)));

        Assert.assertFalse(matcher.equals(new KeyEventMatcher(11, 102)));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.