Package gov.nasa.pds.label
Class TestFileSizeNotNeeded
java.lang.Object
gov.nasa.pds.label.TestFileSizeNotNeeded
public class TestFileSizeNotNeeded extends Object
-
Constructor Summary
Constructors Constructor Description TestFileSizeNotNeeded() -
Method Summary
Modifier and Type Method Description voidtestEmptyParentPath()Tests that a relative path in the current directory does not cause a problem.voidtestFileSizeNotNeeded()Tests that the file_size attribute is not needed in a label to recognize tables declared in the label.
-
Constructor Details
-
TestFileSizeNotNeeded
public TestFileSizeNotNeeded()
-
-
Method Details
-
testFileSizeNotNeeded
Tests that the file_size attribute is not needed in a label to recognize tables declared in the label. This tests issue PDS-340 (https://oodt.jpl.nasa.gov/jira/browse/PDS-340?filter=11220).- Throws:
Exception- if there is a problem
-
testEmptyParentPath
Tests that a relative path in the current directory does not cause a problem. The test is identical totestFileSizeNotNeeded(), but copies the label file to a temporary file in the current directory, first.- Throws:
Exception- if there is a problem
-