Commit Graph

321 Commits

Author SHA1 Message Date
Daniel Bovensiepen b55958b4fa Improve Integer Tests 2013-06-15 00:11:12 +08:00
Daniel Bovensiepen 71e1257417 Improve Range Tests 2013-06-15 00:01:08 +08:00
Daniel Bovensiepen c5d116f9c2 Improve Syntax Tests 2013-06-14 23:57:09 +08: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 f6975ea789 Improve false tests 2013-06-09 05:35:57 +08:00
Daniel Bovensiepen 2657fc4b8a Improve Exception tests 2013-06-09 05:25:52 +08:00
Daniel Bovensiepen 87a614ad90 Improve Enumerable tests 2013-06-09 05:20:06 +08:00
Daniel Bovensiepen 5915874e01 Add assert_not_include to test environment 2013-06-09 05:16:10 +08:00
Daniel Bovensiepen 29414e8178 Improve Comparable tests 2013-06-09 05:08:14 +08:00
Daniel Bovensiepen 968fc7a91c Improve Class tests 2013-06-09 05:04:04 +08:00
Daniel Bovensiepen b80a4cf046 Improve BasicObject tests 2013-06-09 04:51:31 +08:00
Daniel Bovensiepen d7deef8a2d Fix Array Tests 2013-06-09 04:51:19 +08:00
Daniel Bovensiepen 01eb9e0e84 Improve Array tests 2013-06-09 04:49:06 +08:00
Daniel Bovensiepen 2d696b26b6 Add assert_not_equal 2013-06-09 04:48:53 +08:00
Daniel Bovensiepen dca23f6c5f Improve ArgumentError tests 2013-06-09 04:08:05 +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
Ryan Scott 222918deae First implementation of ObjectSpace moved outside of gc.c 2013-05-17 07:21:33 +10:00
Ryan Scott 279fce05ae ObjectSpace.count_objects was incorrectly checking if an object was already freed. Amended the count_objects test to ensure the correct distinction 2013-05-12 19:49:56 +10:00
Ryan Scott 0d4227ac04 Implemented ObjectSpace.count_objects to count the number of allocated objects for each type 2013-05-12 18:42:21 +10:00
Daniel Bovensiepen 72f78316aa Move declaration of kernel to the beginning of the method 2013-05-08 21:20:35 +08:00
Daniel Bovensiepen 520b0f73bf Implement fallback print method for testing environment in case mruby-print GEM wasn't included. 2013-05-08 21:17:08 +08:00
Masaki Muranaka 71cc4e13bf Add more test cases for test coverage. 2013-05-08 13:22:35 +09:00
Carson McDonald 61c0b8f7df Adding a few more respond_to tests 2013-05-05 09:14:41 -04:00
Yukihiro "Matz" Matsumoto a092e41020 the receiver should be included in ancestors even when it's a singleton class 2013-04-30 00:51:31 +09:00
Masaki Muranaka 433cb13e6d Add tests to make sure. As we do not use standard library for formatting. 2013-04-25 15:35:16 +09:00
Masaki Muranaka da4b3d1c2c Move regression test as String#dump is not in ther core but the mrbgems. 2013-04-25 15:28:25 +09:00
Yukihiro "Matz" Matsumoto f0bea86437 Merge pull request #1211 from skandhas/pr-fix-Module-ancestors
fix the behavior of Module#ancestors
2013-04-24 21:56:03 -07:00
skandhas 8d778d9860 fix Module#ancestors and update test 2013-04-25 11:17:34 +08:00
Tomoyuki Sahara b1114489ef a string may have a lot of non-printable chars. 2013-04-25 12:14:18 +09:00
Carson McDonald 35f42c264e Remove unused variable 2013-04-21 08:22:40 -04:00
Yukihiro "Matz" Matsumoto 58b877c4a7 fix test to check class variables in superclasses 2013-04-20 22:59:35 +09:00
Carson McDonald 54e1ed20f9 Add a test for respond_to_missing? 2013-04-20 07:47:58 -04:00
Tomoyuki Sahara 7626508f62 catching NameError here is not desirable. 2013-04-17 13:25:36 +09:00
Tomoyuki Sahara 0f8969041a rollback stack before executing ensure clause. 2013-04-17 13:08:54 +09:00
h2so5 b1ffb3b3b8 Add Proc#arity 2013-04-16 16:03:36 +09:00
Yukihiro "Matz" Matsumoto ac005ea939 Merge branch 'master' of github.com:mruby/mruby 2013-04-10 01:43:00 +09:00
Yukihiro "Matz" Matsumoto 5306e4716e although I understand the intntion of 039679f1, consuming all memory in the test program is not a good idea 2013-04-09 13:39:25 +09:00
Masaki Muranaka 91db290412 Add a comment. Kernel#require is defined in the mrbgem. 2013-04-06 18:24:42 +09:00
Masaki Muranaka d1b131e2b0 Add some tests. 2013-04-06 18:22:42 +09:00
mattn 1541a61f5d Fix exit 2013-04-05 18:04:22 +09:00
Masaki Muranaka 0969a79e52 Add one more test for NameError#initialize. As we support NameError#name. 2013-04-04 16:27:27 +09:00
Masaki Muranaka ea93ac13fa Add test for NameError#name 2013-04-04 16:26:30 +09:00
Masaki Muranaka 4bb7243c2b Add comments: some methods is defined in mrbgems. 2013-04-02 11:43:35 +09:00
Masaki Muranaka c9e19913cf Add comments: eval method is defined in mrbgems. 2013-04-02 11:43:35 +09:00
Masaki Muranaka 39bf29411a Add "Comparable" to labels. 2013-04-02 11:43:35 +09:00
Masaki Muranaka e129a4c8ef Add test cases. 2013-04-02 11:43:30 +09:00
Kouki Ooyatsu 7e163c0567 bugfix: Kernel#!=, and add #!= testcase. 2013-04-01 12:18:19 +09:00