tests
Class TestCreate

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytests.TestCreate
All Implemented Interfaces:
junit.framework.Test

public class TestCreate
extends junit.framework.TestCase


Field Summary
private  DavAccess dav
           
private  java.lang.String name
           
private  java.lang.String path
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCreate()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testCreate()
           
 void testCreateIfExist()
           
 
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

name

private java.lang.String name

path

private java.lang.String path

dav

private DavAccess dav
Constructor Detail

TestCreate

public TestCreate()
Method Detail

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testCreate

public void testCreate()
                throws ApplicationException,
                       CreateDirectoryException,
                       StillExistsException,
                       BadFormatException,
                       NotAuthorizedException,
                       NotExistsResourceException,
                       NotAuthorizedNewDirException
Throws:
ApplicationException
CreateDirectoryException
StillExistsException
BadFormatException
NotAuthorizedException
NotExistsResourceException
NotAuthorizedNewDirException

testCreateIfExist

public void testCreateIfExist()
                       throws ApplicationException,
                              CreateDirectoryException,
                              StillExistsException,
                              BadFormatException,
                              NotAuthorizedException,
                              NotExistsResourceException,
                              NotAuthorizedNewDirException
Throws:
ApplicationException
CreateDirectoryException
StillExistsException
BadFormatException
NotAuthorizedException
NotExistsResourceException
NotAuthorizedNewDirException