Enhance event definitions and parsing logic for new event types

Added new event definitions for "Meet the Candidates", "Chapter Officer Meeting", "Voting Delegate Meeting", and "Social Gathering". Updated the EventOccurrenceParser to handle these new event types and modified related services and views to accommodate the changes. Improved test coverage for the new event definitions and ensured proper parsing and display in the calendar components.
This commit is contained in:
2025-12-27 19:32:54 -05:00
parent cd34be1f82
commit c462ed4561
10 changed files with 198 additions and 41 deletions
+8 -2
View File
@@ -16,12 +16,18 @@ public static class TestEntityHandler
return eventRankingsParser.Parse();
}
public static FileInfo GetEventOccurrenceFileInfo()
public static FileInfo GetEventOccurrenceNationalsFileInfo()
{
return FileUtility.GetContentFile(ContentDirectory, "2025 TSA Nationals Competition Event Times.txt");
}
public static Student[] GetStudents(IList<EventDefinition> events)
public static FileInfo GetEventOccurrenceStateFileInfo()
{
return FileUtility.GetContentFile(ContentDirectory, "2025 TN TSA State Competition Event Times.txt");
}
public static Student[] GetStudents(IList<EventDefinition> events)
{
//var studentEventRankingsCsv = "Student Event Rankings.csv";
var studentEventRankingsCsv = "2024 Student Event Rankings.csv";