Package org.apache.archiva.rest.api.services

Examples of org.apache.archiva.rest.api.services.PingService


    @Test
    public void pingWithAuthz()
        throws Exception
    {

        PingService service = getPingService();
        WebClient.getConfig( service ).getHttpConduit().getClient().setReceiveTimeout( 300000 );
        WebClient.client( service ).header( "Authorization", authorizationHeader );
        String res = service.pingWithAuthz();
        assertEquals( "Yeah Baby It rocks!", res );
    }
View Full Code Here


    @Ignore( "FIXME guest failed ???" )
    public void pingWithAuthzGuest()
        throws Exception
    {

        PingService service = getPingService();
        WebClient.getConfig( service ).getHttpConduit().getClient().setReceiveTimeout( 300000 );
        WebClient.client( service ).header( "Authorization", guestAuthzHeader );
        String res = service.pingWithAuthz();
        assertEquals( "Yeah Baby It rocks!", res );
    }
View Full Code Here

TOP

Related Classes of org.apache.archiva.rest.api.services.PingService

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.