org.apache.maven.scm.tck.command.remoteinfo
Class AbstractRemoteInfoCommandTckTest

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.ScmTckTestCase
                      extended by org.apache.maven.scm.tck.command.remoteinfo.AbstractRemoteInfoCommandTckTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractGitRemoteInfoCommandTckTest, AbstractSvnRemoteInfoCommandTckTest

public abstract class AbstractRemoteInfoCommandTckTest
extends ScmTckTestCase

This test tests the remote info command.

This test have to be subclassed. The expected result have to be implemented in sub class

Author:
Bertrand Paquet

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
AbstractRemoteInfoCommandTckTest()
           
 
Method Summary
protected abstract  void checkResult(RemoteInfoScmResult result)
           
protected abstract  ScmProviderRepository getScmProviderRepository()
           
 void testRemoteInfoCommand()
           
 
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, getScmFileNames, getScmRepository, getScmUrl, initRepo, mapFilesByPath, removeRepo, setUp, tearDown
 
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
 
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
 
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

AbstractRemoteInfoCommandTckTest

public AbstractRemoteInfoCommandTckTest()
Method Detail

checkResult

protected abstract void checkResult(RemoteInfoScmResult result)

getScmProviderRepository

protected abstract ScmProviderRepository getScmProviderRepository()
                                                           throws Exception
Throws:
Exception

testRemoteInfoCommand

public void testRemoteInfoCommand()
                           throws Exception
Throws:
Exception


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