org.pentaho.di.resource
Class NameResourceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pentaho.di.resource.NameResourceTest
All Implemented Interfaces:
junit.framework.Test

public class NameResourceTest
extends junit.framework.TestCase

Author:
Sean Flatley For testing the ResourceNamingInterface.nameResource() methods.

Constructor Summary
NameResourceTest()
           
 
Method Summary
 void testUNC()
          Test case for UNC
 void testUNCPathOnly()
          Test case for UNC
 void testUnixStyle()
          Test case for Unix style file name.
 void testUnixStylePathOnly()
          Test case for Unix style file name.
 void testVFS()
          Test case for VFS
 void testVFSPathOnly()
          Test case for VFS
 void testWindowsDriveLetter()
          Test case for a windows path with a mapped drive
 void testWindowsDriveLetterPathOnly()
          Test case for a windows path with a mapped drive
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameResourceTest

public NameResourceTest()
Method Detail

testUnixStyle

public void testUnixStyle()
                   throws Exception
Test case for Unix style file name.

Throws:
Exception

testWindowsDriveLetter

public void testWindowsDriveLetter()
                            throws Exception
Test case for a windows path with a mapped drive

Throws:
Exception

testUNC

public void testUNC()
             throws Exception
Test case for UNC

Throws:
Exception

testVFS

public void testVFS()
             throws Exception
Test case for VFS

Throws:
Exception

testUnixStylePathOnly

public void testUnixStylePathOnly()
                           throws Exception
Test case for Unix style file name.

Throws:
Exception

testWindowsDriveLetterPathOnly

public void testWindowsDriveLetterPathOnly()
                                    throws Exception
Test case for a windows path with a mapped drive

Throws:
Exception

testUNCPathOnly

public void testUNCPathOnly()
                     throws Exception
Test case for UNC

Throws:
Exception

testVFSPathOnly

public void testVFSPathOnly()
                     throws Exception
Test case for VFS

Throws:
Exception