AltLUG Git
Git-repositories of Altai Linux User Group
Niall Smart [Tue, 20 Dec 2011 07:13:27 +0000 (23:13 -0800)]
In autorun mode, moduleDone is called without matching moduleStart. Fix issue #184
Jörn Zaefferer [Wed, 15 Feb 2012 13:52:42 +0000 (14:52 +0100)]
Fixture test: allow anything falsy in test as getAttribute in oldIE will return empty string instead of null. We don't really care.
Krinkle [Wed, 28 Dec 2011 20:27:52 +0000 (21:27 +0100)]
Keep label and checkbox together ( i.imgur.com/5Wk3A.png )
Jörn Zaefferer [Wed, 15 Feb 2012 13:44:38 +0000 (14:44 +0100)]
Add readme for themes
Jörn Zaefferer [Wed, 15 Feb 2012 13:40:32 +0000 (14:40 +0100)]
Fix bad global in reset()
Jörn Zaefferer [Wed, 15 Feb 2012 13:39:51 +0000 (14:39 +0100)]
Some cleanup in theme addons
Jörn Zaefferer [Wed, 15 Feb 2012 13:36:41 +0000 (14:36 +0100)]
Update headers
Jörn Zaefferer [Wed, 15 Feb 2012 13:34:30 +0000 (14:34 +0100)]
Update nv.html, add gabe theme based on https://github.com/jquery/qunit/pull/188
Jörn Zaefferer [Fri, 5 Aug 2011 10:14:50 +0000 (12:14 +0200)]
Experiemental custom theme based on https://github.com/jquery/qunit/pull/62 by NV
Jörn Zaefferer [Tue, 14 Feb 2012 17:59:08 +0000 (18:59 +0100)]
Replace deprecated same and equals aliases with placeholders that just throw errors, providing a hint at what to use instead. Rename test file to match that.
Jörn Zaefferer [Tue, 14 Feb 2012 17:51:49 +0000 (18:51 +0100)]
Can't rely on outerHTML for Firefox < 11. Use cloneNode instead.
Jörn Zaefferer [Tue, 14 Feb 2012 17:22:51 +0000 (18:22 +0100)]
Merge remote branch 'conzett/master'
Jörn Zaefferer [Tue, 14 Feb 2012 16:33:36 +0000 (17:33 +0100)]
Cleanup whitespace
Jörn Zaefferer [Tue, 14 Feb 2012 16:24:42 +0000 (17:24 +0100)]
Update sessionStorage support test to latest version from Modernizr, trying to setItem to avoid QUOTA_EXCEEDED_EXCEPTION
Graham Conzett [Wed, 1 Feb 2012 16:34:37 +0000 (11:34 -0500)]
Change fixture reset behavior
On load, set clone qunit-fixture element and set config.fixture equal to
that. Change the reset function to replace the entire qunit-fixture
element with a deep copy of the clone. Essentially, cache a clean copy of
the fixture node on load and replace subsequent fixture nodes with that.
Added tests to check if properties on the fixture are cleared between
tests.
Jörn Zaefferer [Thu, 8 Dec 2011 08:51:06 +0000 (00:51 -0800)]
Merge pull request #181 from simonz/development
following issue #180, escape test names and show stack trace when failed
Seong-A Kong [Thu, 8 Dec 2011 01:19:59 +0000 (10:19 +0900)]
Escaping test names
Seong-A Kong [Thu, 8 Dec 2011 01:19:49 +0000 (10:19 +0900)]
Show exception stack when test failed
Jörn Zaefferer [Thu, 24 Nov 2011 15:38:55 +0000 (16:38 +0100)]
Bump post-release version
Jörn Zaefferer [Thu, 24 Nov 2011 15:38:21 +0000 (16:38 +0100)]
Release v1.2.0
Mike Sherov [Sun, 6 Nov 2011 04:17:37 +0000 (00:17 -0400)]
remove uses of equals(), as it's deprecated in favor of equal()
Philippe Rathé [Sat, 5 Nov 2011 22:41:24 +0000 (18:41 -0400)]
Code review of "Allow objects with no prototype to be tested against object literals."
DomenicDenicola [Tue, 1 Nov 2011 22:49:49 +0000 (18:49 -0400)]
Allow objects with no prototype to tested against object literals.
I often use objects created with `Object.create(null)` as dictionaries, since then they don't have pre-filled dictionary entries for e.g. `constructor`, `hasOwnProperty`, `isPrototypeOf`, etc. However, in my tests, it is quite useful to test the dictionaries I create against object literals (which have `Object.prototype` as their prototype).
This patch makes an exemption to the rule that two objects must have the same constructor, for the case where one has `null` prototype and the other `Object.prototype` as its prototype.
Jimmy Mabey [Wed, 19 Oct 2011 16:43:17 +0000 (13:43 -0300)]
Fix IE8 "Member not found" error
Setting window.constructor causes this error in IE8, which happens when QUnit
extends window.
Ashar Voultoiz [Wed, 19 Oct 2011 14:20:10 +0000 (17:20 +0300)]
Using node-qunit port, the start/stop function are not exposed so we need to prefix any call to them with 'QUnit'. Aka: start() -> QUnit.start()
Jörn Zaefferer [Wed, 12 Oct 2011 20:50:19 +0000 (22:50 +0200)]
Remove the 'let teardown clean up globals test' - IE<9 doesn't support (==buggy) deleting window properties, and that's not worth the trouble, as everything else passes just fine. Fixes #155
Jörn Zaefferer [Wed, 12 Oct 2011 20:44:57 +0000 (22:44 +0200)]
Fix globals in test.js, part 2
Jörn Zaefferer [Wed, 12 Oct 2011 20:44:15 +0000 (22:44 +0200)]
Fix globals in test.js. ?tell wwalser to use ?noglobals everyonce in a while
Jörn Zaefferer [Tue, 11 Oct 2011 10:21:24 +0000 (12:21 +0200)]
Extend readme regarding release process
Jörn Zaefferer [Tue, 11 Oct 2011 10:17:28 +0000 (12:17 +0200)]
Bump post-release version
Jörn Zaefferer [Tue, 11 Oct 2011 10:16:50 +0000 (12:16 +0200)]
Release 1.1.0
Jörn Zaefferer [Tue, 11 Oct 2011 10:13:47 +0000 (12:13 +0200)]
Fixes #134 - Add a window.onerror handler. Makes uncaught errors actually fail the testsuite, instead of going by unnoticed.
Jörn Zaefferer [Tue, 11 Oct 2011 10:12:46 +0000 (12:12 +0200)]
Whitespace cleanup
Jörn Zaefferer [Mon, 10 Oct 2011 19:23:15 +0000 (21:23 +0200)]
Merge remote branch 'trevorparscal/master'
Conflicts:
qunit/qunit.js
Trevor Parscal [Mon, 10 Oct 2011 18:49:32 +0000 (11:49 -0700)]
Fixed IE compatibility issues with using toString on NodeList objects,
which in some browsers results in [object Object] rather than [object
NodeList]. Now using duck typing for NodeList objects based on the
presence of length, length being a number, presence of item method
(which will be typeof string in IE and function in others, so we just
check that it's not undefined) and that item(0) returns the same value
as [0], unless it's empty, in which case item(0) will return 0, while
[0] would return undefined. Tested in IE6, IE8, Firefox 6, Safari 5 and
Chrome 16.
Jörn Zaefferer [Mon, 10 Oct 2011 15:01:34 +0000 (17:01 +0200)]
Update readme with basic notes on releases
Jörn Zaefferer [Mon, 10 Oct 2011 14:59:53 +0000 (16:59 +0200)]
More whitespace/parens cleanup
Jörn Zaefferer [Mon, 10 Oct 2011 14:57:21 +0000 (16:57 +0200)]
Check if setTimeout is available before trying to delay running the next task. Fixes #160
Jörn Zaefferer [Mon, 10 Oct 2011 14:53:24 +0000 (16:53 +0200)]
Whitespace/formatting fix, remove unnecessary parens
Jörn Zaefferer [Mon, 10 Oct 2011 14:48:25 +0000 (16:48 +0200)]
Use alias for Object.prototype.toString
Jörn Zaefferer [Mon, 10 Oct 2011 14:45:55 +0000 (16:45 +0200)]
Merge remote branch 'trevorparscal/master'
Jörn Zaefferer [Mon, 10 Oct 2011 14:35:06 +0000 (16:35 +0200)]
Merge remote branch 'wwalser/recursionBug'
Conflicts:
qunit/qunit.js
Jörn Zaefferer [Mon, 10 Oct 2011 14:16:11 +0000 (16:16 +0200)]
Default 'expected' to null in asyncTest(), same as in test() itself.
Jörn Zaefferer [Mon, 10 Oct 2011 12:13:40 +0000 (14:13 +0200)]
Whitespace cleanup
Jörn Zaefferer [Mon, 10 Oct 2011 12:12:47 +0000 (14:12 +0200)]
Merge remote branch 'mmchaney/master'
Jörn Zaefferer [Mon, 10 Oct 2011 09:53:26 +0000 (11:53 +0200)]
Merge remote branch 'Krinkle/master'
Trevor Parscal [Fri, 7 Oct 2011 21:36:05 +0000 (14:36 -0700)]
Using === instead of ==
This doesn't have any functional difference because we are comparing a
string literal with the results of Object.toString(), but it's better
to be sure that they are the same type.
Trevor Parscal [Fri, 7 Oct 2011 19:39:56 +0000 (12:39 -0700)]
Added more strict array type detection for dump output, and allowed NodeList objects to be output as arrays
This helps prevent treating any object with a length property as an
array, while maintaining the ability to render NodeList objects as
arrays. jsDump output tests still pass after this patch is applied.
Jörn Zaefferer [Thu, 6 Oct 2011 15:51:31 +0000 (11:51 -0400)]
Bump post-release version
Jörn Zaefferer [Thu, 6 Oct 2011 15:49:58 +0000 (11:49 -0400)]
Release 1.0.0
Jörn Zaefferer [Thu, 6 Oct 2011 15:49:16 +0000 (11:49 -0400)]
Preparing 1.0.0 release
Jörn Zaefferer [Fri, 30 Sep 2011 20:39:49 +0000 (16:39 -0400)]
Make QUnit work with TestSwarm
Wesley Walser [Wed, 17 Aug 2011 00:41:58 +0000 (10:41 +1000)]
Fixes a bug where after an async test, assertions could move between test cases because of internal state (config.current) being incorrectly set
Markus Messner-Chaney [Thu, 29 Sep 2011 04:47:18 +0000 (06:47 +0200)]
Simplified check for assertion count and adjusted whitespace
Krinkle [Thu, 29 Sep 2011 00:47:13 +0000 (03:47 +0300)]
Redo of fixing issue #156 (Support Object.prototype extending environment).
* QUnit.diff: Throws exception without this if Object.prototype is set (Property 'length' of undefined. Since Object.prototype.foo doesn't have a property 'rows')
* QUnit.url: Without this fix, if Object.prototype.foo is set, the url will be set to ?foo=...&the=rest.
* saveGlobals: Without this fix, whenever a member is added to Object.prototype, saveGlobals will think it was a global variable in this loop.
---
This time using the call method instead of obj.hasOwnProperty(key), which may fail if the object has that as it's own property (touché!).
Also caching Object.prototype.hasOwn for performance and convenience, as well as toString while at it.
Markus Messner-Chaney [Thu, 22 Sep 2011 11:54:12 +0000 (13:54 +0200)]
Handle expect(0) as expected, i.e. expect(0); ok(true, foo); will cause a test to fail
Jörn Zaefferer [Tue, 20 Sep 2011 16:58:40 +0000 (18:58 +0200)]
Run other addons tests as composite addon demo. Need to move that to /test folder once this setup actually works
Bob Fanger [Sun, 7 Aug 2011 11:15:47 +0000 (13:15 +0200)]
Add-on: New assertion-type: step()
Wesley Walser [Wed, 20 Jul 2011 10:57:27 +0000 (20:57 +1000)]
added parameter to start and stop allowing a user to increment/decrement the semaphore more than once per call
Jörn Zaefferer [Fri, 16 Sep 2011 10:10:00 +0000 (12:10 +0200)]
Update readmes with .md extension for GitHub to render them as markdown
Jörn Zaefferer [Fri, 16 Sep 2011 10:09:27 +0000 (12:09 +0200)]
Update close-enough addon to include readme and match (new) naming convetions
Jörn Zaefferer [Fri, 16 Sep 2011 10:04:13 +0000 (12:04 +0200)]
Merge remote branch 'righi/close-enough-addon'
Jörn Zaefferer [Fri, 16 Sep 2011 10:02:59 +0000 (12:02 +0200)]
Canvas addon: Update file referneces
Jörn Zaefferer [Fri, 16 Sep 2011 10:01:21 +0000 (12:01 +0200)]
Update canvas addon: Rename files and add README
Jörn Zaefferer [Fri, 16 Sep 2011 09:57:02 +0000 (11:57 +0200)]
Merge remote branch 'wwalser/composite'
Daniel Trebbien [Mon, 15 Aug 2011 12:18:56 +0000 (08:18 -0400)]
Fix #142 - Backslash characters in messages should not be escaped
Also, rename `escapeHtml` to `escapeInnerText` to make clear that the
function is for escaping text content.
Oleg Slobodskoi @oleg008 [Tue, 6 Sep 2011 15:21:46 +0000 (17:21 +0200)]
Add module name to testStart and testDone callbacks
Philippe Rathe [Wed, 14 Sep 2011 20:02:01 +0000 (16:02 -0400)]
Removed extra columns in object literals. Closes #153
Philippe Rathe [Mon, 12 Sep 2011 19:29:26 +0000 (15:29 -0400)]
Remove dead links in comments.
Jörn Zaefferer [Sun, 11 Sep 2011 21:05:44 +0000 (23:05 +0200)]
Merge remote branch 'wwalser/multipleCallbacks'
Jan Alonzo [Mon, 5 Sep 2011 22:37:52 +0000 (08:37 +1000)]
Fixed syntax error and CommonJS incompatibilities in package.json
Wesley Walser [Tue, 16 Aug 2011 09:13:45 +0000 (19:13 +1000)]
Allow multiple callbacks to be registered.
Jörn Zaefferer [Mon, 15 Aug 2011 21:15:03 +0000 (23:15 +0200)]
Add placeholder for when Safari may end up providing useful error handling
wwalser [Mon, 15 Aug 2011 15:06:47 +0000 (01:06 +1000)]
changed file names to match addon naming convention
Jörn Zaefferer [Mon, 15 Aug 2011 09:19:24 +0000 (11:19 +0200)]
Whitespace
Wesley Walser [Wed, 27 Jul 2011 09:43:26 +0000 (19:43 +1000)]
Created the composite addon.
Krinkle [Fri, 12 Aug 2011 10:20:51 +0000 (13:20 +0300)]
Using array and object literals.
Krinkle [Fri, 12 Aug 2011 06:15:00 +0000 (09:15 +0300)]
Issue #140: Make toggle system configurable.
Jörn Zaefferer [Thu, 11 Aug 2011 11:33:35 +0000 (13:33 +0200)]
Merge remote branch 'tweetdeck/master'
Michael Righi [Tue, 9 Aug 2011 22:51:46 +0000 (15:51 -0700)]
Adds the 'close enough' addon to determine if numbers are acceptably close enough in value.
Marc Portier [Fri, 5 Aug 2011 13:19:22 +0000 (15:19 +0200)]
Fix recursion support in jsDump, along with tests. Fixes #63 and #100
Erik Vold [Tue, 31 May 2011 23:01:23 +0000 (16:01 -0700)]
Adding a QUnit.config.altertitle flag which will allow users to opt-out of the functionality introduced in
60147ca0164e3d810b8a9bf46981c3d9cc569efc
Jörn Zaefferer [Fri, 5 Aug 2011 11:37:25 +0000 (13:37 +0200)]
Refactor window.load handler into QUnit.load, makes it possible to call it manually.
Jörn Zaefferer [Fri, 5 Aug 2011 11:23:24 +0000 (13:23 +0200)]
More whitespace cleanup
Jörn Zaefferer [Fri, 5 Aug 2011 10:58:40 +0000 (12:58 +0200)]
Merge remote branch 'erikvold/one-chk-in-title'
Jörn Zaefferer [Fri, 5 Aug 2011 10:56:12 +0000 (12:56 +0200)]
Whitespace
Jörn Zaefferer [Fri, 5 Aug 2011 10:54:09 +0000 (12:54 +0200)]
Merge remote branch 'wwalser/syncStopCalls'
Jörn Zaefferer [Fri, 5 Aug 2011 10:45:55 +0000 (12:45 +0200)]
Introducing the first QUnit addon, based on https://github.com/jquery/qunit/pull/84 - adds QUnit.pixelEqual assertion method, along with example tests.
Jörn Zaefferer [Fri, 5 Aug 2011 10:10:13 +0000 (12:10 +0200)]
Remove config.hidepassed setting in test.js, wasn't intended to land in
Jörn Zaefferer [Thu, 4 Aug 2011 18:09:43 +0000 (20:09 +0200)]
Expose QUnit.config.hidepassed setting. Overrides sessionStorage and enables enabling the feature programmatically. Fixes #133
Rob Kinninmont [Mon, 1 Aug 2011 16:01:15 +0000 (17:01 +0100)]
Fix formatting (css whitespace) for tracebacks.
Tracebacks in error output was rather unhelpfully smashed into one
line, discarding line breaks. This fixes that to use whitespace: pre
for the output of tests.
Scott González [Fri, 29 Jul 2011 13:18:23 +0000 (09:18 -0400)]
Expose extend, id, and addEvent methods.
Erik Vold [Wed, 1 Jun 2011 03:57:11 +0000 (20:57 -0700)]
minor comment typo correction
Jörn Zaefferer [Wed, 13 Jul 2011 16:04:57 +0000 (12:04 -0400)]
Ignore Eclipse WTP .settings
Jörn Zaefferer [Wed, 13 Jul 2011 16:04:27 +0000 (12:04 -0400)]
Set 'The jQuery Project' as author in package.json
Wesley Walser [Thu, 30 Jun 2011 01:46:22 +0000 (11:46 +1000)]
Fixes a bug where synchronous calls to stop would cause tests to end before start was called again
Jörn Zaefferer [Thu, 23 Jun 2011 12:25:08 +0000 (14:25 +0200)]
Point to planning testing wiki in readme
Erik Vold [Wed, 1 Jun 2011 03:54:38 +0000 (20:54 -0700)]
only add one checkmark to the document.title
Mathias Bynens [Fri, 27 May 2011 08:33:15 +0000 (01:33 -0700)]
Escape the stacktrace output before setting it as innerHTML, since it tends to contain `<` and `>` characters.
Jörn Zaefferer [Mon, 16 May 2011 19:47:58 +0000 (21:47 +0200)]
Cleanup whitespace