Laurent Sansonetti
3f8bb69237
add tests for Proc#weak!
2013-12-12 19:05:04 +01:00
Laurent Sansonetti
75edd62773
add tests for {NSObject,Boxed}#== with WeakRef operand
2013-12-09 23:43:56 +01:00
Laurent Sansonetti
4941e6acb1
add a test for nested WeakRef objects
2013-12-09 23:30:38 +01:00
Eloy Durán
518b9a4b7a
[memory] Update test coverage and NEWS for 83de1be322.
2013-12-06 19:27:20 +01:00
Eloy Durán
b9c524c391
Add failing tests for Ruby methods that should return retained objects.
...
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-343 .
2013-12-05 16:02:16 +01:00
Eloy Durán
8a94e89067
Add tests and NEWS for autoreleasing objects from specially named objc methods.
...
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-343
2013-12-05 15:52:39 +01:00
Watson
6f30ff184e
[benchmark] add benchmark for Range
2013-11-29 15:11:17 +09:00
Watson
180fd4416b
[spec] add regression test for RM-337
2013-11-28 14:04:01 +09:00
Eloy Durán
8ac9cfb2b6
[test] Add coverage for conformsToProtocol on subclass of pure objc class.
2013-11-22 18:08:51 +01:00
Watson
a886c5c0da
sync
2013-11-22 23:11:54 +09:00
Watson
f0b903036e
use autorelease_pool to reduce memory usage
2013-11-20 23:48:28 +09:00
Watson
664b27f18d
add benchmarks for Time
2013-11-20 23:48:24 +09:00
Watson
e318e74970
add Fload#round spec
...
Related to https://hipbyte.freshdesk.com/helpdesk/tickets/1341
2013-11-19 22:38:34 +09:00
Watson
299df8fb12
update fixfloat spec
...
Related to 34cb542442
reduce test range because float values (not fixfloat) are mixied by increasing precision of float.
2013-11-19 22:38:34 +09:00
Watson
05f450dc9f
fix a benchmark for ASCII string where UTF8 character is contained
2013-11-19 00:12:43 +09:00
Watson
07bf56f2fb
add a benchmark for string concatenation because CRuby has special optimization for short string
2013-11-18 22:35:19 +09:00
Watson
de38ba1086
update script to create CSV file for benchmark result
2013-11-18 01:03:53 +09:00
Watson
0a6fcd84af
add benchmarks for String
2013-11-17 14:53:26 +09:00
Watson
3a8c0f7404
add benchmarks for Hash
2013-11-16 15:35:50 +09:00
Watson
6ec1dbef60
change library load path for benchmark suite
2013-11-16 10:33:32 +09:00
Watson
a749bfc648
add benchmark suite
2013-11-16 09:16:58 +09:00
Watson
9f0fc307ed
add spec for #super
...
Related to http://hipbyte.myjetbrains.com/youtrack/issue/RM-322
2013-11-15 22:46:31 +09:00
Eloy Durán
723e34bb36
[spec] Add coverage for the various types of C-blocks.
2013-11-14 12:38:07 +01:00
Watson
afce21ffad
add Struct spec for converting Fixnum/Float to Objective-C value
...
Relate to 01311e1f88
2013-11-14 17:31:07 +09:00
Watson
db916707c5
add spec for Boxed
...
Related to 9d8885ec39
2013-11-14 10:48:56 +09:00
Eloy Durán
28423f9e4f
[spec] Comment crashing CoreMIDI spec so we can use the run-disabled env var.
2013-10-25 14:02:01 +02:00
Eloy Durán
f0b18cee91
[spec] Disable all specs that are currently failing.
2013-10-25 13:59:39 +02:00
Eloy Durán
37afe9ee73
[spec] Make disabled specs work with a hack, for now.
2013-10-25 13:59:20 +02:00
Eloy Durán
518eb5706e
[spec] Add an adapted version of Fabio’s PrettyBacon.
...
This adds the option to disable specs but still be notified and warns
when specs take N amount of tim eto run, which can be an indication to
us that things might not be working as expected.
2013-10-25 13:48:00 +02:00
Watson
eb18f0442c
add spec for RM-290
2013-10-21 14:46:18 +09:00
Laurent Sansonetti
86055cac09
comment CoreMidi spec as it currently fails to run
2013-10-20 18:17:37 +02:00
Laurent Sansonetti
6026906b61
fix the test for nil block
2013-10-14 16:13:18 +02:00
Laurent Sansonetti
9b41a0cb3b
update spec to use a read-write property (alias is read-only)
2013-10-08 18:30:20 +02:00
Laurent Sansonetti
af27c06b87
add spec for Range dot syntax
2013-10-08 17:15:10 +02:00
Laurent Sansonetti
fe3d89436d
add another test for NSException catching
2013-10-08 17:12:33 +02:00
Watson
0f9ae40e44
update TestTime. skip the spec which cause the failure by 60f9022161
2013-09-09 10:13:54 +09:00
Watson
2ae1261ccf
add tests of Time#{==, eql?} for RM-253
2013-09-08 19:46:17 +09:00
Watson
ea6ddb2a52
remove the test cases where it will causes an error by removed calls to ucnv_ APIs
...
related to 5ca06c5716
2013-08-23 09:07:12 +09:00
Watson
78605ff7d7
add test case for new Time class implementation
2013-08-22 11:22:47 +09:00
Laurent Sansonetti
0bf1f8fd37
add spec for Boxed#to_a change
2013-08-09 15:47:48 +02:00
Watson
5285031125
add test for Range.new
2013-08-06 22:51:40 +09:00
Watson
3617cc5297
add cycle test for Proc->self because there is a memory leak without #autorelease_pool
2013-07-28 14:36:44 +09:00
Watson
f46920dc22
add test case for RM-224
2013-07-23 13:32:15 +09:00
Laurent Sansonetti
d9d6c379ea
more tests
2013-07-22 13:22:44 +02:00
Laurent Sansonetti
af427bd35d
rewrite spec
2013-07-19 18:09:58 +02:00
Laurent Sansonetti
deceecfff3
more tests
2013-07-18 17:13:20 +02:00
Watson
db13d8548a
fix the error in compile_spec
2013-07-18 09:53:42 +09:00
Laurent Sansonetti
70e6149d0e
remove Hash.new{} test as it's now in cycle_spec.rb
2013-07-16 14:53:31 +02:00
Laurent Sansonetti
087e0fc1a4
add cycle tests
2013-07-16 14:53:09 +02:00
Laurent Sansonetti
3e76ae9016
add tests for c-level block dealloc
2013-07-16 01:59:00 +02:00