Alexandre Wilhelm
6fe9dae3d6
Fixed: AppKit unit-tests are not standalone
...
Previously, every AppKit tests used the same sharedApplication. Due to this implementation, a could not pass because a previous test made failed the current test. For instance, a test could fail because the window of the previous test resigned (just imagine a new window is the key window in the current test), and this resign could raise an error. The error was displayed for the current test thought this test was perfect !
We now instead of using sharedApplication create a new CPApplication per unit-test file in the class method setUp.
2015-07-07 14:12:19 -07:00
Martin Carlberg
e511638962
Fixed: Cleaned up return and parameter types on methods.
2013-11-24 22:21:56 +01:00
Aparajita Fishman
3239337c1c
CPScroller fixes
...
- Get the scroller orientation from the xib.
- Fix the nonsensical calculation of _isVertical when given bounds.
- Since orientation comes from the xib, had to re-nib2cib everything to be safe.
2013-02-18 11:03:51 -05:00
Aparajita Fishman
9c408bcf5a
Ahem…Javascript object keys are literals, even without quotes!
2013-02-16 16:57:35 -05:00
Alexander Ljungberg
b07f95c362
Fix WithBindings test.
...
Fix up imports and re-run nib2cib.
2013-01-30 16:24:06 +00:00
Alexander Ljungberg
8eae427591
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-01-19 02:27:55 +00:00
Alexander Ljungberg
b4fe13dfb1
Merge branch 'refs/heads/0.9.6'
2013-01-19 02:27:43 +00:00
Alexander Ljungberg
dfad18e047
New website location.
2013-01-19 02:11:37 +00:00
Antoine Mercadal
e5de031423
Merge branch 'objj_compiler2' into objj2integration
...
Conflicts:
AppKit/CPWindow/CPWindow.j
2013-01-14 11:43:24 -08:00
Antoine Mercadal
48ffdf419f
Restore art for ButtonBar
2013-01-03 14:16:50 -08:00
Martin Carlberg
b52217e8a0
Tried to make the import mess a little better. Fixed a lot of bugs. Changed some class names in the test cases. Looks like all the tests are being run in the same space. Has to look into this…..
2012-12-17 00:40:26 +01:00
Aparajita Fishman
cae5486ec6
Added missing class checks in +initialize, regularized checking code
2012-06-28 12:05:18 -07:00
Blair Duncan
934691fffb
nib2cib all of current test files xib's
2012-05-04 20:10:55 -04:00
Alexander Ljungberg
0036f329f5
Fixed: in recent builds, WithBindingsTest failed with a "CPScroller does not contain theme attribute 'scroller-width'" error.
2011-11-16 12:57:01 +00:00
Alexander Ljungberg
244ff0d846
Finished unit test based on Cocoa example With And Without Bindings 02.
2010-12-14 23:57:51 +01:00
Alexander Ljungberg
f36d8224a6
Unit test based on Cocoa example With And Without Bindings 01.
...
This test exercises loading of an array controller with bindings to a table and a content array, plus various editing actions.
2010-12-14 15:05:30 +01:00
Alexander Ljungberg
c5c2a80af9
More unit tests on 01_WithoutBindings.
2010-12-14 13:40:44 +01:00
Alexander Ljungberg
f3f0bf3524
Unit test based on Cocoa example With And Without Bindings 01.
2010-11-26 17:12:46 -03:00