Package com.volantis.mcs.protocols

Examples of com.volantis.mcs.protocols.SmallAttributes


     * @throws Exception
     */
    public void testSmall() throws Exception {
        DOMOutputBuffer buffer = new DOMOutputBuffer();
        buffer.initialise();
        protocol.openSmall(buffer, new SmallAttributes());

        buffer.appendEncoded("Test");
        protocol.closeSmall(buffer, new SmallAttributes());
        String expected = "<small>Test</small>";
        assertEquals("Protocol string should match", expected,
                        bufferToString(buffer));

    }
View Full Code Here


    /**
     * This method tests the method public void writeOpenSmall ( SmallAttributes )
     * for the com.volantis.mcs.protocols.VolantisProtocol class.
     */
    public void testWriteOpenSmall() throws Exception {
        final SmallAttributes attributes =
                (SmallAttributes) ProtocolIntegrationTestHelper.
                provideAttributes(SmallAttributes.class);

        final VolantisProtocol protocol = getProtocol();

View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.SmallAttributes

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.