YAMAMOTO Masaya
|
dcd5d0ffec
|
Test for MRB_WITHOUT_FLOAT
|
2017-10-11 17:58:11 +09:00 |
|
Kouichi Nakanishi
|
fd0f79ca67
|
Get constant of parent class even if child class is defined in signleton class; fix #3575
|
2017-04-06 23:31:34 +09:00 |
|
Kouichi Nakanishi
|
5efe77fede
|
Modify class variable definition in singleton class; fix #3539
|
2017-03-30 16:29:47 +09:00 |
|
Yutaka HARA
|
3f83ec64a8
|
Add test for recently fixed bugs
|
2016-12-01 14:55:26 +09:00 |
|
Bouke van der Bijl
|
22f5504054
|
Fix segfault on remove_method with invalid argument
Reported by https://hackerone.com/jpenalbae
|
2016-11-24 10:13:47 -05:00 |
|
Kouhei Sutou
|
ad492eb9f3
|
Fix class variable reference in module
Fix #3079
|
2016-01-11 00:34:15 +09:00 |
|
cremno
|
59ea323976
|
check if outer is a class or module
For modules this check didn't exist yet. Also call #inspect.
|
2015-05-29 14:58:53 +02:00 |
|
Kouhei Sutou
|
e75e2083fd
|
Fix a bug that class variable can't be referenced from class method
Class method defined in singleton class should be evaluated in class
context not singleton class context.
fix #2515
|
2014-08-09 15:06:17 +09:00 |
|
take_cheeze
|
ec5b055694
|
Move direct superclass checking to test/t/superclass.rb.
|
2014-06-15 15:02:21 +09:00 |
|
ksss
|
1f3d7e939f
|
Class.new add test case
|
2014-05-22 00:11:40 +09:00 |
|
h2so5
|
25045345c9
|
clone Class/Module rightly
|
2014-01-25 07:47:15 +09:00 |
|
Carson McDonald
|
0b8e342d59
|
When superclass isn't a class tests
|
2013-12-27 18:33:25 -05:00 |
|
Carson McDonald
|
9f212b9e81
|
More singleton tests
|
2013-12-27 18:32:11 -05:00 |
|
Carson McDonald
|
66747603d5
|
Add more testing for singletons
|
2013-12-25 12:16:53 -05:00 |
|
h2so5
|
12e00f9238
|
implement Class.new with block
|
2013-10-30 12:52:26 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
3a6391c485
|
update test code to ensure return value from class statement
|
2013-10-25 13:24:50 +09:00 |
|
fleuria
|
ba4a19dbe9
|
add a regression for #1544
|
2013-10-25 02:53:27 +08:00 |
|
Carson McDonald
|
d55eb947f9
|
Test for Class#inherited
|
2013-08-13 22:27:25 -04:00 |
|
Carson McDonald
|
e34bc72b89
|
Add test for Class.new(*args)
|
2013-08-13 22:11:14 -04:00 |
|
Jun Hiroe
|
ff7e599491
|
I fix order of actual and expect test value in class.rb.
|
2013-08-02 20:54:08 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
34cd70b1c5
|
Merge pull request #1279 from Bovi-Li/improve-tests
Improve Test Infrastructure (Part 1)
|
2013-06-14 04:30:52 -07:00 |
|
Daniel Bovensiepen
|
c9caea64c8
|
Singleton raises TypeError on #new
|
2013-06-09 11:21:51 +08:00 |
|
Daniel Bovensiepen
|
968fc7a91c
|
Improve Class tests
|
2013-06-09 05:04:04 +08:00 |
|
Daniel Bovensiepen
|
39b6d087c7
|
Improve alias tests
|
2013-06-09 04:04:19 +08:00 |
|
Daniel Bovensiepen
|
83d04a539e
|
Improve undef tests
|
2013-06-09 03:51:44 +08:00 |
|
Carson McDonald
|
01c0373fac
|
Add undef var test
|
2013-06-08 11:10:41 -04:00 |
|
Masaki Muranaka
|
e129a4c8ef
|
Add test cases.
|
2013-04-02 11:43:30 +09:00 |
|
Masamitsu MURASE
|
d16659c7a5
|
Add test for undef and alias.
|
2013-01-20 17:44:28 +09:00 |
|
Masamitsu MURASE
|
b71063b239
|
Modify test for Class.
* Rename some classes in test/t/class.rb to avoid name conflict.
* Add tests for mismatch fo superclass.
|
2012-07-29 14:21:12 +09:00 |
|
Daniel Bovensiepen
|
5612d195ec
|
Improve Class#superclass to ISO
|
2012-06-03 23:29:40 +08:00 |
|
Yukihiro Matsumoto
|
7f243a9b53
|
resolve conflict in test/t/class.rb
|
2012-06-03 08:23:40 +09:00 |
|
Yukihiro Matsumoto
|
df80b7835a
|
Add Class#superclass; a patch made by @bovi; close #234
|
2012-06-03 08:20:48 +09:00 |
|
Daniel Bovensiepen
|
57bd8d49ec
|
Add first test case for Class#new and prepare further feature tests for it
|
2012-06-03 01:50:10 +08:00 |
|
Daniel Bovensiepen
|
150b235fb6
|
Add Tests for all Exception classes, for false, true, Proc, Module, nil and Object
|
2012-05-25 14:01:14 +08:00 |
|