summaryrefslogtreecommitdiffhomepage
path: root/test/t/module.rb
AgeCommit message (Collapse)Author
2015-07-13Clean up testsBlaž Hrastnik
2015-07-13assert() cannot be nestedBlaž Hrastnik
2015-07-13Set origin when doing kind_of? comparisonsBlaž Hrastnik
2015-07-13Enable test_prepend_module_ancestors because it seems to pass.Blaž Hrastnik
2015-07-13Space out test_prepend_super_in_alias assertCorey Powell
Also tried to fix it, however the problem lies with how aliased methods are done and their internal structure. mruby simply aliases methods by grabbing the RProc and giving it a new name, super then determines the original method to call by using the name so a method called m, aliased as m2, will call the m2 super method instead of m
2015-07-13Enable visibility prepend tests againBlaž Hrastnik
2015-07-13Ported all MRI prepend testsCorey Powell
And of course, some of them fail miserably
2015-07-13Removed some debug prints from the testCorey Powell
2015-07-13Ported a bit more of the MRI Module#prepend tests overCorey Powell
Currently kind_of fails miserably, still looking for the reason
2015-07-13Rename classes because of conflictsBlaž Hrastnik
2015-07-13Implement Module#prepend.Blaž Hrastnik
2015-05-29check if outer is a class or modulecremno
For modules this check didn't exist yet. Also call #inspect.
2014-10-20instance_methods etc should not include undef'ed method names; based on a ↵Yukihiro "Matz" Matsumoto
patch from @cremno; fix #2613
2014-08-20Remove empty lines.Tatsuhiko Kubo
2014-07-18add Module#module_functiondreamedge
2014-06-15Move direct superclass checking to `test/t/superclass.rb`.take_cheeze
2014-05-21Module#initialize set created objectksss
for block argument
2014-05-19Implement Module#initialize (15.2.2.4.31)ksss
2014-05-18instance method name use "#" instead of "." for assertksss
2014-04-30remove trailing spacesNobuyoshi Nakada
2014-01-25clone Class/Module rightlyh2so5
2013-12-24Change :vattr= to :cattr= in respond_to? testCarson McDonald
2013-12-09modify test case to check #1606Yukihiro "Matz" Matsumoto
2013-08-13Add two tests for issue #1467Carson McDonald
2013-08-02I fix order of actual and expect test value in module.rb.Jun Hiroe
2013-07-21Cleaned up some of the Module#attr testsRyan Scott
2013-07-19Wrote tests around attr, attr_reader, attr_writer, attr_accessorRyan Scott
2013-06-15Improve Module TestsDaniel Bovensiepen
2013-04-30the receiver should be included in ancestors even when it's a singleton classYukihiro "Matz" Matsumoto
2013-04-25fix Module#ancestors and update testskandhas
2013-04-21Remove unused variableCarson McDonald
2013-04-20fix test to check class variables in superclassesYukihiro "Matz" Matsumoto
2013-04-06Add some tests.Masaki Muranaka
2013-04-02Add test cases.Masaki Muranaka
2013-02-16Add Module#remove_const testDaniel Bovensiepen
2013-01-04add test for Module#method_defined?skandhas
2012-12-29add test for Module#remove_methodskandhas
2012-12-25add test for Module#remove_class_variableskandhas
2012-12-23add test for Module#class_variable_defined?skandhas
2012-12-21fix mrb_mod_cv_set and add test for Module#class_variable_setskandhas
2012-12-20add test for Module#class_variable_getskandhas
2012-11-27add Module#class_eval testskandhas
2012-11-27add Module#module_eval testskandhas
2012-11-26add Module#instance_methods testskandhas
2012-11-24add Module#include? testskandhas
2012-11-13modify Module#class_variables testskandhas
2012-11-12modify Module#class_variables testskandhas
2012-11-09add Module#class_variables testskandhas
2012-09-09Add Module TestsDaniel Bovensiepen
2012-07-17refactoring on module testsYukihiro Matsumoto