Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior')
-rw-r--r--tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/commands/TestFSMGenModel.xtend5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/commands/TestFSMGenModel.xtend b/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/commands/TestFSMGenModel.xtend
index 2c5b6f990..dc4c947b1 100644
--- a/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/commands/TestFSMGenModel.xtend
+++ b/tests/org.eclipse.etrice.ui.behavior.tests/src/org/eclipse/etrice/ui/behavior/commands/TestFSMGenModel.xtend
@@ -39,12 +39,13 @@ import static org.junit.Assert.assertFalse
import static org.junit.Assert.assertNotNull
import static org.junit.Assert.assertTrue
import org.eclipse.etrice.generator.base.logging.NullLogger
+import org.eclipse.etrice.core.genmodel.fsm.ExtendedFsmGenBuilderFactory
class TestFSMGenModel extends TestBase {
val injector = new RoomStandaloneSetup().createInjectorAndDoEMFRegistration()
protected IDiagnostician diagnostician = new NullDiagnostician
- protected extension ExtendedFsmGenBuilder builder = new ExtendedFsmGenBuilder(injector, diagnostician)
+ protected extension ExtendedFsmGenBuilder builder = injector.getInstance(ExtendedFsmGenBuilderFactory).create(diagnostician)
protected def createResourceSetWithGc(String roomFile, String actorName) {
prepare(BehaviorTestActivator.^default.getBundle())
@@ -116,7 +117,7 @@ class TestFSMGenModel extends TestBase {
assertEquals(stateGraphItemsNames, namesFromGenModel)
}
- private def <T extends Comparable> toSortedSet(Iterable<T> iterable) {
+ private def <T extends Comparable<?>> toSortedSet(Iterable<T> iterable) {
Sets.<T>newTreeSet(iterable)
}

Back to the top