Skip to content

Support custom properties in textual representation (#62) #21

Support custom properties in textual representation (#62)

Support custom properties in textual representation (#62) #21

GitHub Actions / Unit Test Results succeeded Aug 9, 2024 in 0s

All 71 tests pass in 2m 59s

  3 files  + 1   30 suites  +10   2m 59s ⏱️ + 1m 26s
 71 tests ± 0   71 ✅ ± 0  0 💤 ±0  0 ❌ ±0 
216 runs  +72  216 ✅ +72  0 💤 ±0  0 ❌ ±0 

Results for commit 353fc84. ± Comparison against earlier commit 789eb75.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

71 tests found

There are 71 tests, see "Raw output" for the full list of tests.
Raw output
CrossModel language Diagram Diagram with edges Simple file for diagram and edges ‑ CrossModel language Diagram Diagram with edges Simple file for diagram and edges
CrossModel language Diagram Diagram with nodes Simple file for diagram and nodes ‑ CrossModel language Diagram Diagram with nodes Simple file for diagram and nodes
CrossModel language Diagram Diagram with nodes and edges Simple file for diagram and edges ‑ CrossModel language Diagram Diagram with nodes and edges Simple file for diagram and edges
CrossModel language Diagram Diagram with nodes and edges Simple file for diagram and edges, but description and name coming last ‑ CrossModel language Diagram Diagram with nodes and edges Simple file for diagram and edges, but description and name coming last
CrossModel language Diagram Diagram without nodes and edges Diagram with indentation error ‑ CrossModel language Diagram Diagram without nodes and edges Diagram with indentation error
CrossModel language Diagram Diagram without nodes and edges Simple file for diagram ‑ CrossModel language Diagram Diagram without nodes and edges Simple file for diagram
CrossModel language Entity With attributes entity with attributes coming before the description and name ‑ CrossModel language Entity With attributes entity with attributes coming before the description and name
CrossModel language Entity With attributes entity with attributes ‑ CrossModel language Entity With attributes entity with attributes
CrossModel language Entity With attributes entity with indentation error ‑ CrossModel language Entity With attributes entity with indentation error
CrossModel language Entity Without attributes Simple file for entity ‑ CrossModel language Entity Without attributes Simple file for entity
CrossModel language Relationship Simple file for relationship ‑ CrossModel language Relationship Simple file for relationship
CrossModel language Relationship relationship with attributes ‑ CrossModel language Relationship relationship with attributes
CrossModel language Relationship relationship with duplicates ‑ CrossModel language Relationship relationship with duplicates
CrossModel language Relationship relationship with indentation error ‑ CrossModel language Relationship relationship with indentation error
CrossModel language Relationship relationship with wrong entity ‑ CrossModel language Relationship relationship with wrong entity
CrossModelLexer Indentation Simple indentation, should give indent and dedent token ‑ CrossModelLexer Indentation Simple indentation, should give indent and dedent token
CrossModelLexer Indentation double indentation, but dedent in text ‑ CrossModelLexer Indentation double indentation, but dedent in text
CrossModelLexer Indentation double indentation, should give indent and dedent token ‑ CrossModelLexer Indentation double indentation, should give indent and dedent token
CrossModelLexer Indentation single indentation but stay on same level, should give 1 indent and 1 dedent token ‑ CrossModelLexer Indentation single indentation but stay on same level, should give 1 indent and 1 dedent token
CrossModelLexer Serialize diagram serialize entity with attributes ‑ CrossModelLexer Serialize diagram serialize entity with attributes
CrossModelLexer Serialize entity serialize entity with attributes in different place ‑ CrossModelLexer Serialize entity serialize entity with attributes in different place
CrossModelLexer Serialize entity serialize entity with attributes ‑ CrossModelLexer Serialize entity serialize entity with attributes
CrossModelLexer Serialize entity serialize entity without attributes ‑ CrossModelLexer Serialize entity serialize entity without attributes
CrossModelLexer Serialize relationship serialize entity with attributes ‑ CrossModelLexer Serialize relationship serialize entity with attributes
CrossModelLexer Simple keywords should tokenize a couple of simple words ‑ CrossModelLexer Simple keywords should tokenize a couple of simple words
CrossModelLexer Simple keywords should tokenize a simple word ‑ CrossModelLexer Simple keywords should tokenize a simple word
CrossModelTokenBuilder buildTokens Should give DEDENT token in second spot ‑ CrossModelTokenBuilder buildTokens Should give DEDENT token in second spot
CrossModelTokenBuilder buildTokens Should give INDENT token in third spot ‑ CrossModelTokenBuilder buildTokens Should give INDENT token in third spot
CrossModelTokenBuilder buildTokens Should give NEWLINE token in first spot ‑ CrossModelTokenBuilder buildTokens Should give NEWLINE token in first spot
CrossModelTokenBuilder buildTokens Should give SPACE token in last spot ‑ CrossModelTokenBuilder buildTokens Should give SPACE token in last spot
CrossModelTokenBuilder buildTokens Should throw error when missing indentation in grammar ‑ CrossModelTokenBuilder buildTokens Should throw error when missing indentation in grammar
IndentStack findLastIndex should return -1 if the given value is not found in the stack ‑ IndentStack findLastIndex should return -1 if the given value is not found in the stack
IndentStack findLastIndex should return the index of the last occurrence of the given value in the stack ‑ IndentStack findLastIndex should return the index of the last occurrence of the given value in the stack
IndentStack get should not modify the original stack when modifying the returned array ‑ IndentStack get should not modify the original stack when modifying the returned array
IndentStack get should return a copy of the current stack ‑ IndentStack get should return a copy of the current stack
IndentStack get should return an [0] if the stack is empty ‑ IndentStack get should return an [0] if the stack is empty
IndentStack getLast should return the last indentation level from the stack ‑ IndentStack getLast should return the last indentation level from the stack
IndentStack getLast should throw an IndentStackError if the stack is empty ‑ IndentStack getLast should throw an IndentStackError if the stack is empty
IndentStack length should return 1 when only the initial indentation level is present ‑ IndentStack length should return 1 when only the initial indentation level is present
IndentStack length should return the length of indentation levels in the stack ‑ IndentStack length should return the length of indentation levels in the stack
IndentStack pop should remove and return the topmost indentation level from the stack ‑ IndentStack pop should remove and return the topmost indentation level from the stack
IndentStack pop should return undefined if the stack is empty ‑ IndentStack pop should return undefined if the stack is empty
IndentStack push should push multiple values onto the stack ‑ IndentStack push should push multiple values onto the stack
IndentStack push should push the given value onto the stack ‑ IndentStack push should push the given value onto the stack
IndentStack reset should reset the stack to contain only the initial indentation level ‑ IndentStack reset should reset the stack to contain only the initial indentation level
Model Service Open on non-existing file should throw exception ‑ Model Service Open on non-existing file should throw exception
NameUtil findAvailableNodeName should find lowest count if multiple are taken ‑ NameUtil findAvailableNodeName should find lowest count if multiple are taken
NameUtil findAvailableNodeName should properly count up if name is taken ‑ NameUtil findAvailableNodeName should properly count up if name is taken
NameUtil findAvailableNodeName should return given name if unique ‑ NameUtil findAvailableNodeName should return given name if unique
NameUtil findAvailableNodeName should return unique name if given is taken ‑ NameUtil findAvailableNodeName should return unique name if given is taken
matchIndentBase DEDENT token should match a dedentation after dedentation ‑ matchIndentBase DEDENT token should match a dedentation after dedentation
matchIndentBase DEDENT token should match a dedentation ‑ matchIndentBase DEDENT token should match a dedentation
matchIndentBase DEDENT token should not match a dedentation whens on the same level ‑ matchIndentBase DEDENT token should not match a dedentation whens on the same level
matchIndentBase INDENT token Should not match lower indentation ‑ matchIndentBase INDENT token Should not match lower indentation
matchIndentBase INDENT token Should not match sucessive same indentation level ‑ matchIndentBase INDENT token Should not match sucessive same indentation level
matchIndentBase INDENT token Should only match follow up indentation ‑ matchIndentBase INDENT token Should only match follow up indentation
matchIndentBase INDENT token and lists(-) should match a dedentation after indentation with - ‑ matchIndentBase INDENT token and lists(-) should match a dedentation after indentation with -
matchIndentBase INDENT token and lists(-) should match a indentation after indentation with - ‑ matchIndentBase INDENT token and lists(-) should match a indentation after indentation with -
matchIndentBase INDENT token and lists(-) should match a single level of indentation at the start of a line with - ‑ matchIndentBase INDENT token and lists(-) should match a single level of indentation at the start of a line with -
matchIndentBase INDENT token and lists(-) should not match second indentation with same level ‑ matchIndentBase INDENT token and lists(-) should not match second indentation with same level
matchIndentBase INDENT token should match indentation at the start of a line ‑ matchIndentBase INDENT token should match indentation at the start of a line
matchIndentBase INDENT token should match indentation at the start of a line, when there are other token after it ‑ matchIndentBase INDENT token should match indentation at the start of a line, when there are other token after it
matchIndentBase INDENT token should match indentation when only new lines preceding ‑ matchIndentBase INDENT token should match indentation when only new lines preceding
matchIndentBase INDENT token should not match indentation after another token ‑ matchIndentBase INDENT token should not match indentation after another token
matchIndentBase NEWLINE token should match a newline character with carriage return ‑ matchIndentBase NEWLINE token should match a newline character with carriage return
matchIndentBase NEWLINE token should match a newline character ‑ matchIndentBase NEWLINE token should match a newline character
matchIndentBase NEWLINE token should match a newline followed by spaces ‑ matchIndentBase NEWLINE token should match a newline followed by spaces
matchIndentBase NEWLINE token should match a newline in the middle of a line ‑ matchIndentBase NEWLINE token should match a newline in the middle of a line
matchIndentBase NEWLINE token should match a newline preceded by spaces ‑ matchIndentBase NEWLINE token should match a newline preceded by spaces
matchIndentBase SPACES token should not produce a token for spaces at the end of a line ‑ matchIndentBase SPACES token should not produce a token for spaces at the end of a line
matchIndentBase SPACES token should not produce a token for spaces between words ‑ matchIndentBase SPACES token should not produce a token for spaces between words