aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-20 09:45:43 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-06-20 09:45:43 +0200
commit99841c28a6d3a50cf40fa019e8a9fd0c51f3da94 (patch)
tree5edce005a733685adc78661ffebf4437600eda65
parent91244510c6b9b2a1e6e4462342e493e1a62cbe50 (diff)
ipa: Open the connection and then wait for the completion
-rw-r--r--TestPhone.st9
1 files changed, 6 insertions, 3 deletions
diff --git a/TestPhone.st b/TestPhone.st
index 13aa9fb..681a758 100644
--- a/TestPhone.st
+++ b/TestPhone.st
@@ -142,7 +142,8 @@ Object subclass: IPAConfig [
yourself
]
sendLU: aPhone [
- (self doLU: aPhone) waitForTermination.
+ (self doLU: aPhone)
+ openConnection; waitForTermination.
]
doCallNumber: aPhone nr: aNr [
@@ -152,7 +153,8 @@ Object subclass: IPAConfig [
]
callNumber: aPhone nr: aNumber [
- ^ (self doCallNumber: aPhone nr: aNumber) waitForTermination.
+ ^ (self doCallNumber: aPhone nr: aNumber)
+ openConnection; waitForTermination.
]
doUSSD: aPhone nr: aNr [
@@ -162,7 +164,8 @@ Object subclass: IPAConfig [
]
sendUSSD: aPhone nr: aNr [
- ^ (self doUSSD: aPhone nr: aNr) waitForTermination.
+ ^ (self doUSSD: aPhone nr: aNr)
+ openConnection; waitForTermination.
]
]