diff --git a/tests/Format/KML.html b/tests/Format/KML.html index 556e70993c..ba87637b32 100644 --- a/tests/Format/KML.html +++ b/tests/Format/KML.html @@ -259,14 +259,14 @@ function test_extractTracks(t) { - t.plan(12); + t.plan(13); var xml = new OpenLayers.Format.XML(); var doc = xml.read(document.getElementById("macnoise.kml").firstChild.nodeValue); var format = new OpenLayers.Format.KML({ extractTracks: true, - trackAttributes: ["speed"] // additional custom attributes + trackAttributes: ["speed", "num"] // additional custom attributes }); var features = format.read(doc.documentElement); @@ -289,6 +289,7 @@ // additional per point attributes (determined by trackAttributes property) t.eq(attr.speed, "166", "correct speed"); + t.eq(attr.num, "50", "correct num"); var exp = new OpenLayers.Geometry.Point(-93.0753620391713, 44.9879724110872); exp.z = 1006; @@ -525,6 +526,21 @@ 180 184 177 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 E170 @@ -590,6 +606,20 @@ 347 334 337 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 BE33 @@ -659,6 +689,21 @@ 155 155 156 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 A319 @@ -728,6 +773,21 @@ 365 350 354 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 E145 @@ -797,6 +857,21 @@ 228 232 236 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 E170 @@ -854,6 +929,18 @@ 278 283 288 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 DC95 @@ -923,6 +1010,21 @@ 368 355 362 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 B737 @@ -992,6 +1094,21 @@ 270 277 287 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150 A318 @@ -1057,6 +1174,20 @@ 215 222 231 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 @@ -1114,6 +1245,18 @@ 147 147 150 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 CRJ2 @@ -1181,6 +1324,19 @@ 136 136 123 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 E170 @@ -1250,6 +1406,21 @@ 193 194 185 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 110 + 120 + 130 + 140 + 150