Class TestFileSizeNotNeeded


  • public class TestFileSizeNotNeeded
    extends java.lang.Object
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestFileSizeNotNeeded

        public TestFileSizeNotNeeded()
    • 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 to testFileSizeNotNeeded(), but copies the label file to a temporary file in the current directory, first.
        Throws:
        java.lang.Exception - if there is a problem