-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools][builder][tests] Test exceptions in code
- Loading branch information
1 parent
fab08ec
commit cb76ee8
Showing
21 changed files
with
168 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/contour_with_unknown_parent.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector> | ||
<contour type="contour/const/perm" idtf="" shapeColor="0" id="108108543037984" parent="2342323"> | ||
<points> | ||
<point x="104" y="241"/> | ||
<point x="86" y="490"/> | ||
<point x="671" y="537"/> | ||
<point x="627" y="249"/> | ||
</points> | ||
</contour> | ||
</staticSector> | ||
</GWF> |
7 changes: 7 additions & 0 deletions
7
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/element_with_unknown_type.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector> | ||
<node type="not/specified" idtf="" id="108108543037984" shapeColor="0" parent="0"> | ||
</node> | ||
</staticSector> | ||
</GWF> |
Empty file.
4 changes: 4 additions & 0 deletions
4
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/empty_static.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector/> | ||
</GWF> |
7 changes: 7 additions & 0 deletions
7
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/node_with_unknown_id.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector> | ||
<node type="node/const/perm/general" idtf="" shapeColor="0" parent="0"> | ||
</node> | ||
</staticSector> | ||
</GWF> |
8 changes: 8 additions & 0 deletions
8
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/unknown_link_content.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector> | ||
<node type="node/const/perm/general" idtf="3type" shapeColor="0" id="108733542566480" parent="0" left="0" top="0" right="52.8125" bottom="25" textColor="164" text_angle="0" text_font="Times New Roman [Arial]" font_size="10" x="64" y="368.647" haveBus="false" idtf_pos="0"> | ||
<content type="5" mime_type="content/term" content_visibility="true" file_name=""><![CDATA[343.344]]></content> | ||
</node> | ||
</staticSector> | ||
</GWF> |
8 changes: 8 additions & 0 deletions
8
sc-tools/sc-builder/tests/kb/tests-gwf-to-scs/unknown_tag.gwf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<GWF version="2.0"> | ||
<staticSector> | ||
<unknown type="node/const/perm/general" idtf="3type" shapeColor="0" id="108733542566480" parent="0" left="0" top="0" right="52.8125" bottom="25" textColor="164" text_angle="0" text_font="Times New Roman [Arial]" font_size="10" x="64" y="368.647" haveBus="false" idtf_pos="0"> | ||
<content type="3" mime_type="content/term" content_visibility="true" file_name=""><![CDATA[343.344]]></content> | ||
</unknown> | ||
</staticSector> | ||
</GWF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kb | ||
!kb/tests-gwf-to-scs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#define SC_BUILDER_REPO_PATH "${SC_BIN_PATH}/sc-builder-test-repo" | ||
#define SC_BUILDER_KB_BIN "${SC_BIN_PATH}/sc-builder-test-repo" | ||
#define SC_BUILDER_REPO_PATH "${CMAKE_CURRENT_LIST_DIR}/repo.path" | ||
#define SC_BUILDER_KB "${CMAKE_CURRENT_LIST_DIR}/kb" | ||
#define SC_BUILDER_INI "${CMAKE_CURRENT_LIST_DIR}/units/sc-builder-test.ini" | ||
#define SC_BUILDER_TEST_REPOS "${CMAKE_CURRENT_LIST_DIR}/repos" |
Oops, something went wrong.