From 34a060195b0b6b3b7d411a036f85c1c9beaed711 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Fri, 4 Dec 2020 16:11:28 +0100 Subject: [PATCH 01/19] #4 First test Jenkinsfile to build on Eclipse Foundation Jenkins server. --- Jenkinsfile | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..7f0af610f --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,61 @@ +////////////////////////////////////////////////////////////////////////////// +// Copyright (c) 2010, 2020 Contributors to the Eclipse Foundation +// +// See the NOTICE file(s) distributed with this work for additional +// information regarding copyright ownership. +// +// This program and the accompanying materials are made available +// under the terms of the MIT License which is available at +// https://opensource.org/licenses/MIT +// +// SPDX-License-Identifier: MIT +////////////////////////////////////////////////////////////////////////////// + +pipeline { + agent any + tools { + maven 'apache-maven-latest' + jdk 'adoptopenjdk-hotspot-jdk8-latest' + } + options { + timeout(time: 60, unit: 'MINUTES') + } + stages { + stage('Info') { + steps { + sh ''' + java -version + mvn -version + ''' + } + } + stage('Build') { + steps { + sh ''' + mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests clean package + ''' + } + } + stage('Test') { + steps { + sh ''' + mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests verify + ''' + } + } + } + post { + // Send an e-mail on unsuccessful builds (unstable, failure, aborted). + unsuccessful { + emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', + body: '''Check console output at $BUILD_URL to view the results.''', + recipientProviders: [culprits(), requestor()] + } + // Send an e-mail on fixed builds (back to normal). + fixed { + emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', + body: '''Check console output at $BUILD_URL to view the results.''', + recipientProviders: [culprits(), requestor()] + } + } +} -- GitLab From a210f3d915272101ad70ffdddc874de955df1240 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Fri, 4 Dec 2020 16:24:26 +0100 Subject: [PATCH 02/19] #4 Jenkinsfile trailing whitespace removed. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7f0af610f..095498ce6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { jdk 'adoptopenjdk-hotspot-jdk8-latest' } options { - timeout(time: 60, unit: 'MINUTES') + timeout(time: 60, unit: 'MINUTES') } stages { stage('Info') { @@ -47,13 +47,13 @@ pipeline { post { // Send an e-mail on unsuccessful builds (unstable, failure, aborted). unsuccessful { - emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', + emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', body: '''Check console output at $BUILD_URL to view the results.''', recipientProviders: [culprits(), requestor()] } // Send an e-mail on fixed builds (back to normal). fixed { - emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', + emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', body: '''Check console output at $BUILD_URL to view the results.''', recipientProviders: [culprits(), requestor()] } -- GitLab From d521f18f690b0c8dddeec6ca4d366997ef6e9764 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Fri, 4 Dec 2020 16:28:30 +0100 Subject: [PATCH 03/19] #4 Jenkinsfile: timestamps enabled + tools alphabetically ordered. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 095498ce6..2a9dafc80 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,11 +14,12 @@ pipeline { agent any tools { - maven 'apache-maven-latest' jdk 'adoptopenjdk-hotspot-jdk8-latest' + maven 'apache-maven-latest' } options { timeout(time: 60, unit: 'MINUTES') + timestamps() } stages { stage('Info') { -- GitLab From dd4eab91f361f31b0cfafbfcdcf78abcf0089df2 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Fri, 4 Dec 2020 20:38:13 +0100 Subject: [PATCH 04/19] #4 Trying Jenkins build with longer timeout. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2a9dafc80..83bbf990f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { maven 'apache-maven-latest' } options { - timeout(time: 60, unit: 'MINUTES') + timeout(time: 5, unit: 'HOURS') timestamps() } stages { -- GitLab From b415eee565c2cbfc5ff941d0e66526b0c106af94 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Sat, 5 Dec 2020 11:22:55 +0100 Subject: [PATCH 05/19] #4 Use Jenkins pod template that allows UI tests. --- Jenkinsfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 83bbf990f..e16639d2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,12 @@ ////////////////////////////////////////////////////////////////////////////// pipeline { - agent any + agent { + // The 'centos-7' pod template allows UI tests. + kubernetes { + label 'centos-7' + } + } tools { jdk 'adoptopenjdk-hotspot-jdk8-latest' maven 'apache-maven-latest' -- GitLab From c175908c63567b7a5a842e7c70c3ae53c89fdc1d Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Sat, 5 Dec 2020 11:23:38 +0100 Subject: [PATCH 06/19] #4 Reduced Jenkins timeout to 2 hours. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e16639d2c..9ea8cac69 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { maven 'apache-maven-latest' } options { - timeout(time: 5, unit: 'HOURS') + timeout(time: 2, unit: 'HOURS') timestamps() } stages { -- GitLab From 5f45ef03ee4257a39acad19458993ab704beeb9f Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Sat, 5 Dec 2020 13:52:58 +0100 Subject: [PATCH 07/19] #4 More changes to ensure UI tests work in Jenkins pipeline. - Using the 'centos-7' pod template was not enough. - It solved the NoClassDefFoundError for SWT Display class. - Which solved the hanging Chi test. - Chi tests were now successful. - Subsequently, now the CIF tests failed. - Now using Xvnc plugin to ensure display is actually available. - This will hopefully make the CIF tests successful as well. --- Jenkinsfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9ea8cac69..63ba1a9c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,9 +44,11 @@ pipeline { } stage('Test') { steps { - sh ''' - mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests verify - ''' + wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) { + sh ''' + mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests verify + ''' + } } } } -- GitLab From b58652a97fbea64830eae376ac92c8baff9b7590 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Mon, 7 Dec 2020 14:03:45 +0100 Subject: [PATCH 08/19] #4 Jenkinsfile: change timeout to 1 hour to test build triggers. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 63ba1a9c9..e41c63b39 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ pipeline { maven 'apache-maven-latest' } options { - timeout(time: 2, unit: 'HOURS') + timeout(time: 1, unit: 'HOURS') timestamps() } stages { -- GitLab From 5cbf333efa475b14295a30dcd74a4b7239ab2930 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 09:59:32 +0100 Subject: [PATCH 09/19] #4 CIF to PLC tests: ensure consistent output regardless of timezone. --- .../escet/cif/cif2plc/writers/PlcOpenXmlWriter.java | 10 +++++----- .../tests/cif2plc/all1.plcopen.xml | 2 +- .../tests/cif2plc/all2.plcopen.xml | 2 +- .../tests/cif2plc/all3.plcopen.xml | 2 +- .../tests/cif2plc/array_tuple_mix.plcopen.xml | 2 +- .../tests/cif2plc/arrays.plcopen.xml | 2 +- .../tests/cif2plc/asgn_var_parts.plcopen.xml | 2 +- .../tests/cif2plc/button_lamp.plcopen.xml | 2 +- .../tests/cif2plc/constants_elim.plcopen.xml | 2 +- .../tests/cif2plc/constants_keep.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_all_all.plcopen.xml | 2 +- .../cif2plc/formal_finvoke_all_others.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_all_std.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_multi_all.plcopen.xml | 2 +- .../cif2plc/formal_finvoke_multi_others.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_multi_std.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_none_all.plcopen.xml | 2 +- .../cif2plc/formal_finvoke_none_others.plcopen.xml | 2 +- .../tests/cif2plc/formal_finvoke_none_std.plcopen.xml | 2 +- .../tests/cif2plc/int_funcs.plcopen.xml | 2 +- .../tests/cif2plc/negative_zero.plcopen.xml | 2 +- .../tests/cif2plc/option_max_iter_inf.plcopen.xml | 2 +- .../tests/cif2plc/options.plcopen.xml | 2 +- .../tests/cif2plc/renaming.plcopen.xml | 2 +- 24 files changed, 28 insertions(+), 28 deletions(-) diff --git a/cif/org.eclipse.escet.cif.cif2plc/src/org/eclipse/escet/cif/cif2plc/writers/PlcOpenXmlWriter.java b/cif/org.eclipse.escet.cif.cif2plc/src/org/eclipse/escet/cif/cif2plc/writers/PlcOpenXmlWriter.java index 23bc1be6e..344842462 100644 --- a/cif/org.eclipse.escet.cif.cif2plc/src/org/eclipse/escet/cif/cif2plc/writers/PlcOpenXmlWriter.java +++ b/cif/org.eclipse.escet.cif.cif2plc/src/org/eclipse/escet/cif/cif2plc/writers/PlcOpenXmlWriter.java @@ -23,8 +23,8 @@ import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; -import java.text.SimpleDateFormat; -import java.util.Date; +import java.time.Instant; +import java.time.format.DateTimeFormatter; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; @@ -126,9 +126,9 @@ public class PlcOpenXmlWriter { fileHeader.setAttribute("companyName", "Eclipse Foundation"); fileHeader.setAttribute("productName", "CIF to Structured Text"); fileHeader.setAttribute("productVersion", "0.0"); // Dummy version. - Date date = new Date(0); // Dummy date, to allow for automated testing. - SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss"); - fileHeader.setAttribute("creationDateTime", sdf.format(date)); + Instant instant = Instant.ofEpochMilli(0); // Dummy instant, to allow for automated testing. + String formattedDateTime = DateTimeFormatter.ISO_INSTANT.format(instant); + fileHeader.setAttribute("creationDateTime", formattedDateTime); Element contentHeader = doc.createElement("contentHeader"); root.appendChild(contentHeader); diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all1.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all1.plcopen.xml index 4475ce67c..335518fb3 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all1.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all1.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all2.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all2.plcopen.xml index 36637c36a..9780dc195 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all2.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all2.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all3.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all3.plcopen.xml index 406d320cc..aaf20f776 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all3.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/all3.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/array_tuple_mix.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/array_tuple_mix.plcopen.xml index cbe3fb57d..d30b5b2c4 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/array_tuple_mix.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/array_tuple_mix.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/arrays.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/arrays.plcopen.xml index ad329d15a..376e6f357 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/arrays.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/arrays.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/asgn_var_parts.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/asgn_var_parts.plcopen.xml index 5f509f269..df317e4b2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/asgn_var_parts.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/asgn_var_parts.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/button_lamp.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/button_lamp.plcopen.xml index ac8ee1f79..102b84da1 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/button_lamp.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/button_lamp.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_elim.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_elim.plcopen.xml index c71ad7405..ff1a38b66 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_elim.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_elim.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_keep.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_keep.plcopen.xml index 633601a28..824eb8c83 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_keep.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/constants_keep.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_all.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_all.plcopen.xml index 2d56e5655..fb12256c5 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_all.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_all.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_others.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_others.plcopen.xml index 1d9492a67..e03281648 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_others.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_others.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_std.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_std.plcopen.xml index a66f6337d..e7fa28ca2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_std.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_all_std.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_all.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_all.plcopen.xml index 60f8367ae..a0b3b866d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_all.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_all.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_others.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_others.plcopen.xml index 8096c836e..c721c146c 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_others.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_others.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_std.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_std.plcopen.xml index 7670d23d9..ca0854f6f 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_std.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_multi_std.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_all.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_all.plcopen.xml index cba6019ba..159f91133 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_all.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_all.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_others.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_others.plcopen.xml index cba6019ba..159f91133 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_others.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_others.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_std.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_std.plcopen.xml index cba6019ba..159f91133 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_std.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/formal_finvoke_none_std.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/int_funcs.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/int_funcs.plcopen.xml index badb47794..fe0956d3a 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/int_funcs.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/int_funcs.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/negative_zero.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/negative_zero.plcopen.xml index c74356e80..3799fa50a 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/negative_zero.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/negative_zero.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/option_max_iter_inf.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/option_max_iter_inf.plcopen.xml index 1b4ba39fe..b261290f5 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/option_max_iter_inf.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/option_max_iter_inf.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/options.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/options.plcopen.xml index ef635b463..b1667608e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/options.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/options.plcopen.xml @@ -1,5 +1,5 @@ - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/renaming.plcopen.xml b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/renaming.plcopen.xml index c9283799a..26c6a653d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2plc/renaming.plcopen.xml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2plc/renaming.plcopen.xml @@ -1,5 +1,5 @@ - + -- GitLab From 59b1d97d38bd9ea5d2bc80c541a973d5a9be5f08 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 10:31:59 +0100 Subject: [PATCH 10/19] #4 CIF to yEd tests: consistent test output for different platforms. - Ignore certain layout information. - Added Strings.replaceRegex static method to use in ToolDef scripts. --- .../META-INF/MANIFEST.MF | 3 +- .../tests/cif2yed/all_colors.model.graphml | 42 ++++---- .../cif2yed/all_colors.relations.graphml | 58 +++++------ .../tests/cif2yed/comm_auts.model.graphml | 22 ++--- .../tests/cif2yed/comm_auts.relations.graphml | 14 +-- .../tests/cif2yed/comm_def_inst.model.graphml | 26 ++--- .../cif2yed/comm_def_inst.relations.graphml | 36 +++---- .../tests/cif2yed/comm_sync.model.graphml | 22 ++--- .../tests/cif2yed/comm_sync.relations.graphml | 22 ++--- .../tests/cif2yed/comp_param.model.graphml | 36 +++---- .../tests/cif2yed/data_all.model.graphml | 22 ++--- .../tests/cif2yed/data_all.relations.graphml | 22 ++--- .../tests/cif2yed/data_basic.model.graphml | 26 ++--- .../cif2yed/data_basic.relations.graphml | 38 ++++---- .../tests/cif2yed/data_refs.model.graphml | 66 ++++++------- .../tests/cif2yed/data_refs.relations.graphml | 84 ++++++++-------- .../tests/cif2yed/empty_comps.model.graphml | 82 ++++++++-------- .../cif2yed/empty_comps.relations.graphml | 42 ++++---- .../tests/cif2yed/evt_local_use.model.graphml | 30 +++--- .../cif2yed/evt_local_use.relations.graphml | 36 +++---- .../evt_param_directions.model.graphml | 62 ++++++------ .../evt_param_directions.relations.graphml | 96 +++++++++---------- .../tests/cif2yed/evt_params.model.graphml | 24 ++--- .../cif2yed/evt_params.relations.graphml | 32 +++---- .../cif2yed/evt_ref_complex.model.graphml | 34 +++---- .../cif2yed/evt_ref_complex.relations.graphml | 36 +++---- .../tests/cif2yed/evt_ref_cross.model.graphml | 24 ++--- .../cif2yed/evt_ref_cross.relations.graphml | 28 +++--- .../cif2yed/evt_ref_def_in_def.model.graphml | 26 ++--- .../evt_ref_def_in_def.relations.graphml | 48 +++++----- .../evt_ref_passed_along.model.graphml | 26 ++--- .../evt_ref_passed_along.relations.graphml | 40 ++++---- .../cif2yed/evt_ref_via_inst.model.graphml | 22 ++--- .../evt_ref_via_inst.relations.graphml | 14 +-- .../tests/cif2yed/inits.model.graphml | 24 ++--- .../tests/cif2yed/inits.relations.graphml | 18 ++-- .../tests/cif2yed/insts.model.graphml | 12 +-- .../tests/cif2yed/locs_edges.model.graphml | 16 ++-- .../cif2yed/locs_edges.relations.graphml | 44 ++++----- .../cif2yed/model_filter_all.model.graphml | 24 ++--- .../model_filter_all.relations.graphml | 20 ++-- .../model_filter_default.model.graphml | 24 ++--- .../model_filter_default.relations.graphml | 20 ++-- .../cif2yed/model_filter_none.model.graphml | 12 +-- .../model_filter_none.relations.graphml | 20 ++-- .../opt_syntax_highlight.model.graphml | 10 +- .../opt_syntax_highlight.relations.graphml | 6 +- .../tests/cif2yed/rel_cont_der.model.graphml | 4 +- .../cif2yed/rel_cont_der.relations.graphml | 2 +- .../cif2yed/relations_none.model.graphml | 16 ++-- .../tests/cif2yed/small.model.graphml | 10 +- .../tests/cif2yed/small.relations.graphml | 6 +- .../tests/test_cif2yed.tooldef | 15 +++ .../eclipse/escet/common/java/Strings.java | 17 ++++ 54 files changed, 797 insertions(+), 764 deletions(-) diff --git a/cif/org.eclipse.escet.cif.tests/META-INF/MANIFEST.MF b/cif/org.eclipse.escet.cif.tests/META-INF/MANIFEST.MF index 2117276a3..d483370a9 100644 --- a/cif/org.eclipse.escet.cif.tests/META-INF/MANIFEST.MF +++ b/cif/org.eclipse.escet.cif.tests/META-INF/MANIFEST.MF @@ -23,6 +23,7 @@ Require-Bundle: org.junit;bundle-version="4.12.0", org.eclipse.escet.cif.explorer;bundle-version="0.1.0", org.eclipse.escet.cif.merger;bundle-version="0.1.0", org.eclipse.escet.cif.simulator;bundle-version="0.1.0", - org.eclipse.escet.cif.cif2cif.app;bundle-version="0.1.0" + org.eclipse.escet.cif.cif2cif.app;bundle-version="0.1.0", + org.eclipse.escet.common.java;bundle-version="0.1.0" Export-Package: org.eclipse.escet.cif.tests Automatic-Module-Name: org.eclipse.escet.cif.tests diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml index 1b06b20f4..53307c488 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">grp1</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -54,7 +54,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">evt1</span><span style="color:#402020;">;</span></html> @@ -63,7 +63,7 @@ - + Declarations ... @@ -79,7 +79,7 @@ location loc - + <html><span style="color:#000000;">loc</span></html> @@ -90,7 +90,7 @@ <init> - + @@ -127,7 +127,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1b</span></html> @@ -141,7 +141,7 @@ location - + <html></html> @@ -152,7 +152,7 @@ <init> - + @@ -191,7 +191,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">defs2</span></html> @@ -213,7 +213,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -235,7 +235,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">param2</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">param3</span><span style="color:#402020;">)</span></html> @@ -249,7 +249,7 @@ location - + <html></html> @@ -260,7 +260,7 @@ <init> - + @@ -298,7 +298,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -312,7 +312,7 @@ location - + <html></html> @@ -323,7 +323,7 @@ <init> - + @@ -354,7 +354,7 @@ - + Instantiations <html><span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">(</span><span style="color:#000000;">grp1.aut1.evt1</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">grp1.aut1.loc</span><span style="color:#402020;">);</span></html> @@ -362,7 +362,7 @@ - + Instantiations ... @@ -381,7 +381,7 @@ - + Instantiations <html><span style="color:#000000;">grp2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">();</span></html> @@ -389,7 +389,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml index 5d54f2d4f..0634d38c9 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml @@ -96,7 +96,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">defs2</span></html> @@ -120,7 +120,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -144,7 +144,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -158,7 +158,7 @@ event param2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">param2</span></html> @@ -170,7 +170,7 @@ location param3 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">param3</span></html> @@ -182,7 +182,7 @@ param3 - + @@ -192,7 +192,7 @@ param2 - + <html></html> @@ -213,7 +213,7 @@ - + Component definitions @@ -237,7 +237,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -251,7 +251,7 @@ event param2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">param2</span></html> @@ -263,7 +263,7 @@ location param3 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">param3</span></html> @@ -285,7 +285,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -299,7 +299,7 @@ evt1 - + <html></html> @@ -320,7 +320,7 @@ - + Components @@ -344,7 +344,7 @@ - + Component definitions @@ -368,7 +368,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">grp2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -390,7 +390,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -404,7 +404,7 @@ evt1 - + <html></html> @@ -425,7 +425,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -439,7 +439,7 @@ event param2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">param2</span></html> @@ -451,7 +451,7 @@ location param3 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">param3</span></html> @@ -475,7 +475,7 @@ - + Components @@ -499,7 +499,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">grp1</span></html> @@ -521,7 +521,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1b</span></html> @@ -535,7 +535,7 @@ evt1 - + <html></html> @@ -556,7 +556,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -570,7 +570,7 @@ evt1 - + <html></html> @@ -581,7 +581,7 @@ location loc - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span></html> @@ -593,7 +593,7 @@ event evt1 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">evt1</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml index 5ebeba646..7317fcaf7 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">plant</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">snd</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">requirement</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">rcv</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">sync</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -196,7 +196,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -205,7 +205,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml index 8405f1192..37d1b99d0 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml @@ -32,7 +32,7 @@ event e !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">sync</span></html> @@ -66,7 +66,7 @@ e - + <html></html> @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">requirement</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">rcv</span></html> @@ -101,7 +101,7 @@ e ? - + <html><span style="color:#402020;">?</span></html> @@ -122,7 +122,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">plant</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">snd</span></html> @@ -136,7 +136,7 @@ e ! - + <html><span style="color:#402020;">!</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml index 19f266b88..c40263822 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">s</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">)</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">)</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -196,7 +196,7 @@ - + Instantiations <html><span style="color:#000000;">send</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">recv</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sync</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span></html> @@ -204,7 +204,7 @@ - + Instantiations ... @@ -221,7 +221,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -230,7 +230,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml index d71379863..3856aa89a 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event s !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">s</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -44,7 +44,7 @@ s ! - + <html><span style="color:#402020;">!</span></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">()</span></html> @@ -79,7 +79,7 @@ event r !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">r</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -91,7 +91,7 @@ r ? - + <html><span style="color:#402020;">?</span></html> @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">()</span></html> @@ -126,7 +126,7 @@ event c - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -138,7 +138,7 @@ c - + <html></html> @@ -159,7 +159,7 @@ - + Component definitions @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">send</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">()</span></html> @@ -197,7 +197,7 @@ event s !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">s</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -219,7 +219,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">recv</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">()</span></html> @@ -233,7 +233,7 @@ event r !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">r</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -255,7 +255,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sync</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">()</span></html> @@ -269,7 +269,7 @@ event c - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -283,7 +283,7 @@ event e !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -303,7 +303,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml index 99b1a7d23..1630f783e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -101,7 +101,7 @@ location - + <html></html> @@ -112,7 +112,7 @@ <init> - + @@ -158,7 +158,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -172,7 +172,7 @@ location - + <html></html> @@ -183,7 +183,7 @@ <init> - + @@ -223,7 +223,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">;</span></html> @@ -232,7 +232,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml index 4a3517e73..b9cf8e6a2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml @@ -56,7 +56,7 @@ event h !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">h</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -68,7 +68,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -88,7 +88,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -102,7 +102,7 @@ h - + <html></html> @@ -113,7 +113,7 @@ e - + <html></html> @@ -134,7 +134,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -148,7 +148,7 @@ h ? - + <html><span style="color:#402020;">?</span></html> @@ -159,7 +159,7 @@ e - + <html></html> @@ -180,7 +180,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -194,7 +194,7 @@ h ! - + <html><span style="color:#402020;">!</span></html> @@ -205,7 +205,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml index de7224dd0..d715b4112 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G7</span><span style="color:#402020;">()</span></html> @@ -60,7 +60,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g8</span></html> @@ -82,7 +82,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a9</span></html> @@ -98,7 +98,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e10</span><span style="color:#402020;">;</span></html> @@ -107,7 +107,7 @@ - + Declarations ... @@ -123,7 +123,7 @@ location - + <html></html> @@ -134,7 +134,7 @@ <init> - + @@ -168,7 +168,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g1</span></html> @@ -190,7 +190,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G2</span><span style="color:#402020;">(</span><span style="color:#000000;">g6.G7</span>&nbsp;<span style="color:#000000;">p3</span><span style="color:#402020;">)</span></html> @@ -212,7 +212,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g4</span></html> @@ -234,7 +234,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A5</span><span style="color:#402020;">()</span></html> @@ -248,7 +248,7 @@ location - + <html></html> @@ -259,7 +259,7 @@ <init> - + @@ -290,7 +290,7 @@ - + Instantiations <html><span style="color:#000000;">a5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A5</span><span style="color:#402020;">();</span></html> @@ -298,7 +298,7 @@ - + Instantiations ... @@ -321,7 +321,7 @@ - + Instantiations <html><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">g1.G2</span><span style="color:#402020;">(</span><span style="color:#000000;">g7</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g7</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">g6.G7</span><span style="color:#402020;">();</span></html> @@ -329,7 +329,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml index ec462fd29..015a88b86 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">v</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -119,7 +119,7 @@ location l1 - + <html><span style="color:#000000;">l1</span></html> @@ -130,7 +130,7 @@ <init> - + @@ -157,7 +157,7 @@ location l2 - + <html><span style="color:#000000;">l2</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#0000ff;">if</span>&nbsp;<span style="color:#000000;">b.l1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">1.0</span>&nbsp;<span style="color:#0000ff;">elif</span>&nbsp;<span style="color:#000000;">b.l2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">2.0</span>&nbsp;<span style="color:#0000ff;">else</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">3.0</span>&nbsp;<span style="color:#0000ff;">end</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml index 05659d34d..40d925c3f 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml @@ -88,7 +88,7 @@ cont z - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">z</span></html> @@ -100,7 +100,7 @@ input y - + <html><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -112,7 +112,7 @@ alg x - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">x</span></html> @@ -132,7 +132,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -146,7 +146,7 @@ location l2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l2</span></html> @@ -158,7 +158,7 @@ location l1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l1</span></html> @@ -180,7 +180,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -194,7 +194,7 @@ v - + @@ -204,7 +204,7 @@ e - + <html></html> @@ -215,7 +215,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -227,7 +227,7 @@ disc v - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">v</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml index af054c43f..a485cd947 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -54,7 +54,7 @@ - + Declarations <html><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -63,7 +63,7 @@ - + Declarations ... @@ -79,7 +79,7 @@ location l1 - + <html><span style="color:#000000;">l1</span></html> @@ -90,7 +90,7 @@ <init> - + @@ -117,7 +117,7 @@ location l2 - + <html><span style="color:#000000;">l2</span></html> @@ -141,7 +141,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.l1</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.l2</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">);</span></html> @@ -149,7 +149,7 @@ - + Instantiations ... @@ -166,7 +166,7 @@ - + Declarations <html><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -175,7 +175,7 @@ - + Declarations ... @@ -195,7 +195,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">g.y</span><span style="color:#402020;">;</span></html> @@ -204,7 +204,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml index 70d29ef35..4b187b16a 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml @@ -72,7 +72,7 @@ alg x - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">x</span></html> @@ -92,7 +92,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -116,7 +116,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -130,7 +130,7 @@ location loc - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span></html> @@ -142,7 +142,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -154,7 +154,7 @@ p - + @@ -164,7 +164,7 @@ location l2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l2</span></html> @@ -176,7 +176,7 @@ location l1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l1</span></html> @@ -198,7 +198,7 @@ - + Component definitions @@ -222,7 +222,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -236,7 +236,7 @@ location loc - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span></html> @@ -248,7 +248,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -260,7 +260,7 @@ location l2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l2</span></html> @@ -282,7 +282,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -296,7 +296,7 @@ location loc - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span></html> @@ -308,7 +308,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -320,7 +320,7 @@ location l1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l1</span></html> @@ -334,7 +334,7 @@ input y - + <html><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -354,7 +354,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml index 2575ef1b8..309dbfcab 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">v</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">v</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">pp</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -156,7 +156,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -172,7 +172,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations ... @@ -197,7 +197,7 @@ location l1 - + <html><span style="color:#000000;">l1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -208,7 +208,7 @@ <init> - + @@ -235,7 +235,7 @@ location l2 - + <html><span style="color:#000000;">l2</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -256,7 +256,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2</span></html> @@ -272,7 +272,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c4</span><span style="color:#402020;">;</span></html> @@ -281,7 +281,7 @@ - + Declarations ... @@ -297,7 +297,7 @@ location - + <html><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c4</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -308,7 +308,7 @@ <init> - + @@ -336,7 +336,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut3</span></html> @@ -352,7 +352,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -361,7 +361,7 @@ - + Declarations ... @@ -377,7 +377,7 @@ location - + <html><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -388,7 +388,7 @@ <init> - + @@ -416,7 +416,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut4</span></html> @@ -432,7 +432,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">bool</span>&nbsp;<span style="color:#000000;">b1</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">l1</span><span style="color:#402020;">;</span></html> @@ -441,7 +441,7 @@ - + Declarations ... @@ -457,7 +457,7 @@ location l1 - + <html><span style="color:#000000;">l1</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">b1</span><span style="color:#402020;">;</span></html> @@ -468,7 +468,7 @@ <init> - + @@ -499,7 +499,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.v</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.v</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span></html> @@ -507,7 +507,7 @@ - + Instantiations ... @@ -524,7 +524,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">9</span><span style="color:#402020;">..</span><span style="color:#006100;">9</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">3</span><span style="color:#402020;">..</span><span style="color:#006100;">3</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">3</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">func</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">f</span><span style="color:#402020;">(</span><span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">):</span><br>&nbsp;&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">c</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">a</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">;</span><br>&nbsp;&nbsp;<span style="color:#0000ff;">return</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">end</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">f</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">r</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c1</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c5</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">c6</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c6</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">c5</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#006100;">1.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c7</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">c7</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c2</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -533,7 +533,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml index 174be903c..ceeec882b 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -44,7 +44,7 @@ p - + @@ -54,7 +54,7 @@ v - + @@ -64,7 +64,7 @@ disc v - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">v</span></html> @@ -86,7 +86,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -100,7 +100,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -112,7 +112,7 @@ p - + @@ -122,7 +122,7 @@ alg pp - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">pp</span></html> @@ -144,7 +144,7 @@ - + Component definitions @@ -168,7 +168,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -182,7 +182,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -204,7 +204,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -218,7 +218,7 @@ disc v - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">v</span></html> @@ -240,7 +240,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -254,7 +254,7 @@ location l2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l2</span></html> @@ -266,7 +266,7 @@ location l1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l1</span></html> @@ -278,7 +278,7 @@ cont c3 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c3</span></html> @@ -300,7 +300,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2</span></html> @@ -314,7 +314,7 @@ cont c4 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c4</span></html> @@ -336,7 +336,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -350,7 +350,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -372,7 +372,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -386,7 +386,7 @@ alg p - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -408,7 +408,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut3</span></html> @@ -422,7 +422,7 @@ x - + @@ -432,7 +432,7 @@ disc y - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -444,7 +444,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> @@ -456,7 +456,7 @@ disc z - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">z</span></html> @@ -478,7 +478,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut4</span></html> @@ -492,7 +492,7 @@ location l1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">l1</span></html> @@ -504,7 +504,7 @@ alg b1 - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">b1</span></html> @@ -518,7 +518,7 @@ alg x - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">x</span></html> @@ -530,7 +530,7 @@ alg y - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -542,7 +542,7 @@ alg z - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">z</span></html> @@ -554,7 +554,7 @@ alg r - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">r</span></html> @@ -566,7 +566,7 @@ cont c1 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c1</span></html> @@ -578,7 +578,7 @@ cont c2 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c2</span></html> @@ -590,7 +590,7 @@ cont c5 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c5</span></html> @@ -602,7 +602,7 @@ cont c6 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c6</span></html> @@ -614,7 +614,7 @@ cont c7 - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c7</span></html> @@ -634,7 +634,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml index af91b44f0..9ea0ac736 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -69,7 +69,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">)</span></html> @@ -91,7 +91,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -107,7 +107,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -116,7 +116,7 @@ - + Declarations ... @@ -144,7 +144,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -166,7 +166,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -182,7 +182,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -191,7 +191,7 @@ - + Declarations ... @@ -217,7 +217,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">h</span></html> @@ -240,7 +240,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -254,7 +254,7 @@ location - + <html></html> @@ -265,7 +265,7 @@ <init> - + @@ -304,7 +304,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">E</span><span style="color:#402020;">()</span></html> @@ -326,7 +326,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">i</span></html> @@ -351,7 +351,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -365,7 +365,7 @@ location - + <html></html> @@ -376,7 +376,7 @@ <init> - + @@ -404,7 +404,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g1</span></html> @@ -427,7 +427,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g2</span></html> @@ -449,7 +449,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g3</span></html> @@ -471,7 +471,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g4</span></html> @@ -496,7 +496,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g5</span></html> @@ -521,7 +521,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -543,7 +543,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g7</span></html> @@ -559,7 +559,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -568,7 +568,7 @@ - + Declarations ... @@ -594,7 +594,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g8</span></html> @@ -617,7 +617,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g9</span></html> @@ -639,7 +639,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -653,7 +653,7 @@ location - + <html></html> @@ -664,7 +664,7 @@ <init> - + @@ -701,7 +701,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g10</span></html> @@ -717,7 +717,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -726,7 +726,7 @@ - + Declarations ... @@ -750,7 +750,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span><br><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#006100;">5</span><span style="color:#402020;">);</span><br><span style="color:#000000;">d1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#000000;">g6.g7.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">d2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#000000;">ee</span><span style="color:#402020;">);</span><br><span style="color:#000000;">e</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">E</span><span style="color:#402020;">();</span></html> @@ -758,7 +758,7 @@ - + Instantiations ... @@ -775,7 +775,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ee</span><span style="color:#402020;">;</span></html> @@ -784,7 +784,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml index c8de9baeb..af645e7e1 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ alg y - + <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -66,7 +66,7 @@ y - + @@ -88,7 +88,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -102,7 +102,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -122,7 +122,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -136,7 +136,7 @@ e - + <html></html> @@ -159,7 +159,7 @@ - + Component definitions @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -205,7 +205,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g9</span></html> @@ -227,7 +227,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -241,7 +241,7 @@ e - + <html></html> @@ -264,7 +264,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g7</span></html> @@ -278,7 +278,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -302,7 +302,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">d1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -316,7 +316,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -338,7 +338,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">d2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -352,7 +352,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -366,7 +366,7 @@ event ee - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ee</span></html> @@ -386,7 +386,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml index 277182554..c10998fe8 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h2</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -103,7 +103,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -112,7 +112,7 @@ - + Declarations ... @@ -128,7 +128,7 @@ location - + <html></html> @@ -139,7 +139,7 @@ <init> - + @@ -185,7 +185,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -199,7 +199,7 @@ location - + <html></html> @@ -210,7 +210,7 @@ <init> - + @@ -250,7 +250,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">a.e</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">);</span></html> @@ -258,7 +258,7 @@ - + Instantiations ... @@ -275,7 +275,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">;</span></html> @@ -284,7 +284,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml index dd795951b..798411a57 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event e2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span></html> @@ -44,7 +44,7 @@ event h2 !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">h2</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -56,7 +56,7 @@ h2 ? - + <html><span style="color:#402020;">?</span></html> @@ -67,7 +67,7 @@ e2 - + <html></html> @@ -88,7 +88,7 @@ - + Component definitions @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -126,7 +126,7 @@ h ! - + <html><span style="color:#402020;">!</span></html> @@ -137,7 +137,7 @@ e - + <html></html> @@ -148,7 +148,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -170,7 +170,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -184,7 +184,7 @@ event e2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span></html> @@ -196,7 +196,7 @@ event h2 !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">h2</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -218,7 +218,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -232,7 +232,7 @@ h - + <html></html> @@ -243,7 +243,7 @@ e - + <html></html> @@ -256,7 +256,7 @@ event h !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">h</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -276,7 +276,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml index d6476c13a..e55421595 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!)</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -202,7 +202,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">?)</span></html> @@ -216,7 +216,7 @@ location - + <html></html> @@ -227,7 +227,7 @@ <init> - + @@ -264,7 +264,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">~)</span></html> @@ -278,7 +278,7 @@ location - + <html></html> @@ -289,7 +289,7 @@ <init> - + @@ -326,7 +326,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!?)</span></html> @@ -340,7 +340,7 @@ location - + <html></html> @@ -351,7 +351,7 @@ <init> - + @@ -388,7 +388,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!~)</span></html> @@ -402,7 +402,7 @@ location - + <html></html> @@ -413,7 +413,7 @@ <init> - + @@ -450,7 +450,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">?~)</span></html> @@ -464,7 +464,7 @@ location - + <html></html> @@ -475,7 +475,7 @@ <init> - + @@ -512,7 +512,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!?~)</span></html> @@ -526,7 +526,7 @@ location - + <html></html> @@ -537,7 +537,7 @@ <init> - + @@ -568,7 +568,7 @@ - + Instantiations <html><span style="color:#000000;">x</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">n</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">s</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">r</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sr</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">rc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">src</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span></html> @@ -576,7 +576,7 @@ - + Instantiations ... @@ -593,7 +593,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -602,7 +602,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml index b5bfa58ee..cd3dfadb7 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event p - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -44,7 +44,7 @@ p - + <html></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">()</span></html> @@ -79,7 +79,7 @@ event p !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -91,7 +91,7 @@ p - + <html></html> @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">()</span></html> @@ -126,7 +126,7 @@ event p ! - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!</span></html> @@ -138,7 +138,7 @@ p ! - + <html><span style="color:#402020;">!</span></html> @@ -159,7 +159,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">()</span></html> @@ -173,7 +173,7 @@ event p ? - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">?</span></html> @@ -185,7 +185,7 @@ p ? - + <html><span style="color:#402020;">?</span></html> @@ -206,7 +206,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -220,7 +220,7 @@ event p ~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">~</span></html> @@ -232,7 +232,7 @@ p - + <html></html> @@ -253,7 +253,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">()</span></html> @@ -267,7 +267,7 @@ event p !? - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?</span></html> @@ -279,7 +279,7 @@ p ? - + <html><span style="color:#402020;">?</span></html> @@ -300,7 +300,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">()</span></html> @@ -314,7 +314,7 @@ event p !~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!~</span></html> @@ -326,7 +326,7 @@ p - + <html></html> @@ -347,7 +347,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">()</span></html> @@ -361,7 +361,7 @@ event p ?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">?~</span></html> @@ -373,7 +373,7 @@ p - + <html></html> @@ -394,7 +394,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">()</span></html> @@ -408,7 +408,7 @@ event p !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -420,7 +420,7 @@ p - + <html></html> @@ -441,7 +441,7 @@ - + Component definitions @@ -465,7 +465,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">()</span></html> @@ -479,7 +479,7 @@ event p - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span></html> @@ -501,7 +501,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">n</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">()</span></html> @@ -515,7 +515,7 @@ event p !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -537,7 +537,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">s</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">()</span></html> @@ -551,7 +551,7 @@ event p ! - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!</span></html> @@ -573,7 +573,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">()</span></html> @@ -587,7 +587,7 @@ event p ? - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">?</span></html> @@ -609,7 +609,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -623,7 +623,7 @@ event p ~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">~</span></html> @@ -645,7 +645,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sr</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">()</span></html> @@ -659,7 +659,7 @@ event p !? - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?</span></html> @@ -681,7 +681,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">()</span></html> @@ -695,7 +695,7 @@ event p !~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!~</span></html> @@ -717,7 +717,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">rc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">()</span></html> @@ -731,7 +731,7 @@ event p ?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">?~</span></html> @@ -753,7 +753,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">src</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">()</span></html> @@ -767,7 +767,7 @@ event p !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -781,7 +781,7 @@ event e !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -801,7 +801,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml index 5de369b62..c6948fad0 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location - + <html></html> @@ -157,7 +157,7 @@ <init> - + @@ -188,7 +188,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.ea</span><span style="color:#402020;">);</span><br><span style="color:#000000;">b1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">b1.eb</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">b2.eb</span><span style="color:#402020;">);</span><br><span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.ea</span><span style="color:#402020;">);</span></html> @@ -196,7 +196,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml index b638ab4d4..b01b91530 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -44,7 +44,7 @@ e - + <html></html> @@ -55,7 +55,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -77,7 +77,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -91,7 +91,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -103,7 +103,7 @@ e - + <html></html> @@ -114,7 +114,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -136,7 +136,7 @@ - + Component definitions @@ -160,7 +160,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -174,7 +174,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -186,7 +186,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -208,7 +208,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -222,7 +222,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -234,7 +234,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -256,7 +256,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml index 632c53516..278328f7d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gA</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -54,7 +54,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">();</span></html> @@ -62,7 +62,7 @@ - + Instantiations ... @@ -89,7 +89,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gB</span></html> @@ -111,7 +111,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -127,7 +127,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">();</span></html> @@ -135,7 +135,7 @@ - + Instantiations ... @@ -162,7 +162,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gC</span></html> @@ -184,7 +184,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -200,7 +200,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -209,7 +209,7 @@ - + Declarations ... @@ -225,7 +225,7 @@ location - + <html></html> @@ -236,7 +236,7 @@ <init> - + @@ -275,7 +275,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">ga</span></html> @@ -291,7 +291,7 @@ - + Instantiations <html><span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gA.A</span><span style="color:#402020;">();</span></html> @@ -299,7 +299,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml index 184a7f050..cbe26b00f 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml @@ -40,7 +40,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">ga</span></html> @@ -62,7 +62,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gA.A</span><span style="color:#402020;">()</span></html> @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">()</span></html> @@ -106,7 +106,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -120,7 +120,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -148,7 +148,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gC</span></html> @@ -170,7 +170,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -184,7 +184,7 @@ e - + <html></html> @@ -195,7 +195,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -219,7 +219,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gB</span></html> @@ -241,7 +241,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -263,7 +263,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -277,7 +277,7 @@ e - + <html></html> @@ -302,7 +302,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gA</span></html> @@ -324,7 +324,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -346,7 +346,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">()</span></html> @@ -368,7 +368,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -382,7 +382,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml index d9e2b61f2..028d12107 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e1</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location - + <html></html> @@ -157,7 +157,7 @@ <init> - + @@ -188,7 +188,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">();</span></html> @@ -196,7 +196,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml index ba1739778..0284d46dd 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ e2 - + <html></html> @@ -43,7 +43,7 @@ event e1 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e1</span></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -79,7 +79,7 @@ e1 - + <html></html> @@ -90,7 +90,7 @@ event e2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span></html> @@ -112,7 +112,7 @@ - + Component definitions @@ -136,7 +136,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -150,7 +150,7 @@ e2 - + <html></html> @@ -161,7 +161,7 @@ event e1 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e1</span></html> @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -197,7 +197,7 @@ e1 - + <html></html> @@ -208,7 +208,7 @@ event e2 - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span></html> @@ -230,7 +230,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml index 30b2e85a4..190338b2d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">)</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">)</span></html> @@ -60,7 +60,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span><span style="color:#402020;">)</span></html> @@ -74,7 +74,7 @@ location - + <html></html> @@ -85,7 +85,7 @@ <init> - + @@ -116,7 +116,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">eb</span><span style="color:#402020;">);</span></html> @@ -124,7 +124,7 @@ - + Instantiations ... @@ -143,7 +143,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">ea</span><span style="color:#402020;">);</span></html> @@ -151,7 +151,7 @@ - + Instantiations ... @@ -168,7 +168,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -177,7 +177,7 @@ - + Declarations ... @@ -197,7 +197,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.e</span><span style="color:#402020;">);</span></html> @@ -205,7 +205,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml index 9896c0593..03e5f7df0 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -54,7 +54,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -68,7 +68,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -90,7 +90,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -104,7 +104,7 @@ event ec - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span></html> @@ -116,7 +116,7 @@ ec - + <html></html> @@ -137,7 +137,7 @@ - + Component definitions @@ -161,7 +161,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -175,7 +175,7 @@ event ec - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span></html> @@ -197,7 +197,7 @@ - + Components @@ -221,7 +221,7 @@ - + Component definitions @@ -245,7 +245,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -259,7 +259,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -273,7 +273,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -293,7 +293,7 @@ - + Components @@ -317,7 +317,7 @@ - + Component definitions @@ -341,7 +341,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -355,7 +355,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -367,7 +367,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -389,7 +389,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -403,7 +403,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -415,7 +415,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -437,7 +437,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml index 1970deda2..42081648b 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">ea</span><span style="color:#402020;">);</span></html> @@ -40,7 +40,7 @@ - + Instantiations ... @@ -57,7 +57,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -66,7 +66,7 @@ - + Declarations ... @@ -92,7 +92,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">)</span></html> @@ -108,7 +108,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">eb</span><span style="color:#402020;">);</span></html> @@ -116,7 +116,7 @@ - + Instantiations ... @@ -141,7 +141,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span><span style="color:#402020;">)</span></html> @@ -155,7 +155,7 @@ location - + <html></html> @@ -166,7 +166,7 @@ <init> - + @@ -197,7 +197,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.e</span><span style="color:#402020;">);</span></html> @@ -205,7 +205,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml index 8e13995fd..89b3210bf 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -44,7 +44,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -64,7 +64,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -78,7 +78,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -102,7 +102,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -116,7 +116,7 @@ event eb - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span></html> @@ -136,7 +136,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -150,7 +150,7 @@ event ec - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span></html> @@ -174,7 +174,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -188,7 +188,7 @@ event ec - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span></html> @@ -200,7 +200,7 @@ ec - + <html></html> @@ -221,7 +221,7 @@ - + Component definitions @@ -245,7 +245,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -259,7 +259,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -271,7 +271,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -293,7 +293,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -307,7 +307,7 @@ event ea - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span></html> @@ -319,7 +319,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -341,7 +341,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml index 082d33d33..503546a02 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -67,7 +67,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -89,7 +89,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -103,7 +103,7 @@ location - + <html></html> @@ -114,7 +114,7 @@ <init> - + @@ -145,7 +145,7 @@ - + Instantiations <html><span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span></html> @@ -153,7 +153,7 @@ - + Instantiations ... @@ -172,7 +172,7 @@ - + Instantiations <html><span style="color:#000000;">b1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span><br><span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span></html> @@ -180,7 +180,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml index 1ebfd9962..4b0738954 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml @@ -24,7 +24,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -46,7 +46,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -60,7 +60,7 @@ e - + <html></html> @@ -81,7 +81,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -95,7 +95,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -119,7 +119,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -133,7 +133,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml index c94112a68..072d1ca90 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0061c0;">in</span>&nbsp;<span style="color:#0000ff;">any</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#0061c0;">in</span>&nbsp;<span style="color:#0000ff;">any</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location f - + <html><span style="color:#000000;">f</span></html> @@ -86,7 +86,7 @@ location t1 - + <html><span style="color:#000000;">t1</span></html> @@ -97,7 +97,7 @@ <init> - + @@ -124,7 +124,7 @@ location t2 - + <html><span style="color:#000000;">t2</span></html> @@ -135,7 +135,7 @@ <init> - + @@ -153,7 +153,7 @@ location p1 - + <html><span style="color:#000000;">p1</span></html> @@ -164,7 +164,7 @@ <init> - + @@ -187,7 +187,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -196,7 +196,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml index 94153a99b..a7dbee819 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml @@ -32,7 +32,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -66,7 +66,7 @@ e - + <html></html> @@ -77,7 +77,7 @@ location p1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">p1</span></html> @@ -89,7 +89,7 @@ location t2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">t2</span></html> @@ -101,7 +101,7 @@ location t1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">t1</span></html> @@ -113,7 +113,7 @@ location f - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">f</span></html> @@ -125,7 +125,7 @@ disc y - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -137,7 +137,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml index 2d5cdba16..becb453da 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -69,7 +69,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -86,7 +86,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a3</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a4</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g3</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g4</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span></html> @@ -94,7 +94,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml index b47b1fa13..b22c008a8 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">controllable</span>&nbsp;<span style="color:#006100;">c_add</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">controllable</span>&nbsp;<span style="color:#006100;">c_remove</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">uncontrollable</span>&nbsp;<span style="color:#800000;">u_added</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">uncontrollable</span>&nbsp;<span style="color:#800000;">u_removed</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#c06100;">e_update</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#c06100;">e_snd</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#c06100;">e_rcv</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span></html> @@ -68,7 +68,7 @@ <init> - + @@ -104,7 +104,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span></html> @@ -142,7 +142,7 @@ location loc3 - + <html><span style="color:#000000;">loc3</span></html> @@ -162,7 +162,7 @@ location loc4 - + <html><span style="color:#000000;">loc4</span><br><br><span style="color:#0000ff;">marked</span><span style="color:#402020;">;</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml index 9ebcb8387..a66726901 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -126,7 +126,7 @@ e_rcv ? - + <html><span style="color:#402020;">?</span></html> @@ -137,7 +137,7 @@ e_snd ! - + <html><span style="color:#402020;">!</span></html> @@ -148,7 +148,7 @@ u_removed - + <html></html> @@ -159,7 +159,7 @@ u_added - + <html></html> @@ -170,7 +170,7 @@ e_update - + <html></html> @@ -181,7 +181,7 @@ c_remove - + <html></html> @@ -192,7 +192,7 @@ c_add - + <html></html> @@ -203,7 +203,7 @@ location loc4 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc4</span></html> @@ -215,7 +215,7 @@ location loc3 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc3</span></html> @@ -227,7 +227,7 @@ location loc2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc2</span></html> @@ -239,7 +239,7 @@ location loc1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc1</span></html> @@ -251,7 +251,7 @@ disc z - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">z</span></html> @@ -263,7 +263,7 @@ disc y - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">y</span></html> @@ -275,7 +275,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> @@ -287,7 +287,7 @@ event e_rcv !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#c06100;">e_rcv</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -299,7 +299,7 @@ event e_snd !?~ - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#c06100;">e_snd</span>&nbsp;<span style="color:#402020;">!?~</span></html> @@ -311,7 +311,7 @@ event e_update - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#c06100;">e_update</span></html> @@ -323,7 +323,7 @@ event u_removed - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#800000;">u_removed</span></html> @@ -335,7 +335,7 @@ event u_added - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#800000;">u_added</span></html> @@ -347,7 +347,7 @@ event c_remove - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#006100;">c_remove</span></html> @@ -359,7 +359,7 @@ event c_add - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#006100;">c_add</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml index 7536ce243..00a31a6db 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">alphabet</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">monitor</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">1</span><span style="color:#402020;">..</span><span style="color:#006100;">1</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">1</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">initial</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">marked</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">print</span>&nbsp;<span style="color:#c00000;">&quot;b&quot;</span>&nbsp;<span style="color:#0000ff;">for</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span></html> @@ -166,7 +166,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">a.x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">6.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">urgent</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">print</span>&nbsp;<span style="color:#c00000;">&quot;a&quot;</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml index b296d9d47..c8747fefc 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml @@ -64,7 +64,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -109,7 +109,7 @@ location loc2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc2</span></html> @@ -121,7 +121,7 @@ location loc1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc1</span></html> @@ -133,7 +133,7 @@ cont c - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> @@ -190,7 +190,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml index 86fe87b19..9c9995d35 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">alphabet</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">monitor</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">1</span><span style="color:#402020;">..</span><span style="color:#006100;">1</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">1</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">initial</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">marked</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span></html> @@ -166,7 +166,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">a.x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">6.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">urgent</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml index b296d9d47..c8747fefc 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml @@ -64,7 +64,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -109,7 +109,7 @@ location loc2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc2</span></html> @@ -121,7 +121,7 @@ location loc1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc1</span></html> @@ -133,7 +133,7 @@ cont c - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> @@ -190,7 +190,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml index e34252c14..3089163ef 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -92,7 +92,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span></html> @@ -112,7 +112,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml index b296d9d47..c8747fefc 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml @@ -64,7 +64,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -109,7 +109,7 @@ location loc2 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc2</span></html> @@ -121,7 +121,7 @@ location loc1 - + <html><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc1</span></html> @@ -133,7 +133,7 @@ cont c - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> @@ -190,7 +190,7 @@ disc x - + <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#000000;">x</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml index ded07aaec..468c69196 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml @@ -16,7 +16,7 @@ - + automaton a @@ -32,7 +32,7 @@ - + Declarations event e; @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + marked; @@ -68,7 +68,7 @@ <init> - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml index 4765e9d7d..249b2f8ac 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml @@ -24,7 +24,7 @@ - + automaton a @@ -38,7 +38,7 @@ e - + @@ -48,7 +48,7 @@ event e - + event e diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml index f574cbc16..b00088506 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml @@ -10,7 +10,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span></html> @@ -19,7 +19,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.relations.graphml index b0c799daf..74ffda478 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.relations.graphml @@ -16,7 +16,7 @@ cont x - + <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">x</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml index a9f392043..2a1992903 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml @@ -16,7 +16,7 @@ - + group g @@ -38,7 +38,7 @@ - + automaton a @@ -52,7 +52,7 @@ location - + @@ -63,7 +63,7 @@ <init> - + @@ -94,7 +94,7 @@ - + Declarations input int y; event e; @@ -104,7 +104,7 @@ event e; - + Declarations ... @@ -124,7 +124,7 @@ event e; - + Declarations alg int x = g.y; @@ -133,7 +133,7 @@ event e; - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml index 28e6441be..20657e951 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html><span style="color:#0000ff;">marked</span><span style="color:#402020;">;</span></html> @@ -68,7 +68,7 @@ <init> - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml index 981efbb06..766f7eebf 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml @@ -24,7 +24,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -38,7 +38,7 @@ e - + <html></html> @@ -49,7 +49,7 @@ event e - + <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef b/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef index 2246f6f30..d2e541b6f 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef +++ b/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef @@ -12,6 +12,7 @@ ////////////////////////////////////////////////////////////////////////////// from "lib:cif" import cif2yed; +import org.eclipse.escet.common.java:org.eclipse.escet.common.java.Strings.replaceRegex; // Configuration. string test_path = "cif2yed"; @@ -67,6 +68,20 @@ for test in tests: options = options + ["-o", yed_real, "-k", out_type]; cif2yed([test] + options, stdout=test_out_real, stderr=test_err_real, ignoreNonZeroExitCode=true); + // Replace layout information in yEd files, as it may differ for different platforms. + if isfile(yed_real): + list string yed_real_lines = readlines(yed_real); + for i in range(yed_real_lines): + yed_real_lines[i] = replaceRegex(yed_real_lines[i], + "", + "\"/>"); + yed_real_lines[i] = replaceRegex(yed_real_lines[i], + "", + "\"/>"); + end + writefile(yed_real, yed_real_lines); + end + // Compare output. bool stderr_diff = diff(test_err_exp, test_err_real, missingAsEmpty=true, warnOnDiff=true); bool stdout_diff = diff(test_out_exp, test_out_real, missingAsEmpty=true, warnOnDiff=true); diff --git a/common/org.eclipse.escet.common.java/src/org/eclipse/escet/common/java/Strings.java b/common/org.eclipse.escet.common.java/src/org/eclipse/escet/common/java/Strings.java index b4935be52..202f46ce9 100644 --- a/common/org.eclipse.escet.common.java/src/org/eclipse/escet/common/java/Strings.java +++ b/common/org.eclipse.escet.common.java/src/org/eclipse/escet/common/java/Strings.java @@ -573,4 +573,21 @@ public final class Strings { public static String str(Object obj) { return String.valueOf(obj); } + + /** + * Replaces all occurrences of a regular expression pattern in the given input string by the given replacement. + * + *

+ * Is equal to {@code input.}{@link String#replaceAll replaceAll}{@code (pattern, replacement)}. This method thus + * provides the same functionality, but as a static method. + *

+ * + * @param input The input string. + * @param regex The regular expression pattern to find. + * @param replacement The replacement. May contain references to captured subsequences. + * @return The string with replacements performed. + */ + public static String replaceRegex(String input, String regex, String replacement) { + return input.replaceAll(regex, replacement); + } } -- GitLab From 82705dda42c0cafb7e7b507f9f09e3d400feb2f2 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 10:44:33 +0100 Subject: [PATCH 11/19] #4 CIF to yEd tests: more geometry information replacements. --- .../tests/cif2yed/all_colors.model.graphml | 42 +++++----- .../cif2yed/all_colors.relations.graphml | 42 +++++----- .../tests/cif2yed/comm_auts.model.graphml | 22 ++--- .../tests/cif2yed/comm_auts.relations.graphml | 12 +-- .../tests/cif2yed/comm_def_inst.model.graphml | 26 +++--- .../cif2yed/comm_def_inst.relations.graphml | 22 ++--- .../tests/cif2yed/comm_sync.model.graphml | 22 ++--- .../tests/cif2yed/comm_sync.relations.graphml | 18 ++-- .../tests/cif2yed/comp_param.model.graphml | 36 ++++---- .../tests/cif2yed/data_all.model.graphml | 22 ++--- .../tests/cif2yed/data_all.relations.graphml | 8 +- .../tests/cif2yed/data_basic.model.graphml | 26 +++--- .../cif2yed/data_basic.relations.graphml | 14 ++-- .../tests/cif2yed/data_refs.model.graphml | 66 +++++++-------- .../tests/cif2yed/data_refs.relations.graphml | 32 ++++---- .../tests/cif2yed/empty_comps.model.graphml | 82 +++++++++---------- .../cif2yed/empty_comps.relations.graphml | 30 +++---- .../tests/cif2yed/evt_local_use.model.graphml | 30 +++---- .../cif2yed/evt_local_use.relations.graphml | 24 +++--- .../evt_param_directions.model.graphml | 62 +++++++------- .../evt_param_directions.relations.graphml | 58 ++++++------- .../tests/cif2yed/evt_params.model.graphml | 24 +++--- .../cif2yed/evt_params.relations.graphml | 16 ++-- .../cif2yed/evt_ref_complex.model.graphml | 34 ++++---- .../cif2yed/evt_ref_complex.relations.graphml | 32 ++++---- .../tests/cif2yed/evt_ref_cross.model.graphml | 24 +++--- .../cif2yed/evt_ref_cross.relations.graphml | 20 ++--- .../cif2yed/evt_ref_def_in_def.model.graphml | 26 +++--- .../evt_ref_def_in_def.relations.graphml | 28 +++---- .../evt_ref_passed_along.model.graphml | 26 +++--- .../evt_ref_passed_along.relations.graphml | 20 ++--- .../cif2yed/evt_ref_via_inst.model.graphml | 22 ++--- .../evt_ref_via_inst.relations.graphml | 10 +-- .../tests/cif2yed/inits.model.graphml | 24 +++--- .../tests/cif2yed/inits.relations.graphml | 4 +- .../tests/cif2yed/insts.model.graphml | 12 +-- .../tests/cif2yed/locs_edges.model.graphml | 16 ++-- .../cif2yed/locs_edges.relations.graphml | 16 ++-- .../cif2yed/model_filter_all.model.graphml | 24 +++--- .../model_filter_all.relations.graphml | 10 +-- .../model_filter_default.model.graphml | 24 +++--- .../model_filter_default.relations.graphml | 10 +-- .../cif2yed/model_filter_none.model.graphml | 12 +-- .../model_filter_none.relations.graphml | 10 +-- .../opt_syntax_highlight.model.graphml | 10 +-- .../opt_syntax_highlight.relations.graphml | 4 +- .../tests/cif2yed/rel_cont_der.model.graphml | 4 +- .../cif2yed/relations_none.model.graphml | 16 ++-- .../tests/cif2yed/small.model.graphml | 10 +-- .../tests/cif2yed/small.relations.graphml | 4 +- .../tests/test_cif2yed.tooldef | 2 +- 51 files changed, 595 insertions(+), 595 deletions(-) diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml index 53307c488..8a6359698 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.model.graphml @@ -16,7 +16,7 @@
- + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">grp1</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -54,7 +54,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">evt1</span><span style="color:#402020;">;</span></html> @@ -63,7 +63,7 @@ - + Declarations ... @@ -79,7 +79,7 @@ location loc - + <html><span style="color:#000000;">loc</span></html> @@ -90,7 +90,7 @@ <init> - + @@ -127,7 +127,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1b</span></html> @@ -141,7 +141,7 @@ location - + <html></html> @@ -152,7 +152,7 @@ <init> - + @@ -191,7 +191,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">defs2</span></html> @@ -213,7 +213,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -235,7 +235,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">param2</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">param3</span><span style="color:#402020;">)</span></html> @@ -249,7 +249,7 @@ location - + <html></html> @@ -260,7 +260,7 @@ <init> - + @@ -298,7 +298,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -312,7 +312,7 @@ location - + <html></html> @@ -323,7 +323,7 @@ <init> - + @@ -354,7 +354,7 @@ - + Instantiations <html><span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">(</span><span style="color:#000000;">grp1.aut1.evt1</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">grp1.aut1.loc</span><span style="color:#402020;">);</span></html> @@ -362,7 +362,7 @@ - + Instantiations ... @@ -381,7 +381,7 @@ - + Instantiations <html><span style="color:#000000;">grp2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">();</span></html> @@ -389,7 +389,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml index 0634d38c9..ff3c6d412 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/all_colors.relations.graphml @@ -96,7 +96,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">defs2</span></html> @@ -120,7 +120,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -144,7 +144,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -182,7 +182,7 @@ param3 - + @@ -192,7 +192,7 @@ param2 - + <html></html> @@ -213,7 +213,7 @@ - + Component definitions @@ -237,7 +237,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -285,7 +285,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -299,7 +299,7 @@ evt1 - + <html></html> @@ -320,7 +320,7 @@ - + Components @@ -344,7 +344,7 @@ - + Component definitions @@ -368,7 +368,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">grp2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Grp2</span><span style="color:#402020;">()</span></html> @@ -390,7 +390,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2b</span></html> @@ -404,7 +404,7 @@ evt1 - + <html></html> @@ -425,7 +425,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">aut2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Aut2</span><span style="color:#402020;">()</span></html> @@ -475,7 +475,7 @@ - + Components @@ -499,7 +499,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">grp1</span></html> @@ -521,7 +521,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1b</span></html> @@ -535,7 +535,7 @@ evt1 - + <html></html> @@ -556,7 +556,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -570,7 +570,7 @@ evt1 - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml index 7317fcaf7..7b66eb52f 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">plant</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">snd</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">requirement</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">rcv</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">sync</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -196,7 +196,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -205,7 +205,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml index 37d1b99d0..3bdd6ab9a 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_auts.relations.graphml @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">sync</span></html> @@ -66,7 +66,7 @@ e - + <html></html> @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">requirement</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">rcv</span></html> @@ -101,7 +101,7 @@ e ? - + <html><span style="color:#402020;">?</span></html> @@ -122,7 +122,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">plant</span>&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">snd</span></html> @@ -136,7 +136,7 @@ e ! - + <html><span style="color:#402020;">!</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml index c40263822..6c6bdb04c 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">s</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">)</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">)</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -196,7 +196,7 @@ - + Instantiations <html><span style="color:#000000;">send</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">recv</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sync</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span></html> @@ -204,7 +204,7 @@ - + Instantiations ... @@ -221,7 +221,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -230,7 +230,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml index 3856aa89a..a7d492388 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_def_inst.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">()</span></html> @@ -44,7 +44,7 @@ s ! - + <html><span style="color:#402020;">!</span></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">()</span></html> @@ -91,7 +91,7 @@ r ? - + <html><span style="color:#402020;">?</span></html> @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">()</span></html> @@ -138,7 +138,7 @@ c - + <html></html> @@ -159,7 +159,7 @@ - + Component definitions @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">send</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Send</span><span style="color:#402020;">()</span></html> @@ -219,7 +219,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">recv</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Recv</span><span style="color:#402020;">()</span></html> @@ -255,7 +255,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sync</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">Sync</span><span style="color:#402020;">()</span></html> @@ -303,7 +303,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml index 1630f783e..093f1029d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -101,7 +101,7 @@ location - + <html></html> @@ -112,7 +112,7 @@ <init> - + @@ -158,7 +158,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -172,7 +172,7 @@ location - + <html></html> @@ -183,7 +183,7 @@ <init> - + @@ -223,7 +223,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">;</span></html> @@ -232,7 +232,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml index b9cf8e6a2..16078b309 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comm_sync.relations.graphml @@ -88,7 +88,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -102,7 +102,7 @@ h - + <html></html> @@ -113,7 +113,7 @@ e - + <html></html> @@ -134,7 +134,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -148,7 +148,7 @@ h ? - + <html><span style="color:#402020;">?</span></html> @@ -159,7 +159,7 @@ e - + <html></html> @@ -180,7 +180,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -194,7 +194,7 @@ h ! - + <html><span style="color:#402020;">!</span></html> @@ -205,7 +205,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml index d715b4112..33a87ae0c 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/comp_param.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G7</span><span style="color:#402020;">()</span></html> @@ -60,7 +60,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g8</span></html> @@ -82,7 +82,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a9</span></html> @@ -98,7 +98,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e10</span><span style="color:#402020;">;</span></html> @@ -107,7 +107,7 @@ - + Declarations ... @@ -123,7 +123,7 @@ location - + <html></html> @@ -134,7 +134,7 @@ <init> - + @@ -168,7 +168,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g1</span></html> @@ -190,7 +190,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G2</span><span style="color:#402020;">(</span><span style="color:#000000;">g6.G7</span>&nbsp;<span style="color:#000000;">p3</span><span style="color:#402020;">)</span></html> @@ -212,7 +212,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g4</span></html> @@ -234,7 +234,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A5</span><span style="color:#402020;">()</span></html> @@ -248,7 +248,7 @@ location - + <html></html> @@ -259,7 +259,7 @@ <init> - + @@ -290,7 +290,7 @@ - + Instantiations <html><span style="color:#000000;">a5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A5</span><span style="color:#402020;">();</span></html> @@ -298,7 +298,7 @@ - + Instantiations ... @@ -321,7 +321,7 @@ - + Instantiations <html><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">g1.G2</span><span style="color:#402020;">(</span><span style="color:#000000;">g7</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g7</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">g6.G7</span><span style="color:#402020;">();</span></html> @@ -329,7 +329,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml index 015a88b86..2a470266e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">v</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -119,7 +119,7 @@ location l1 - + <html><span style="color:#000000;">l1</span></html> @@ -130,7 +130,7 @@ <init> - + @@ -157,7 +157,7 @@ location l2 - + <html><span style="color:#000000;">l2</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#0000ff;">if</span>&nbsp;<span style="color:#000000;">b.l1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">1.0</span>&nbsp;<span style="color:#0000ff;">elif</span>&nbsp;<span style="color:#000000;">b.l2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">2.0</span>&nbsp;<span style="color:#0000ff;">else</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#006100;">3.0</span>&nbsp;<span style="color:#0000ff;">end</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml index 40d925c3f..bab28515e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_all.relations.graphml @@ -132,7 +132,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -180,7 +180,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -194,7 +194,7 @@ v - + @@ -204,7 +204,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml index a485cd947..4bf83f7a3 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">location</span>&nbsp;<span style="color:#000000;">loc</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -54,7 +54,7 @@ - + Declarations <html><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -63,7 +63,7 @@ - + Declarations ... @@ -79,7 +79,7 @@ location l1 - + <html><span style="color:#000000;">l1</span></html> @@ -90,7 +90,7 @@ <init> - + @@ -117,7 +117,7 @@ location l2 - + <html><span style="color:#000000;">l2</span></html> @@ -141,7 +141,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.l1</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.l2</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">);</span></html> @@ -149,7 +149,7 @@ - + Instantiations ... @@ -166,7 +166,7 @@ - + Declarations <html><span style="color:#0000ff;">input</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -175,7 +175,7 @@ - + Declarations ... @@ -195,7 +195,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">g.y</span><span style="color:#402020;">;</span></html> @@ -204,7 +204,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml index 4b187b16a..1eefaf7db 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_basic.relations.graphml @@ -92,7 +92,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -116,7 +116,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -154,7 +154,7 @@ p - + @@ -198,7 +198,7 @@ - + Component definitions @@ -222,7 +222,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -282,7 +282,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -354,7 +354,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml index 309dbfcab..9f55574ce 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">v</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">v</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">pp</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">p</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -156,7 +156,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -172,7 +172,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations ... @@ -197,7 +197,7 @@ location l1 - + <html><span style="color:#000000;">l1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -208,7 +208,7 @@ <init> - + @@ -235,7 +235,7 @@ location l2 - + <html><span style="color:#000000;">l2</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c3</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -256,7 +256,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2</span></html> @@ -272,7 +272,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c4</span><span style="color:#402020;">;</span></html> @@ -281,7 +281,7 @@ - + Declarations ... @@ -297,7 +297,7 @@ location - + <html><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c4</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -308,7 +308,7 @@ <init> - + @@ -336,7 +336,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut3</span></html> @@ -352,7 +352,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -361,7 +361,7 @@ - + Declarations ... @@ -377,7 +377,7 @@ location - + <html><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">0</span><span style="color:#402020;">;</span></html> @@ -388,7 +388,7 @@ <init> - + @@ -416,7 +416,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut4</span></html> @@ -432,7 +432,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">bool</span>&nbsp;<span style="color:#000000;">b1</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">l1</span><span style="color:#402020;">;</span></html> @@ -441,7 +441,7 @@ - + Declarations ... @@ -457,7 +457,7 @@ location l1 - + <html><span style="color:#000000;">l1</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">b1</span><span style="color:#402020;">;</span></html> @@ -468,7 +468,7 @@ <init> - + @@ -499,7 +499,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.v</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.v</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">*</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span></html> @@ -507,7 +507,7 @@ - + Instantiations ... @@ -524,7 +524,7 @@ - + Declarations <html><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">9</span><span style="color:#402020;">..</span><span style="color:#006100;">9</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">3</span><span style="color:#402020;">..</span><span style="color:#006100;">3</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">3</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">func</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">f</span><span style="color:#402020;">(</span><span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">):</span><br>&nbsp;&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">c</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">a</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">;</span><br>&nbsp;&nbsp;<span style="color:#0000ff;">return</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">end</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">z</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">f</span><span style="color:#402020;">(</span><span style="color:#000000;">x</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">);</span><br><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">real</span>&nbsp;<span style="color:#000000;">r</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c1</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c5</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">c6</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c6</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">c5</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#006100;">1.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c7</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">c7</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c2</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">;</span></html> @@ -533,7 +533,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml index ceeec882b..2a2c2c1f4 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/data_refs.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -44,7 +44,7 @@ p - + @@ -54,7 +54,7 @@ v - + @@ -86,7 +86,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -112,7 +112,7 @@ p - + @@ -144,7 +144,7 @@ - + Component definitions @@ -168,7 +168,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -204,7 +204,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -240,7 +240,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut1</span></html> @@ -300,7 +300,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut2</span></html> @@ -336,7 +336,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -372,7 +372,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -408,7 +408,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut3</span></html> @@ -422,7 +422,7 @@ x - + @@ -478,7 +478,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut4</span></html> @@ -634,7 +634,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml index 9ea0ac736..d86134a0e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -69,7 +69,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">alg</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">)</span></html> @@ -91,7 +91,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -107,7 +107,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span></html> @@ -116,7 +116,7 @@ - + Declarations ... @@ -144,7 +144,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -166,7 +166,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -182,7 +182,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -191,7 +191,7 @@ - + Declarations ... @@ -217,7 +217,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">h</span></html> @@ -240,7 +240,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -254,7 +254,7 @@ location - + <html></html> @@ -265,7 +265,7 @@ <init> - + @@ -304,7 +304,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">E</span><span style="color:#402020;">()</span></html> @@ -326,7 +326,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">i</span></html> @@ -351,7 +351,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -365,7 +365,7 @@ location - + <html></html> @@ -376,7 +376,7 @@ <init> - + @@ -404,7 +404,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g1</span></html> @@ -427,7 +427,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g2</span></html> @@ -449,7 +449,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g3</span></html> @@ -471,7 +471,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g4</span></html> @@ -496,7 +496,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g5</span></html> @@ -521,7 +521,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -543,7 +543,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g7</span></html> @@ -559,7 +559,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -568,7 +568,7 @@ - + Declarations ... @@ -594,7 +594,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g8</span></html> @@ -617,7 +617,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g9</span></html> @@ -639,7 +639,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -653,7 +653,7 @@ location - + <html></html> @@ -664,7 +664,7 @@ <init> - + @@ -701,7 +701,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g10</span></html> @@ -717,7 +717,7 @@ - + Declarations <html><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">5</span><span style="color:#402020;">..</span><span style="color:#006100;">5</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5</span><span style="color:#402020;">;</span></html> @@ -726,7 +726,7 @@ - + Declarations ... @@ -750,7 +750,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span><br><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#006100;">5</span><span style="color:#402020;">);</span><br><span style="color:#000000;">d1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#000000;">g6.g7.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">d2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">(</span><span style="color:#000000;">ee</span><span style="color:#402020;">);</span><br><span style="color:#000000;">e</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">E</span><span style="color:#402020;">();</span></html> @@ -758,7 +758,7 @@ - + Instantiations ... @@ -775,7 +775,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ee</span><span style="color:#402020;">;</span></html> @@ -784,7 +784,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml index af645e7e1..4766fb3d6 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/empty_comps.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g</span></html> @@ -66,7 +66,7 @@ y - + @@ -88,7 +88,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -122,7 +122,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -136,7 +136,7 @@ e - + <html></html> @@ -159,7 +159,7 @@ - + Component definitions @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g6</span></html> @@ -205,7 +205,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g9</span></html> @@ -227,7 +227,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -241,7 +241,7 @@ e - + <html></html> @@ -264,7 +264,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">g7</span></html> @@ -302,7 +302,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">d1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -338,7 +338,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">d2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">D</span><span style="color:#402020;">()</span></html> @@ -386,7 +386,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml index c10998fe8..465089060 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span><span style="color:#402020;">;</span>&nbsp;<span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h2</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -87,7 +87,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -103,7 +103,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -112,7 +112,7 @@ - + Declarations ... @@ -128,7 +128,7 @@ location - + <html></html> @@ -139,7 +139,7 @@ <init> - + @@ -185,7 +185,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -199,7 +199,7 @@ location - + <html></html> @@ -210,7 +210,7 @@ <init> - + @@ -250,7 +250,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">a.e</span><span style="color:#402020;">,</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">);</span></html> @@ -258,7 +258,7 @@ - + Instantiations ... @@ -275,7 +275,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">h</span><span style="color:#402020;">;</span></html> @@ -284,7 +284,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml index 798411a57..cadcdc28e 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_local_use.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -56,7 +56,7 @@ h2 ? - + <html><span style="color:#402020;">?</span></html> @@ -67,7 +67,7 @@ e2 - + <html></html> @@ -88,7 +88,7 @@ - + Component definitions @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -126,7 +126,7 @@ h ! - + <html><span style="color:#402020;">!</span></html> @@ -137,7 +137,7 @@ e - + <html></html> @@ -170,7 +170,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -218,7 +218,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">c</span></html> @@ -232,7 +232,7 @@ h - + <html></html> @@ -243,7 +243,7 @@ e - + <html></html> @@ -276,7 +276,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml index e55421595..9c552923d 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">)</span></html> @@ -92,7 +92,7 @@ location - + <html></html> @@ -103,7 +103,7 @@ <init> - + @@ -140,7 +140,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!)</span></html> @@ -154,7 +154,7 @@ location - + <html></html> @@ -165,7 +165,7 @@ <init> - + @@ -202,7 +202,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">?)</span></html> @@ -216,7 +216,7 @@ location - + <html></html> @@ -227,7 +227,7 @@ <init> - + @@ -264,7 +264,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">~)</span></html> @@ -278,7 +278,7 @@ location - + <html></html> @@ -289,7 +289,7 @@ <init> - + @@ -326,7 +326,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!?)</span></html> @@ -340,7 +340,7 @@ location - + <html></html> @@ -351,7 +351,7 @@ <init> - + @@ -388,7 +388,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!~)</span></html> @@ -402,7 +402,7 @@ location - + <html></html> @@ -413,7 +413,7 @@ <init> - + @@ -450,7 +450,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">?~)</span></html> @@ -464,7 +464,7 @@ location - + <html></html> @@ -475,7 +475,7 @@ <init> - + @@ -512,7 +512,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">p</span><span style="color:#402020;">!?~)</span></html> @@ -526,7 +526,7 @@ location - + <html></html> @@ -537,7 +537,7 @@ <init> - + @@ -568,7 +568,7 @@ - + Instantiations <html><span style="color:#000000;">x</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">n</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">s</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">r</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sr</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">sc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">rc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">src</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">(</span><span style="color:#000000;">e</span><span style="color:#402020;">);</span></html> @@ -576,7 +576,7 @@ - + Instantiations ... @@ -593,7 +593,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -602,7 +602,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml index cd3dfadb7..9e66812ec 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_param_directions.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">()</span></html> @@ -44,7 +44,7 @@ p - + <html></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">()</span></html> @@ -91,7 +91,7 @@ p - + <html></html> @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">()</span></html> @@ -138,7 +138,7 @@ p ! - + <html><span style="color:#402020;">!</span></html> @@ -159,7 +159,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">()</span></html> @@ -185,7 +185,7 @@ p ? - + <html><span style="color:#402020;">?</span></html> @@ -206,7 +206,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -232,7 +232,7 @@ p - + <html></html> @@ -253,7 +253,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">()</span></html> @@ -279,7 +279,7 @@ p ? - + <html><span style="color:#402020;">?</span></html> @@ -300,7 +300,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">()</span></html> @@ -326,7 +326,7 @@ p - + <html></html> @@ -347,7 +347,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">()</span></html> @@ -373,7 +373,7 @@ p - + <html></html> @@ -394,7 +394,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">()</span></html> @@ -420,7 +420,7 @@ p - + <html></html> @@ -441,7 +441,7 @@ - + Component definitions @@ -465,7 +465,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">X</span><span style="color:#402020;">()</span></html> @@ -501,7 +501,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">n</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">N</span><span style="color:#402020;">()</span></html> @@ -537,7 +537,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">s</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">S</span><span style="color:#402020;">()</span></html> @@ -573,7 +573,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">r</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">R</span><span style="color:#402020;">()</span></html> @@ -609,7 +609,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -645,7 +645,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sr</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SR</span><span style="color:#402020;">()</span></html> @@ -681,7 +681,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">sc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SC</span><span style="color:#402020;">()</span></html> @@ -717,7 +717,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">rc</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">RC</span><span style="color:#402020;">()</span></html> @@ -753,7 +753,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">src</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">SRC</span><span style="color:#402020;">()</span></html> @@ -801,7 +801,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml index c6948fad0..d11db44e2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">)</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location - + <html></html> @@ -157,7 +157,7 @@ <init> - + @@ -188,7 +188,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.ea</span><span style="color:#402020;">);</span><br><span style="color:#000000;">b1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">b1.eb</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">b2.eb</span><span style="color:#402020;">);</span><br><span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.ea</span><span style="color:#402020;">);</span></html> @@ -196,7 +196,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml index b01b91530..c33223dc8 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_params.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -44,7 +44,7 @@ e - + <html></html> @@ -77,7 +77,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -103,7 +103,7 @@ e - + <html></html> @@ -136,7 +136,7 @@ - + Component definitions @@ -160,7 +160,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -208,7 +208,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -256,7 +256,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml index 278328f7d..8e8a4b189 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gA</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -54,7 +54,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">();</span></html> @@ -62,7 +62,7 @@ - + Instantiations ... @@ -89,7 +89,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gB</span></html> @@ -111,7 +111,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -127,7 +127,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">();</span></html> @@ -135,7 +135,7 @@ - + Instantiations ... @@ -162,7 +162,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gC</span></html> @@ -184,7 +184,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -200,7 +200,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -209,7 +209,7 @@ - + Declarations ... @@ -225,7 +225,7 @@ location - + <html></html> @@ -236,7 +236,7 @@ <init> - + @@ -275,7 +275,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">ga</span></html> @@ -291,7 +291,7 @@ - + Instantiations <html><span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gA.A</span><span style="color:#402020;">();</span></html> @@ -299,7 +299,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml index cbe26b00f..cd8455a77 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_complex.relations.graphml @@ -40,7 +40,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">ga</span></html> @@ -62,7 +62,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gA.A</span><span style="color:#402020;">()</span></html> @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">()</span></html> @@ -106,7 +106,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -148,7 +148,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gC</span></html> @@ -170,7 +170,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -184,7 +184,7 @@ e - + <html></html> @@ -219,7 +219,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gB</span></html> @@ -241,7 +241,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -263,7 +263,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -277,7 +277,7 @@ e - + <html></html> @@ -302,7 +302,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#000000;">gA</span></html> @@ -324,7 +324,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -346,7 +346,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gB.B</span><span style="color:#402020;">()</span></html> @@ -368,7 +368,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">gC.C</span><span style="color:#402020;">()</span></html> @@ -382,7 +382,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml index 028d12107..e7376a530 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e1</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e2</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location - + <html></html> @@ -157,7 +157,7 @@ <init> - + @@ -188,7 +188,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">();</span></html> @@ -196,7 +196,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml index 0284d46dd..e420241b2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_cross.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ e2 - + <html></html> @@ -65,7 +65,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -79,7 +79,7 @@ e1 - + <html></html> @@ -112,7 +112,7 @@ - + Component definitions @@ -136,7 +136,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A1</span><span style="color:#402020;">()</span></html> @@ -150,7 +150,7 @@ e2 - + <html></html> @@ -183,7 +183,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A2</span><span style="color:#402020;">()</span></html> @@ -197,7 +197,7 @@ e1 - + <html></html> @@ -230,7 +230,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml index 190338b2d..5f6063136 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">)</span></html> @@ -38,7 +38,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">)</span></html> @@ -60,7 +60,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span><span style="color:#402020;">)</span></html> @@ -74,7 +74,7 @@ location - + <html></html> @@ -85,7 +85,7 @@ <init> - + @@ -116,7 +116,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">eb</span><span style="color:#402020;">);</span></html> @@ -124,7 +124,7 @@ - + Instantiations ... @@ -143,7 +143,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">ea</span><span style="color:#402020;">);</span></html> @@ -151,7 +151,7 @@ - + Instantiations ... @@ -168,7 +168,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -177,7 +177,7 @@ - + Declarations ... @@ -197,7 +197,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.e</span><span style="color:#402020;">);</span></html> @@ -205,7 +205,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml index 03e5f7df0..8a5e18c29 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_def_in_def.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -54,7 +54,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -90,7 +90,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -116,7 +116,7 @@ ec - + <html></html> @@ -137,7 +137,7 @@ - + Component definitions @@ -161,7 +161,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -197,7 +197,7 @@ - + Components @@ -221,7 +221,7 @@ - + Component definitions @@ -245,7 +245,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -293,7 +293,7 @@ - + Components @@ -317,7 +317,7 @@ - + Component definitions @@ -341,7 +341,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -389,7 +389,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -437,7 +437,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml index 42081648b..ef4b4ebf6 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ea</span><span style="color:#402020;">)</span></html> @@ -32,7 +32,7 @@ - + Instantiations <html><span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#000000;">ea</span><span style="color:#402020;">);</span></html> @@ -40,7 +40,7 @@ - + Instantiations ... @@ -57,7 +57,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -66,7 +66,7 @@ - + Declarations ... @@ -92,7 +92,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">eb</span><span style="color:#402020;">)</span></html> @@ -108,7 +108,7 @@ - + Instantiations <html><span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#000000;">eb</span><span style="color:#402020;">);</span></html> @@ -116,7 +116,7 @@ - + Instantiations ... @@ -141,7 +141,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">(</span><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">ec</span><span style="color:#402020;">)</span></html> @@ -155,7 +155,7 @@ location - + <html></html> @@ -166,7 +166,7 @@ <init> - + @@ -197,7 +197,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a2.e</span><span style="color:#402020;">);</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">(</span><span style="color:#000000;">a1.e</span><span style="color:#402020;">);</span></html> @@ -205,7 +205,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml index 89b3210bf..cb8032cb5 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_passed_along.relations.graphml @@ -18,7 +18,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -64,7 +64,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">b</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -102,7 +102,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -136,7 +136,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -174,7 +174,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">C</span><span style="color:#402020;">()</span></html> @@ -200,7 +200,7 @@ ec - + <html></html> @@ -221,7 +221,7 @@ - + Component definitions @@ -245,7 +245,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -293,7 +293,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -341,7 +341,7 @@ - + Components diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml index 503546a02..c442be6f2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -67,7 +67,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -89,7 +89,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -103,7 +103,7 @@ location - + <html></html> @@ -114,7 +114,7 @@ <init> - + @@ -145,7 +145,7 @@ - + Instantiations <html><span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span></html> @@ -153,7 +153,7 @@ - + Instantiations ... @@ -172,7 +172,7 @@ - + Instantiations <html><span style="color:#000000;">b1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span><br><span style="color:#000000;">b2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">();</span></html> @@ -180,7 +180,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml index 4b0738954..a08aeeaf2 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/evt_ref_via_inst.relations.graphml @@ -24,7 +24,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">B</span><span style="color:#402020;">()</span></html> @@ -46,7 +46,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -60,7 +60,7 @@ e - + <html></html> @@ -81,7 +81,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#000000;">a</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -119,7 +119,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml index 072d1ca90..e3ab77583 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0061c0;">in</span>&nbsp;<span style="color:#0000ff;">any</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#0061c0;">in</span>&nbsp;<span style="color:#0000ff;">any</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location f - + <html><span style="color:#000000;">f</span></html> @@ -86,7 +86,7 @@ location t1 - + <html><span style="color:#000000;">t1</span></html> @@ -97,7 +97,7 @@ <init> - + @@ -124,7 +124,7 @@ location t2 - + <html><span style="color:#000000;">t2</span></html> @@ -135,7 +135,7 @@ <init> - + @@ -153,7 +153,7 @@ location p1 - + <html><span style="color:#000000;">p1</span></html> @@ -164,7 +164,7 @@ <init> - + @@ -187,7 +187,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -196,7 +196,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml index a7dbee819..637dea885 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/inits.relations.graphml @@ -52,7 +52,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -66,7 +66,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml index becb453da..1358a953b 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/insts.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">()</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -69,7 +69,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">group</span>&nbsp;<span style="color:#0000ff;">def</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">()</span></html> @@ -86,7 +86,7 @@ - + Instantiations <html><span style="color:#000000;">a1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a3</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a4</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">a5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">A</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g1</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g2</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g3</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g4</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span><br><span style="color:#000000;">g5</span><span style="color:#402020;">:</span>&nbsp;<span style="color:#000000;">G</span><span style="color:#402020;">();</span></html> @@ -94,7 +94,7 @@ - + Instantiations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml index b22c008a8..ef3f863cc 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">controllable</span>&nbsp;<span style="color:#006100;">c_add</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">controllable</span>&nbsp;<span style="color:#006100;">c_remove</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">uncontrollable</span>&nbsp;<span style="color:#800000;">u_added</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">uncontrollable</span>&nbsp;<span style="color:#800000;">u_removed</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#c06100;">e_update</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#c06100;">e_snd</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#c06100;">e_rcv</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">0</span><span style="color:#402020;">..</span><span style="color:#006100;">10</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">z</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span></html> @@ -68,7 +68,7 @@ <init> - + @@ -104,7 +104,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span></html> @@ -142,7 +142,7 @@ location loc3 - + <html><span style="color:#000000;">loc3</span></html> @@ -162,7 +162,7 @@ location loc4 - + <html><span style="color:#000000;">loc4</span><br><br><span style="color:#0000ff;">marked</span><span style="color:#402020;">;</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml index a66726901..515238c3c 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/locs_edges.relations.graphml @@ -112,7 +112,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">aut</span></html> @@ -126,7 +126,7 @@ e_rcv ? - + <html><span style="color:#402020;">?</span></html> @@ -137,7 +137,7 @@ e_snd ! - + <html><span style="color:#402020;">!</span></html> @@ -148,7 +148,7 @@ u_removed - + <html></html> @@ -159,7 +159,7 @@ u_added - + <html></html> @@ -170,7 +170,7 @@ e_update - + <html></html> @@ -181,7 +181,7 @@ c_remove - + <html></html> @@ -192,7 +192,7 @@ c_add - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml index 00a31a6db..28ca03340 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">alphabet</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">monitor</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">1</span><span style="color:#402020;">..</span><span style="color:#006100;">1</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">1</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">initial</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">marked</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">print</span>&nbsp;<span style="color:#c00000;">&quot;b&quot;</span>&nbsp;<span style="color:#0000ff;">for</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span></html> @@ -166,7 +166,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">a.x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">6.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">urgent</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">print</span>&nbsp;<span style="color:#c00000;">&quot;a&quot;</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml index c8747fefc..8309ea0dd 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_all.relations.graphml @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml index 9c9995d35..aa675d055 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">alphabet</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">monitor</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">disc</span>&nbsp;<span style="color:#0000ff;">int</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">const</span>&nbsp;<span style="color:#0000ff;">int</span><span style="color:#402020;">[</span><span style="color:#006100;">1</span><span style="color:#402020;">..</span><span style="color:#006100;">1</span><span style="color:#402020;">]</span>&nbsp;<span style="color:#000000;">y</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">1</span><span style="color:#402020;">;</span><br><br><span style="color:#0000ff;">initial</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">marked</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#006100;">2</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html></html> @@ -68,7 +68,7 @@ <init> - + @@ -105,7 +105,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -121,7 +121,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span></html> @@ -130,7 +130,7 @@ - + Declarations ... @@ -146,7 +146,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span><br><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">5.0</span><span style="color:#402020;">;</span></html> @@ -166,7 +166,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span><br><br><span style="color:#0000ff;">invariant</span>&nbsp;<span style="color:#000000;">a.x</span>&nbsp;<span style="color:#402020;">&gt;</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">equation</span>&nbsp;<span style="color:#000000;">c</span><span style="color:#402020;">'</span>&nbsp;<span style="color:#402020;">=</span>&nbsp;<span style="color:#006100;">6.0</span><span style="color:#402020;">;</span><br><span style="color:#0000ff;">urgent</span><span style="color:#402020;">;</span></html> @@ -181,7 +181,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -190,7 +190,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml index c8747fefc..8309ea0dd 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_default.relations.graphml @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml index 3089163ef..98fc72f5b 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -30,7 +30,7 @@ location - + <html></html> @@ -41,7 +41,7 @@ <init> - + @@ -78,7 +78,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -92,7 +92,7 @@ location loc1 - + <html><span style="color:#000000;">loc1</span></html> @@ -112,7 +112,7 @@ location loc2 - + <html><span style="color:#000000;">loc2</span></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml index c8747fefc..8309ea0dd 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/model_filter_none.relations.graphml @@ -84,7 +84,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">b</span></html> @@ -98,7 +98,7 @@ e - + <html></html> @@ -155,7 +155,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -169,7 +169,7 @@ x - + @@ -179,7 +179,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml index 468c69196..513161636 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.model.graphml @@ -16,7 +16,7 @@ - + automaton a @@ -32,7 +32,7 @@ - + Declarations event e; @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + marked; @@ -68,7 +68,7 @@ <init> - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml index 249b2f8ac..7d255aa80 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/opt_syntax_highlight.relations.graphml @@ -24,7 +24,7 @@ - + automaton a @@ -38,7 +38,7 @@ e - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml index b00088506..3972df415 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/rel_cont_der.model.graphml @@ -10,7 +10,7 @@ - + Declarations <html><span style="color:#0000ff;">cont</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#0000ff;">der</span>&nbsp;<span style="color:#000000;">x</span>&nbsp;<span style="color:#402020;">+</span>&nbsp;<span style="color:#000000;">x</span><span style="color:#402020;">;</span></html> @@ -19,7 +19,7 @@ - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml index 2a1992903..05934b3d7 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/relations_none.model.graphml @@ -16,7 +16,7 @@ - + group g @@ -38,7 +38,7 @@ - + automaton a @@ -52,7 +52,7 @@ location - + @@ -63,7 +63,7 @@ <init> - + @@ -94,7 +94,7 @@ - + Declarations input int y; event e; @@ -104,7 +104,7 @@ event e; - + Declarations ... @@ -124,7 +124,7 @@ event e; - + Declarations alg int x = g.y; @@ -133,7 +133,7 @@ event e; - + Declarations ... diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml index 20657e951..69eecb6dc 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.model.graphml @@ -16,7 +16,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -32,7 +32,7 @@ - + Declarations <html><span style="color:#0000ff;">event</span>&nbsp;<span style="color:#000000;">e</span><span style="color:#402020;">;</span></html> @@ -41,7 +41,7 @@ - + Declarations ... @@ -57,7 +57,7 @@ location - + <html><span style="color:#0000ff;">marked</span><span style="color:#402020;">;</span></html> @@ -68,7 +68,7 @@ <init> - + diff --git a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml index 766f7eebf..1f5cf5fcb 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml +++ b/cif/org.eclipse.escet.cif.tests/tests/cif2yed/small.relations.graphml @@ -24,7 +24,7 @@ - + <html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#0000ff;">automaton</span>&nbsp;<span style="color:#000000;">a</span></html> @@ -38,7 +38,7 @@ e - + <html></html> diff --git a/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef b/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef index d2e541b6f..80bdce8be 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef +++ b/cif/org.eclipse.escet.cif.tests/tests/test_cif2yed.tooldef @@ -77,7 +77,7 @@ for test in tests: "\"/>"); yed_real_lines[i] = replaceRegex(yed_real_lines[i], "", - "\"/>"); + "\" width=\"\"/>"); end writefile(yed_real, yed_real_lines); end -- GitLab From b8186724663bdefc9f46246a5d62ea7e28773140 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 11:46:53 +0100 Subject: [PATCH 12/19] #4 Jenkinsfile improvements. - Last build was successful, for the first time on Jenkins. - Use Oracle JDK to match local development environment. - Use fixed Maven version, to ensure reproducibility. - Merge build/test stages: - Test stage would again build documentation, product, etc. - This makes the build take a shorter time. - Merge info/build stages: no sense in having separate info stage. --- Jenkinsfile | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e41c63b39..2cb6e74ee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,36 +19,26 @@ pipeline { } } tools { - jdk 'adoptopenjdk-hotspot-jdk8-latest' - maven 'apache-maven-latest' + jdk 'oracle-jdk8-latest' + maven 'apache-maven-3.6.3' } options { timeout(time: 1, unit: 'HOURS') timestamps() } stages { - stage('Info') { + stage('Build') { steps { sh ''' java -version mvn -version ''' } - } - stage('Build') { - steps { - sh ''' - mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests clean package - ''' - } - } - stage('Test') { steps { wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) { sh ''' - mvn -Dtycho.pomless.aggregator.names=releng,chi,cif,common,setext,tooldef,products -pl !cif/org.eclipse.escet.cif.datasynth,!cif/org.eclipse.escet.cif.datasynth.tests verify + ./build.sh ''' - } } } } -- GitLab From d79a926fd4ab3c4e6c4ccf29d52405e65c3558ca Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 11:49:42 +0100 Subject: [PATCH 13/19] #4 Jenkinsfile syntax fix (regression). --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2cb6e74ee..8558320a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,7 @@ pipeline { sh ''' ./build.sh ''' + } } } } -- GitLab From 48ad2b7dd91e91220ab910dbfe740ce7706fd205 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Tue, 8 Dec 2020 11:53:40 +0100 Subject: [PATCH 14/19] #4 Another Jenkinsfile syntax fix (regression). --- Jenkinsfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8558320a5..b878c87f7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -28,15 +28,11 @@ pipeline { } stages { stage('Build') { - steps { - sh ''' - java -version - mvn -version - ''' - } steps { wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) { sh ''' + java -version + mvn -version ./build.sh ''' } -- GitLab From 2363dad912666fde7e50790a3f7868dcecc0bf3f Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Thu, 10 Dec 2020 15:22:17 +0100 Subject: [PATCH 15/19] #4 Jenkinsfile: layout, discard old builds, stage name, archive output. - Improved layout/readability. - Discard old builds to save disk space on server. - Testing with low number. - Make stage reflect that 'Build' also does the testing. - Archive generated artifacts (documentation, update sites, product). --- Jenkinsfile | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b878c87f7..9dc2e93cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,16 +18,20 @@ pipeline { label 'centos-7' } } + tools { jdk 'oracle-jdk8-latest' maven 'apache-maven-3.6.3' } + options { + buildDiscarder(logRotator(numToKeepStr: '2')) timeout(time: 1, unit: 'HOURS') timestamps() } + stages { - stage('Build') { + stage('Build & Test') { steps { wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) { sh ''' @@ -37,8 +41,41 @@ pipeline { ''' } } + + post { + success { + // Chi documentation. + archiveArtifacts 'chi/org.eclipse.escet.chi.documentation/target/*.jar' + archiveArtifacts 'chi/org.eclipse.escet.chi.documentation/target/*.zip' + + // CIF documentation. + archiveArtifacts 'cif/org.eclipse.escet.cif.documentation/target/*.jar' + archiveArtifacts 'cif/org.eclipse.escet.cif.documentation/target/*.zip' + + // Project/product documentation. + archiveArtifacts 'products/org.eclipse.escet.documentation/target/*.jar' + archiveArtifacts 'products/org.eclipse.escet.documentation/target/*.zip' + + // Update site. + archiveArtifacts 'products/org.eclipse.escet.product/target/*.jar' + archiveArtifacts 'products/org.eclipse.escet.product/target/*.zip' + + // Product. + archiveArtifacts 'products/org.eclipse.escet.product/target/products/*.tar.gz' + archiveArtifacts 'products/org.eclipse.escet.product/target/products/*.zip' + + // SeText documentation. + archiveArtifacts 'setext/org.eclipse.escet.setext.documentation/target/*.jar' + archiveArtifacts 'setext/org.eclipse.escet.setext.documentation/target/*.zip' + + // ToolDef documentation. + archiveArtifacts 'tooldef/org.eclipse.escet.setext.documentation/target/*.jar' + archiveArtifacts 'tooldef/org.eclipse.escet.setext.documentation/target/*.zip' + } + } } } + post { // Send an e-mail on unsuccessful builds (unstable, failure, aborted). unsuccessful { @@ -46,6 +83,7 @@ pipeline { body: '''Check console output at $BUILD_URL to view the results.''', recipientProviders: [culprits(), requestor()] } + // Send an e-mail on fixed builds (back to normal). fixed { emailext subject: 'Build $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER!', -- GitLab From 8a5549354372798d0097d97bab788f39a6b517c9 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Thu, 10 Dec 2020 15:32:55 +0100 Subject: [PATCH 16/19] #4 Jenkinsfile: keep last 5 builds. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9dc2e93cc..33ae26c97 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,7 @@ pipeline { } options { - buildDiscarder(logRotator(numToKeepStr: '2')) + buildDiscarder(logRotator(numToKeepStr: '5')) timeout(time: 1, unit: 'HOURS') timestamps() } -- GitLab From 0e857d7f0eba597dfc5a884791ed5d0bb272b8d9 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Thu, 10 Dec 2020 16:49:56 +0100 Subject: [PATCH 17/19] #4 Jenkinsfile: fixed update site archiving. --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 33ae26c97..89fd23913 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,6 @@ pipeline { archiveArtifacts 'products/org.eclipse.escet.documentation/target/*.zip' // Update site. - archiveArtifacts 'products/org.eclipse.escet.product/target/*.jar' archiveArtifacts 'products/org.eclipse.escet.product/target/*.zip' // Product. -- GitLab From c513ad25ea4596f5f6da81e5eeaec4e5aa9cd8df Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Thu, 10 Dec 2020 18:33:13 +0100 Subject: [PATCH 18/19] #4 Jenkinsfile: simplify, fix and reduce artifacts archiving. --- Jenkinsfile | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 89fd23913..1e07852e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,17 +44,8 @@ pipeline { post { success { - // Chi documentation. - archiveArtifacts 'chi/org.eclipse.escet.chi.documentation/target/*.jar' - archiveArtifacts 'chi/org.eclipse.escet.chi.documentation/target/*.zip' - - // CIF documentation. - archiveArtifacts 'cif/org.eclipse.escet.cif.documentation/target/*.jar' - archiveArtifacts 'cif/org.eclipse.escet.cif.documentation/target/*.zip' - - // Project/product documentation. - archiveArtifacts 'products/org.eclipse.escet.documentation/target/*.jar' - archiveArtifacts 'products/org.eclipse.escet.documentation/target/*.zip' + // Documentation. + archiveArtifacts '*/org.eclipse.escet.*documentation/target/*.zip' // Update site. archiveArtifacts 'products/org.eclipse.escet.product/target/*.zip' @@ -62,14 +53,6 @@ pipeline { // Product. archiveArtifacts 'products/org.eclipse.escet.product/target/products/*.tar.gz' archiveArtifacts 'products/org.eclipse.escet.product/target/products/*.zip' - - // SeText documentation. - archiveArtifacts 'setext/org.eclipse.escet.setext.documentation/target/*.jar' - archiveArtifacts 'setext/org.eclipse.escet.setext.documentation/target/*.zip' - - // ToolDef documentation. - archiveArtifacts 'tooldef/org.eclipse.escet.setext.documentation/target/*.jar' - archiveArtifacts 'tooldef/org.eclipse.escet.setext.documentation/target/*.zip' } } } -- GitLab From f13ef0dc4effda00258ac833e37f4f2460d42728 Mon Sep 17 00:00:00 2001 From: Dennis Hendriks Date: Fri, 11 Dec 2020 17:32:41 +0100 Subject: [PATCH 19/19] #4 Product archive name change: clear name diff 'update-site' vs 'ide'. --- products/org.eclipse.escet.product/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/org.eclipse.escet.product/pom.xml b/products/org.eclipse.escet.product/pom.xml index df1327ead..51e61c245 100644 --- a/products/org.eclipse.escet.product/pom.xml +++ b/products/org.eclipse.escet.product/pom.xml @@ -65,7 +65,7 @@ - eclipse-escet-incubation-${qualifiedVersion} + eclipse-escet-incubation-ide-${qualifiedVersion} -- GitLab