|
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2013 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2014 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Link Here
|
| 8 |
* Contributors: |
8 |
* Contributors: |
| 9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
| 10 |
* Nikolay Metchev <nikolaymetchev@gmail.com> - [extract local] Extract to local variable not replacing multiple occurrences in same statement - https://bugs.eclipse.org/406347 |
10 |
* Nikolay Metchev <nikolaymetchev@gmail.com> - [extract local] Extract to local variable not replacing multiple occurrences in same statement - https://bugs.eclipse.org/406347 |
|
|
11 |
* Nicolaj Hoess <nicohoess@gmail.com> - [extract local] puts declaration at wrong position - https://bugs.eclipse.org/65875 |
| 11 |
*******************************************************************************/ |
12 |
*******************************************************************************/ |
| 12 |
package org.eclipse.jdt.ui.tests.refactoring; |
13 |
package org.eclipse.jdt.ui.tests.refactoring; |
| 13 |
|
14 |
|
|
Link Here
|
| 681 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=335173 |
682 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=335173 |
| 682 |
helper1(5, 20, 5, 29, true, false, "temp", "i"); |
683 |
helper1(5, 20, 5, 29, true, false, "temp", "i"); |
| 683 |
} |
684 |
} |
|
|
685 |
|
| 686 |
public void test110() throws Exception { |
| 687 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=65875 |
| 688 |
helper1(6, 9, 6, 25, true, false, "temp", "calculateCount"); |
| 689 |
} |
| 690 |
|
| 691 |
public void test111() throws Exception { |
| 692 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=65875 |
| 693 |
helper1(11, 9, 11, 25, true, false, "temp", "calculateCount"); |
| 694 |
} |
| 684 |
|
695 |
|
| 685 |
public void test113() throws Exception { |
696 |
public void test113() throws Exception { |
| 686 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=406347 |
697 |
//test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=406347 |