Package com.example.breeze_seas
Class EventMetadataUtilsTest
java.lang.Object
com.example.breeze_seas.EventMetadataUtilsTest
Unit tests for organizer-facing event date-time helper logic used by create-event and preview
editing flows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVerifies 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.voidsetUp()Pins the JVM default time zone so date-picker conversion assertions are deterministic.voidtearDown()Restores the JVM default time zone after each test.
-
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.
-