Package com.robustaweb.library.security

Examples of com.robustaweb.library.security.Codec


   
    @Test
    public void testGetCodec() {

        //if isGwt
        Codec expected = null;
        assertFalse(MyRobusta.isGwt());
        assertEquals("bad codec when nothing set", expected, MyRobusta.getCodec());
        MyRobusta.setGwt(true, true);

        assertTrue("bad instance", MyRobusta.getCodec() instanceof CodecGwt);
View Full Code Here

TOP

Related Classes of com.robustaweb.library.security.Codec

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.