Dan Kubb
7293386c26
Add magic encoding header to all ruby files
...
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
it produces less output on travis.
2013-07-28 16:03:06 -07:00
Dan Kubb
dc417d1cc8
Move block_pass and cbase mutators into a noop class
2013-07-28 13:25:43 -07:00
Markus Schirp
4211dfa444
Refactor noop into generic mutator
...
A generic mutator does delegate mutations to children. The generic
mutator does not know any type specific semantics. For this reason he
cannot do deletion, reordering or anything more sophisticated than
visiting children.
But still it should result in a TON of more mutations!
2013-07-05 01:21:07 +02:00
Markus Schirp
2b901bc5d8
Add kwbegin node as null mutator
2013-06-29 00:32:20 +02:00
Markus Schirp
f2cb1bd292
Handle or_asgn nodes as noop
...
Closes #49
2013-06-22 03:11:16 +02:00
Markus Schirp
2813c081dc
Add spec to ensure all nodes are handled
2013-06-21 18:10:06 +02:00
Markus Schirp
8b7be8a565
Fix propagation of splat args
...
Closes #39
2013-06-21 16:18:12 +02:00
snusnu
996ce46d2e
Add a few noop nodes
2013-06-19 01:40:19 +02:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Markus Schirp
40259170e7
Port literal nil mutator to parser
2013-06-14 21:11:54 +02:00
Markus Schirp
ededf82ebe
Port single variable assignment mutator to parser
2013-06-14 21:11:54 +02:00
Markus Schirp
6b2e2a8bb0
Initial round of refactoring
...
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
fdc3c59a1c
Merge branch 'master' into development
...
Conflicts:
lib/mutant/mutator/node/noop.rb
2013-01-20 20:16:15 +01:00
Markus Schirp
69c32aceaf
Handle Rubinius::AST::NthRef as noop and prep release
2013-01-18 21:56:57 +01:00
Markus Schirp
c360585f33
Simplify noop mutator node listings
...
It is much easier to remove or add from a %w() array literal
2013-01-16 00:57:12 +01:00
Markus Schirp
a0dd3c9a59
Do not mutate super to super and prep release
2013-01-10 21:09:37 +01:00
Markus Schirp
ffc0f42b44
Handle Rubinius::AST::SplatValue as noop
2013-01-03 23:57:18 +01:00
Markus Schirp
5f7db269ed
Handle op assign 2 as noop
2013-01-03 23:55:20 +01:00
Markus Schirp
36f1b8d0ec
Add mutations for super
2013-01-02 01:04:16 +01:00
Markus Schirp
16a11d2c3c
Handle Rubinius::AST::While
...
I know this can result in infinite loops. So also add TODO note about
timeout!
2013-01-01 21:41:39 +01:00
Markus Schirp
58a2efa567
Whitespace cleanup
2013-01-01 20:35:48 +01:00
Markus Schirp
cbdc84db88
Add global, local and instance variable assignment mutators
2013-01-01 20:34:44 +01:00
Markus Schirp
1fcc9cc40b
Handle Rubinius::AST::Break as noop
2012-12-11 00:38:44 +01:00
Markus Schirp
c4caefa706
Handle Rubinius::AST::Next as noop mutator
2012-12-11 00:26:58 +01:00
Markus Schirp
40d5230c68
Introduce noop mutation guards and argument mutators
...
* Sorry for not splitting up into smaller commit
2012-12-11 00:17:19 +01:00
Markus Schirp
f6edfb06de
Fix crashes from veritas
2012-12-08 03:11:26 +01:00
Markus Schirp
2761952b47
Handle Rubinius::AST::While with noop mutator
2012-12-07 18:33:13 +01:00
Markus Schirp
083eb50b75
Hande Rubinius::AST::File as noop
2012-12-06 22:38:40 +01:00
Markus Schirp
2c173436f6
Correct name of toplevel constant node
2012-12-06 22:36:14 +01:00
Markus Schirp
3b3333f9ba
Register Rubinius::AST::TopLevelConstant under noop mutator
2012-12-06 22:35:23 +01:00
Markus Schirp
69e9de95ed
Extract node specific mutator base class
2012-12-06 21:30:28 +01:00