Eclipse Oxygen

Build: #285 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Java rename1: Test case result

The below summarizes the result of the test "Java rename1" in build 285 of Groovy-Eclipse - E47 build and publish - Default Job. View test case history
Description
Java rename1
Test class
org.codehaus.groovy.eclipse.refactoring.test.rename.SyntheticAccessorRenamingTests
Method
testJavaRename1
Duration
1 sec
Status
Failed (New Failure)

Error Log

java.lang.AssertionError: Refactoring produced unexpected results:
-----EXPECTING-----
package q;
class Java {
  void l() {
    p.First f = new p.First();
    f.flar = null;
    f.getFlar();
    f.setFlar(null);
    f.isFlar();
  }
}

--------WAS--------
package q;
class Java {
  void l() {
    p.First f = new p.First();
    f.foo = null;
    f.getFoo();
    f.setFoo(null);
    f.isFoo();
  }
}

java.lang.AssertionError: 
Refactoring produced unexpected results:
-----EXPECTING-----
package q;
class Java {
  void l() {
    p.First f = new p.First();
    f.flar = null;
    f.getFlar();
    f.setFlar(null);
    f.isFlar();
  }
}

--------WAS--------
package q;
class Java {
  void l() {
    p.First f = new p.First();
    f.foo = null;
    f.getFoo();
    f.setFoo(null);
    f.isFoo();
  }
}

	at org.codehaus.groovy.eclipse.refactoring.test.rename.SyntheticAccessorRenamingTests.performRefactoringAndUndo(SyntheticAccessorRenamingTests.groovy:49)
	at org.codehaus.groovy.eclipse.refactoring.test.rename.SyntheticAccessorRenamingTests.testJavaRename1(SyntheticAccessorRenamingTests.groovy:243)