Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Krasilnikov2008-02-18 15:50:42 +0000
committerOleg Krasilnikov2008-02-18 15:50:42 +0000
commit84c9619cf4928ef468d241f8ddd95ee09081baf7 (patch)
tree864e5a3efb7069b00f9bbefd7d8897d5afb45678 /core/org.eclipse.cdt.ui.tests
parente7d5ea45671d607b2189c8ad1eccef6a1dec9419 (diff)
downloadorg.eclipse.cdt-84c9619cf4928ef468d241f8ddd95ee09081baf7.tar.gz
org.eclipse.cdt-84c9619cf4928ef468d241f8ddd95ee09081baf7.tar.xz
org.eclipse.cdt-84c9619cf4928ef468d241f8ddd95ee09081baf7.zip
Bug #219321 : Info popup should show includes
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java
index d1ee03f2cad..d27cef82d13 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/chelp/CHelpProviderTester.java
@@ -111,6 +111,7 @@ public class CHelpProviderTester{
private String fPrototype = "Prototype";
private String fSummary = "Summary";
private String fSynopsis = "Synopsis";
+ private IRequiredInclude[] incs = new IRequiredInclude[] { new RequiredInclude("dummy.h")};
private class RequiredInclude implements IRequiredInclude {
private String include;
@@ -152,7 +153,7 @@ public class CHelpProviderTester{
public IFunctionPrototypeSummary getPrototype() { return new FunctionPrototypeSummary(); }
public IRequiredInclude[] getIncludes() {
- return (IRequiredInclude[])null;
+ return incs;
}
}

Back to the top