Package org.jboss.mbui.gui.behaviour

Examples of org.jboss.mbui.gui.behaviour.Procedure



    @Test
    public void testProcedureEquality()
    {
        Procedure proc1 = new TestProcedure(QName.valueOf("foo.bar:proc")) {};
        Procedure proc2 = new TestProcedure(QName.valueOf("foo.bar:proc")) {};
        Procedure proc3 = new TestProcedure(QName.valueOf("foo.bar:proc"), QName.valueOf("some:origin")) {};
        Procedure proc4 = new TestProcedure(QName.valueOf("foo.bar:proc2")) {};
        Procedure proc5 = new TestProcedure(QName.valueOf("foo.bar:proc"), QName.valueOf("some:origin")) {};

        assertEquals(proc1, proc2);
        assertFalse(proc2.equals(proc3));
        assertFalse(proc1.equals(proc4));
        assertEquals(proc3, proc5);
View Full Code Here

TOP

Related Classes of org.jboss.mbui.gui.behaviour.Procedure

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.