public abstract class Tests04Copy extends Tests03File
standardOpenCONTENT, CONTENT_OTHER, CONTENT20k, CONTENT50capa, FS, name, otherProvidorPlayground, testMethodName| Constructor and Description |
|---|
Tests04Copy(Capa capa) |
testAppend, 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 Tests04Copy(Capa capa)
public void testCopyDuplicatesTheContent()
throws IOException
IOExceptionpublic void testCopyAlreadyThereWithoutOptionThrows()
throws IOException
IOExceptionpublic void testCopyAlreadyThereOverwrite()
throws IOException
IOExceptionpublic void testCopyViaProvider()
throws IOException
IOExceptionpublic void testCopyResultHasCreationTime()
throws Exception
Exceptionpublic void testCopyAttributesCheckModifiedTime()
throws Exception
Exceptionpublic void testCopyDoesNotModifyOriginal()
throws Exception
Exceptionpublic void testModifyOriginalAfterCopyDoesNotChangeTarget()
throws Exception
Exceptionpublic void testMoveCreatesNewFileDeletesOriginal()
throws IOException
IOExceptionpublic void testMoveAlreadyThereThrows()
throws IOException
IOExceptionpublic void testFailedMoveLeavesOriginal()
throws Exception
Exceptionpublic void testMoveAlreadyThereOverwrite()
throws Exception
Exceptionpublic void testMoveAlreadyThereDirectory()
throws Exception
Exceptionpublic void testMoveAlreadyThereDirectoryOverwrite()
throws Exception
Exceptionpublic void testMoveAlreadyThereNonEmptyDirectoryOverwrite()
throws Exception
Exceptionpublic void testMoveViaProvider()
throws IOException
IOExceptionpublic void testMoveEmptyDir()
throws IOException
IOExceptionpublic void testMoveNonEmptyDir()
throws IOException
IOExceptionpublic void testMoveIntoItself()
throws IOException
IOExceptionpublic void testMoveRoot()
throws IOException
IOExceptionpublic void testMoveKeepsLastModifiedTime()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testMoveChangesModifiedTimeOfParent()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testMoveChangesModifiedTimeOfTargetsParent()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testCopyDirCreatesADirWithTheTargetName()
throws Exception
Exceptionpublic void testCopyNonEmptyDirDoesNotCopyKids()
throws Exception
Exceptionpublic void testCopyDirReplaceExistingOverwritesFile()
throws Exception
Exceptionpublic void testCopyFileReplaceExistingDoesNotOverwriteExistingNonEmptyDir()
throws Exception
Exceptionpublic void testCopyFileReplaceExistingOverwritesExistingDir()
throws Exception
Exceptionpublic void testCopyIntoItself()
throws IOException
IOExceptionpublic void testDeleteDirRemovesItFromParentsKids()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testDeleteFileRemovesItFromParentsKids()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testDeleteNonEmptyDirectoryThrows()
throws IOException
IOExceptionpublic void testDeleteEmptyDir()
throws IOException
IOExceptionpublic void testDeleteEmptiedDir()
throws IOException
IOExceptionpublic void testDeleteFileChangesParentsModificationTime()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testDeleteFileDoesNotChangeParentCreationTime()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testDeleteDirChangesParentsModificationTime()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void testDeleteNonExistingFileThrows()
throws IOException
IOExceptionpublic void testDeleteRootThrowa()
throws IOException
IOExceptionpublic void testDeleteRecreate()
throws IOException
IOExceptionpublic void testDeleteIfExistsRecreate()
throws IOException
IOExceptionpublic void testRenameSourceIsNoLongerKid()
throws IOException
IOExceptionpublic void testRenameTargetIsKid()
throws IOException
IOExceptionpublic void testMoveToFileWithNonExistingParentThrows()
throws IOException
IOExceptionprotected Path src()
protected Path srcFile()
protected Path srcDir()
protected Path tgt()
Copyright © 2015. All rights reserved.