Extend test
This commit is contained in:
parent
d4427ebd85
commit
a3e06d3347
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ class GpxParserIntegrationTest {
|
|||
|
||||
// Verify at least some basic data
|
||||
assertNotNull(parsedData.getActivityType(), "Activity type should be determined");
|
||||
assertEquals("Einmal Frust loswerden", parsedData.getTitle());
|
||||
assertEquals(Activity.ActivityType.RUN, parsedData.getActivityType(),
|
||||
"Activity type should be RUN (from GPX <type>running</type>)");
|
||||
assertTrue(parsedData.getTrackPoints().size() > 0, "Should have at least one track point");
|
||||
|
|
@ -379,6 +380,7 @@ class GpxParserIntegrationTest {
|
|||
// Test converting to entity structures
|
||||
Activity.ActivityType activityType = parsedData.getActivityType();
|
||||
assertNotNull(activityType, "Activity type should be extracted");
|
||||
assertEquals("Einmal Frust loswerden", parsedData.getTitle());
|
||||
assertEquals(Activity.ActivityType.RUN, activityType,
|
||||
"Activity should be detected as RUN from GPX <type>running</type>");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue