Examples of AlternativeWindowContextConfig


Examples of org.apache.myfaces.extensions.cdi.core.alternative.scope.conversation.config.AlternativeWindowContextConfig

    }

    @Test
    public void testAlternativeWindowContextConfig()
    {
        WindowContextConfig windowContextConfig = new AlternativeWindowContextConfig();

        assertEquals(windowContextConfig.getMaxWindowContextCount(), 64);
        assertEquals(windowContextConfig.getWindowContextTimeoutInMinutes(), 60);
        assertEquals(windowContextConfig.isUrlParameterSupported(), true);
        assertEquals(windowContextConfig.isUnknownWindowIdsAllowed(), false);
        assertEquals(windowContextConfig.isAddWindowIdToActionUrlsEnabled(), false);
        assertEquals(windowContextConfig.isCloseEmptyWindowContextsEnabled(), false);
        assertEquals(windowContextConfig.isEagerWindowContextDetectionEnabled(), true);
        assertEquals(windowContextConfig.isCreateWindowContextEventEnabled(), false);
        assertEquals(windowContextConfig.isCloseWindowContextEventEnabled(), false);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.