Chris Adams
2a3044e0cf
Tests: verify invalid string log messages
2013-07-02 15:20:17 -04:00
Chris Adams
7131c7a7da
Tests: check for AJAX error log message
2013-07-02 15:19:55 -04:00
Chris Adams
5a300998a8
Tests: console log capture utility
2013-07-02 15:12:16 -04:00
Chris Adams
d782da411e
Tests: code cleanup
2013-07-02 13:56:55 -04:00
Chris Adams
59a254bea6
Tests: add open failure tests, overhaul test framework
...
* Add tests for open failures
* Refactor tests to avoid tests depending on implied status from
previous tests:
1. The viewer is now created and destroyed for each
test to avoid pollution and simplify error handling: nothing
starts until you request it.
2. Some tests like Basic: Homepage depended on the Zoom & Pan tests;
now this is handled explicitly as part of the test setup
3. All basic tests are now properly async tests (since they needed
the viewer to load, they really were in the past except that
they were relying on the viewer state left behind from previous
tests)
* All tests now run inside the qunit-fixture to prevent masking
failures. Util.resetDom() has been refactored to use the
qunit-fixture and the teardown logic only used in the navigator
tests has been moved into the navigator test teardown method
* Fixed undeclared mainViewerElement variable in optional path in
the navigator tests
* JSHint cleanup
2013-07-01 18:26:44 -04:00
Chris Adams
7048cda69e
Tests: getString with placeholder expansion
2013-07-01 16:55:39 -04:00
Chris Adams
d447bd5612
Remove detritus left behind from error handler testing
2013-07-01 12:55:58 -04:00
Chris Adams
630bccad3d
Basic demo: set HTML5 doctype
...
This keeps IE8 out of quirks mode, which breaks things like
getWindowSize…
2013-06-28 15:44:38 -04:00
Chris Adams
c850121e9b
Tests: avoid leaking into global scope
...
This means that this will pass without error:
http://127.0.0.1:8000/test/test.html?noglobals=true
2013-06-26 16:54:37 -04:00
Ian Gilman
8e88f36098
Merge branch 'master' into raf
...
Fixed Conflicts:
src/viewer.js
2013-06-19 11:19:54 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Ian Gilman
b38e319f2c
Testing closing one image and opening another in navigator suite
2013-06-18 11:09:05 -07:00
Ian Gilman
9a28793e64
Testing source and timer management in basic test
2013-06-18 11:08:33 -07:00
Ian Gilman
862b560cb4
Basic test no longer uses navigator since we have a suite for that
2013-06-18 11:08:16 -07:00
iangilman
f412d07237
Merge pull request #121 from houseofyin/issue37-navigator
...
Issue37 navigator / Issue101 navigator follow-up / Issue102 navigator default
2013-06-13 09:39:27 -07:00
houseofyin
1833f85232
Implemented fix for a test failure that shows up on Firefox in some situtions
2013-06-12 15:06:17 -04:00
houseofyin
af1f1b64af
Removing the navigator demo files now that we have reasonable tests and examples for the navigator
2013-06-11 14:36:39 -04:00
Ian Gilman
29f3d80249
Making the basic demo a little more useful for debugging
2013-06-10 17:23:09 -07:00
houseofyin
9edd6ec131
Updated to turn on the navigator, since the navigator is no longer on my default
2013-06-08 12:03:51 -04:00
houseofyin
867e6de85a
Fixed a test that would fail if not scrolled to the top. Improved test speed. Changed some variables to better echo corresponding variables in the application code
2013-06-07 10:25:26 -04:00
houseofyin
aca25d1979
Speeding up the tets
2013-06-01 16:08:23 -04:00
Ian Gilman
1c60f90ee5
Tests for requestAnimationFrame and cancelAnimationFrame
2013-05-23 09:48:53 -07:00
Ian Gilman
673f881d52
Minor fixes to basic demo
2013-05-21 11:06:03 -07:00
Ian Gilman
e4993700af
Added test for makeAjaxRequest
2013-05-21 10:39:23 -07:00
Ian Gilman
7fc55d8a1f
Added a demo of the basic default viewer
2013-05-20 10:44:36 -07:00
iangilman
da86ca2e38
Merge pull request #46 from houseofyin/issue37-navigator
...
Issue37 navigator
2013-05-20 09:38:49 -07:00
houseofyin
bb4a8a0b4f
Bringing back in sync with the latest baseline
2013-05-17 22:29:08 -04:00
Benjamin Gilbert
771b5443da
test: Drop workaround for broken Drawer event emission
2013-05-17 01:26:21 -04:00
Ian Gilman
160da513cc
Merge branch 'fullpage-class' of github.com:bgilbert/openseadragon into bgilbert-fullpage-class
...
Fixed Conflicts:
test/test.html
2013-05-14 09:08:04 -07:00
Benjamin Gilbert
fd04647b1b
Test addition/removal of fullpage class on viewer element
2013-05-13 22:35:27 -04:00
Benjamin Gilbert
31d4cc13b7
Add tests for addClass/removeClass
2013-05-13 22:24:04 -04:00
Benjamin Gilbert
f235d7a642
Rename test/util.js to test/test.js
...
since we are about to create a module for testing utility functions.
2013-05-13 21:54:41 -04:00
Ian Gilman
ed87ceb23f
Sped up animation for basic test
2013-05-13 10:57:16 -07:00
Ian Gilman
9001fe9a5e
Generalized format test and added DZI XML
2013-05-13 10:50:43 -07:00
Ian Gilman
199c2f6c2d
Merge branch 'master' of github.com:openseadragon/openseadragon
...
Fixed Conflicts:
test/test.html
2013-05-10 11:59:09 -07:00
Ian Gilman
b95d6540a1
Generalized test timeout code
2013-05-10 11:53:49 -07:00
Ian Gilman
457f908c06
DZI-JSONp test now works; enabled
2013-05-10 11:32:43 -07:00
Heath Nielson
eb14eae428
Merge remote branch 'upstream/master' into getString-error
...
Conflicts:
test/test.html
2013-05-10 11:54:45 -06:00
Ian Gilman
05c25fddcf
Getting started on a DZI-JSONp test; currently disabled
2013-05-09 11:03:31 -07:00
Ian Gilman
4f13328609
Minor cleanups on basic test
2013-05-09 11:02:51 -07:00
Heath Nielson
e98fb410ee
Add some get/setString tests.
2013-04-26 15:19:23 -06:00
houseofyin
37cc433fc4
Adding blank line at the end of the file to make github happy
2013-04-08 20:59:16 -04:00
houseofyin
58107941bc
Removing obsolete file
2013-04-08 20:56:31 -04:00
houseofyin
e69033ee74
Removed some extraneous whitespace
2013-04-05 22:29:18 -04:00
houseofyin
cb5b844a74
Cleaned up and moved the demos
2013-04-05 22:28:03 -04:00
houseofyin
bbf0fc4302
Updated to address feedbac from @iangilman
2013-04-04 22:30:59 -04:00
houseofyin
df3344f67c
Getting into alignment with code style guidelines
2013-04-03 11:51:24 -04:00
houseofyin
b3d358fa35
First pass at bringing the code in compliance with the project code standards
2013-04-02 21:07:10 -04:00
houseofyin
d34a912a13
Added autohide tests
2013-04-02 16:40:52 -04:00
houseofyin
50a9cecd35
Refactored to replace parallel arrays with an object
2013-04-02 14:09:49 -04:00
houseofyin
6b97ab4424
Refactored to remove duplicated code
2013-04-02 13:49:15 -04:00
houseofyin
858487f8c6
Tests now go to all corners
2013-04-02 10:44:42 -04:00
houseofyin
f3d880df4c
Fixed a few minor errors in the test code
2013-04-01 23:30:05 -04:00
houseofyin
5bf4b51925
Checkpoint. Anchoring click to middle of view. Adding call to apply to constraints on viewer after the click, and additional testing
2013-04-01 22:33:58 -04:00
houseofyin
b1809d4c49
Checkpoint. Some more cleanup and simplification. Starting to convert nav click to pixel-based. Starting to get props to target that
2013-03-31 11:10:31 -04:00
houseofyin
591b5b380d
Checkpoint. Some more cleanup and simplification
2013-03-31 11:00:45 -04:00
houseofyin
19225b77f6
Checkpoint. Some more cleanup and simplification
2013-03-31 10:53:33 -04:00
houseofyin
05cad2046f
Checkpoint. Some more cleanup and simplification
2013-03-31 10:42:35 -04:00
houseofyin
1e8acf5466
Checkpoint. Some more cleanup. Adjusted to work under PhantomJS
2013-03-30 23:27:33 -04:00
houseofyin
6d73456c66
Checkpoint. Simplified the viewer wait some more
2013-03-30 22:15:02 -04:00
houseofyin
6a4a53acb6
Checkpoint. Converted to pixel-based assessment, First crack at triggering events on the navigator.
2013-03-30 21:53:22 -04:00
houseofyin
20f27080bb
Another test checkpoint
2013-03-25 12:18:55 -04:00
houseofyin
977ce2d959
Making a snapshot before removing the SD coordinate based assertions in favor of the pixel-based assertions
2013-03-25 11:01:31 -04:00
houseofyin
8db1a15282
A little cleanup of the border issue
2013-03-23 23:06:34 -04:00
houseofyin
450760d3b7
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
...
Conflicts:
test/test.html
2013-03-23 21:44:22 -04:00
houseofyin
00985c8872
Adding some wide and tall cases the demo page
2013-03-23 21:10:23 -04:00
houseofyin
e109b219f3
Adding wide and tall viewers
2013-03-23 21:08:21 -04:00
houseofyin
109956b5dd
Adding wide and tall viewers
2013-03-23 21:07:17 -04:00
houseofyin
81fd8114f6
Added tall and wide test cases, improved synchronization and test refactoring
2013-03-23 21:06:38 -04:00
Ian Gilman
b1758040a0
Added "home" and "click" tests
2013-03-21 13:44:22 -07:00
houseofyin
c92c9cd325
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
2013-03-21 13:56:51 -04:00
houseofyin
9529de5e55
Changed to point to the new test files
2013-03-21 13:56:37 -04:00
houseofyin
67210da278
Snapshot of navigators tests in development
2013-03-21 13:55:36 -04:00
houseofyin
12e1ad1576
Adding JQuery UI library to support some test scenarios
2013-03-21 13:53:53 -04:00
Ian Gilman
65bb177fb8
Added tall and wide test DZIs
2013-03-21 10:25:03 -07:00
houseofyin
7187bca4e7
Merge branch 'master' of github.com:openseadragon/openseadragon into issue37-navigator
2013-03-18 14:38:10 -04:00
houseofyin
24c82e39b8
Adding some demo pages for the nav changes
2013-03-16 21:05:02 -04:00
houseofyin
3b2bde2940
Initial pass at making the navigator float
2013-03-15 10:59:47 -04:00
Ian Gilman
7f98c3cfa7
Renamed test js file so we can have more than one
2013-03-07 11:53:46 -08:00
Ian Gilman
025d6cdcd3
Added more tests
2013-03-07 11:52:01 -08:00
Ian Gilman
9401b5d393
First version of real tests
2013-03-07 10:44:08 -08:00
thatcher
6285a779f3
cleaning up event names, reducing demo cases to just addHandler interface, normalizing event data to express more idiomatic javascript pattern of passing object instead of invoking callback with positional parameters
2013-03-06 17:34:12 -05:00
houseofyin
a432a38d3d
23 Initial attempt a this feature along with a demo page
2013-03-04 15:19:35 -05:00
Ian Gilman
8074b338d1
Fixed compress and moved build to build/openseadragon
...
The zip and tar now go into build next to build/openseadragon
2013-02-21 11:56:16 -08:00
Ian Gilman
98e8289c9b
Test now works again
2013-02-21 11:17:05 -08:00
Ian Gilman
607a4af860
First version of test files
2013-02-14 10:21:07 -08:00