Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 153924 Details for
Bug 293300
[formatter] The formatter is still unstable in certain circumstances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to fix failure in JDT/UI tests
v15d_ui.tests.txt (text/plain), 13.87 KB, created by
Frederic Fusier
on 2009-12-07 10:06:13 EST
(
hide
)
Description:
Patch to fix failure in JDT/UI tests
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2009-12-07 10:06:13 EST
Size:
13.87 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui.tests >Index: ui/org/eclipse/jdt/ui/tests/quickfix/SurroundWithTemplateTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/SurroundWithTemplateTest.java,v >retrieving revision 1.7 >diff -u -r1.7 SurroundWithTemplateTest.java >--- ui/org/eclipse/jdt/ui/tests/quickfix/SurroundWithTemplateTest.java 11 Sep 2008 11:57:38 -0000 1.7 >+++ ui/org/eclipse/jdt/ui/tests/quickfix/SurroundWithTemplateTest.java 5 Dec 2009 19:56:12 -0000 >@@ -91,13 +91,13 @@ > corePrefs.setValue(JavaCore.CODEASSIST_FIELD_SUFFIXES, ""); > corePrefs.setValue(JavaCore.CODEASSIST_STATIC_FIELD_SUFFIXES, ""); > >- fJProject1= ProjectTestSetup.getProject(); >+ this.fJProject1= ProjectTestSetup.getProject(); > >- fSourceFolder= JavaProjectHelper.addSourceContainer(fJProject1, "src"); >+ this.fSourceFolder= JavaProjectHelper.addSourceContainer(this.fJProject1, "src"); > } > > protected void tearDown() throws Exception { >- JavaProjectHelper.clear(fJProject1, ProjectTestSetup.getDefaultClasspath()); >+ JavaProjectHelper.clear(this.fJProject1, ProjectTestSetup.getDefaultClasspath()); > } > > private static List getRunnableProposal(AssistContext context) throws CoreException { >@@ -126,7 +126,7 @@ > > public void testSurroundWithRunnable1() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -163,7 +163,7 @@ > > public void testSurroundWithRunnable2() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -220,7 +220,7 @@ > > public void testSurroundWithRunnable3() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -281,7 +281,7 @@ > > public void testSurroundWithRunnable4() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -325,7 +325,7 @@ > > public void testSurroundWithRunnable5() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -365,7 +365,7 @@ > > public void testSurroundWithRunnable6() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -408,7 +408,7 @@ > > public void testSurroundWithRunnable7() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -447,7 +447,7 @@ > > public void testSurroundWithRunnable8() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -498,7 +498,7 @@ > > public void testSurroundWithRunnable9() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -539,7 +539,7 @@ > > public void testSurroundWithRunnable10() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -584,7 +584,7 @@ > > public void testSurroundWithRunnable11() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -624,7 +624,7 @@ > > public void testSurroundWithRunnable12() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -662,7 +662,7 @@ > > public void testSurroundWithRunnable13() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -704,7 +704,7 @@ > > public void testSurroundWithRunnable14() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -744,7 +744,7 @@ > > public void testSurroundWithRunnable15() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -788,7 +788,7 @@ > > public void testSurroundWithRunnable16() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -829,7 +829,7 @@ > > public void testSurroundWithRunnable17() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -869,7 +869,7 @@ > > public void testSurroundWithRunnable18() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -909,7 +909,7 @@ > > public void testSurroundWithRunnable19() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -952,7 +952,7 @@ > > public void testSurroundWithRunnable20() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -993,7 +993,7 @@ > > public void testSurroundWithRunnable21() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1035,7 +1035,7 @@ > > public void testSurroundWithRunnable22() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1085,7 +1085,7 @@ > > public void testSurroundWithRunnable23() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1126,7 +1126,7 @@ > > public void testSurroundWithRunnable24() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1274,7 +1274,7 @@ > > public void testSurroundWithRunnable27() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1314,7 +1314,7 @@ > > public void testSurroundWithRunnable28() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1359,7 +1359,7 @@ > > public void testSurroundWithRunnable29() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1406,7 +1406,7 @@ > > public void testSurroundWithRunnable30() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test;\n"); > buf.append("public class E {\n"); >@@ -1444,7 +1444,7 @@ > > public void testSurroundWithRunnableBug133560() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1483,7 +1483,7 @@ > > public void testSurroundWithRunnableBug233278() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1534,7 +1534,7 @@ > > public void testSurroundWithRunnableBug138323() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E<I> {\n"); >@@ -1569,7 +1569,7 @@ > > public void testSurroundWithBug162549() throws Exception { > >- IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null); >+ IPackageFragment pack1= this.fSourceFolder.createPackageFragment("test1", false, null); > StringBuffer buf= new StringBuffer(); > buf.append("package test1;\n"); > buf.append("public class E {\n"); >@@ -1605,8 +1605,8 @@ > buf.append(" if (true) {\n"); > buf.append(" System.out.println(\"T\");\n"); > buf.append(" } // else {\n"); >- buf.append(" // System.out.println(\"F\");\n"); >- buf.append(" // }\n"); >+ buf.append(" // System.out.println(\"F\");\n"); >+ buf.append(" // }\n"); > buf.append(" }\n"); > buf.append(" };\n"); > buf.append(" }\n");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 293300
:
153921
| 153924 |
153944