Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions unified/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>sysml-unified</name>
<comment></comment>
<projects>
<project>org.omg.sysml.logic</project>
<project>org.omg.sysml.model</project>
<project>org.omg.sysml.model.eclipse</project>
<project>org.omg.sysml.model.tools</project>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments></arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
34 changes: 34 additions & 0 deletions unified/org.omg.sysml.logic.tests/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/test/java" output="target/test-classes">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
</classpath>
20 changes: 20 additions & 0 deletions unified/org.omg.sysml.logic.tests/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.omg.sysml.logic.tests</name>
<comment></comment>
<projects></projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments></arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments></arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
org.eclipse.jdt.core.compiler.compliance=21
org.eclipse.jdt.core.compiler.source=21
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
24 changes: 24 additions & 0 deletions unified/org.omg.sysml.logic.tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# org.omg.sysml.logic.tests

## Purpose
- Hosts integration and coverage tests for `org.omg.sysml.logic`.
- Keeps `org.omg.sysml.logic` free from test-only dependencies and test resources.

## What This Module Provides
- `SpringIntegrationTest`: validates Spring wiring for delegate registration.
- `SysMLDelegateCoverageTest`: validates delegate generation/runtime coverage against the SysML UML source model.
- `InvocationSemantics*Test` and `SettingSemantics*Test`: validate generated delegate semantics,
including subsets-based setting fallback behavior.

## Test Resources
- Local UML source of truth for coverage checks:
- `src/main/resources/SysML_xmi.uml`

## Design Intent
- Test-only module in the unified Maven reactor.
- Depends on `org.omg.sysml.logic` in test scope.
- Does not contribute runtime code.

## Typical Usage
- Run with the full reactor: `mvn -f unified/pom.xml clean verify`
- Or run only this module: `mvn -f unified/org.omg.sysml.logic.tests/pom.xml test`
49 changes: 49 additions & 0 deletions unified/org.omg.sysml.logic.tests/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.omg.sysml</groupId>
<artifactId>org.omg.sysml.unified.parent</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>org.omg.sysml.logic.tests</artifactId>
<name>org.omg.sysml.logic.tests</name>

<dependencies>
<dependency>
<groupId>org.omg.sysml</groupId>
<artifactId>org.omg.sysml.logic</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Empty file.
Loading