Package org.apache.tapestry.describe

Examples of org.apache.tapestry.describe.DescriptionReceiver


        return newMock(DescriptionReceiver.class);
    }

    public void testConstructor()
    {
        DescriptionReceiver receiver = newReceiver();

        replay();

        ReportStatusEvent event = new ReportStatusEvent(this, receiver);
View Full Code Here


    {
        Object[] values = new Object[]
        { 1, 2, 3 };
        Object alternate = new Object();

        DescriptionReceiver receiver = newReceiver();

        receiver.array("array", values);
        receiver.describeAlternate(alternate);
        receiver.property("boolean-true", true);
        receiver.property("boolean-false", false);
        receiver.property("byte", (byte) 37);
        receiver.property("char", 'z');
        receiver.property("double", 3.14);
        receiver.property("float", (float) 9.99);
        receiver.property("int", -373);
        receiver.property("long", 373737l);
        receiver.property("object", this);
        receiver.property("short", (short) 99);
        receiver.section("Section");
        receiver.title("Title");

        replay();

        ReportStatusEvent event = new ReportStatusEvent(this, receiver);
View Full Code Here

        return (DescriptionReceiver) newMock(DescriptionReceiver.class);
    }

    public void testConstructor()
    {
        DescriptionReceiver receiver = newReceiver();

        replayControls();

        ReportStatusEvent event = new ReportStatusEvent(this, receiver);
View Full Code Here

    {
        Object[] values = new Object[]
        { 1, 2, 3 };
        Object alternate = new Object();

        DescriptionReceiver receiver = newReceiver();

        receiver.array("array", values);
        receiver.describeAlternate(alternate);
        receiver.property("boolean-true", true);
        receiver.property("boolean-false", false);
        receiver.property("byte", (byte) 37);
        receiver.property("char", 'z');
        receiver.property("double", (double) 3.14);
        receiver.property("float", (float) 9.99);
        receiver.property("int", -373);
        receiver.property("long", 373737l);
        receiver.property("object", this);
        receiver.property("short", (short) 99);
        receiver.section("Section");
        receiver.title("Title");

        replayControls();

        ReportStatusEvent event = new ReportStatusEvent(this, receiver);
View Full Code Here

TOP

Related Classes of org.apache.tapestry.describe.DescriptionReceiver

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.