edu.internet2.middleware.shibboleth.common.resource
Class SVNResourceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.internet2.middleware.shibboleth.common.resource.SVNResourceTest
All Implemented Interfaces:
junit.framework.Test

public class SVNResourceTest
extends junit.framework.TestCase

Unit test for SVNResource.


Field Summary
private  File altWorkingCopyDirectory
           
private  org.tmatesoft.svn.core.wc.SVNClientManager clientManager
           
private  File repoDir
           
private  String schemaFileName
           
private  File workingCopyDirectory
           
 
Constructor Summary
SVNResourceTest()
           
 
Method Summary
private  void deleteDirectory(File directory)
          Used to recursively delete a directory.
private  void modifySchemaFile(int numOfRandomBytes)
           
protected  void setUp()
          
protected  void tearDown()
          
 void test()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clientManager

private org.tmatesoft.svn.core.wc.SVNClientManager clientManager

repoDir

private File repoDir

workingCopyDirectory

private File workingCopyDirectory

altWorkingCopyDirectory

private File altWorkingCopyDirectory

schemaFileName

private String schemaFileName
Constructor Detail

SVNResourceTest

public SVNResourceTest()
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

test

public void test()
          throws Exception
Throws:
Exception

modifySchemaFile

private void modifySchemaFile(int numOfRandomBytes)
                       throws Exception
Throws:
Exception

deleteDirectory

private void deleteDirectory(File directory)
                      throws Exception
Used to recursively delete a directory.

Parameters:
directory - directory to be deleted
Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.