Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStéphane Bégaudeau2016-02-22 14:14:42 +0000
committerStéphane Bégaudeau2016-02-22 14:31:52 +0000
commit315b65564a8e76ccc591ca5b61a1e0c39cbdb212 (patch)
tree69b91da48ed5c00c41560e126b7bd1519914f809 /tests
parent3e60da48465b513b5c1b7dc92d6fe4f03762384a (diff)
downloadorg.eclipse.eef-315b65564a8e76ccc591ca5b61a1e0c39cbdb212.tar.gz
org.eclipse.eef-315b65564a8e76ccc591ca5b61a1e0c39cbdb212.tar.xz
org.eclipse.eef-315b65564a8e76ccc591ca5b61a1e0c39cbdb212.zip
Adds support for help tooltips
Change-Id: Ic62933c13710a826111be6f75e162b5837dd0de4 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java
index 9489758c8..286757307 100644
--- a/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java
+++ b/tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java
@@ -71,7 +71,7 @@ public class EEFTextControllerTests {
AdapterFactory adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
this.resourceSet = new ResourceSetImpl();
this.resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap()
- .put(Resource.Factory.Registry.DEFAULT_EXTENSION, new XMIResourceFactoryImpl());
+ .put(Resource.Factory.Registry.DEFAULT_EXTENSION, new XMIResourceFactoryImpl());
this.editingDomain = new TransactionalEditingDomainImpl(adapterFactory, this.resourceSet);
this.variableManager = new VariableManagerFactory().createVariableManager();
@@ -97,7 +97,11 @@ public class EEFTextControllerTests {
controller.onNewLabel(newLabel -> {
// do nothing
- });
+ });
+
+ controller.onNewHelp(newHelp -> {
+ // nothing
+ });
controller.refresh();
}
@@ -138,7 +142,11 @@ public class EEFTextControllerTests {
controller.onNewValue(newValue -> {
// nothing
- });
+ });
+
+ controller.onNewHelp(newHelp -> {
+ // nothing
+ });
controller.refresh();
}

Back to the top