-
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.
Add tests which checks warnings generated by the dependency finder and by the check() method (mostly about wildcard usage).
- Loading branch information
Showing
15 changed files
with
268 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Map without base release and without wildcard | ||
|
||
BASELESS_1_0_0 | ||
{ | ||
global: | ||
one_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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Broken map with circular dependency | ||
|
||
LIBTC5_9_2_0 | ||
{ | ||
global: | ||
one_symbol; | ||
} LIBTC5_9_1_0; | ||
|
||
LIBTC5_9_1_0 | ||
{ | ||
global: | ||
two_symbol; | ||
} LIBTC5_9_0_0; | ||
|
||
LIBTC5_9_0_0 | ||
{ | ||
global: | ||
three_symbol; | ||
} LIBTC5_9_2_0; | ||
|
||
LIBBASE_1_0_0 | ||
{ | ||
global: | ||
zero_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,23 @@ | ||
# Broken map with duplicated dependency | ||
|
||
LIBTC5_9_1_0 | ||
{ | ||
global: | ||
other_symbol; | ||
} LIBTC5_9_0_0; | ||
|
||
LIBTC5_9_0_0 | ||
{ | ||
global: | ||
another_symbol; | ||
local: | ||
*; | ||
} ; | ||
|
||
LIBTC5_9_0_0 | ||
{ | ||
global: | ||
one_more_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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
LIBTC5_7_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,15 @@ | ||
# Broken map with non-existing dependency | ||
|
||
LIBTC5_8_1_0 | ||
{ | ||
global: | ||
other_symbol; | ||
} LIBTC5_8_0_0; | ||
|
||
LIBBASE_1_0_0 | ||
{ | ||
global: | ||
another_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 @@ | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
one_symbol | ||
three_symbol | ||
two_symbol | ||
zero_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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This map file was automatically updated | ||
|
||
SCOPES_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,9 @@ | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
* | ||
one_symbol | ||
three_symbol | ||
|
||
Merging all symbols in a single new release |
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 | ||
|
||
BASELESS_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,7 @@ | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
one_symbol | ||
|
||
Merging all symbols in a single new release |
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 @@ | ||
symbol | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
another_symbol | ||
other_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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Added: | ||
symbol | ||
|
||
Removed: | ||
another_symbol | ||
one_more_symbol | ||
other_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
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,37 @@ | ||
# Broken map with various missuses of the '*' wildcard | ||
|
||
NOTBASE_1_1_0 | ||
{ | ||
global: | ||
one_symbol; | ||
local: | ||
*; | ||
} BASE_1_0_0; | ||
|
||
BASE_1_0_0 | ||
{ | ||
global: | ||
one_symbol; | ||
local: | ||
*; | ||
} ; | ||
|
||
GLOBAL_WILDCARD_1_2_0 | ||
{ | ||
global: | ||
*; | ||
} BASE_1_0_0; | ||
|
||
SCOPES_1_3_0 | ||
{ | ||
scope: | ||
two_symbol; | ||
} BASE_1_0_0; | ||
|
||
OTHER_BASE_1_0_0 | ||
{ | ||
global: | ||
three_symbol; | ||
local: | ||
*; | ||
} ; |