ca52f554a1/org.scala-refactoring.library/src/test/scala/scala/tools/refactoring/tests/implementations/RenameTest.scala

28048e468f2f0a7b1479d2975df94b27e284e73eca52f554a13ca631512f929d8a0e10ab0cb65831
230
  @Test
230
  @Test
231
  def renameReferenceToOuterclass = new FileSet {
231
  def renameReferenceToOuterclass = new FileSet {
232
    """
232
    """
233
    package renameReferenceToOuterclass
233
    class /*(*/Foo/*)*/ {
234
    class /*(*/Foo/*)*/ {
234
      class Bar {
235
      class Bar {
235
        def foo = Foo.this
236
        def foo = Foo.this
236
      }
237
      }
237
    }""" becomes
238
    }""" becomes
238
    """
239
    """
240
    package renameReferenceToOuterclass
239
    class /*(*/Blubb/*)*/ {
241
    class /*(*/Blubb/*)*/ {
240
      class Bar {
242
      class Bar {
241
        def foo = Blubb.this
243
        def foo = Blubb.this
...
...
977
  @Test
979
  @Test
978
  def renameClassExplicitSelfTypeAnnotation= new FileSet {
980
  def renameClassExplicitSelfTypeAnnotation= new FileSet {
979
    """
981
    """
982
    package renameClassExplicitSelfTypeAnnotation
980
    trait A
983
    trait A
981
    class /*(*/Foo/*)*/ {
984
    class /*(*/Foo/*)*/ {
982
      self: Foo with A=>
985
      self: Foo with A=>
983
    }
986
    }
984
    """ becomes 
987
    """ becomes 
985
    """
988
    """
989
    package renameClassExplicitSelfTypeAnnotation
986
    trait A
990
    trait A
987
    class /*(*/Babar/*)*/ {
991
    class /*(*/Babar/*)*/ {
988
      self: Babar with A=>
992
      self: Babar with A=>