Package org.apache.maven.scm.log

Examples of org.apache.maven.scm.log.DefaultLog


        throws Exception
    {
        super.setUp();
        repo = getScmProviderRepository();

        listConsumer = new JazzListConsumer( getScmProviderRepository(), new DefaultLog() );

        // Simulate the output of the parsing of the "scm status" command.
        // IE, fill in the workspace and component details
        // Needed for the remote workspace and component name for the list remotefiles
        repo.setWorkspace( "Dave's Repository Workspace" );
View Full Code Here


     * @throws Exception when there is an unexpected problem
     */
    public void testParse()
        throws Exception
    {
        CvsChangeLogConsumer command = new CvsChangeLogConsumer( new DefaultLog(), null );

        FileInputStream fis = new FileInputStream( testFile );
        BufferedReader in = new BufferedReader( new InputStreamReader( fis ) );
        String s = in.readLine();
        while ( s != null )
View Full Code Here

    extends PlexusTestCase
{

    public void testConsumerRemoteInfo()
    {
        GitRemoteInfoConsumer consumer = new GitRemoteInfoConsumer( new DefaultLog(), null );

        consumer.consumeLine( "344581899752998038a74989142221ae08c381bc  HEAD" );
        consumer.consumeLine( "344581899752998038a74989142221ae08c381bc  refs/heads/master" );
        consumer.consumeLine( "9006c3dbaa9749aa435694f261638583c9088419  refs/tags/staging" );
View Full Code Here

    }

    public static ScmResult execute( File workingDir, String[] cmdAndArgs )
        throws ScmException
    {
        ScmLogger logger = new DefaultLog();
        return execute( new HgConsumer( logger ), logger, workingDir, cmdAndArgs );
    }
View Full Code Here

        throws Exception
    {

        File basedir = new File( "/usr/scm-starteam/driver" );

        StarteamUnEditConsumer consumer = new StarteamUnEditConsumer( new DefaultLog(), basedir );

        for ( int i = 0; i < TEST_OUTPUT.length; ++i )
        {
            consumer.consumeLine( TEST_OUTPUT[i] );
        }
View Full Code Here

        throws Exception
    {

        File basedir = new File( "/usr/scm-starteam/driver" );

        StarteamAddConsumer consumer = new StarteamAddConsumer( new DefaultLog(), basedir );

        for ( int i = 0; i < TEST_OUTPUT.length; ++i )
        {
            consumer.consumeLine( TEST_OUTPUT[i] );
        }
View Full Code Here

        throws Exception
    {

        File basedir = new File( "/usr/scm-starteam/driver" );

        StarteamRemoveConsumer consumer = new StarteamRemoveConsumer( new DefaultLog(), basedir );

        for ( int i = 0; i < TEST_OUTPUT.length; ++i )
        {
            consumer.consumeLine( TEST_OUTPUT[i] );
        }
View Full Code Here

    public void testParse()
        throws Exception
    {
        File basedir = new File( "/usr/scm-starteam/driver" );

        StarteamCheckInConsumer consumer = new StarteamCheckInConsumer( new DefaultLog(), basedir );

        for ( int i = 0; i < TEST_OUTPUT.length; ++i )
        {
            consumer.consumeLine( TEST_OUTPUT[i] );
        }
View Full Code Here

        BufferedReader in = new BufferedReader( new InputStreamReader( fis ) );

        String s = in.readLine();

        StarteamStatusConsumer consumer = new StarteamStatusConsumer( new DefaultLog(), new File( WORKING_DIR ) );

        while ( s != null )
        {
            consumer.consumeLine( s );
View Full Code Here

        String s = in.readLine();

        File basedir = new File( getBasedir() );

        StarteamDiffConsumer consumer = new StarteamDiffConsumer( new DefaultLog(), basedir );

        while ( s != null )
        {
            consumer.consumeLine( s );
View Full Code Here

TOP

Related Classes of org.apache.maven.scm.log.DefaultLog

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.