Package org.projectodd.polyglot.core.util

Examples of org.projectodd.polyglot.core.util.DeprecationLogger


    @Test
    public void testTorqueBoxYmlWithEnvInEnvVarsAsRACK_ENV() throws Exception {
        MockDeploymentPhaseContext context = setupResourceAsTorqueboxYml( "RACK_ENV-torquebox.yml" );
        MockDeploymentUnit unit = context.getMockDeploymentUnit();
       
        DeprecationLogger logger = mock( DeprecationLogger.class );
        unit.putAttachment( DeprecationLogger.ATTACHMENT_KEY, logger );

        deploy( context );
        verify( logger, never() ).append( anyString() );
View Full Code Here


    @Test
    public void testTorqueBoxYmlWithEnvInEnvVarsAsRAILS_ENV() throws Exception {
        MockDeploymentPhaseContext context = setupResourceAsTorqueboxYml( "RACK_ENV-torquebox.yml" );
        MockDeploymentUnit unit = context.getMockDeploymentUnit();
       
        DeprecationLogger logger = mock( DeprecationLogger.class );
        unit.putAttachment( DeprecationLogger.ATTACHMENT_KEY, logger );

        deploy( context );
        verify( logger, never() ).append( anyString() );
View Full Code Here

    @Test
    public void testTorqueBoxYmlWithAppEnv() throws Exception {
        MockDeploymentPhaseContext context = setupResourceAsTorqueboxYml( "app-env-torquebox.yml" );
        MockDeploymentUnit unit = context.getMockDeploymentUnit();
       
        DeprecationLogger logger = mock( DeprecationLogger.class );
        unit.putAttachment( DeprecationLogger.ATTACHMENT_KEY, logger );

        deploy( context );
        verify( logger ).append( anyString() );
View Full Code Here

TOP

Related Classes of org.projectodd.polyglot.core.util.DeprecationLogger

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.