Class TestNum

java.lang.Object
com.sun.ts.tests.el.common.util.TestNum

public final class TestNum extends Object
Used to store lists that will be utilized across the board for a common point of reference when testing.
  • Field Details

    • DATE_REFERENCE_BEFORE

      public static final Instant DATE_REFERENCE_BEFORE
    • DATE_REFERENCE

      public static final Instant DATE_REFERENCE
    • DATE_REFERENCE_AFTER

      public static final Instant DATE_REFERENCE_AFTER
  • Method Details

    • getFloatList

      public static ArrayList<Float> getFloatList()
      Used for a common list of Float values when testing.
      Returns:
      - A set list of common Floats that we use as test values.
    • getNumberList

      public static ArrayList<Object> getNumberList()
      Used a common reference point for Number types and a common value is assigned (1).
      Returns:
      - A common List of Number types with a constant value.
    • getDateTimeList

      public static ArrayList<Object> getDateTimeList()
      Used to provide a list of date and times using different implementations that all refer to 2025-04-03 02:01 UTC.