Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

qunit.git
10 years agoMerge remote branch 'wwalser/recursionBug'
Jörn Zaefferer [Mon, 10 Oct 2011 14:35:06 +0000 (16:35 +0200)]
Merge remote branch 'wwalser/recursionBug'

Conflicts:
qunit/qunit.js

10 years agoDefault 'expected' to null in asyncTest(), same as in test() itself.
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.

10 years agoWhitespace cleanup
Jörn Zaefferer [Mon, 10 Oct 2011 12:13:40 +0000 (14:13 +0200)]
Whitespace cleanup

10 years agoMerge remote branch 'mmchaney/master'
Jörn Zaefferer [Mon, 10 Oct 2011 12:12:47 +0000 (14:12 +0200)]
Merge remote branch 'mmchaney/master'

10 years agoMerge remote branch 'Krinkle/master'
Jörn Zaefferer [Mon, 10 Oct 2011 09:53:26 +0000 (11:53 +0200)]
Merge remote branch 'Krinkle/master'

10 years agoBump post-release version
Jörn Zaefferer [Thu, 6 Oct 2011 15:51:31 +0000 (11:51 -0400)]
Bump post-release version

10 years agoRelease 1.0.0
Jörn Zaefferer [Thu, 6 Oct 2011 15:49:58 +0000 (11:49 -0400)]
Release 1.0.0

10 years agoPreparing 1.0.0 release
Jörn Zaefferer [Thu, 6 Oct 2011 15:49:16 +0000 (11:49 -0400)]
Preparing 1.0.0 release

10 years agoMake QUnit work with TestSwarm
Jörn Zaefferer [Fri, 30 Sep 2011 20:39:49 +0000 (16:39 -0400)]
Make QUnit work with TestSwarm

10 years agoFixes a bug where after an async test, assertions could move between test cases becau...
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

10 years agoSimplified check for assertion count and adjusted whitespace
Markus Messner-Chaney [Thu, 29 Sep 2011 04:47:18 +0000 (06:47 +0200)]
Simplified check for assertion count and adjusted whitespace

10 years agoRedo of fixing issue #156 (Support Object.prototype extending environment).
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.

10 years agoHandle expect(0) as expected, i.e. expect(0); ok(true, foo); will cause a test to...
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

10 years agoRun other addons tests as composite addon demo. Need to move that to /test folder...
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

10 years agoAdd-on: New assertion-type: step()
Bob Fanger [Sun, 7 Aug 2011 11:15:47 +0000 (13:15 +0200)]
Add-on: New assertion-type: step()

10 years agoadded parameter to start and stop allowing a user to increment/decrement the semaphor...
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

10 years agoUpdate readmes with .md extension for GitHub to render them as markdown
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

10 years agoUpdate close-enough addon to include readme and match (new) naming convetions
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

10 years agoMerge remote branch 'righi/close-enough-addon'
Jörn Zaefferer [Fri, 16 Sep 2011 10:04:13 +0000 (12:04 +0200)]
Merge remote branch 'righi/close-enough-addon'

10 years agoCanvas addon: Update file referneces
Jörn Zaefferer [Fri, 16 Sep 2011 10:02:59 +0000 (12:02 +0200)]
Canvas addon: Update file referneces

10 years agoUpdate canvas addon: Rename files and add README
Jörn Zaefferer [Fri, 16 Sep 2011 10:01:21 +0000 (12:01 +0200)]
Update canvas addon: Rename files and add README

10 years agoMerge remote branch 'wwalser/composite'
Jörn Zaefferer [Fri, 16 Sep 2011 09:57:02 +0000 (11:57 +0200)]
Merge remote branch 'wwalser/composite'

10 years agoFix #142 - Backslash characters in messages should not be escaped
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.

10 years agoAdd module name to testStart and testDone callbacks
Oleg Slobodskoi @oleg008 [Tue, 6 Sep 2011 15:21:46 +0000 (17:21 +0200)]
Add module name to testStart and testDone callbacks

10 years agoRemoved extra columns in object literals. Closes #153
Philippe Rathe [Wed, 14 Sep 2011 20:02:01 +0000 (16:02 -0400)]
Removed extra columns in object literals. Closes #153

10 years agoRemove dead links in comments.
Philippe Rathe [Mon, 12 Sep 2011 19:29:26 +0000 (15:29 -0400)]
Remove dead links in comments.

10 years agoMerge remote branch 'wwalser/multipleCallbacks'
Jörn Zaefferer [Sun, 11 Sep 2011 21:05:44 +0000 (23:05 +0200)]
Merge remote branch 'wwalser/multipleCallbacks'

10 years agoFixed syntax error and CommonJS incompatibilities in package.json
Jan Alonzo [Mon, 5 Sep 2011 22:37:52 +0000 (08:37 +1000)]
Fixed syntax error and CommonJS incompatibilities in package.json

10 years agoAllow multiple callbacks to be registered.
Wesley Walser [Tue, 16 Aug 2011 09:13:45 +0000 (19:13 +1000)]
Allow multiple callbacks to be registered.

10 years agoAdd placeholder for when Safari may end up providing useful error handling
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

10 years agochanged file names to match addon naming convention
wwalser [Mon, 15 Aug 2011 15:06:47 +0000 (01:06 +1000)]
changed file names to match addon naming convention

10 years agoWhitespace
Jörn Zaefferer [Mon, 15 Aug 2011 09:19:24 +0000 (11:19 +0200)]
Whitespace

10 years agoCreated the composite addon.
Wesley Walser [Wed, 27 Jul 2011 09:43:26 +0000 (19:43 +1000)]
Created the composite addon.

10 years agoUsing array and object literals.
Krinkle [Fri, 12 Aug 2011 10:20:51 +0000 (13:20 +0300)]
Using array and object literals.

10 years agoIssue #140: Make toggle system configurable.
Krinkle [Fri, 12 Aug 2011 06:15:00 +0000 (09:15 +0300)]
Issue #140: Make toggle system configurable.

10 years agoMerge remote branch 'tweetdeck/master'
Jörn Zaefferer [Thu, 11 Aug 2011 11:33:35 +0000 (13:33 +0200)]
Merge remote branch 'tweetdeck/master'

10 years agoAdds the 'close enough' addon to determine if numbers are acceptably close enough...
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.

10 years agoFix recursion support in jsDump, along with tests. Fixes #63 and #100
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

10 years agoAdding a QUnit.config.altertitle flag which will allow users to opt-out of the functi...
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

10 years agoRefactor window.load handler into QUnit.load, makes it possible to call it manually.
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.

10 years agoMore whitespace cleanup
Jörn Zaefferer [Fri, 5 Aug 2011 11:23:24 +0000 (13:23 +0200)]
More whitespace cleanup

10 years agoMerge remote branch 'erikvold/one-chk-in-title'
Jörn Zaefferer [Fri, 5 Aug 2011 10:58:40 +0000 (12:58 +0200)]
Merge remote branch 'erikvold/one-chk-in-title'

10 years agoWhitespace
Jörn Zaefferer [Fri, 5 Aug 2011 10:56:12 +0000 (12:56 +0200)]
Whitespace

10 years agoMerge remote branch 'wwalser/syncStopCalls'
Jörn Zaefferer [Fri, 5 Aug 2011 10:54:09 +0000 (12:54 +0200)]
Merge remote branch 'wwalser/syncStopCalls'

10 years agoIntroducing the first QUnit addon, based on https://github.com/jquery/qunit/pull...
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.

10 years agoRemove config.hidepassed setting in test.js, wasn't intended to land in master.
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 

10 years agoExpose QUnit.config.hidepassed setting. Overrides sessionStorage and enables enabling...
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

10 years agoFix formatting (css whitespace) for tracebacks.
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.

10 years agoExpose extend, id, and addEvent methods.
Scott González [Fri, 29 Jul 2011 13:18:23 +0000 (09:18 -0400)]
Expose extend, id, and addEvent methods.

10 years agominor comment typo correction
Erik Vold [Wed, 1 Jun 2011 03:57:11 +0000 (20:57 -0700)]
minor comment typo correction

10 years agoIgnore Eclipse WTP .settings
Jörn Zaefferer [Wed, 13 Jul 2011 16:04:57 +0000 (12:04 -0400)]
Ignore Eclipse WTP .settings

10 years agoSet 'The jQuery Project' as author in package.json
Jörn Zaefferer [Wed, 13 Jul 2011 16:04:27 +0000 (12:04 -0400)]
Set 'The jQuery Project' as author in package.json

11 years agoFixes a bug where synchronous calls to stop would cause tests to end before start...
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

11 years agoPoint to planning testing wiki in readme
Jörn Zaefferer [Thu, 23 Jun 2011 12:25:08 +0000 (14:25 +0200)]
Point to planning testing wiki in readme

11 years agoonly add one checkmark to the document.title
Erik Vold [Wed, 1 Jun 2011 03:54:38 +0000 (20:54 -0700)]
only add one checkmark to the document.title

11 years agoEscape the stacktrace output before setting it as innerHTML, since it tends to contai...
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.

11 years agoCleanup whitespace
Jörn Zaefferer [Mon, 16 May 2011 19:47:58 +0000 (21:47 +0200)]
Cleanup whitespace

11 years agoRun module.teardown before checking for pollution. Fixes #109 - noglobals should...
Jörn Zaefferer [Mon, 16 May 2011 18:56:25 +0000 (20:56 +0200)]
Run module.teardown before checking for pollution. Fixes #109 - noglobals should run after module teardown

11 years agoFix accidental global variable "not"
Jörn Zaefferer [Mon, 16 May 2011 18:52:13 +0000 (20:52 +0200)]
Fix accidental global variable "not"

11 years agoUpdate document.title status to use more robust unicode escape
Jörn Zaefferer [Thu, 12 May 2011 05:55:27 +0000 (07:55 +0200)]
Update document.title status to use more robust unicode escape
sequences, works even when served with non-utf-8-charset.

11 years agoModify document.title when suite is done to show success/failure in tab,
Jörn Zaefferer [Wed, 11 May 2011 11:31:40 +0000 (13:31 +0200)]
Modify document.title when suite is done to show success/failure in tab,
allows you to see the overall result without seeing the tab content.

11 years agoMerge pull request #107 from sexyprout/master
Jörn Zaefferer [Thu, 5 May 2011 10:51:03 +0000 (03:51 -0700)]
Merge pull request #107 from sexyprout/master

Set generic font

11 years agoSet a generic font
sexyprout [Thu, 5 May 2011 10:07:11 +0000 (12:07 +0200)]
Set a generic font

11 years agoAdd/update headers
jzaefferer [Wed, 20 Apr 2011 15:40:12 +0000 (17:40 +0200)]
Add/update headers

11 years agoDrop support for deprecated #main in favor of #qunit-fixture. If this breaks your...
jzaefferer [Fri, 15 Apr 2011 10:22:16 +0000 (12:22 +0200)]
Drop support for deprecated #main in favor of #qunit-fixture. If this breaks your testsuite, replace id="main" with id="qunit-fixture". Fixes #103

11 years agoRemove the same key as the one being set. Partial fix for #101
jzaefferer [Fri, 15 Apr 2011 10:18:52 +0000 (12:18 +0200)]
Remove the same key as the one being set. Partial fix for #101

11 years agoDon't modify expected-count when checking pollution. The failing
jzaefferer [Sun, 20 Mar 2011 16:14:32 +0000 (17:14 +0100)]
Don't modify expected-count when checking pollution. The failing
assertion isn't expected, so shouldn't be counted. And if expect wasn't
used, the count is misleading.

11 years agoFix order of noglobals check to produce correct introduced/delete error messages
jzaefferer [Sun, 20 Mar 2011 15:18:58 +0000 (16:18 +0100)]
Fix order of noglobals check to produce correct introduced/delete error messages

11 years agoPrepend module name to sessionStorage keys to avoid conflicts
jzaefferer [Tue, 15 Mar 2011 14:13:18 +0000 (15:13 +0100)]
Prepend module name to sessionStorage keys to avoid conflicts

11 years agoStore filter-tests only when checked
jzaefferer [Tue, 15 Mar 2011 13:51:35 +0000 (14:51 +0100)]
Store filter-tests only when checked

11 years agoWrite to sessionStorage only bad tests
jzaefferer [Tue, 15 Mar 2011 13:50:14 +0000 (14:50 +0100)]
Write to sessionStorage only bad tests

11 years agoMoved QUnit.url() defintion after QUnit properties are merged into the global scope...
Scott González [Fri, 11 Mar 2011 15:37:09 +0000 (10:37 -0500)]
Moved QUnit.url() defintion after QUnit properties are merged into the global scope. Fixes #93 - QUnit url/extend function breaking urls in jQuery ajax test component

11 years agoAdd a "Rerun" link to each test to replce the dblclick (still supported,
jzaefferer [Tue, 8 Mar 2011 22:37:53 +0000 (23:37 +0100)]
Add a "Rerun" link to each test to replce the dblclick (still supported,
for now).

11 years agoFixed the regex for parsing the name of a test when double clicking to filter.
Scott González [Fri, 4 Mar 2011 15:39:57 +0000 (10:39 -0500)]
Fixed the regex for parsing the name of a test when double clicking to filter.

11 years agoMerge remote branch 'scottgonzalez/url'
jzaefferer [Thu, 3 Mar 2011 23:13:44 +0000 (00:13 +0100)]
Merge remote branch 'scottgonzalez/url'

Conflicts:
qunit/qunit.js

11 years agoAdded checkboxes to show which flags are currently on and allow toggling them.
Scott González [Thu, 3 Mar 2011 20:38:32 +0000 (15:38 -0500)]
Added checkboxes to show which flags are currently on and allow toggling them.

11 years agoRetain all querystring parameters when filtering a test via double click.
Scott González [Thu, 3 Mar 2011 20:01:45 +0000 (15:01 -0500)]
Retain all querystring parameters when filtering a test via double click.

11 years agoAdded better querystring parsing. Now storing all querystring params in QUnit.urlPara...
Scott González [Thu, 3 Mar 2011 18:39:38 +0000 (13:39 -0500)]
Added better querystring parsing. Now storing all querystring params in QUnit.urlParams so that we can carry the params forward when filtering to a specific test. This removes the ability to specify multiple filters.

11 years agoMake reordering optional (QUnit.config.reorder = false) and optimize
jzaefferer [Wed, 2 Mar 2011 23:14:59 +0000 (00:14 +0100)]
Make reordering optional (QUnit.config.reorder = false) and optimize
"Hide passed tests" mode by also hiding "Running [testname]" entries.

11 years agoAdded missing semicolons and wrapped undefined key in quotes.
Scott González [Mon, 28 Feb 2011 13:40:53 +0000 (08:40 -0500)]
Added missing semicolons and wrapped undefined key in quotes.

11 years agoOptimize test hiding, add class on page load if stored in sessionStorage
jzaefferer [Wed, 16 Feb 2011 07:22:40 +0000 (08:22 +0100)]
Optimize test hiding, add class on page load if stored in sessionStorage

11 years agoOptimize the hiding of passed tests.
Anton M [Tue, 15 Feb 2011 23:25:25 +0000 (00:25 +0100)]
Optimize the hiding of passed tests.

11 years agoPosition test results above test list, making it visible without ever
jzaefferer [Tue, 15 Feb 2011 15:10:18 +0000 (16:10 +0100)]
Position test results above test list, making it visible without ever
having to scroll. Create a placeholder to avoid pushing down results
later.

11 years agoDon't check for existing qunit-testresult element, it gets killed on
jzaefferer [Tue, 15 Feb 2011 14:57:59 +0000 (15:57 +0100)]
Don't check for existing qunit-testresult element, it gets killed on
init anyway.

11 years agoAdded URL flag ?notrycatch (ala ?noglobals) for debugging exceptions.
jzaefferer [Wed, 12 Jan 2011 20:29:48 +0000 (21:29 +0100)]
Added URL flag ?notrycatch (ala ?noglobals) for debugging exceptions.
Won't try/catch test code, giving better debugging changes on the
original exceptions. Fixes #72

11 years agoAlways show quni-toolbar (if at all specified), persist checkbox via
jzaefferer [Wed, 12 Jan 2011 20:22:30 +0000 (21:22 +0100)]
Always show quni-toolbar (if at all specified), persist checkbox via
sessionStorage. Fixes #47

11 years agoUse non-html testname for calls to fail(). Fixes #77
jzaefferer [Wed, 12 Jan 2011 20:04:34 +0000 (21:04 +0100)]
Use non-html testname for calls to fail(). Fixes #77

11 years agoOverhaul of QUnit.callbacks. Consistent single argument with related
jzaefferer [Wed, 12 Jan 2011 19:57:40 +0000 (20:57 +0100)]
Overhaul of QUnit.callbacks. Consistent single argument with related
properties, with additonal runtime property for QUnit.done

11 years agoExtended test/logs.html to capture more of the callbacks.
jzaefferer [Wed, 12 Jan 2011 18:17:08 +0000 (19:17 +0100)]
Extended test/logs.html to capture more of the callbacks.

11 years agoFixed moduleStart/Done callbacks. Added test/logs.html to test these
jzaefferer [Thu, 6 Jan 2011 09:02:03 +0000 (10:02 +0100)]
Fixed moduleStart/Done callbacks. Added test/logs.html to test these
callbacks. To be extended.

11 years agoUpdate copyright and license header. Fixes #61
jzaefferer [Tue, 4 Jan 2011 08:35:16 +0000 (09:35 +0100)]
Update copyright and license header. Fixes #61

11 years agoFormatting fix.
jzaefferer [Tue, 4 Jan 2011 08:34:36 +0000 (09:34 +0100)]
Formatting fix.

11 years agoUse a semaphore to synchronize stop() and start() calls. Fixes #76
jzaefferer [Tue, 4 Jan 2011 08:33:55 +0000 (09:33 +0100)]
Use a semaphore to synchronize stop() and start() calls. Fixes #76

11 years agoMerge branch 'master' of https://github.com/paulirish/qunit into paulirish-master
jzaefferer [Mon, 27 Dec 2010 13:12:58 +0000 (14:12 +0100)]
Merge branch 'master' of https://github.com/paulirish/qunit into paulirish-master

11 years agoAdded two tests for previous QUnit.raises behaviour. For #69
jzaefferer [Mon, 27 Dec 2010 13:08:41 +0000 (14:08 +0100)]
Added two tests for previous QUnit.raises behaviour. For #69

11 years agoadd optional 2. arg to QUnit.raises #69.
Oleg Slobodskoi @oleg008 [Tue, 21 Dec 2010 15:53:32 +0000 (16:53 +0100)]
add optional 2. arg to QUnit.raises #69.

11 years agofix references inside Complex Instances Nesting to what was originally intended.
Paul Irish [Sun, 19 Dec 2010 03:55:28 +0000 (19:55 -0800)]
fix references inside Complex Instances Nesting to what was originally intended.

11 years agoQualify calls to ok() in raises() for compability with CLI enviroments.
jzaefferer [Thu, 9 Dec 2010 10:56:31 +0000 (11:56 +0100)]
Qualify calls to ok() in raises() for compability with CLI enviroments.

11 years agoFix done() handling, check for blocking, not block property
jzaefferer [Thu, 9 Dec 2010 10:55:36 +0000 (11:55 +0100)]
Fix done() handling, check for blocking, not block property

11 years agoFix moduleStart/Done and done callbacks.
jzaefferer [Thu, 9 Dec 2010 10:16:37 +0000 (11:16 +0100)]
Fix moduleStart/Done and done callbacks.

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf