Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests')
-rw-r--r--tests/org.eclipse.eef.tests/src/org/eclipse/eef/tests/internal/controllers/EEFTextControllerTests.java18
1 files changed, 13 insertions, 5 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 286757307..56fca7160 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,11 +97,15 @@ public class EEFTextControllerTests {
controller.onNewLabel(newLabel -> {
// do nothing
- });
+ });
controller.onNewHelp(newHelp -> {
// nothing
- });
+ });
+
+ controller.onValidation(result -> {
+ // nothing
+ });
controller.refresh();
}
@@ -142,11 +146,15 @@ public class EEFTextControllerTests {
controller.onNewValue(newValue -> {
// nothing
- });
+ });
controller.onNewHelp(newHelp -> {
// nothing
- });
+ });
+
+ controller.onValidation(result -> {
+ // nothing
+ });
controller.refresh();
}

Back to the top