org.alfresco.util
Class TempFileProviderTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.util.TempFileProviderTest
All Implemented Interfaces:
junit.framework.Test

public class TempFileProviderTest
extends junit.framework.TestCase

Unit test for TempFileProvider

See Also:
TempFileProvider

Constructor Summary
TempFileProviderTest()
           
 
Method Summary
 void testTempDir()
          test of getTempDir
 void testTempFile()
          test create a temporary file create another file with the same prefix and suffix.
 void testTempFileWithDir()
          test create a temporary file with a directory create another file with the same prefix and suffix.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

TempFileProviderTest

public TempFileProviderTest()
Method Detail

testTempDir

public void testTempDir()
                 throws java.lang.Exception
test of getTempDir

Throws:
java.lang.Exception

testTempFile

public void testTempFile()
                  throws java.lang.Exception
test create a temporary file create another file with the same prefix and suffix.

Throws:
java.lang.Exception

testTempFileWithDir

public void testTempFileWithDir()
                         throws java.lang.Exception
test create a temporary file with a directory create another file with the same prefix and suffix.

Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.