org.apache.maven.scm.provider.git.gitexe.command.add
Class GitExeAddCommandTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.scm.ScmTestCase
                  extended by org.apache.maven.scm.provider.git.gitexe.command.add.GitExeAddCommandTest
All Implemented Interfaces:
junit.framework.Test

public class GitExeAddCommandTest
extends ScmTestCase

Check if the GitAddCommand#createCommandLine(File, List) returns the correct command line execution string.

Version:
$Id: GitExeAddCommandTest.java 1057016 2011-01-09 20:11:26Z olamy $
Author:
Mark Struberg

Field Summary
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
GitExeAddCommandTest()
           
 
Method Summary
 void testAddCommandMultipleFiles()
           
 void testAddCommandSingleFile()
           
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getModule, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute, setUp
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitExeAddCommandTest

public GitExeAddCommandTest()
Method Detail

testAddCommandSingleFile

public void testAddCommandSingleFile()
                              throws Exception
Throws:
Exception

testAddCommandMultipleFiles

public void testAddCommandMultipleFiles()
                                 throws Exception
Throws:
Exception


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.