Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/tests/org.eclipse.wst.html.ui.tests/src/org/eclipse/wst/html/ui/tests/contentassist/TestHTMLContentAssistComputers.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/tests/org.eclipse.wst.html.ui.tests/src/org/eclipse/wst/html/ui/tests/contentassist/TestHTMLContentAssistComputers.java b/web/tests/org.eclipse.wst.html.ui.tests/src/org/eclipse/wst/html/ui/tests/contentassist/TestHTMLContentAssistComputers.java
index f5a913e69a..c0417e269f 100644
--- a/web/tests/org.eclipse.wst.html.ui.tests/src/org/eclipse/wst/html/ui/tests/contentassist/TestHTMLContentAssistComputers.java
+++ b/web/tests/org.eclipse.wst.html.ui.tests/src/org/eclipse/wst/html/ui/tests/contentassist/TestHTMLContentAssistComputers.java
@@ -199,12 +199,12 @@ public class TestHTMLContentAssistComputers extends TestCase {
}
public void testResourceProposalsForImgSrc() throws Exception {
- IFile referencePoint = fProject.getFile("testResources.html");
+ IFile referenceFile = fProject.getFile("testResources.html");
ImageWebResourcesCompletionProposalComputer proposalComputer = new ImageWebResourcesCompletionProposalComputer();
Method findMatchingPaths = AbstractWebResourcesCompletionProposalComputer.class.getDeclaredMethod("findMatchingPaths", IResource.class);
assertNotNull("findMatchingPaths", findMatchingPaths);
findMatchingPaths.setAccessible(true);
- IPath[] paths = (IPath[]) findMatchingPaths.invoke(proposalComputer, referencePoint);
+ IPath[] paths = (IPath[]) findMatchingPaths.invoke(proposalComputer, referenceFile);
assertNotNull("paths", paths);
String[] strings = new String[paths.length];
for (int i = 0; i < strings.length; i++) {

Back to the top