public abstract class PathTest11WatcherIT extends PathTest10PathWithContentIT
PathTest8ThreadSafeIT.KidsCounterPathTest6AttributesIT.SomeFileAttributes, PathTest6AttributesIT.UnsiAttris, PathTest6AttributesIT.UnsiViewcapabilities, CONTENT, CONTENT_OTHER, CONTENT20k, CONTENT50, FS, nameStr, nameStrCase, notSupported, sizeLimitedPlayground, standardOpen, testMethodName| Constructor and Description |
|---|
PathTest11WatcherIT() |
testCheckAccessNonExistingFile, testCheckAccessRelativePath, testCheckAccessSupportesExecute, testCheckAccessSupportesRead, testCheckAccessSupportesWrite, testCheckAccessUnnormalizedPath, testCopyUnnormalizedPath, testCreateDirectoryWithRelativePath, testDeleteIfExistsUnnormalizedPath, testDeleteUnnormalizedPath, testIsHiddenUnnormalizedPath, testIsSameFileOfDifferentPathNonExistingFile2Throws, testIsSameFileOfDifferentPathNonExistingFileThrows, testIsSameFileOfSameContentDifferentPathIsNot, testIsSameFileOnEqualPath, testIsSameFileOnEqualPathElementsDifferentProvider, testIsSameFileWithRelativePath, testIsSameFileWithUnnormalizedPath, testMaxFilenameCopyTooLongThrows, testMaxFilenameCopyWorks, testMaxFilenameDirTooLongThrows, testMaxFilenameDirWorks, testMaxFilenameHardLinkTooLongThrows, testMaxFilenameHardLinkWorks, testMaxFilenameHasNoEffectOfPathConstruction, testMaxFilenameMoveTooLongThrows, testMaxFilenameMoveWorks, testMaxFilenameMsdaoveTooLongThrows, testMaxFilenameWorks, testMaxFilenameWriteTooLongThrows, testMoveUnnormalizedPath, testReadAttributesFromUnnormalizedPath, testToRealpathIsSamePath, testToRealpathOfNonExistingFileThrows, testToRealpathResturnsAnAbsolutePath, testToRealpathResturnsAnNormalizedPath, testWriteUnnormalizedtestCheckAccessOtherProvider, testCopyOtherProviderFrom, testCopyOtherProviderTo, testCopyOtherProviderWithFiles, testCreateDirectoryOtherProvider, testCreateSymbolicLinkOtherProvider, testDeleteIfExistsOtherProvider, testDeleteOtherProvider, testGetBasicFileAttributeViewProvider, testGetFileStoreOtherProvider, testGetFileSystemOtherURI, testGetPathOtherURI, testHardLinkToDifferentProvider, testIsHiddenOtherProvider, testMoveOtherProviderFrom, testMoveOtherProviderTo, testMoveOtherProviderWithFiles, testNewAsynchronousFileChannelOtherProvider, testNewByteChannelOtherProvider, testNewDirectoryStreamOtherProvider, testNewFileChannelOtherProvider, testNewOutputStreamOtherProvider, testReadAttributesOtherProvider, testReadAttributesStringOtherProvider, testReadSymbolicLinkOtherProvider, testResolveWithPathFromOtherProvidertestThreadedDirCountgetClosedAf, getClosedBd, getClosedFS, getClosedFSProvider, getClosedFSWatchService, getClosedReadChannel, getClosedURI, setClosablePlay, testAAA7ClosableHasClosedFS, testCantGetClosedFSViaURI, testClosedFSCantRead, testClosedFSCantReadDir, testClosedFSCantUseReadChannelPosition, testClosedFSCantUseReadChannelRead, testClosedFSCantUseReadChannelSize, testClosedFSCheckAccess, testClosedFSCreateDirectoryOtherProvider, testClosedFSCreateHardLink, testClosedFSDelete, testClosedFSGetBasicFileAttributeViewProvider, testClosedFSGetFileStore, testClosedFSisClosed, testClosedFSIsHidden, testClosedFSNewAsynchronousFileChannel, testClosedFSnewByteChannel, testClosedFSNewFileChannel, testClosedFSNewInputStream, testClosedFSNewOutputStream, testClosedFSReadAttributes, testClosedFSReadAttributesString, testCopyFromClosedFS, testCopyToClosedFS, testMoveToClosedFS, testStdFSisOpentestBasicIsASupportedFileAttributeView, testFileKeyIsId, testGetAllBasicAttributes, testGetAttributeFromNonExistingFile, testGetCreationTimeIsRecent, testGetLastModifiedAllMethodsDeliverSame, testGetLastModifiedTime, testGetLastModifiedViaStringOfRelativePath, testGetUnsupportedAttributeThrows, testGetUnsupportedAttributeThrows2, testReadAttributesAskingForUnknownAttributesThrows, testReadAttributesByStringFromNonExistingFile, testReadAttributesFromNonExistingFile, testReadAttributesOneUnknownAttributeThrows, testReadAttributesUnknownAttributeThrows, testReadAttributesViewAndReadFromNonExistingFile, testReadAttributesViewFromNonExistingFile, testReadAttributesViewFutureExistingFile, testReadUnsupportedAttributesThrows, testRootIsNotASymbolicLink, testSetCreationTimeDoesNotChangeLastAccessTime, testSetCreationTimeViaString, testSetCreationTimeViaView, testSetFileKeyThrows, testSetIsDirectoryThrows, testSetIsLinkThrows, testSetIsOtherThrows, testSetIsRegularFileThrows, testSetLastAccessTimeViaString, testSetLastAccessTimeViaView, testSetLastModifiedTimeViaFiles, testSetLastModifiedTimeViaString, testSetLastModifiedTimeViaView, testSetSizeThrows, testSetUnsupportedAttributeThrows, testSizeOfDirDoesNotThrow, testUnsupportedAttributesThrows, testUnsupportedAttributeViewReturnsNulltestFileSystemOfAPathIsTheConstructingOne, testGetExistingFileSystem, testNewFileSystemOfExistingThrows, testPathToUriAndBackIsSame, testPathWithWitespaceToUri, testPathWithWitespaceToUriAndBack, testProviderGetFileSystemWithWrongSchemeFails, testSchemeIsNotEmpty, testSeparatorIsNotEmpty, testToUriOfRelativePathIsTheUriOfTheAbsolute, testWrongUriAtProviderNewFailstestCopyAlreadyThereOverwrite, testCopyAlreadyThereWithoutOptionThrows, testCopyAttributesCheckModifiedTime, testCopyDirCreatesADirWithTheTargetName, testCopyDirReplaceExistingOverwritesFile, testCopyDoesNotModifyOriginal, testCopyDuplicatesTheContent, testCopyFileReplaceExistingDoesNotOverwriteExistingNonEmptyDir, testCopyFileReplaceExistingOverwritesExistingDir, testCopyNonEmptyDirDoesNotCopyKids, testCopyResultHasCreationTime, testCopyViaProvider, testDeleteDeletes, testDeleteDirChangesParentsModificationTime, testDeleteDirNotChangeParentsCreationTime, testDeleteDirRemovesItFromParentsKids, testDeleteEmptiedDir, testDeleteEmptyDir, testDeleteFileChangesParentsModificationTime, testDeleteFileDoesNotChangeParentCreationTime, testDeleteFileRemovesItFromParentsKids, testDeleteIfExistsRecreate, testDeleteNonEmptyDirectoryThrows, testDeleteNonExistingFileThrows, testDeleteRecreate, testFailedMoveLeavesOriginal, testModifyOriginalAfterCopyDoesNotChangeTarget, testMoveAlreadyThereDirectory, testMoveAlreadyThereDirectoryOverwrite, testMoveAlreadyThereNonEmptyDirectoryOverwrite, testMoveAlreadyThereOverwrite, testMoveAlreadyThereThrows, testMoveChangesModifiedTimeOfParent, testMoveChangesModifiedTimeOfTargetsParent, testMoveCreatesNewFileDeletesOriginal, testMoveDir, testMoveIntoItself, testMoveKeepsLastModifiedTime, testMoveNonEmptyDir, testMoveRoot, testMoveToFileWithNonExistingParentThrows, testMoveToSibling, testMoveViaProvider, testRenameSourceIsNoLongerKid, testRenameTargetIsKidtestAppend, testAppendAndReadThrows, testChannelGetSize, testChannelSetNegativePositionThrows, testChannelSetPositionSetsPosition, testClosedChannelIsClosed, testCreateFileSetModifiedTime, testCreateFileSetsLastAccessTime, testCreateFileSetsLastAccessTimeOfParent, testCreateFileSetsModifiedTimeOfParent, testEveryChannelReadUpdatesLastAccessTime, testEveryChannelWriteUpdatesLastModifiedTime, testFileAttributesAreImmutable, testGetLastModifiedOnlyChangedByModification, testModifiedDateIsCloseToCurrentTime, testNewFileIsInDirStream, testOverwriteDoesNotSetLastAccessTimeOfParent, testOverwriteSetLastAccessTime, testOverwriteTruncateExisting, testOverwriteTruncateExistingDoesNotChangeCreationTime, testRandomRead, testRandomReadPosition, testRandomWrite, testReadAndWrite, testReadChunks, testReadCreateNonExistingFileThrows, testReadFileDoesNotSetParentsLastAccessTime, testReadFileSetsLastAccessTime, testReadFromClosedChannel, testReadFromExausted, testReadFromWriteOnlyChannelThrows, testReadSmallChunks, testRWBytes, testRWBytes20k, testSize, testTruncate, testTruncateOnClosedChannelThrows, testTruncateOnReadChannelThrows, testTruncateToNegativeSizeThrows, testWriteAndCreateExistent, testWriteAndCreateNewNonExistent, testWriteAndCreateNonExistent, testWriteBeyondFileSize, testWriteChannelOfDir, testWriteFileWithoutExistingParentThrows, testWriteFromClosedChannel, testWriteNonExistent, testWriteNothingOverExistingFileDoesNotChangeIt, testWriteOnlyNew, testWriteOnlyNewIfCreateIsThereToo, testWriteSmallChunks, testWriteToReadOnlyChannelThrows, testWriteWithoutOptionsCreatesTheFile, testWriteWithoutOptionsOverwritesExistingtestAAA2HasAPlayfield, testCloseDirStreamInTheMiddleOfIteration, testContentOfNonEmptyDir, testContentOfNonEmptyDirFiltered, testCreateDirectoryRoot, testCreateDirectoryTwiceThrows, testCreateDirectoryWithInNoDirectoryFails, testCreateDirectoryWithoutExistingParantFails, testCreateDirSetsCreationTime, testCreateDirSetsLastAccessTimeOfParent, testCreateDirSetsModifiedTimeOfParent, testCreateDirWithSamePathAsExistingFileFails, testDefaultExists, testDefaultIsDir, testDirStreamIteratorHasNoRemove, testFilterOfRel, testGetIteratorOfClosedDirStream, testIteratorCanOnlyBeCalledOnceOnDirStream, testKidsOfAbsoluteDirAreAbsolute, testKidsOfRelativeDirAreRelative, testKidsOfRelDirAreLikeTheResultOfResolve, testNewDirectoryExists, testNewDirectoryStreamFromNonExistingDirThrows, testNewDirIsInParentsDirStream, testNonExistingAbsolutePathIsNotADirectory, testNonExistingRelativePathIsNotADirectory, testReadBytesFromDirectoryThrows, testReadDirStreamDoesNotSetParentsLastAccessTime, testReadDirStreamSetsLastAccessTime, testReadEmptyDirStreamSetsLastAccessTime, testRootisADirtestAbsolutePathDoesNotStartsWithARelativePath, testAbsolutePathDoesStartsWithAnAbsolutePath, testAbsolutePathDoesStartsWithRoot, testCompareToDifferentProviderThrows, testCompareToLongetPathIsNegative, testCompareToOfEqualPathsIs0, testCompareToShortPathIsPositive, testDefaultHasANameAndItsItself, testDefaultHasNameCount1, testDefaultIsRelative, testEndsWithSimple, testEndsWithStringSimple, testFileNameHasNameCountOf1, testFileNameIsLastName, testFileNameIsRelative, testFileNameStringIsPathPartString, testGetFileNameIsIdempotent, testGetNameCountSimple, testGetNameIsIdempontent, testGetNameOfDefaultPathIsItself, testGetNameSimple, testGetNameWithNegativeIndex, testGetNameWithTooLargeIndex, testGetParent, testGetParentIsInverseOfResolve, testgetParentOfAbsoluteIsAbsolute, testGetParentOfDefaultIsNull, testGetParentOfLongerRelativeNameIsNotNull, testGetParentOfNameIsNull, testGetParentOfRelativeIsRelative, testGetParentOfRootIsNull, testGetPathAllowsMixedArguments, testGetPathAndToStringAreOpposites, testGetPathIgnoresEmptyStringAsFirstParameter, testGetPathIgnoresEmptyStringInAnyParameter, testGetPathNotStartingWithRootStringIsRelative, testGetPathWithSeveralNamesIsSameAsWithOneStringWithSeparators, testGetRootIsaRootDirectory, testGetRootIsIdempotent, testIllegalCharsInPathThrows, testNameCountOfNameIs1, testNameDoesNotIncludeSeparator, testNonExistingAbsolutePathIsNotAFile, testNonExistingRelativePathIsNotAFile, testNoNonEmptyPathStartsWithDefault, testNormalize1Dot, testNormalize2Dots, testNormalizeIsIdempotent, testNormalizeWildPaths, testNullPath, testPathIsImmutabeToAbsolute, testPathIsImmutableToNormalize, testPathIterator, testPathMatcherKnowsGlob, testPathMatcherKnowsRegex, testPathMatcherThrowsOnUnknownSyntax, testPathMatherGlob, testPathMatherRegex, testPathsWithSamePathElementsButDifferentProviderAreDifferent, testPathWith2NamesHasSeparatorInToString, testRelativePathToStringDoesNotStartWithSeparator, testRelativize, testRelativizeAbsolute, testRelativizeAbsToRel, testRelativizeFromDefaultIsInverseOfToAbsolute, 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, testToFileOnNonDefaultFSThrowsbeforeClass3, emptyDir, filter, getDefaultPath, getForeignPathP, getKidCount, getName, getName, getNonEmpty, getOther, getPathA, getPathAB, getPathABC, getPathB, getPathBC, getPathP, getPathPA, getPathPAB, getPathPABf, getPathPABr, getPathPABu, getPathPAC, getPathPACf, getPathPAd, getPathPADf, getPathPAf, getPathPAu, getPathPB, getPathPBB, getPathPBCf, getPathPBd, getPathPBf, getPathPC, getPathPCD, getPathPCf, getPathPLongFileName, getPathPTooLongFileName, getPathRAB, getPathRABC, getPlay, getRoot, getSeparator, message, nonEmptyDir, possible, setPlay, testAAA0public void testWatchADeletePollTimeOut()
throws Exception
Exceptionpublic void testPollWithTimeoutTimesOut()
throws Exception
Exceptionpublic void testRegisterOnClosedWatchService()
throws IOException
IOExceptionpublic void testRegisterWatchServiceOfClosedFS()
throws Exception
Exceptionpublic void testWatchADeleteFromAMove()
throws Exception
Exceptionpublic void testWatchForOtherEventCatchesNothing()
throws Exception
Exceptionpublic void testWatchInOtherDirCatchesNothing()
throws Exception
Exceptionpublic void testNotResetWatchKeyDoesNotQue()
throws Exception
Exceptionpublic void testWatchSeveralEventsMultipleDirs()
throws Exception
Exceptionpublic void testWatchACreateBy2WatchServies()
throws Exception
Exceptionpublic void testCanceledWatchKeyDoesNotWatch()
throws Exception
Exceptionpublic void testCloseAWatchServiceRelasesBlockedTreads()
throws Exception
Exceptionpublic void testCloseAWatchServiceCancelsKeys()
throws Exception
Exceptionpublic void testPollAnEmptyWatchServiceReturnsNull()
throws Exception
Exceptionpublic void testWatchKeyPollEventsEmptiesQue()
throws Exception
Exceptionpublic void testDeleteWatchedDirCancelsKeys()
throws Exception
Exceptionpublic void testMovedWatchedDirCancelsKeys()
throws Exception
Exceptionpublic void testWatchTwoModifiesOneKey()
throws Exception
Exceptionpublic long getWatcherSleep()
public Path createPathWAf() throws IOException
IOExceptionpublic Path createPathWBf() throws IOException
IOExceptionpublic Path getPathWAB() throws IOException
IOExceptionpublic Path createPathWAd() throws IOException
IOExceptionpublic Path getPathWA() throws IOException
IOExceptionpublic Path getPathWB() throws IOException
IOExceptionpublic Path createPathW() throws IOException
IOExceptionpublic WatchService getWatchService()
public WatchService waitForWatchService() throws InterruptedException
InterruptedExceptionCopyright © 2014. All rights reserved.