Package org.apache.maven.scm.repository

Examples of org.apache.maven.scm.repository.ScmRepositoryStub


    /**
     * Creates a new stub with stub repository and provider, and empty list of messages
     */
    public ScmManagerStub()
    {
        setScmRepository( new ScmRepositoryStub() );
        setScmProvider( new ScmProviderStub() );
        setMessages( new ArrayList<String>( 0 ) );
    }
View Full Code Here


    /**
     * Creates a new stub with stub repository and provider, and empty list of messages
     */
    public ScmManagerStub()
    {
        setScmRepository( new ScmRepositoryStub() );
        setScmProvider( new ScmProviderStub() );
        setMessages( new ArrayList<String>( 0 ) );
    }
View Full Code Here

    {
        super.setUp();

        messages = new ArrayList<String>( 0 );
        scmProvider = new ScmProviderStub();
        scmRepository = new ScmRepositoryStub();

        scmManagerStub = new ScmManagerStub();
        scmManagerStub.setMessages( messages );
        scmManagerStub.setScmProvider( scmProvider );
        scmManagerStub.setScmRepository( scmRepository );
View Full Code Here

     * Test method for 'org.apache.maven.scm.manager.ScmManagerStub.getProviderByRepository(ScmRepository)'
     */
    public void testGetProviderByRepository()
        throws Exception
    {
        ScmProvider providerByRepository = scmManagerStub.getProviderByRepository( new ScmRepositoryStub() );
        assertSame( scmProvider, providerByRepository );
    }
View Full Code Here

    /**
     * Creates a new stub with stub repository and provider, and empty list of messages
     */
    public ScmManagerStub()
    {
        setScmRepository( new ScmRepositoryStub() );
        setScmProvider( new ScmProviderStub() );
        setMessages( new ArrayList<String>( 0 ) );
    }
View Full Code Here

    {
        super.setUp();

        messages = new ArrayList<String>( 0 );
        scmProvider = new ScmProviderStub();
        scmRepository = new ScmRepositoryStub();

        scmManagerStub = new ScmManagerStub();
        scmManagerStub.setMessages( messages );
        scmManagerStub.setScmProvider( scmProvider );
        scmManagerStub.setScmRepository( scmRepository );
View Full Code Here

     * Test method for 'org.apache.maven.scm.manager.ScmManagerStub.getProviderByRepository(ScmRepository)'
     */
    public void testGetProviderByRepository()
        throws Exception
    {
        ScmProvider providerByRepository = scmManagerStub.getProviderByRepository( new ScmRepositoryStub() );
        assertSame( scmProvider, providerByRepository );
    }
View Full Code Here

    /**
     * Creates a new stub with stub repository and provider, and empty list of messages
     */
    public ScmManagerStub()
    {
        setScmRepository( new ScmRepositoryStub() );
        setScmProvider( new ScmProviderStub() );
        setMessages( new ArrayList<String>( 0 ) );
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.scm.repository.ScmRepositoryStub

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.