{"action":"opened","issue":{"url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/issues/93","repository_url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring","labels_url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/issues/93/comments","events_url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/issues/93/events","html_url":"https://github.com/khatchad/Java-8-Interface-Refactoring/issues/93","id":134156615,"number":93,"title":"Enable testMethodContainedInTypeWithField8","user":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/milestones/3","html_url":"https://github.com/khatchad/Java-8-Interface-Refactoring/milestones/Preconditions","labels_url":"https://api.github.com/repos/khatchad/Java-8-Interface-Refactoring/milestones/3/labels","id":1335634,"number":3,"title":"Preconditions","description":"","creator":{"login":"khatchad","id":2048831,"avatar_url":"https://avatars.githubusercontent.com/u/2048831?v=3","gravatar_id":"","url":"https://api.github.com/users/khatchad","html_url":"https://github.com/khatchad","followers_url":"https://api.github.com/users/khatchad/followers","following_url":"https://api.github.com/users/khatchad/following{/other_user}","gists_url":"https://api.github.com/users/khatchad/gists{/gist_id}","starred_url":"https://api.github.com/users/khatchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khatchad/subscriptions","organizations_url":"https://api.github.com/users/khatchad/orgs","repos_url":"https://api.github.com/users/khatchad/repos","events_url":"https://api.github.com/users/khatchad/events{/privacy}","received_events_url":"https://api.github.com/users/khatchad/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":17,"state":"open","created_at":"2015-10-02T21:19:43Z","updated_at":"2016-02-17T02:16:46Z","due_on":"2016-01-27T05:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-17T02:16:46Z","updated_at":"2016-02-17T02:16:46Z","closed_at":null,"body":"\n-- Error Log from JUnit --\nClass: edu.cuny.citytech.defaultrefactoring.ui.tests.MigrateSkeletalImplementationToInterfaceRefactoringTest\nMethod: testMethodContainedInTypeWithField8\nActual: package p;\n\ninterface I {\n\tdefault void m() {\n\t\tint f2 = f;\n\t}\n}\n\npublic abstract class A implements I {\n\tpublic static int f;\n}\n\nExpected: package p;\n\ninterface I {\n\tdefault void m() {\n\t\tint f2 = A.f;\n\t}\n}\n\npublic abstract class A implements I {\n\tpublic static int f;\n}\n\nStack Trace:\njunit.framework.ComparisonFailure: expected:<...id m() {\n\t\tint f2 = [A.]f;\n\t}\n}\n\npublic abst...> but was:<...id m() {\n\t\tint f2 = []f;\n\t}\n}\n\npublic abst...>\n\tat junit.framework.Assert.assertEquals(Assert.java:100)\n\tat junit.framework.TestCase.assertEquals(TestCase.java:261)\n\tat org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.assertEqualLines(RefactoringTest.java:623)\n\tat org.eclipse.jdt.ui.tests.refactoring.RefactoringTest.assertEqualLines(RefactoringTest.java:607)\n\tat edu.cuny.citytech.refactoring.common.tests.RefactoringTest.helperPass(RefactoringTest.java:177)\n\tat edu.cuny.citytech.defaultrefactoring.ui.tests.MigrateSkeletalImplementationToInterfaceRefactoringTest.testMethodContainedInTypeWithField8(MigrateSkeletalImplementationToInterfaceRefactoringTest.java:228)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat junit.framework.TestCase.runTest(TestCase.java:176)\n\tat junit.framework.TestCase.runBare(TestCase.java:141)\n\tat junit.framework.TestResult$1.protect(TestResult.java:122)\n\tat junit.framework.TestResult.runProtected(TestResult.java:142)\n\tat junit.framework.TestResult.run(TestResult.java:125)\n\tat junit.framework.TestCase.run(TestCase.java:129)\n\tat junit.framework.TestSuite.runTest(TestSuite.java:252)\n\tat junit.framework.TestSuite.run(TestSuite.java:247)\n\tat junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)\n\tat junit.extensions.TestSetup$1.protect(TestSetup.java:23)\n\tat junit.framework.TestResult.runProtected(TestResult.java:142)\n\tat junit.extensions.TestSetup.run(TestSetup.java:27)\n\tat org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)\n\tat org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)\n\tat org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)\n\tat org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)\n\tat org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)\n\tat org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness$1.run(PlatformUITestHarness.java:47)\n\tat org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\n\tat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)\n\tat org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\n\tat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\n\tat org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:54)\n\tat org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:47)\n\tat org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:48)\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1515)\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1488)\n\n"}}