Edward Nash
ed18310136
Improve test in case of async call
2019-10-22 10:21:52 +02:00
Edward Nash
ee653a8e0d
Add regression test for event target on Control
...
* Check possible name collision of target element with EventTarget
2019-10-22 09:37:05 +02:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Tim Schaub
681f1285f8
Rename _ol_control_Control_ to Control
2017-12-14 12:57:49 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
32c26c2524
More consistent clean up
2017-08-16 13:35:31 -04:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Frederic Junod
25f5776d8e
Remove use of goog.dom.getParentElement
2016-02-15 17:13:04 +01:00
Frederic Junod
296ec9799f
Remove use of goog.dom.createDom
2016-02-15 16:40:07 +01:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Bart van den Eijnden
2fc884a3d9
simplify the assignment of this.target_
2014-01-27 15:22:25 +01:00
Bart van den Eijnden
e6c4fd973a
allow target to be specified as a string for controls, update the documentation to make more clear what element and target are for
2014-01-27 15:22:25 +01:00
Tom Payne
c2e1623529
Fix use of dispose in ol.control tests
2013-04-22 17:16:22 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tim Schaub
27ccd13e48
Create test specific markup in tests
...
Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
2013-03-18 22:53:04 -06:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Éric Lemoine
b6ed5f2164
Use namespaces for tests
...
With this commit test files provide namespaces (using goog.provide). This fixes the issue reported by @bartvde where goog objects cannot be used in Jasmine "describe" functions. It also frees us from having to add script tags for the test files in test/ol.html.
2013-01-31 10:18:21 +01:00
Éric Lemoine
f49f370857
Make linter happy
2012-10-11 18:09:18 +02:00
Éric Lemoine
2a76a23b6f
Add tests for ol.control.Control
2012-10-11 17:46:47 +02:00