Class OptionsUtilsTest

java.lang.Object
ubic.gemma.cli.util.OptionsUtilsTest

public class OptionsUtilsTest extends Object
  • Constructor Details

    • OptionsUtilsTest

      public OptionsUtilsTest()
  • Method Details

    • setTimeZoneToAmericaVancouver

      @BeforeAll public static void setTimeZoneToAmericaVancouver()
    • resetTimeZone

      @AfterAll public static void resetTimeZone()
    • testParseFuzzyDate

      @Test public void testParseFuzzyDate() throws ParseException
      Throws:
      ParseException
    • testParseIso8601Date

      @Test public void testParseIso8601Date() throws ParseException
      Throws:
      ParseException
    • testParseRelativeDate

      @Test public void testParseRelativeDate() throws ParseException
      The relative form the -mdate help text gives as its example. The ISO 8601 yyyy format parses a leading prefix, so it must not get the first try at these.
      Throws:
      ParseException
    • testParseWords

      @Test public void testParseWords() throws ParseException
      Throws:
      ParseException
    • testAutoOption

      @Test public void testAutoOption() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException