Skip to content

Commit 45563f0

Browse files
committed
ST6RI-805 Fixed "PROJECT_RELATIVE_LIBRARY_PATH" name in SysMLSematicTest
- Also corrected SysML v2 Specification semantics table references.
1 parent 31ef8ec commit 45563f0

5 files changed

Lines changed: 11 additions & 7 deletions

File tree

org.omg.sysml.interactive.tests/src/org/omg/sysml/semantics/tests/SysMLBinaryRelationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131

3232

3333
/**
34-
* Semantic constraint tests for binary cases from Table 32. Other Implied Relationships
34+
* Semantic constraint tests for binary cases for "Implied Definition Subclassification Relationships" and
35+
* "Implied Usage Subsetting Relationships" (SysML v2 Specification, Tables 30 and 31)
3536
*/
3637
public class SysMLBinaryRelationTest extends SysMLSemanticTest {
3738

org.omg.sysml.interactive.tests/src/org/omg/sysml/semantics/tests/SysMLImpliedRelationsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.omg.sysml.util.TypeUtil;
3636

3737
/**
38-
* Semantic constraint tests for Table 32. Other Implied Relationships
38+
* Semantic constraint tests for "Other Implied Relationships" (SysML Specification, Table 32)
3939
*/
4040
public class SysMLImpliedRelationsTest extends SysMLSemanticTest {
4141

org.omg.sysml.interactive.tests/src/org/omg/sysml/semantics/tests/SysMLSemanticTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public abstract class SysMLSemanticTest {
4949
/**
5050
* Library path relative to this eclipse project. Direct JUnit runs.
5151
*/
52-
private static final String PROJECT_RELATIVE_LIBRARY_PARHT = "../sysml.library";
52+
private static final String PROJECT_RELATIVE_LIBRARY_PATH = "../sysml.library";
5353

5454
public static String getLibraryPath() {
5555
var sysprop = System.getProperty(SYSML_LIBRARY_PATH_KEY);
@@ -58,7 +58,7 @@ public static String getLibraryPath() {
5858

5959
private static String getAbsoluteLibraryPath() {
6060
// convert relative path to absolute path
61-
return new File(PROJECT_RELATIVE_LIBRARY_PARHT).getAbsolutePath();
61+
return new File(PROJECT_RELATIVE_LIBRARY_PATH).getAbsolutePath();
6262
}
6363

6464
// test setup

org.omg.sysml.interactive.tests/src/org/omg/sysml/semantics/tests/SysMLSpecializationSpecialTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
import org.junit.Test;
2727

2828
/**
29-
* Specification: Table 31. Implied Usage Subsetting Relationships
30-
* cases that cannot be covered by the parameterized test class {@link SysMLSpecializationTest}
29+
* Semantic constraint tests for "Implied Definition Subclassification Relationships" and
30+
* "Implied Usage Subsetting Relationships" (SysML v2 Specification, Tables 30 and 31)
31+
*
32+
* Cases that cannot be covered by the parameterized test class {@link SysMLSpecializationTest}
3133
*/
3234
public class SysMLSpecializationSpecialTest extends SysMLSemanticTest {
3335

org.omg.sysml.interactive.tests/src/org/omg/sysml/semantics/tests/SysMLSpecializationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@
5252
import org.omg.sysml.util.NamespaceUtil;
5353

5454
/**
55-
* Semantic constraint tests for Table 31. Implied Usage Subsetting Relationships
55+
* Semantic constraint tests for "Implied Definition Subclassification Relationships" and
56+
* "Implied Usage Subsetting Relationships" (SysML v2 Specification, Tables 30 and 31)
5657
*/
5758
@RunWith(Parameterized.class)
5859
public class SysMLSpecializationTest extends SysMLSemanticTest {

0 commit comments

Comments
 (0)