org.apache.maven.shared.io.location
Class FileLocationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.io.location.FileLocationTest
All Implemented Interfaces:
Test

public class FileLocationTest
extends TestCase


Constructor Summary
FileLocationTest()
           
 
Method Summary
 void testShouldConstructWithFileThenRetrieveSameFile()
           
 void testShouldConstructWithLocationThenRetrieveEquivalentFile()
           
 void testShouldConstructWithoutFileThenSetFileThenOpen()
           
 void testShouldOpenThenFailToSetFile()
           
 void testShouldReadFileContentsUsingByteArray()
           
 void testShouldReadFileContentsUsingByteBuffer()
           
 void testShouldReadFileContentsUsingStream()
           
 void testShouldReadThenClose()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileLocationTest

public FileLocationTest()
Method Detail

testShouldConstructWithFileThenRetrieveSameFile

public void testShouldConstructWithFileThenRetrieveSameFile()
                                                     throws IOException
Throws:
IOException

testShouldReadFileContentsUsingByteBuffer

public void testShouldReadFileContentsUsingByteBuffer()
                                               throws IOException
Throws:
IOException

testShouldReadFileContentsUsingStream

public void testShouldReadFileContentsUsingStream()
                                           throws IOException
Throws:
IOException

testShouldReadFileContentsUsingByteArray

public void testShouldReadFileContentsUsingByteArray()
                                              throws IOException
Throws:
IOException

testShouldReadThenClose

public void testShouldReadThenClose()
                             throws IOException
Throws:
IOException

testShouldOpenThenFailToSetFile

public void testShouldOpenThenFailToSetFile()
                                     throws IOException
Throws:
IOException

testShouldConstructWithoutFileThenSetFileThenOpen

public void testShouldConstructWithoutFileThenSetFileThenOpen()
                                                       throws IOException
Throws:
IOException

testShouldConstructWithLocationThenRetrieveEquivalentFile

public void testShouldConstructWithLocationThenRetrieveEquivalentFile()
                                                               throws IOException
Throws:
IOException


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.