Package com.example.breeze_seas
Class OrganizeEventAdapterBindingTest
java.lang.Object
com.example.breeze_seas.OrganizeEventAdapterBindingTest
Instrumentation tests for organizer event-card binding on the first Organize page.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVerifies that tapping an organizer event card dispatches the exact bound event to the click listener so the preview flow opens the correct event.voidVerifies that organizer events missing registration dates still bind a safe "Not set" fallback into the Organize event card instead of showing broken or empty date text.voidVerifies that a private organizer event binds the private type label, finite waiting-list capacity, and explicit description text into the Organize event card.voidVerifies that a public organizer event with blank details binds the expected summary values into the Organize event card, including the public/private label, registration window, unlimited waiting-list copy, description fallback, and preview action text.
-
Constructor Details
-
OrganizeEventAdapterBindingTest
public OrganizeEventAdapterBindingTest()
-
-
Method Details
-
onBindViewHolder_publicEventBindsOrganizerSummaryFields
public void onBindViewHolder_publicEventBindsOrganizerSummaryFields()Verifies that a public organizer event with blank details binds the expected summary values into the Organize event card, including the public/private label, registration window, unlimited waiting-list copy, description fallback, and preview action text. -
onBindViewHolder_privateEventBindsPrivateSummaryFields
public void onBindViewHolder_privateEventBindsPrivateSummaryFields()Verifies that a private organizer event binds the private type label, finite waiting-list capacity, and explicit description text into the Organize event card. -
onBindViewHolder_missingRegistrationDatesShowsNotSetFallback
public void onBindViewHolder_missingRegistrationDatesShowsNotSetFallback()Verifies that organizer events missing registration dates still bind a safe "Not set" fallback into the Organize event card instead of showing broken or empty date text. -
onBindViewHolder_clickDispatchesBoundEvent
public void onBindViewHolder_clickDispatchesBoundEvent()Verifies that tapping an organizer event card dispatches the exact bound event to the click listener so the preview flow opens the correct event.
-