Microformats test suite

hCalendar 9 - geo comprehensive data format test

This page was design to comprehensively test the geo format. Most of these tests are based on Mike Kaply work for the Firefox.

From: hCalendar test suite 1.0

Author: Glenn Jones

Tests:

Test Result Comment
vevent[0].geo.latitude IsEqualTo("0") Should find latitude value from single element
vevent[1].geo.latitude IsEqualTo("0") Should find latitude value from single element
vevent[2].geo.latitude IsEqualTo("0") Should find latitude value from single element
vevent[3].geo.latitude IsEqualTo("23.7") Should find latitude value from single element
vevent[4].geo.latitude IsEqualTo("0") Should find latitude value from single element
vevent[5].geo HasProperty(false) Is an illegal data format for geo
vevent[6].geo HasProperty(false) Is an illegal data format for geo
vevent[7].geo HasProperty(false) Is an illegal data format for geo
vevent[8].geo HasProperty(false) Is an illegal data format for geo
vevent[9].geo HasProperty(false) Is an illegal data format for geo
vevent[10].geo HasProperty(false) Is an illegal data format for geo
vevent[11].geo HasProperty(false) Is an illegal data format for geo
vevent[12].geo HasProperty(false) Is an illegal data format for geo
vevent[13].geo HasProperty(false) Is an illegal data format for geo

History:

Legal geo

Web Standards meet up
Starts: 1 June
1.example.com
0, 0
Web Standards meet up
Starts: 1 June
2.example.com
0.0, 0.0
Web Standards meet up
Starts: 1 June
3.example.com
0., 0.
Web Standards meet up
Starts: 1 June
4.example.com
Dhaka, Bangladesh
Web Standards meet up
Starts: 1 June
5.example.com
0;0

Illegal geo

Web Standards meet up
Starts: 1 June
6.example.com
abc, def
Web Standards meet up
Starts: 1 June
7.example.com
12.s2, 1d.23
Web Standards meet up
Starts: 1 June
8.example.com
999.99,999
Web Standards meet up
Starts: 1 June
9.example.com
-181, -361
Web Standards meet up
Starts: 1 June
10.example.com
abc;def
Web Standards meet up
Starts: 1 June
11.example.com
12.s2;1d.23
Web Standards meet up
Starts: 1 June
12.example.com
999.99;999
Web Standards meet up
Starts: 1 June
13.example.com
-181;-361
Web Standards meet up
Starts: 1 June
14.example.com
-18;;-31

Some rights reserved