Commit Graph

27 Commits

Author SHA1 Message Date
Max Howell
bed5229ba7 Remove Xcode 11 warnings 2019-06-11 12:49:24 -04:00
Max Howell
20570d3a0f Sync all subspecs (no changes to libs, just tests)
Ever more Travis tweaks
2018-06-21 01:10:31 -04:00
Loïs Di Qual
65f020801e Add official Promises/A+ compliance test suite (#805)
* Library exports properly

* A bit of progress

* Try emitting mocha events

* Progress

* Progress is real

* All tests now show

* All tests run

* Proper formatting

* Proper XCTFail

* Some progress with adapters

* Not sure what's up

* Tests run with new adapter

* Add then function

* Good progress on interface

* Lots of tests now pass

* Validate onFulfilled / onRejected before calling them

* Cleanup test file

* Add todo

* Move MockNodeEnvironment to proper folder

* Use invokeMethod to call pure functions

* Fix timers

* Add some debugging

* Fix timeouts

* Catch errors when calling handlers

* Move JSPromise to own file

* Refactor JSPromise to use then/catch

* Add a bit of doc

* Catch exceptions thrown by handlers, the proper way

* Consolidate stacktrace printing

* Add availability checks

* Fully comply to 2.2.7.1

* Allow only running one test

* Add isFunction checks

* Enable 2.3.1 only for now

* Add ignored tests, handle promises as return value

* Report failures back to swift layer

* Move adapter to own file

* Use dev mode in webpack config

* More doc

* Refactor a bit

* More stuff in JSUtils

* More doc

* Add readme

* Remove some whitespace

* Add typeError func

* Use on:nil in second then

* Throw TypeError when needed

* Comment fix

* Make test suite iOS 8+ compatible

* Fix Swift 4 compile

* Fix Swift 3.1 compile

* Use babel to transpile to ES5, adds support to iOS 8/9

* Move JSUtils to proper folder

* Fix warning

* Simplify format printing

* Add 3.2 split support back

* Slight improvement

* Revert console.log format solution

* Use a reasonable timeout

* Add omittingEmptySubsequences support for 3.1
2018-03-07 09:13:00 -05:00
Max Howell
c18f2d83fb Delete unused tests; Support swift test
Get travis to runs tests.

Means we no longer support Swift 3.1 on Linux. Sorry. Progress, etc.
2018-02-20 20:08:25 -05:00
Max Howell
c8f747f861 Code coverage improvements
Also enables warnings in tests again and silences the warnings.

Also stops us testing code coverage for tests during CI.
2018-02-20 17:54:59 -05:00
Max Howell
59847871ba Xcode 9.3 / Swift 4.1 / Swift 3.3 updates
Strictly I’d feel better to test all configurations, but PromiseKit only uses Foundation, so the chance that for some reason there is an API break or worse some kind of runtime issue is pretty low and I feel that we have to be kinder to Travis’s free infrastructure.

Tag 6.0.2
2018-02-16 15:26:52 -05:00
Max Howell
47367f1df6 5.0.0 2017-11-06 09:27:11 -05:00
Max Howell
b1dd2bf874 Support Swift 4 and its (()) requirements :-/ 2017-08-07 17:51:03 -04:00
Max Howell
3769c1e072 Disable Thread-Sanitizer: it crashes
Spent hours trying to figure out what it meant. It means: TSAN sucks. That’s what it means.
2017-07-10 21:13:47 -04:00
Max Howell
c298b43c59 Xcode 9 update; Swift 3.2 --warnings 2017-06-06 13:15:41 -04:00
Max Howell
c44c086f0a Enable Thread Sanitizer in tests
Refs #611
2017-01-25 12:16:57 -05:00
Max Howell
faaf8685d4 Apply Xcode 8.1 xcconfig recommendations 2016-10-16 15:04:12 -04:00
Max Howell
67bc256992 PromiseKit 4 / Swift 3 / Xcode 8
http://promisekit.org/news/2016/09/PromiseKit-4.0-Released/
2016-09-07 15:45:21 -07:00
Max Howell
78af1260bb Fix Carthage; Don’t build test components 2016-07-27 10:15:52 -07:00
Max Howell
84ba1b43e6 Support Swift-2.3 & Swift 2-2 2016-07-26 00:57:10 -07:00
David Rodriguez
c3d0aab318 Add ability to change the default dispatch queue for all promises 2016-04-18 12:07:23 -05:00
Nathan Hosselton
7873d1ad0a Add tvOS target 2016-01-28 20:22:01 -06:00
Nathan Hosselton
4425e11d45 Make PMKwatchOS scheme shared 2015-09-30 10:11:39 -05:00
Nathan Hosselton
37d5685ab4 Xcode rearranging xml in PMKOSX scheme 2015-09-30 10:10:53 -05:00
Max Howell
31ebab3ec6 Use XCUIText instead of KIF
Not ideal as some of testing logic ends up in the Host App :/
2015-08-12 21:21:22 -07:00
Max Howell
09ddc2f6c2 Upgrade project to Xcode 7 2015-08-12 21:08:51 -07:00
Max Howell
9a30d3564a Upgrade xcodeproj to 6.4 2015-07-06 14:30:33 -05:00
Max Howell
e96adc5fed PromiseKit 2.0
Fixes #165
Fixes #56
Closes #18
Fixes #13
2015-05-14 00:42:58 -05:00
Max Howell
65a1fce87a Tag 1.5.0; Xcode 6.3 project upgrades 2015-04-08 17:11:49 -05:00
Max Howell
28ca78bf30 Rebuild schemes; Fix Travis and xctool
Was some weird issues I just couldn’t debug after hours of wasted time. Rebuilt the project and all is fine :/
2015-03-20 22:03:54 -05:00
Max Howell
161bd47d56 Add OS X target 2015-03-20 12:24:51 -05:00
Max Howell
ba4b32c40d Move xcodeproj to root
Delete demo project.

Make umbrella header @import required frameworks; Fixes #115
2015-02-19 12:54:27 -06:00