summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-11-10 19:10:38 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-11-10 19:10:38 +0100
commitbda9975da7d77daf0ff75461198e195a505d1dcb (patch)
tree49ca02ca86893d582bd721bb7259a7f8a06facf6
parentf338470da970fc063616f44e470e658f09f01c6a (diff)
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
-rw-r--r--fakebts/OpenBSCTest.st10
1 files changed, 10 insertions, 0 deletions
diff --git a/fakebts/OpenBSCTest.st b/fakebts/OpenBSCTest.st
index e8366de..2487508 100644
--- a/fakebts/OpenBSCTest.st
+++ b/fakebts/OpenBSCTest.st
@@ -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.