-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The added tests cover the following cases: - without release name or with invalid characters (except) - with duplicated release name (warning) - without opening '{' (except) - with invalid characters in visibility or symbol name (except) - missing ';' or ':' after symbol or visibility (except) - missing visibility scope (warning) - previous with invalid characters (except) - previous missing closer ';' (except) Also removed an impossible state in the parser FSM
- Loading branch information
Showing
21 changed files
with
306 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Broken map with duplicated releases | ||
# This is non-critical, only warning generated | ||
|
||
LIBTC5_1_0_0 | ||
{ | ||
global: | ||
other_symbol; | ||
local: | ||
*; | ||
} ; | ||
|
||
LIBTC5_1_0_0 | ||
{ | ||
global: | ||
some_symbol; | ||
local: | ||
*; | ||
} ; |
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,6 @@ | ||
# Broken map with invalid element name | ||
|
||
LIBTC5_1_0_0 | ||
{ | ||
$&*#: | ||
} ; |
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,9 @@ | ||
# Broken map with invalid characters in previous | ||
|
||
LIBTC5_6_0_0 | ||
{ | ||
other_symbol; | ||
local: | ||
*; | ||
} $#&@; | ||
|
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,9 @@ | ||
# Broken map missing the previous closer ';' | ||
|
||
LIBTC5_7_0_0 | ||
{ | ||
other_symbol; | ||
local: | ||
*; | ||
} | ||
|
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,10 @@ | ||
# Broken map missing a colon or semicolon | ||
|
||
LIBTC5_4_0_0 | ||
{ | ||
global | ||
other_symbol; | ||
local: | ||
*; | ||
} ; | ||
|
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,10 @@ | ||
# Broken map missing visibility scope | ||
# Non-critical, only warning generated | ||
|
||
LIBTC5_5_0_0 | ||
{ | ||
other_symbol; | ||
local: | ||
*; | ||
} ; | ||
|
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,9 @@ | ||
# Broken map with a release with invalid characters in the name | ||
|
||
&^$@ | ||
{ | ||
global: | ||
other_symbol; | ||
local: | ||
*; | ||
} ; |
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 @@ | ||
# Broken map missing opening '{' | ||
|
||
LIBTC5_1_0_0 | ||
global: | ||
other_symbol; | ||
local: | ||
*; | ||
} ; |
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 @@ | ||
symbol |
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,4 @@ | ||
# Testcases to test new command | ||
# Testing add strategy | ||
- | ||
input: | ||
args: | ||
|
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,4 @@ | ||
# Testcases to test new command | ||
# Testing remove strategy | ||
- | ||
input: | ||
args: | ||
|
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,4 @@ | ||
# Testcases to test new command | ||
# Testing symbols strategy | ||
- | ||
input: | ||
args: | ||
|
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,4 @@ | ||
# Testcases to test new command | ||
# Testing overwriting the map | ||
- | ||
input: | ||
args: | ||
|
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,10 @@ | ||
# This map file was automatically updated | ||
|
||
LIBTC5_2_0_0 | ||
{ | ||
global: | ||
symbol; | ||
local: | ||
*; | ||
} ; | ||
|
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 @@ | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
other_symbol | ||
some_symbol | ||
|
||
Merging all symbols in a single new release |
Oops, something went wrong.