Class TestFileSizeNotNeeded

java.lang.Object
gov.nasa.pds.label.TestFileSizeNotNeeded

public class TestFileSizeNotNeeded
extends Object
  • Constructor Details

    • TestFileSizeNotNeeded

      public TestFileSizeNotNeeded()
  • Method Details

    • testFileSizeNotNeeded

      public void testFileSizeNotNeeded() throws 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:
      Exception - if there is a problem
    • testEmptyParentPath

      public void testEmptyParentPath() throws Exception
      Tests that a relative path in the current directory does not cause a problem. The test is identical to testFileSizeNotNeeded(), but copies the label file to a temporary file in the current directory, first.
      Throws:
      Exception - if there is a problem