public abstract class Tests01NoContent extends Tests00Setup
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Stephan Pfab BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. **** END LICENSE BLOCK ****
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
name |
annotated, description, FS, testMethodName| Constructor and Description |
|---|
Tests01NoContent(FSDescription capa) |
getCommon, setupprotected String[] name
public Tests01NoContent(FSDescription capa)
public void testGetNameSimple()
public void testRootHasNoName()
public void testGetNameWithNegativeIndex()
public void testGetNameWithTooLargeIndex()
public void testGetNameOfDefaultPathIsItself()
public void testResultOfGetNameIsRelative()
public void testNameDoesNotIncludeSeparator()
throws Exception
Exceptionpublic void testGetNameCountSimple()
public void testGetNameIsIdempontent()
public void testRootNameCountIs0()
public void testDefaultHasNameCount1()
public void testEndsWithSimple()
public void testEndsWithStringSimple()
public void testStartsWithSimple()
public void testAbsolutePathDoesNotStartsWithARelativePath()
public void testAbsolutePathDoesStartsWithAnAbsolutePath()
public void testAbsolutePathDoesStartsWithRoot()
public void testNoNonEmptyPathStartsWithDefault()
public void testStartsWithStringSimple()
public void testSubPathEndBeforeStart()
throws Exception
Exceptionpublic void testFileNameHasNameCountOf1()
public void testGetFileNameIsIdempotent()
throws Exception
Exceptionpublic void testFileNameStringIsPathPartString()
public void testDefaultHasANameAndItsItself()
throws Exception
Exceptionpublic void testResolveOfNameStrEndsWithThatName()
public void testResolveOfARelativePathIsRelative()
throws Exception
Exceptionpublic void testResolveOfAbsoluteIsAbsolute()
throws Exception
Exceptionpublic void testResolveWithDefaultIsNop()
public void testResolveWithNameIsSameAsStr()
throws Exception
Exceptionpublic void testResolveWorksLikeGetPathOnStringsWithSeparator()
throws Exception
Exceptionpublic void testResolveWithStringWithSeparatorsSameAsWithPath()
throws Exception
Exceptionpublic void testResolveWithAbsoluteArgReturnArg()
throws Exception
Exceptionpublic void testResolveSiblingIsGetParentResolve()
throws Exception
Exceptionpublic void testResolveSiblingWithAbsoluteArgIsThatArg()
throws Exception
Exceptionpublic void testResolveSiblingOnRootReturnsArg()
throws Exception
Exceptionpublic void testResolveSiblingOnDefaultReturnsArg()
throws Exception
Exceptionpublic void testResolveSiblingOnNameReturnsArg()
throws Exception
Exceptionpublic void testResolveSiblingWorksWithStringAndPath()
throws Exception
Exceptionpublic void testGetPathIgnoresEmptyStringAsFirstParameter()
throws Exception
Exceptionpublic void testGetPathIgnoresEmptyStringInAnyParameter()
throws Exception
Exceptionpublic void testGetPathWithSeveralNamesIsSameAsWithOneStringWithSeparators()
throws Exception
Exceptionpublic void testpathAllowsMixedArguments()
throws Exception
Exceptionpublic void testpathAndToStringAreOpposites()
throws Exception
Exceptionpublic void testGetPathNotStartingWithRootStringIsRelative()
throws Exception
Exceptionpublic void testRelativize()
public void testRelativizeAbsolute()
public void testRelativizeFromDefaultAbsoluteIsInverseOfToAbsoluteNormalize()
public void testUnnormalizedBasedOnFile()
public void testRelativizeAbsToRel()
public void testRelativizeRelToAbs()
public void testRelativizePathWithOtherRootFails()
public void testGetParent()
public void testGetParentOfRootIsNull()
throws Exception
Exceptionpublic void testGetParentOfNameIsNull()
throws Exception
Exceptionpublic void testGetParentOfDefaultIsNull()
throws Exception
Exceptionpublic void testGetParentOfLongerRelativeNameIsNotNull()
throws Exception
Exceptionpublic void testGetParentIsInverseOfResolve()
throws Exception
Exceptionpublic void testGetParentOfRelativeIsRelative()
throws Exception
Exceptionpublic void testgetParentOfAbsoluteIsAbsolute()
throws Exception
Exceptionpublic void testNormalizeWildAbsPaths()
public void testNormalizeWildRelPaths()
public void testNormalize1Dot()
public void testNormalize2Dots()
public void testNormalizeIsIdempotent()
throws Exception
Exceptionpublic void testNormlizeParentOfRoot()
public void testNormalizeRelativePath()
public void testNormalizeRelativePathEmptyHm()
public void testPathIterator()
public void testRootOfRelativeIsNull()
public void testRootIsOneOfTheRoots()
public void testRootOfAbsolutePathIsAbsolute()
throws Exception
Exceptionpublic void testdefaultRootIsIdempotent()
throws Exception
Exceptionpublic void testToAbsoluteProducesAnAbsolutePath()
throws Exception
Exceptionpublic void testToAbsoluteIsIdempotent()
throws Exception
Exceptionpublic void testRelativePathToStringDoesNotStartWithSeparator()
throws Exception
Exceptionpublic void testPathWith2NamesHasSeparatorInToString()
throws Exception
Exceptionpublic void testPathsWithSamePathElementsButDifferentProviderAreDifferent()
throws Exception
Exceptionpublic void testToFileOnNonDefaultFSThrows()
throws Exception
Exceptionpublic void testPathMatcherKnowsGlob()
public void testPathMatcherKnowsRegex()
public void testPathMatcherThrowsOnUnknownSyntax()
public void testCompareToDifferentProviderThrows()
throws Exception
Exceptionpublic void testCompareToOfEqualPathsIs0()
throws Exception
Exceptionpublic void testCompareToShortPathIsPositive()
throws Exception
Exceptionpublic void testCompareToLongetPathIsNegative()
throws Exception
Exceptionpublic void testPathIsImmutableToToAbsolute()
throws Exception
Exceptionpublic void testPathIsImmutableToNormalize()
throws Exception
Exceptionpublic void testNonExistingAbsolutePathIsNotAFile()
throws IOException
IOExceptionpublic void testNonExistingRelativePathIsNotAFile()
throws IOException
IOExceptionpublic void testSeparatorIsNoFileName()
public void testResolveNull()
throws IOException
IOExceptionpublic void testNullPath()
public Path pathDefault()
public Path defaultRoot()
public Path relA()
public Path relB()
public Path relC()
public Path relD()
public Path relAB()
public Path relBC()
public Path relABC()
public String nameA()
public String nameB()
public String nameC()
public String nameD()
public String nameE()
public Path absAB()
public Path absABC()
public Path absD()
Copyright © 2015. All rights reserved.