Commit Graph

18 Commits

Author SHA1 Message Date
Tom Payne
38c0e24bcd Add Assertion#arreql
Needed because expect.js's eql does not support typed arrays.
2013-06-01 18:16:43 +02:00
Bart van den Eijnden
0f3c151058 implement review comment by @ahocevar 2013-05-27 11:04:27 +02:00
Bart van den Eijnden
d8232bb484 Fix XML serialize and xml_eql in IE9
Use the xml property instead in IE for serializing XML.
The xml_eql tests were failing in IE9 on a difference between null and an
empty string for namespaceURI of attributes, this difference is not
relevant to our testing so make sure we ignore.
2013-05-24 10:53:29 +02:00
Bart van den Eijnden
87b3a3274d Merge pull request #699 from bartvde/kmlxmleql3
Use xmleql in the KML tests (r=@ahocevar)
2013-05-10 03:14:35 -07:00
Bart van den Eijnden
c69e5c1dba Use xmleql in the KML tests
This also involves some modifications to the xmleql functionality now that
it was tested with a real-life case (KML). Also, some of the input KML files
needed to be changed since we currently cannot roundtrip 100% of the input.
2013-05-08 16:41:45 +02:00
Tom Payne
0b09148fb5 Merge pull request #697 from twpayne/fix-nan-test
Fix NaN test
2013-05-08 05:59:16 -07:00
Tom Payne
b4598aa5d9 Fix NaN test 2013-05-08 14:32:16 +02:00
Bart van den Eijnden
3fc0f2b47d Improvements for xmleql
This adds some improvements for the xmleql test assertion. When passed in a
document, use the documentElement. Also improve error reporting as suggested
by @tschaub.
2013-05-06 15:35:40 +02:00
Bart van den Eijnden
865404a0d3 Add Assertion.prototype.xmleql
This is based on the xml_eq function we had in the OL2 test framework but
adapted to expect.js.
2013-05-06 11:18:49 +02:00
Tom Payne
984121e095 Remove Assertion#equalArray 2013-04-30 18:22:16 +02:00
Tom Payne
fcc079a5f2 Extend expect.js's eql to handle NaNs 2013-04-30 18:20:34 +02:00
Tom Payne
c012afdbae Remove unused Assertion#intersect 2013-04-30 18:08:24 +02:00
Tom Payne
5169161d93 Extend equalArray to consider NaNs to be equal 2013-03-22 17:23:20 +01:00
Tom Payne
c9f43b4da7 Move equalArray into expect.js 2013-03-15 01:39:11 +01:00
Tom Payne
79c77a6369 Move intersect into expect.js 2013-03-15 01:39:11 +01:00
Tom Payne
7c7c4df3fc Move called into expect.js 2013-03-15 01:17:28 +01:00
Tom Payne
62011dab28 Move roughlyEqual into expect.js 2013-03-15 01:17:28 +01:00
Tom Payne
bddaecbe69 Make it clear that ol3's expect.js is different 2013-03-14 23:33:58 +01:00