Module Simantics/Tests

This module is undocumented. This is a list of its definitions.

createSTSSuite :: Resource -> <WriteGraph,Proc> Resource

Creates an empty STS test suite under the given parent and returns it. It is named STSSuite with a numeric suffix that makes the name unique among its siblings.

createSTSTest :: Resource -> <WriteGraph,Proc> Resource

Creates an STS test with an empty definition under the given parent and returns it. It is named STSTest with a numeric suffix that makes the name unique among its siblings.

createSTSVariable :: Resource -> <WriteGraph,Proc> Resource

Creates an STS variable with an empty definition under the given parent and returns it. It is named STSVariable with a numeric suffix that makes the name unique among its siblings.

stsTestContentDump :: Resource -> <ReadGraph> Vector Byte

The definition text of an STS test as UTF-8 bytes. It is the content dump function of TESTS.STSTest, which is what writes the test out when the ontology structure is dumped to the file system.