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 236463 Details for
Bug 388724
[surround with try/catch][quick fix] Multi-Catch QuickFix creates compiler error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
test for the patch
Bug 388724-test.patch (text/plain), 2.58 KB, created by
Samrat Dhillon
on 2013-10-14 13:53:56 EDT
(
hide
)
Description:
test for the patch
Filename:
MIME Type:
Creator:
Samrat Dhillon
Created:
2013-10-14 13:53:56 EDT
Size:
2.58 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_in/TestMultiTryCatch.java b/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_in/TestMultiTryCatch.java >new file mode 100644 >index 0000000..7d0bb9e >--- /dev/null >+++ b/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_in/TestMultiTryCatch.java >@@ -0,0 +1,13 @@ >+package trycatch17_in; >+import java.io.IOException; >+ >+public class TestMultiTryCatch { >+ private static void call() throws Exception, IOException { >+ >+ } >+ >+ public static void main(String[] args) { >+ /*[*/call();/*]*/ >+ } >+ >+} >\ No newline at end of file >diff --git a/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_out/TestMultiTryCatch.java b/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_out/TestMultiTryCatch.java >new file mode 100644 >index 0000000..9e808ed >--- /dev/null >+++ b/org.eclipse.jdt.ui.tests.refactoring/resources/SurroundWithWorkSpace/SurroundWithTests/trycatch17_out/TestMultiTryCatch.java >@@ -0,0 +1,16 @@ >+package trycatch17_out; >+import java.io.IOException; >+ >+public class TestMultiTryCatch { >+ private static void call() throws Exception, IOException { >+ >+ } >+ >+ public static void main(String[] args) { >+ try { >+ /*[*/call();/*]*/ >+ } catch (Exception e) { >+ } >+ } >+ >+} >\ No newline at end of file >diff --git a/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SurroundWithTests17.java b/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SurroundWithTests17.java >index 5ec9ec0..b4468a5 100644 >--- a/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SurroundWithTests17.java >+++ b/org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/SurroundWithTests17.java >@@ -7,6 +7,7 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * Samrat Dhillon samrat.dhillon@gmail.com - Bug 388724 - [surround with try/catch][quick fix] Multi-Catch QuickFix creates compiler error > *******************************************************************************/ > package org.eclipse.jdt.ui.tests.refactoring; > >@@ -59,5 +60,9 @@ > public void testSimple2() throws Exception { > tryCatchTest(); > } >+ >+ public void testMultiTryCatch() throws Exception { >+ tryCatchTest(); >+ } > > } >\ No newline at end of file
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 388724
:
221222
| 236463 |
256663