Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pipeline {
withCredentials([string(credentialsId: 'osate-ci_sonarcloud', variable: 'SONARTOKEN')]) {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh 'mvn -s releng/osate.releng/seisettings.xml clean verify \
-Plocal -Dsonar.token=$SONARTOKEN \
-Plocal,with-ge-tests -Dsonar.token=$SONARTOKEN \
-Dsonar.pullrequest.provider=GitHub \
-Dsonar.pullrequest.github.repository=$(echo $CHANGE_URL | cut -d/ -f4,5) \
-Dsonar.pullrequest.key=$CHANGE_ID \
Expand All @@ -43,7 +43,7 @@ pipeline {
withCredentials([string(credentialsId: 'osate-ci_sonarcloud', variable: 'SONARTOKEN')]) {
wrap([$class: 'Xvnc', takeScreenshot: false, useXauthority: true]) {
sh 'mvn -s releng/osate.releng/seisettings.xml clean verify \
-Pfull -Dsonar.token=$SONARTOKEN \
-Pfull,with-ge-tests -Dsonar.token=$SONARTOKEN \
-Declipse.p2.mirrors=false -DfailIfNoTests=false \
-Dcodecoverage=true -Dspotbugs=true -Djavadoc=true'
}
Expand Down Expand Up @@ -100,4 +100,4 @@ pipeline {
)
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public final void setTypeTokens(final List<TypeToken> value) {
// Modify the AADL model
modifyTypeSets(ts -> {
ts.getTypeTokens().clear();
ts.getTypeTokens().addAll(inner.getTypeTokenList());
ts.getTypeTokens().addAll(EcoreUtil.copyAll(inner.getTypeTokenList()));
});
}
}
Expand Down
574 changes: 78 additions & 496 deletions ge/org.osate.ge.tests/.launch/org.osate.ge.tests.launch

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -793,10 +793,10 @@ private void createSoftwareProject() {
threadsImplElement.join(getFeatureRelativeReference("point_cloud")),
getFlowSpecificationRelativeReference("threads_new_flow_spec"), "point_cloud_source");

// Create flow sink threads.impl.integrator.point_cloud
// Create flow source threads.impl.integrator.point_cloud
createFlowIndicatorAndLayout(softwareDiagram, integratorScImpl,
"Flow Sink Specification", integratorScImpl.join(getFeatureRelativeReference("point_cloud")),
getFlowSpecificationRelativeReference("integrator_new_flow_spec"), "point_cloud_sink");
"Flow Source Specification", integratorScImpl.join(getFeatureRelativeReference("point_cloud")),
getFlowSpecificationRelativeReference("integrator_new_flow_spec"), "point_cloud_source");

// Create connection threads.impl.point_cloud -> threads.impl.integrator.point_cloud
createConnectionAndLayout(softwareDiagram,
Expand Down Expand Up @@ -835,7 +835,7 @@ private void createSoftwareProject() {
element(getRelativeReferenceForPackage(SOFTWARE), getClassifierRelativeReference(
"threads.impl"),
getSubcomponentRelativeReference("integrator"),
getFlowSpecificationRelativeReference("point_cloud_sink")),
getFlowSpecificationRelativeReference("point_cloud_source")),
element(getRelativeReferenceForPackage(SOFTWARE), getClassifierRelativeReference(
"threads.impl"),
getConnectionRelativeReference("point_cloud_connection")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ public static void openDiagramEditor(final DiagramReference diagram) {
// Don't do anything if diagram is active
if (!isDiagramEditorActive(diagram)) {
doubleClickInAadlNavigator(diagram.pathSegments.toArray(new String[diagram.pathSegments.size()]));
waitUntil(() -> isDiagramEditorOpen(diagram),
"Editor for diagram path segments '" + diagram + "' did not open.");
activateDiagramEditor(diagram);
waitForDiagramActive(diagram);
}
}
Expand Down
Loading