File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,14 +6,10 @@ Feature: Parse <Document>
66 Scenario :
77 Given a KML document with a Document in "tests/kml/document.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one Document
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \C ontainer \ D ocument'
1010 And the Document should contain the following properties:
1111 | property | value |
12- | id | document1 |
13- | targetId | target1 |
14- | name | My office |
15- | visibility | 1 |
16- | address | Blackfriards 240 |
17- | phoneNumber | tel :+44 7890123456789 |
18- | snippet | Office location |
19- | styleUrl | #myIconStyle |
12+ | id | document -1 |
13+ | targetId | target -1 |
14+ | name | Document with XML id |
15+ | open | true |
Original file line number Diff line number Diff line change @@ -6,14 +6,10 @@ Feature: Parse <Folder>
66 Scenario :
77 Given a KML document with a Folder in "tests/kml/folder.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one Folder
10- And the Folder will have the following properties:
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \C ontainer \ F older'
10+ And the Folder should contain the following properties:
1111 | property | value |
12- | id | folder1 |
13- | targetId | target1 |
14- | name | My office |
15- | visibility | 1 |
16- | address | Blackfriards 240 |
17- | phoneNumber | tel :+44 7890123456789 |
18- | snippet | Office location |
19- | styleUrl | #myIconStyle |
12+ | id | folder -1 |
13+ | targetId | target -1 |
14+ | name | Document with XML id |
15+ | open | true |
Original file line number Diff line number Diff line change @@ -6,14 +6,8 @@ Feature: Parse <GroundOverlay>
66 Scenario :
77 Given a KML document with a GroundOverlay in "tests/kml/ground-overlay.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one GroundOverlay
10- And the GroundOverlay will have the following properties:
11- | property | value |
12- | id | groundOverlay1 |
13- | targetId | target1 |
14- | name | My office |
15- | visibility | 1 |
16- | address | Blackfriards 240 |
17- | phoneNumber | tel :+44 7890123456789 |
18- | snippet | Office location |
19- | styleUrl | #myIconStyle |
9+ Then I should get a KmlDocument object containing one 'LibKml\D omain\F eature\O verlay\G roundOverlay'
10+ And the GroundOverlay should contain the following properties:
11+ | property | value |
12+ | name | Large -scale overlay on terrain |
13+ | visibility | true |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Feature: Parse <NetworkLink>
66 Scenario :
77 Given a KML document with a NetworkLink in "tests/kml/network-link.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one NetworkLink
10- And the NetworkLink should have the following properties:
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \O verlay \ N etworkLink'
10+ And the NetworkLink should contain the following properties:
1111 | property | value |
1212 | id | networkLink1 |
1313 | targetId | target1 |
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ Feature: Parse <NetworkLinkControl>
44 I need <NetworkLinkControl> tag to be parsed as a NetworkLinkControl object
55
66 Scenario :
7- Given a KML document with a NetworkLinkControl in "tests/kml/network-link.kml"
7+ Given a KML document with a NetworkLinkControl in "tests/kml/network-link-control .kml"
88 When I parse the KML document
99 Then I should get a KmlDocument object containing one NetworkLinkControl
10- And the NetworkLinkControl should have the following properties:
10+ And the NetworkLinkControl should contain the following properties:
1111 | property | value |
1212 | minRefreshPeriod | 60 |
1313 | maxSessionLength | 3600 |
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Feature: Parse <PhotoOverlay>
66 Scenario :
77 Given a KML document with a PhotoOverlay in "tests/kml/photo-overlay.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one PhotoOverlay
10- And the Placemark should have the following properties:
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \O verlay \ P hotoOverlay'
10+ And the Placemark should contain the following properties:
1111 | property | value |
1212 | id | photoOverlay1 |
1313 | targetId | target1 |
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Feature: Parse <Placemark>
66 Scenario :
77 Given a KML document with a Placemark in "tests/kml/placemark.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one Placemark
10- And the Placemark should have the following properties:
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \ P lacemark'
10+ And the Placemark should contain the following properties:
1111 | property | value |
1212 | id | placemark1 |
1313 | targetId | target1 |
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Feature: Parse <ScreenOverlay>
66 Scenario :
77 Given a KML document with a ScreenOverlay in "tests/kml/screen-overlay.kml"
88 When I parse the KML document
9- Then I should get a KmlDocument object containing one ScreenOverlay
10- And the ScreenOverlay should have the following properties:
9+ Then I should get a KmlDocument object containing one 'LibKml \D omain \F eature \O verlay \ S creenOverlay'
10+ And the ScreenOverlay should contain the following properties:
1111 | property | value |
1212 | id | screenOverlay1 |
1313 | targetId | target1 |
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<kml xmlns =" http://www.opengis.net/kml/2.2" >
3- <Document id =" hasId " >
3+ <Document id =" document-1 " targetId = " target-1 " >
44 <name >Document with XML id</name >
55 <open >1</open >
66 <Folder >
You can’t perform that action at this time.
0 commit comments