Package org.apache.hivemind

Examples of org.apache.hivemind.Locatable


    }

    public void testLocatable()
    {
        Location l1 = new LocationImpl(null);
        Locatable l2 = new LocatableFixture(l1);

        assertSame(l1, HiveMind.findLocation(new Object[] { l2 }));
    }
View Full Code Here


    }

    public void testNullLocatable()
    {
        Location l1 = new LocationImpl(null);
        Locatable l2 = new LocatableFixture(null);
        Locatable l3 = new LocatableFixture(l1);

        assertSame(l1, HiveMind.findLocation(new Object[] { l2, l3 }));
    }
View Full Code Here

    }

    public void testLocatable()
    {
        Location l1 = new LocationImpl(null);
        Locatable l2 = new LocatableFixture(l1);

        assertSame(l1, HiveMind.findLocation(new Object[] { l2 }));
    }
View Full Code Here

    }

    public void testNullLocatable()
    {
        Location l1 = new LocationImpl(null);
        Locatable l2 = new LocatableFixture(null);
        Locatable l3 = new LocatableFixture(l1);

        assertSame(l1, HiveMind.findLocation(new Object[] { l2, l3 }));
    }
View Full Code Here

TOP

Related Classes of org.apache.hivemind.Locatable

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.