public class JarEntryFileImplTest extends TestClass
TestClass.EqualityTester| Constructor and Description |
|---|
JarEntryFileImplTest() |
_suite, addMetadata, afterTestClass, afterTestMethod, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertCausesException, assertCollectionEquals, assertCollectionEquals, assertIterableEquals, assertIterableEquals, assertIterableEqualsIgnoreOrder, assertListEquals, assertListEquals, assertMatchRegex, assertSetsEqual, assertZero, assertZero, beforeTestClass, beforeTestMethod, createClassMetadata, createDefaultEnvironment, createMetadata, createMetadata, createMethodMetadata, createTestClass, doRunTest, getClassName, getExecutionManager, getFullClassNameInternal, getMetadata, getName, getNumberOfInstancesOfTestClassCreated, getPackageName, getTotalNumTestMethods, getType, getTypeName, initInternalData, initMetadata, isGosuTest, isMetaAnnotation, isMetaAnnotationInfo, reallyRun, reallyRunBare, run, runBare, runTest, setExecutionManager, setGosuTest, setName, setUp, tearDown, toStringassertEquals, 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, formatpublic void testGetParentForRootFile()
public void testGetParentForNonRootFile()
public void testGetParentForNonExistentFile()
public void testGetNameForFileWithExtension()
public void testGetNameForFileWithNoExtension()
public void testGetNameForFileThatDoesNotExist()
public void testExistsReturnsTrueForFileInTheJar()
public void testExistsReturnsFalseForFileNotInTheJar()
public void testDeleteThrowsUnsupportedOperationException()
public void testToURIForRootFile()
public void testToURIForNestedFile()
public void testToURIForNonExistentFile()
public void testToURIForNonExistentNestedFile()
public void testGetPathForRootFile()
public void testGetPathForNonExistentRootFile()
public void testGetPathForNestedFile()
public void testGetPathForNonExistentNestedFile()
public void testIsChildOfWorksForRootFile()
public void testIsChildOfWorksForDifferentInstancesOfSameLogicalEntry()
public void testIsChildOfWorksForNonExistentRootFile()
public void testIsChildOfWorksForNestedFile()
public void testIsChildOfWorksForNonExistentNestedFile()
public void testIsDescendentOfWorksForRootFile()
public void testIsDescendentOfWorksForDifferentInstancesOfSameLogicalEntry()
public void testIsDescendentOfWorksForNonExistentRootFile()
public void testIsDescendentOfWorksForNestedFile()
public void testIsDescendentOfWorksForNonExistentNestedFile()
public void testToJavaFileThrowsUnsupportedOperationException()
public void testEqualsReturnsTrueForSameObjectInstance()
public void testEqualsReturnsTrueForDifferentObjectInstancePointingToSameLogicalEntry()
public void testEqualsReturnsTrueForDifferentObjectInstancePointingToSameNonExistentLogicalEntry()
public void testEqualsReturnsFalseForDifferentEntry()
public void testEqualsReturnsFalseForNonJarEntry()
public void testOpenInputStreamOpensStreamForRootFile()
throws Exception
Exceptionpublic void testOpenInputStreamThrowsIOExceptionForNonExistentEntry()
public void testOpenOutputStreamThrowsUnsupportedOperationException()
throws Exception
Exceptionpublic void testOpenOutputStreamForAppendThrowsUnsupportedOperationException()
throws Exception
Exceptionpublic void testGetExtensionReturnsExtensionForFileWithExtension()
public void testGetExtensionReturnsExtensionForNonExistentFileWithExtension()
public void testGetExtensionReturnsEmptyStringForFileWithoutExtension()
public void testGetExtensionReturnsEmptyStringForNonExistentFileWithoutExtension()
public void testGetBaseNameForFileWithExtension()
public void testGetBaseNameForNonExistentFileWithExtension()
public void testGetBaseNameForFileWithoutExtension()
public void testGetBaseNameForNonExistentFileWithoutExtension()
Copyright © 2015. All rights reserved.