Package gov.nasa.pds.label
Class TestFileSizeNotNeeded
- java.lang.Object
-
- gov.nasa.pds.label.TestFileSizeNotNeeded
-
public class TestFileSizeNotNeeded extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TestFileSizeNotNeeded()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEmptyParentPath()
Tests that a relative path in the current directory does not cause a problem.void
testFileSizeNotNeeded()
Tests that the file_size attribute is not needed in a label to recognize tables declared in the label.
-
-
-
Method Detail
-
testFileSizeNotNeeded
public void testFileSizeNotNeeded() throws java.lang.Exception
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:
java.lang.Exception
- if there is a problem
-
testEmptyParentPath
public void testEmptyParentPath() throws java.lang.Exception
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:
java.lang.Exception
- if there is a problem
-
-