Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Translate Objectif pseudo code into CEG #471

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open
1 change: 0 additions & 1 deletion bundles/cnf/releaserepo/index.xml.sha

This file was deleted.

22 changes: 11 additions & 11 deletions bundles/specmate-cause-effect-patterns/.classpath
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
24 changes: 12 additions & 12 deletions bundles/specmate-integration-test/.classpath
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WENN A=5 UND B=3 DANN C=7 ENDE-WENN
WENN A=5 UND X=9 DANN C=7 ENDE-WENN
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to add multiline text to the test?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The model generation does not work when special chars (e.g. [(*<)) or umlauts (ÄÖÜ etc.) are in the text
The model generation does not work when line breaks are in the text (see comment below)

Pelase fix and add tests

WENN X = Z ODER Y>4 DANN F="Test" ENDE-WENN
WENN A=1 DANN WENN B=1 DANN C=1 ENDE-WENN ENDE-WENN
WENN A=1 DANN B=1 SONST C=2 ENDE-WENN
3 changes: 2 additions & 1 deletion bundles/specmate-model-generation/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
specmate-metrics;version=latest,\
specmate-cause-effect-patterns,\
specmate-config-api;version=latest,\
specmate-xtext;version=latest
specmate-xtext;version=latest,\
specmate-objectif
Private-Package: \
com.specmate.modelgeneration,\
com.specmate.modelgeneration.legacy
1 change: 1 addition & 0 deletions bundles/specmate-model-generation/generated/buildfiles
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A:/specmate/bundles/specmate-model-generation/generated/specmate-model-generation.jar
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WENN die sonne scheint UND meine freunde Zeit haben ODER ich bock hab DANN WENN der see frei ist DANN WENN csxc ODER 34234 DANN fahre ich an den See ENDE-WENN ENDE-WENN ENDE-WENN
Loading