Changes

Summary

  1. ChangeSet>>#methodsWithoutComments was using #firstPrecodeCommentFor: (details)
  2. move testCommentsParent to RBMethodNodeTest (as it tests the AST level) (details)
  3. fix failign test (details)
  4. simplify tests (details)
Commit c3598feaacbb5b879ae64cb7b163c7cbf3ced840 by marcus.denker
ChangeSet>>#methodsWithoutComments was using #firstPrecodeCommentFor:
just for testing if the method has a comment.
It is much nicer to add a method that checks if a method has a method
comment and use that. This way we can easily deprecate
#firstPrecodeCommentFor:  later
The file was modifiedsrc/Kernel/CompiledMethod.class.st (diff)
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)
The file was modifiedsrc/System-Changes/ChangeSet.class.st (diff)
Commit d6a713850966a50a990d534a531ca9b933472a04 by marcus.denker
move testCommentsParent to RBMethodNodeTest (as it tests the AST level)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)

Summary

  1. ChangeSet>>#methodsWithoutComments was using #firstPrecodeCommentFor: (details)
  2. move testCommentsParent to RBMethodNodeTest (as it tests the AST level) (details)
  3. fix failign test (details)
  4. simplify tests (details)
Commit c3598feaacbb5b879ae64cb7b163c7cbf3ced840 by marcus.denker
ChangeSet>>#methodsWithoutComments was using #firstPrecodeCommentFor:
just for testing if the method has a comment.
It is much nicer to add a method that checks if a method has a method
comment and use that. This way we can easily deprecate
#firstPrecodeCommentFor:  later
The file was modifiedsrc/System-Changes/ChangeSet.class.st (diff)
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)
The file was modifiedsrc/Kernel/CompiledMethod.class.st (diff)
Commit d6a713850966a50a990d534a531ca9b933472a04 by marcus.denker
move testCommentsParent to RBMethodNodeTest (as it tests the AST level)
The file was modifiedsrc/Kernel-Tests-Extended/CompiledMethodTest.class.st (diff)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)
The file was modifiedsrc/AST-Core-Tests/RBMethodNodeTest.class.st (diff)