Class EventMetadataUtilsTest

java.lang.Object
com.example.breeze_seas.EventMetadataUtilsTest

public class EventMetadataUtilsTest extends Object
Unit tests for organizer-facing event date-time helper logic used by create-event and preview editing flows.
  • Constructor Details

    • EventMetadataUtilsTest

      public EventMetadataUtilsTest()
  • Method Details

    • setUp

      public void setUp()
      Pins the JVM default time zone so date-picker conversion assertions are deterministic.
    • tearDown

      public void tearDown()
      Restores the JVM default time zone after each test.
    • datePickerRoundTrip_preservesOriginalLocalDateTime

      public void datePickerRoundTrip_preservesOriginalLocalDateTime()
      Verifies that the organizer date-picker round trip preserves the originally chosen local calendar day and time instead of shifting the event to a different day.