Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KItinerary
Commits
93859f27
Commit
93859f27
authored
Nov 09, 2020
by
Volker Krause
Browse files
Update train station database
parent
c8aab0f5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
autotests/knowledgedbtest.cpp
View file @
93859f27
...
...
@@ -169,6 +169,10 @@ private Q_SLOTS:
QVERIFY
(
station
.
coordinate
.
isValid
());
QCOMPARE
(
toQTimeZone
(
station
.
timezone
()),
QTimeZone
(
"Europe/Zurich"
));
QCOMPARE
(
station
.
country
,
CountryId
{
"CH"
});
station
=
KnowledgeDb
::
stationForSncfStationId
(
SncfStationId
{
"FRHWO"
});
// alias for CHGVA...
QVERIFY
(
station
.
coordinate
.
isValid
());
QCOMPARE
(
toQTimeZone
(
station
.
timezone
()),
QTimeZone
(
"Europe/Zurich"
));
QCOMPARE
(
station
.
country
,
CountryId
{
"CH"
});
station
=
KnowledgeDb
::
stationForSncfStationId
(
SncfStationId
{
"NLAMA"
});
// vs. SNCB ID of NLASC
QVERIFY
(
station
.
coordinate
.
isValid
());
...
...
src/knowledgedb/trainstationdb_data.cpp
View file @
93859f27
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment