diff --git a/das_client/test/sfera/mapper/sfera_mapper_test.dart b/das_client/test/sfera/mapper/sfera_mapper_test.dart index cb55e0cb..d6a86d1f 100644 --- a/das_client/test/sfera/mapper/sfera_mapper_test.dart +++ b/das_client/test/sfera/mapper/sfera_mapper_test.dart @@ -532,11 +532,13 @@ void main() { test('Test available break series are parsed correctly', () async { var journey = getJourney('T9999', 5); expect(journey.valid, true); - expect(journey.metadata.availableBreakSeries, hasLength(2)); + expect(journey.metadata.availableBreakSeries, hasLength(3)); expect(journey.metadata.availableBreakSeries.elementAt(0).trainSeries, TrainSeries.R); - expect(journey.metadata.availableBreakSeries.elementAt(0).breakSeries, 100); - expect(journey.metadata.availableBreakSeries.elementAt(1).trainSeries, TrainSeries.A); - expect(journey.metadata.availableBreakSeries.elementAt(1).breakSeries, 30); + expect(journey.metadata.availableBreakSeries.elementAt(0).breakSeries, 150); + expect(journey.metadata.availableBreakSeries.elementAt(1).trainSeries, TrainSeries.R); + expect(journey.metadata.availableBreakSeries.elementAt(1).breakSeries, 100); + expect(journey.metadata.availableBreakSeries.elementAt(2).trainSeries, TrainSeries.A); + expect(journey.metadata.availableBreakSeries.elementAt(2).breakSeries, 30); journey = getJourney('T5', 1); expect(journey.valid, true); diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_JP_T9999.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_JP_T9999.xml index ff2b2dd0..4021dac3 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_JP_T9999.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_JP_T9999.xml @@ -18,6 +18,9 @@ + + 1085 + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml index 1d591364..1bca6f12 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml @@ -51,6 +51,18 @@ 9991 + + + + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml index dff7066e..5a6befb3 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml @@ -45,6 +45,13 @@ 9992 + + + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml index c021cf8f..3e85ed9c 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml @@ -61,6 +61,18 @@ 9993 + + + + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml index e8f0ecf4..f334c36c 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml @@ -53,6 +53,13 @@ + + + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml index 7d2e5c6e..5645b449 100644 --- a/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml @@ -40,6 +40,13 @@ + + + @@ -48,6 +55,18 @@ 9996 + + + + diff --git a/das_client/test_resources/T9999_mixed_journey/SFERA_TC_T9999_1.xml b/das_client/test_resources/T9999_mixed_journey/SFERA_TC_T9999_1.xml new file mode 100644 index 00000000..5b0b6a71 --- /dev/null +++ b/das_client/test_resources/T9999_mixed_journey/SFERA_TC_T9999_1.xml @@ -0,0 +1,8 @@ + + + 1085 + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml index 1d591364..1bca6f12 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_1.xml @@ -51,6 +51,18 @@ 9991 + + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml index dff7066e..5a6befb3 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_2.xml @@ -45,6 +45,13 @@ 9992 + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml index c021cf8f..3e85ed9c 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_3.xml @@ -61,6 +61,18 @@ 9993 + + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml index e8f0ecf4..f334c36c 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_4.xml @@ -53,6 +53,13 @@ + + + diff --git a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml index a54abdac..292446d0 100644 --- a/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml +++ b/sfera-mock/src/main/resources/static_sfera_resources/T9999_mixed_journey/SFERA_SP_T9999_5.xml @@ -40,6 +40,13 @@ + + + @@ -48,6 +55,18 @@ 9996 + + + +