]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.viewpoint.ontology/graph/ViewpointTests.pgraph
Copy URI context menu action to Model Browser for development mode
[simantics/platform.git] / bundles / org.simantics.viewpoint.ontology / graph / ViewpointTests.pgraph
index 80cfc8c6954c4f75e6405ee7052dedd2dfd3d7eb..4f297e417e744faf85b3a0f9a590a3fcb8698a6c 100644 (file)
@@ -1,37 +1,43 @@
-L0 = <http://www.simantics.org/Layer0-1.1>\r
-VP = <http://www.simantics.org/Viewpoint-1.2>\r
-\r
-VP.HasInstanceOfTest <T VP.Test\r
-VP.HasInstanceOfTest.IsInstanceOf <R L0.IsRelatedTo : L0.TotalFunction\r
-    L0.HasDomain VP.HasInstanceOfTest\r
-    L0.HasRange  L0.Type\r
-\r
-VP.HasStatementTest <T VP.Test\r
-VP.HasStatementTest.HasRelation <R L0.IsRelatedTo : L0.TotalFunction\r
-    L0.HasDomain VP.HasStatementTest\r
-    L0.HasRange  L0.Relation\r
-    \r
-VP.HasNegatedTest <T VP.Test\r
-VP.HasNegatedTest.HasTest <R L0.IsRelatedTo : L0.TotalFunction\r
-    L0.HasDomain VP.HasNegatedTest\r
-    L0.HasRange  VP.Test\r
-\r
-VP.AndTest <T VP.Test\r
-    L0.HasDescription "A test that evaluates the conjunction of its child tests. Evaluates to true if the conjuction is empty."\r
-VP.AndTest.HasTest <R L0.IsRelatedTo\r
-    L0.HasDomain VP.AndTest\r
-    L0.HasRange  VP.Test\r
-\r
-VP.OrTest <T VP.Test\r
-    L0.HasDescription "A test that evaluates the disjunction of its child tests. Evaluates to true if the disjunction is empty."\r
-VP.OrTest.HasTest <R L0.IsRelatedTo\r
-    L0.HasDomain VP.OrTest\r
-    L0.HasRange  VP.Test\r
-\r
-VP.InstanceOfTest <T VP.Test\r
-    L0.HasDescription "A test that uses java instanceof to compare the input content against a specified class."\r
-    >-- VP.InstanceOfTest.bundleName --> L0.String <R L0.HasProperty : L0.TotalFunction\r
-    >-- VP.InstanceOfTest.className --> L0.String <R L0.HasProperty : L0.TotalFunction\r
-\r
-VP.FailTest <T VP.Test\r
-    L0.HasDescription "A test that is compatible with all content types and always fails, i.e. returns false."\r
+L0 = <http://www.simantics.org/Layer0-1.1>
+VP = <http://www.simantics.org/Viewpoint-1.2>
+
+VP.HasInstanceOfTest <T VP.Test
+VP.HasInstanceOfTest.IsInstanceOf <R L0.IsRelatedTo : L0.TotalFunction
+    L0.HasDomain VP.HasInstanceOfTest
+    L0.HasRange  L0.Type
+
+VP.HasStatementTest <T VP.Test
+VP.HasStatementTest.HasRelation <R L0.IsRelatedTo : L0.TotalFunction
+    L0.HasDomain VP.HasStatementTest
+    L0.HasRange  L0.Relation
+    
+VP.HasNegatedTest <T VP.Test
+VP.HasNegatedTest.HasTest <R L0.IsRelatedTo : L0.TotalFunction
+    L0.HasDomain VP.HasNegatedTest
+    L0.HasRange  VP.Test
+
+VP.AndTest <T VP.Test
+    L0.HasDescription "A test that evaluates the conjunction of its child tests. Evaluates to true if the conjuction is empty."
+VP.AndTest.HasTest <R L0.IsRelatedTo
+    L0.HasDomain VP.AndTest
+    L0.HasRange  VP.Test
+
+VP.OrTest <T VP.Test
+    L0.HasDescription "A test that evaluates the disjunction of its child tests. Evaluates to true if the disjunction is empty."
+VP.OrTest.HasTest <R L0.IsRelatedTo
+    L0.HasDomain VP.OrTest
+    L0.HasRange  VP.Test
+
+VP.InstanceOfTest <T VP.Test
+    L0.HasDescription "A test that uses java instanceof to compare the input content against a specified class."
+    >-- VP.InstanceOfTest.bundleName --> L0.String <R L0.HasProperty : L0.TotalFunction
+    >-- VP.InstanceOfTest.className --> L0.String <R L0.HasProperty : L0.TotalFunction
+
+VP.FailTest <T VP.Test
+    L0.HasDescription "A test that is compatible with all content types and always fails, i.e. returns false."
+
+VP.HasURITest <T VP.Test
+    L0.HasDescription "A test that checks the Resource or Variable given as input has a proper URI."
+
+VP.InDevelopmentModeTest <T VP.Test
+    L0.HasDescription "A test that directly invokes org.eclipse.runtime.core.Platform.inDevelopmentMode()."