fakebts: Add the missing method needed for the LUTest
The LUTest created a BTS with a specific UnitId but the code was not yet inside the OpenBSCTest class. Fix it by adding the selector. Have two selectors to use the default of the FakeBTS.BTS code
This commit is contained in:
parent
f338470da9
commit
bda9975da7
|
@ -116,6 +116,16 @@ Object subclass: OpenBSCTest [
|
|||
bts waitForBTSReady.
|
||||
]
|
||||
|
||||
createAndConnectBTS: aNr [
|
||||
<category: 'bts'>
|
||||
|
||||
bts := BTS new.
|
||||
bts
|
||||
btsId: aNr;
|
||||
connect: 'localhost';
|
||||
waitForBTSReady.
|
||||
]
|
||||
|
||||
stopBts [
|
||||
<category: 'bts'>
|
||||
bts stop.
|
||||
|
|
Reference in New Issue