SGSN_Tests: Introduce NUM_GB to avoid '3' as magic value
Change-Id: I28b7dd26c5c129ec41c6349de9ddc9ef0ffee8ac
This commit is contained in:
parent
f7191679aa
commit
2fa771f90d
|
@ -84,9 +84,10 @@ type record GbInstance {
|
|||
BssgpConfig cfg
|
||||
};
|
||||
|
||||
type record length(3) of GbInstance GbInstances;
|
||||
type record length(3) of NSConfiguration NSConfigurations;
|
||||
type record length(3) of BssgpCellId BssgpCellIds;
|
||||
const integer NUM_GB := 3;
|
||||
type record length(NUM_GB) of GbInstance GbInstances;
|
||||
type record length(NUM_GB) of NSConfiguration NSConfigurations;
|
||||
type record length(NUM_GB) of BssgpCellId BssgpCellIds;
|
||||
|
||||
type component test_CT {
|
||||
var GbInstances g_gb;
|
||||
|
|
Loading…
Reference in New Issue