public abstract class Tests10PathWithContent extends Tests09WrongProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
Tests10PathWithContent.CapaBuilder10 |
Tests09WrongProvider.CapBuilder09Tests08ThreadSafe.KidsCounterTests07Closed.CapBuilder07Tests06Attributes.SomeFileAttributes, Tests06Attributes.UnsiAttris, Tests06Attributes.UnsiView| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_FILENAME_LENGTH |
static String |
MAX_PATH_LENGTH |
CLOSEABLE_PLAYGROUNDstandardOpenCONTENT, CONTENT_OTHER, CONTENT20k, CONTENT50capa, FS, name, otherProvidorPlayground, testMethodName| Constructor and Description |
|---|
Tests10PathWithContent(Capa capa) |
otherProviderAbsA, otherProviderFileA, testCheckAccessOtherProvider, testCopyOtherProviderFrom, testCopyOtherProviderTo, testCreateDirectoryOtherProvider, testCreateSymLinkOtherProvider, testDeleteIfExistsOtherProvider, testDeleteOtherProvider, testGetBasicFileAttributeViewProvider, testGetFileStoreOtherProvider, testGetPathOtherURI, testHardLinkOfDifferentProvider, testIsHiddenOtherProvider, testIsSameFileOtherProvider, testIsSameFileOtherProvider2, testMoveOtherProviderFrom, testMoveOtherProviderTo, testNewAsynchronousFileChannelOtherProvider, testNewByteChannelOtherProvider, testNewDirectoryStreamOtherProvider, testNewFileChannelOtherProvider, testNewOutputStreamOtherProvider, testReadAttributesOtherProvider, testReadAttributesStringOtherProvider, testReadSymLinkOtherProvider, testResolveWithPathFromOtherProvidergetClosedDirB, getClosedFileA, getClosedFS, getClosedFSProvider, getClosedFSWatchService, getClosedReadChannel, getClosedURI, testCantGetClosedFSViaURI, testClosedFSCantRead, testClosedFSCantReadDir, testClosedFSCantUseReadChannelPosition, testClosedFSCantUseReadChannelRead, testClosedFSCantUseReadChannelSize, testClosedFSCheckAccess, testClosedFSCreateDirectoryOtherProvider, testClosedFSCreateHardLink, testClosedFSDelete, testClosedFSGetBasicFileAttributeViewProvider, testClosedFSGetFileStore, testClosedFSisClosed, testClosedFSIsHidden, testClosedFSnewByteChannel, testClosedFSNewFileChannel, testClosedFSNewInputStream, testClosedFSNewOutputStream, testClosedFSReadAttributes, testClosedFSReadAttributesString, testCopyFromClosedFS, testCopyToClosedFS, testMoveToClosedFStestBasicIsASupportedFileAttributeView, testFileKeyIsId, testGetAllBasicAttributes, testGetAttributeFromNonExistingFile, testGetCreationTimeIsRecent, testGetLastModifiedAllMethodsDeliverSame, testGetLastModifiedTime, testGetLastModifiedViaStringOfRelativePath, testGetUnsupportedAttributeThrows, testGetUnsupportedAttributeThrows2, testReadAttributesAskingForUnknownAttributesThrows, testReadAttributesByStringFromNonExistingFile, testReadAttributesFromNonExistingFile, testReadAttributesOneUnknownAttributeThrows, testReadAttributesUnknownAttributeThrows, testReadAttributesViewAndReadFromNonExistingFile, testReadAttributesViewFromNonExistingFile, testReadAttributesViewFutureExistingFile, testReadUnsupportedAttributeThrows, testRootIsNotASymbolicLink, testSetCreationTimeDoesNotChangeLastAccessTime, testSetCreationTimeViaString, testSetCreationTimeViaView, testSetFileKeyThrows, testSetIsDirectoryThrows, testSetIsLinkThrows, testSetIsOtherThrows, testSetIsRegularFileThrows, testSetLastAccessTimeViaString, testSetLastAccessTimeViaView, testSetLastModifiedTimeViaFiles, testSetLastModifiedTimeViaString, testSetLastModifiedTimeViaView, testSetSizeThrows, testSetUnsupportedAttributeThrows, testSizeOfDirDoesNotThrow, testUnsupportedAttributesThrows, testUnsupportedAttributeViewReturnsNulltestFileSystemOfAPathIsTheConstructingOne, testProviderGetFileSystemWithWrongSchemeFails, testSchemeIsNotEmpty, testSeparatorIsNotEmpty, testToUriOfRelativePathIsTheUriOfTheAbsolute, testWrongUriAtProviderNewFailssrc, srcDir, srcFile, testCopyAlreadyThereOverwrite, testCopyAlreadyThereWithoutOptionThrows, testCopyAttributesCheckModifiedTime, testCopyDirCreatesADirWithTheTargetName, testCopyDirReplaceExistingOverwritesFile, testCopyDoesNotModifyOriginal, testCopyDuplicatesTheContent, testCopyFileReplaceExistingDoesNotOverwriteExistingNonEmptyDir, testCopyFileReplaceExistingOverwritesExistingDir, testCopyIntoItself, testCopyNonEmptyDirDoesNotCopyKids, testCopyResultHasCreationTime, testCopyViaProvider, testDeleteDeletes, testDeleteDirChangesParentsModificationTime, testDeleteDirRemovesItFromParentsKids, testDeleteEmptiedDir, testDeleteEmptyDir, testDeleteFileChangesParentsModificationTime, testDeleteFileDoesNotChangeParentCreationTime, testDeleteFileRemovesItFromParentsKids, testDeleteIfExistsRecreate, testDeleteNonEmptyDirectoryThrows, testDeleteNonExistingFileThrows, testDeleteRecreate, testDeleteRootThrowa, testFailedMoveLeavesOriginal, testModifyOriginalAfterCopyDoesNotChangeTarget, testMoveAlreadyThereDirectory, testMoveAlreadyThereDirectoryOverwrite, testMoveAlreadyThereNonEmptyDirectoryOverwrite, testMoveAlreadyThereOverwrite, testMoveAlreadyThereThrows, testMoveChangesModifiedTimeOfParent, testMoveChangesModifiedTimeOfTargetsParent, testMoveCreatesNewFileDeletesOriginal, testMoveEmptyDir, testMoveIntoItself, testMoveKeepsLastModifiedTime, testMoveNonEmptyDir, testMoveRoot, testMoveToFileWithNonExistingParentThrows, testMoveViaProvider, testRenameSourceIsNoLongerKid, testRenameTargetIsKid, tgttestAppend, testAppendAndReadThrows, testChannelGetSize, testChannelSetNegativePositionThrows, testChannelSetPositionSetsPosition, testClosedChannelIsClosed, testCreateFileSetModifiedTime, testCreateFileSetsLastAccessTime, testCreateFileSetsLastAccessTimeOfParent, testCreateFileSetsModifiedTimeOfParent, testEveryChannelReadUpdatesLastAccessTime, testEveryChannelWriteUpdatesLastModifiedTime, testFileAttributesAreImmutable, testGetLastModifiedOnlyChangedByModification, testModifiedDateIsCloseToCurrentTime, testNewFileIsInDirStream, testOverwriteDoesNotSetLastAccessTimeOfParent, testOverwriteSetLastAccessTime, testOverwriteTruncateExisting, testOverwriteTruncateExistingDoesNotChangeCreationTime, testRandomRead, testRandomReadPosition, testRandomWrite, testReadAndWrite, testReadChannelOfDir, testReadChunks, testReadCreateNonExistingFileThrows, testReadFileDoesNotSetParentsLastAccessTime, testReadFileSetsLastAccessTime, testReadFromClosedChannelThrows, testReadFromExhausted, testReadFromWriteOnlyChannelThrows, testReadSmallChunks, testRWBytes, testRWBytes20k, testSize, testTruncate, testTruncateOnClosedChannelThrows, testTruncateOnReadChannelThrows, testTruncateToNegativeSizeThrows, testWriteAndCreateExistent, testWriteAndCreateNewNonExistent, testWriteAndCreateNonExistentCreatesIt, testWriteBeyondFileSize, testWriteChannelOfDir, testWriteFileWithoutExistingParentThrows, testWriteNonExistent, testWriteNothingOverExistingFileDoesNotChangeIt, testWriteOnlyNew, testWriteOnlyNewIfCreateIsThereToo, testWriteSmallChunks, testWriteToClosedChannelThrows, testWriteToReadOnlyChannelThrows, testWriteWithoutOptionsCreatesTheFile, testWriteWithoutOptionsOverwritesExistingabsT, absTA, absTAB, absTAC, absTB, absTC, beforeDir, dirTA, dirTAB, dirTB, dirTBB, fileTA, fileTAB, fileTAC, fileTAD, fileTB, relativize, relTA, testCloseDirStreamInTheMiddleOfIteration, testContentOfNonEmptyDir, testContentOfNonEmptyDirFiltered, testCreateDirectoryTwiceThrows, testCreateDirectoryWithInFileFails, testCreateDirectoryWithoutExistingParentFails, testCreateDirSetsCreationTime, testCreateDirSetsLastAccessTimeOfParent, testCreateDirSetsModifiedTimeOfParent, testCreateDirWithSamePathAsExistingFileFails, testDefaultExists, testDefaultIsDir, testDirStreamIteratorHasNoRemove, testIteratorCanOnlyBeCalledOnceOnDirStream, testKidsOfAbsoluteDirAreAbsolute, testKidsOfRelativeDirAreRelative, testKidsOfRelDirAreLikeTheResultOfResolve, testNewDirectoryExists, testNewDirectoryStreamFromNonExistingDirThrows, testNewDirIsInParentsDirStream, testNewRelDirectoryExists, testNonExistingAbsolutePathIsNotADirectory, testNonExistingAbsolutePathIsNotADirectoryEvenIfParent, testNonExistingRelativePathIsNotADirectory, testReadBytesFromDirectoryThrows, testReadDirStreamDoesNotSetParentsLastAccessTime, testReadDirStreamSetsLastAccessTime, testReadEmptyDirStreamSetsLastAccessTime, testRootisADir, waitForAttributeabsAB, 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, messagepublic static final String MAX_FILENAME_LENGTH
public static final String MAX_PATH_LENGTH
public Tests10PathWithContent(Capa capa)
public void testIsSameFileOnEqualPath()
throws IOException
IOExceptionpublic void testIsSameFileOnEqualPathElementsOtherProvider()
throws IOException
IOExceptionpublic void testIsSameFileWithUnnormalizedPath()
throws IOException
IOExceptionpublic void testIsSameFileWithSpecialUnnormalizedPath()
throws IOException
IOExceptionpublic void testIsSameFileWithRelativePath()
throws IOException
IOExceptionpublic void testIsSameFileOfSameContentDifferentPathIsNot()
throws IOException
IOExceptionpublic void testIsSameFileOfDifferentPathNonExistingFileIsNot()
throws IOException
IOExceptionpublic void testIsSameFileOfDifferentPathNonExistingFile2IsNot()
throws IOException
IOExceptionpublic void testWriteUnnormalized()
throws IOException
IOExceptionpublic void testReadAttributesFromUnnormalizedPath()
throws IOException
IOExceptionpublic void testCheckAccessUnnormalizedPath()
throws IOException
IOExceptionpublic void testCheckAccessRelativePath()
throws IOException
IOExceptionpublic void testCheckAccessSupportesRead()
throws IOException
IOExceptionpublic void testCheckAccessSupportesWrite()
throws IOException
IOExceptionpublic void testCheckAccessSupportesExecute()
throws IOException
IOExceptionpublic void testCheckAccessNonExistingFile()
throws IOException
IOExceptionpublic void testCopyUnnormalizedPath()
throws IOException
IOExceptionpublic void testMoveUnnormalizedPath()
throws IOException
IOExceptionpublic void testCopyToUnnormalizedPath()
throws IOException
IOExceptionpublic void testMoveToUnnormalizedPath()
throws IOException
IOExceptionpublic void testCreateDirectoryUnnormalizedPath()
throws IOException
IOExceptionpublic void testCreateDirectoryWithRelativePath()
throws IOException
IOExceptionpublic void testDeleteUnnormalizedPath()
throws IOException
IOExceptionpublic void testDeleteIfExistsUnnormalizedPath()
throws IOException
IOExceptionpublic void testGetFileStoreUnnormalizedPath()
throws IOException
IOExceptionpublic void testIsHiddenUnnormalizedPath()
throws IOException
IOExceptionpublic void testToRealpathResturnsAnAbsolutePath()
throws Exception
Exceptionpublic void testToRealPathOfUnnormalizedResturnsAnNormalizedPath()
throws Exception
Exceptionpublic void testToRealPathOfUnnormalizedIsSamePath()
throws Exception
Exceptionpublic void testToRealPathOfNonExistingFileThrows()
throws Exception
Exceptionpublic void testMaxFilenameHasNoEffectOfPathConstruction()
throws IOException
IOExceptionpublic void testMaxFilenameWorks()
throws IOException
IOExceptionpublic void testMaxFilenameWriteTooLongThrows()
throws IOException
IOExceptionpublic void testMaxFilenameDirOfLongWorks()
throws IOException
IOExceptionpublic void testMaxFilenameDirTooLongThrows()
throws IOException
IOExceptionpublic void testMaxFilenameCopyWorks()
throws IOException
IOExceptionpublic void testMaxFilenameCopyTooLongThrows()
throws IOException
IOExceptionpublic void testMaxFilenameHardLinkWorks()
throws IOException
IOExceptionpublic void testMaxFilenameHardLinkTooLongThrows()
throws IOException
IOExceptionpublic void testMaxFilenameMoveWorks()
throws IOException
IOExceptionpublic void testMaxFilenameMoveTooLongThrows()
throws IOException
IOExceptionpublic Path absTLongFilename()
public Path absTTooLongFilename()
Copyright © 2015. All rights reserved.