Commit Graph

2272 Commits

Author SHA1 Message Date
Laurent Sansonetti
4bda360c99 add basic ScratchPad object 2014-04-14 23:33:17 +02:00
Laurent Sansonetti
b7a7a7abbc add support for before’ and after’ blocks (right now we assume the :each argument) 2014-04-14 23:33:00 +02:00
Laurent Sansonetti
ded77e47a2 add support for nested `describe’ blocks 2014-04-14 23:32:25 +02:00
Laurent Sansonetti
591ec8d8e6 add language/splat specs 2014-04-14 23:31:28 +02:00
Laurent Sansonetti
2a6e833ed3 start rubymotion-specific String specs 2014-04-14 00:12:32 +02:00
Laurent Sansonetti
abc2d17a9b add a test for Symbol -> java.lang.CharSequence 2014-04-12 18:59:02 +02:00
Laurent Sansonetti
3354bd961d start rubymotion-specific spec file for Symbol 2014-04-12 15:39:56 +02:00
Laurent Sansonetti
1f10258f0c remove debug print statement 2014-04-12 15:39:56 +02:00
Watson
357b1bd8b1 Revert "use a cached file dependencies in order to reduce the build time"
This reverts commit ee514286cf.

Now, detecting build order is much faster without cache by previous commit.
So, let's revert this commit.
2014-04-12 13:51:24 +09:00
Watson
0e5ad9ac90 more reduce the time of detecting build order. Thanks to Ignacio Piantanida for the patch.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466
2014-04-12 13:49:27 +09:00
Watson
fd61f2090c [test] fix to display the iOS results in OSX spec on Jenkins 2014-04-12 12:37:48 +09:00
Laurent Sansonetti
7edfb14779 add language/symbol spec 2014-04-12 01:02:02 +02:00
Laurent Sansonetti
7e9b0e8016 start some RM-specific specs 2014-04-11 22:56:46 +02:00
Laurent Sansonetti
b071a54309 rewrite spec to use a predefined mock class 2014-04-11 20:39:34 +02:00
Laurent Sansonetti
ec989dda83 add language/hash spec 2014-04-11 20:01:14 +02:00
Watson
497f969891 [test] display the iOS result of `rake spec:all' on Jenkins CI console 2014-04-12 00:44:00 +09:00
Laurent Sansonetti
a1dcc590b3 remove unnecessary line 2014-04-11 16:31:52 +02:00
Laurent Sansonetti
1590c16f0f add language/numbers spec 2014-04-11 16:31:51 +02:00
Laurent Sansonetti
94bdca20ac add 'language/not' spec 2014-04-11 16:31:51 +02:00
Laurent Sansonetti
ebe24446b2 add 'be_true' and 'be_false' matchers 2014-04-11 16:31:51 +02:00
Laurent Sansonetti
d5554c5e89 add 'language/or' spec 2014-04-11 16:31:51 +02:00
Eloy Durán
db2eda611c [vm] sync 2014-04-11 15:46:55 +02:00
Laurent Sansonetti
32e547e48c add 'be_nil' matcher 2014-04-11 15:35:57 +02:00
Laurent Sansonetti
b9219f0258 add 'language/and' spec 2014-04-11 15:35:57 +02:00
Eloy Durán
0ae18aacdf [test] Store iOS results in temp files on Jenkins CI. 2014-04-11 15:10:56 +02:00
Watson
f4fe13cba8 fix 'uninitialized constant Motion (NameError)'
'../helpers/bacon.rb' requires 'lib/motion/util/version.rb'
2014-04-11 21:21:57 +09:00
Laurent Sansonetti
c88b386a24 move 1.9 specs to a different file, like rubyspec does 2014-04-11 14:16:44 +02:00
Eloy Durán
87ea27d251 [test] rake spec:all now runs on all installed iOS and OS X sdks. 2014-04-11 12:26:30 +02:00
Laurent Sansonetti
f3f98218b9 add language/array spec 2014-04-11 00:41:08 +02:00
Laurent Sansonetti
4fdc978165 add support for should’ with an argument, add be_kind_of’ and `equal’ matchers 2014-04-10 17:18:48 +02:00
Laurent Sansonetti
07f048572d better conditional 2014-04-10 17:18:12 +02:00
Laurent Sansonetti
504994345b ditto 2014-04-10 15:29:00 +02:00
Laurent Sansonetti
68a3f6ab45 make sure .class files as well as the DEX file are really re-generated every time (for now) 2014-04-10 15:28:59 +02:00
Laurent Sansonetti
21522a99e3 really send #== instead of #!= 2014-04-10 15:28:59 +02:00
Watson
7e5cbcc514 add comment 2014-04-10 21:36:45 +09:00
Watson
84537859c2 use iOS7.1's librubymotion-repl.dylib for iOS platform 2014-04-10 21:33:42 +09:00
Watson
f12e4ad03f [NEWS] fix RM-466 2014-04-10 17:15:19 +09:00
Watson
ee514286cf use a cached file dependencies in order to reduce the build time
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466

* before
  % time rake
  ... snip ...
  rake  18.01s user 1.64s system 89% cpu 21.877 total

* after
  % time rake
  ... snip ...
  rake  2.74s user 1.41s system 119% cpu 3.460 total
2014-04-10 17:15:08 +09:00
Watson
d1d3952c46 memorize the calculated file dependencies. Thanks to Ignacio Piantanida for the patch.
http://hipbyte.myjetbrains.com/youtrack/issue/RM-466

* before
  % time rake
  ... snip ...
  rake  38.41s user 2.77s system 101% cpu 40.515 total

* after
  % time rake
  ... snip ...
  rake  18.01s user 1.64s system 89% cpu 21.877 total
2014-04-10 17:11:04 +09:00
Laurent Sansonetti
f34647252e add until and while specs 2014-04-10 01:03:36 +02:00
Laurent Sansonetti
c2d9d48871 remove test suite, start integrating rubyspec 2014-04-10 00:40:02 +02:00
Eloy Durán
c0a53b1ad3 WOrk on testing on all platforms, SDKs, and archs for CI. 2014-04-09 20:47:28 +02:00
Eloy Durán
686ec5e275 [vm] sync 2014-04-09 18:10:28 +02:00
Laurent Sansonetti
1581fd16b4 honor the `app.files’ variable 2014-04-09 17:09:27 +02:00
Watson
c3cec08196 [NEWS] fix RM-463 2014-04-09 14:19:39 +09:00
Watson
402a942918 fix a build error in environment which uses Ruby 1.8
http://hipbyte.myjetbrains.com/youtrack/issue/RM-463
2014-04-09 14:16:02 +09:00
Laurent Sansonetti
ac07875133 added tests for Fixnum#{<, <=, >, >=} 2014-04-09 01:08:03 +02:00
Laurent Sansonetti
9a8b47ad75 2.27 2014-04-08 18:05:07 +02:00
Laurent Sansonetti
107970b8f3 bug -> regression 2014-04-08 16:07:47 +02:00
Eloy Durán
4005bd7b91 [NEWS] Document WeakRef on iOS 6 bug. 2014-04-08 16:05:13 +02:00