The protocol created should be ready for use.
This is suitable for use by protocol integration test cases and as the basis for {@link NamedProtocolBuilder} which normal runtime code uses.
147148149150151152153154155156157
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestXHTMLFullFactory(), internalDevice); return protocol; }
3940414243444546474849
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = (VolantisProtocol) builder.build( new TestProtocolRegistry.TestWMLVersion1_1Factory(), internalDevice); return protocol; }
224225226227228229230231232233
} protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestWMLRootFactory(), internalDevice); return protocol; }
4142434445464748495051
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestWMLVersion1_3Factory(), internalDevice); return protocol; }
919293949596979899100101
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestWMLOpenWave1_3Factory(), internalDevice); return protocol; }
4041424344454647484950
} // javadoc inherited protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestWMLEmptyOKFactory(), internalDevice); return protocol; }
5051525354555657585960
} // javadoc inherited protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestWMLPhoneDotComFactory(), internalDevice); return protocol; }
90919293949596979899100
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestXHTMLTransitionalFactory(), internalDevice); return protocol; }
110111112113114115116117118119120121
/** * Test the script element with the XHTMLBasic protocol */ public void testXHTMLBasic() throws Exception { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestXHTMLBasicFactory(), InternalDeviceTestHelper.createTestDevice()); privateSetUp(protocol, new TestMarinerPageContext());
5556575859606162636465
super(name); } protected VolantisProtocol createTestableProtocol( InternalDevice internalDevice) { ProtocolBuilder builder = new ProtocolBuilder(); VolantisProtocol protocol = builder.build( new TestProtocolRegistry.TestHTMLPalmWCAFactory(), internalDevice); return protocol; }