public abstract class Tests02Dir extends Tests01NoContent
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
CONTENT |
protected static byte[] |
CONTENT_OTHER |
protected static byte[] |
CONTENT20k |
protected static byte[] |
CONTENT50 |
capa, FS, name, otherProvidorPlayground, testMethodName| Constructor and Description |
|---|
Tests02Dir(Capa capa) |
absAB, absABC, absD, defaultRoot, nameA, nameB, nameC, nameD, nameE, pathDefault, relA, relAB, relABC, relB, relBC, relC, relD, testAbsolutePathDoesNotStartsWithARelativePath, testAbsolutePathDoesStartsWithAnAbsolutePath, testAbsolutePathDoesStartsWithRoot, testCompareToDifferentProviderThrows, testCompareToLongetPathIsNegative, testCompareToOfEqualPathsIs0, testCompareToShortPathIsPositive, testDefaultHasANameAndItsItself, testDefaultHasNameCount1, testDefaultIsRelative, testdefaultRootIsIdempotent, testEndsWithSimple, testEndsWithStringSimple, testFileNameHasNameCountOf1, testFileNameIsLastName, testFileNameIsRelative, testFileNameStringIsPathPartString, testGetFileNameIsIdempotent, testGetNameCountSimple, testGetNameIsIdempontent, testGetNameOfDefaultPathIsItself, testGetNameSimple, testGetNameWithNegativeIndex, testGetNameWithTooLargeIndex, testGetParent, testGetParentIsInverseOfResolve, testgetParentOfAbsoluteIsAbsolute, testGetParentOfDefaultIsNull, testGetParentOfLongerRelativeNameIsNotNull, testGetParentOfNameIsNull, testGetParentOfRelativeIsRelative, testGetParentOfRootIsNull, testGetPathIgnoresEmptyStringAsFirstParameter, testGetPathIgnoresEmptyStringInAnyParameter, testGetPathNotStartingWithRootStringIsRelative, testGetPathWithSeveralNamesIsSameAsWithOneStringWithSeparators, testNameCountOfNameIs1, testNameDoesNotIncludeSeparator, testNonExistingAbsolutePathIsNotAFile, testNonExistingRelativePathIsNotAFile, testNoNonEmptyPathStartsWithDefault, testNormalize1Dot, testNormalize2Dots, testNormalizeIsIdempotent, testNormalizeRelativePath, testNormalizeRelativePathEmptyHm, testNormalizeWildAbsPaths, testNormalizeWildRelPaths, testNormlizeParentOfRoot, testNullPath, testpathAllowsMixedArguments, testpathAndToStringAreOpposites, testPathIsImmutabeToAbsolute, testPathIsImmutableToNormalize, testPathIterator, testPathMatcherKnowsGlob, testPathMatcherKnowsRegex, testPathMatcherThrowsOnUnknownSyntax, testPathMatherGlob, testPathMatherRegex, testPathsWithSamePathElementsButDifferentProviderAreDifferent, testPathWith2NamesHasSeparatorInToString, testRelativePathToStringDoesNotStartWithSeparator, testRelativize, testRelativizeAbsolute, testRelativizeAbsToRel, testRelativizeFromDefaultAbsoluteIsInverseOfToAbsoluteNormalize, testRelativizePathWithOtherRootFails, testRelativizeRelToAbs, testResolveIterative, testResolveNull, testResolveOfAbsoluteIsAbsolute, testResolveOfARelativePathIsRelative, testResolveOfNameStrEndsWithThatName, testResolveSiblingIsGetParentResolve, testResolveSiblingOnDefaultReturnsArg, testResolveSiblingOnNameReturnsArg, testResolveSiblingOnRootReturnsArg, testResolveSiblingWithAbsoluteArgIsThatArg, testResolveSiblingWorksWithStringAndPath, testResolveWithAbsoluteArgReturnArg, testResolveWithDefaultIsNop, testResolveWithNameIsSameAsStr, testResolveWithStringWithSeparatorsSameAsWithPath, testResolveWorksLikeGetPathOnStringsWithSeparator, testResultOfGetNameIsRelative, testRootHasNoFileName, testRootHasNoName, testRootIsOneOfTheRoots, testRootNameCountIs0, testRootOfAbsolutePathIsAbsolute, testRootOfRelativeIsNull, testSeparatorIsNoFileName, testStartsWithSimple, testStartsWithStringSimple, testSubPathEndBeforeStart, testSubPathEndTooLarge, testSubPathIsRelative, testSubPathNegativeStart, testSubPathSimple, testSubPathStartTooLarge, testToAbsoluteIsIdempotent, testToAbsoluteProducesAnAbsolutePath, testToFileOnNonDefaultFSThrows, testUnnormalizedBasedOnFilefilter, getOtherProviderPlayground, messageprotected static byte[] CONTENT
protected static byte[] CONTENT_OTHER
protected static byte[] CONTENT20k
protected static byte[] CONTENT50
public Tests02Dir(Capa capa)
public void testContentOfNonEmptyDir()
throws IOException
IOExceptionpublic void testIteratorCanOnlyBeCalledOnceOnDirStream()
throws IOException
IOExceptionpublic void testDirStreamIteratorHasNoRemove()
throws IOException
IOExceptionpublic void testContentOfNonEmptyDirFiltered()
throws IOException
IOExceptionpublic void testNewDirIsInParentsDirStream()
throws IOException
IOExceptionpublic void testNewDirectoryExists()
throws IOException
IOExceptionpublic void testNewRelDirectoryExists()
throws IOException
IOExceptionpublic void testCreateDirectoryTwiceThrows()
throws IOException
IOExceptionpublic void testCreateDirectoryWithoutExistingParentFails()
throws IOException
IOExceptionpublic void testCreateDirectoryWithInFileFails()
throws IOException
IOExceptionpublic void testRootisADir()
throws IOException
IOExceptionpublic void testNonExistingAbsolutePathIsNotADirectory()
throws IOException
IOExceptionpublic void testNonExistingAbsolutePathIsNotADirectoryEvenIfParent()
throws IOException
IOExceptionpublic void testNonExistingRelativePathIsNotADirectory()
throws IOException
IOExceptionpublic void testCreateDirWithSamePathAsExistingFileFails()
throws Exception
Exceptionpublic void testCreateDirSetsModifiedTimeOfParent()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCreateDirSetsLastAccessTimeOfParent()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCreateDirSetsCreationTime()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testKidsOfAbsoluteDirAreAbsolute()
throws Exception
Exceptionpublic void testKidsOfRelativeDirAreRelative()
throws Exception
Exceptionpublic void testKidsOfRelDirAreLikeTheResultOfResolve()
throws Exception
Exceptionpublic void testReadDirStreamSetsLastAccessTime()
throws Exception
Exceptionpublic void testReadEmptyDirStreamSetsLastAccessTime()
throws Exception
Exceptionpublic void testReadDirStreamDoesNotSetParentsLastAccessTime()
throws Exception
Exceptionpublic void testCloseDirStreamInTheMiddleOfIteration()
throws Exception
Exceptionpublic void testReadBytesFromDirectoryThrows()
throws IOException
IOExceptionpublic void testNewDirectoryStreamFromNonExistingDirThrows()
throws IOException
IOExceptionpublic static void beforeDir()
public Path absT()
public Path absTA()
public Path absTB()
public Path absTC()
public Path relTA()
public Path absTAB()
public Path absTAC()
public Path dirTA()
public Path dirTAB()
public Path dirTBB()
public Path dirTB()
public Path fileTA()
public Path fileTB()
public Path fileTAB()
public Path fileTAC()
public Path fileTAD()
public void waitForAttribute()
Copyright © 2015. All rights reserved.