aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-10-21 15:49:21 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-10-21 15:49:21 +0200
commit345438106dd56882cd6c083140913abde529db77 (patch)
tree05b5f06d9271bce4caa97b79b0efbf0c68cb15b5
parente7191a921f0f07cafd091d170bc086693ed99da0 (diff)
testphone: Return the GSMConnection to the caller sync calls
-rw-r--r--TestPhone.st8
1 files changed, 4 insertions, 4 deletions
diff --git a/TestPhone.st b/TestPhone.st
index f2f4777..ffdc00a 100644
--- a/TestPhone.st
+++ b/TestPhone.st
@@ -141,8 +141,8 @@ Object subclass: IPAConfig [
yourself
]
sendLU: aPhone [
- (self doLU: aPhone)
- openConnection; waitForTermination.
+ ^ (self doLU: aPhone)
+ openConnection; waitForTermination; yourself
]
doCallNumber: aPhone nr: aNr [
@@ -153,7 +153,7 @@ Object subclass: IPAConfig [
callNumber: aPhone nr: aNumber [
^ (self doCallNumber: aPhone nr: aNumber)
- openConnection; waitForTermination.
+ openConnection; waitForTermination; yourself
]
doUSSD: aPhone nr: aNr [
@@ -164,7 +164,7 @@ Object subclass: IPAConfig [
sendUSSD: aPhone nr: aNr [
^ (self doUSSD: aPhone nr: aNr)
- openConnection; waitForTermination.
+ openConnection; waitForTermination; yourself
]
]