Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Dahyabhai2020-05-12 01:02:36 +0000
committerNitin Dahyabhai2020-05-12 01:02:36 +0000
commitb289333ed92a45c4b229ffcae7b85fbf246e674a (patch)
tree0aa78801ede9e9a55e2a4d94b8a63e59b2ce0751
parentd6431be1effed65fd84ad408e33edd3653af6e4a (diff)
downloadwebtools.sourceediting-b289333ed92a45c4b229ffcae7b85fbf246e674a.tar.gz
webtools.sourceediting-b289333ed92a45c4b229ffcae7b85fbf246e674a.tar.xz
webtools.sourceediting-b289333ed92a45c4b229ffcae7b85fbf246e674a.zip
[563074] Failing unit test TestHTMLContentAssistComputers.testResourceProposalsForImgSrc()
-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