aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-07-24 09:10:40 +0200
committerSimon Busch <morphis@gravedo.de>2012-07-24 09:10:40 +0200
commit3d64571e5977c6edab88cf80fadae7a15b250d9c (patch)
tree9f1fde67b215b9152ebbc6d5d767cfbf0ed053a1
parent54bc4b6df03ec2d417d23d797a75287be4e2fb9e (diff)
downloadcornucopia-3d64571e5977c6edab88cf80fadae7a15b250d9c.tar.gz
cornucopia-3d64571e5977c6edab88cf80fadae7a15b250d9c.tar.bz2
cornucopia-3d64571e5977c6edab88cf80fadae7a15b250d9c.zip
fsogsmd: tests: integration: move comment about call id matching to the right place
-rw-r--r--fsogsmd/tests/integration-tests.vala8
1 files changed, 5 insertions, 3 deletions
diff --git a/fsogsmd/tests/integration-tests.vala b/fsogsmd/tests/integration-tests.vala
index 31508760..e59fcd11 100644
--- a/fsogsmd/tests/integration-tests.vala
+++ b/fsogsmd/tests/integration-tests.vala
@@ -119,6 +119,11 @@ public class PhonesimRemotePhoneControl : FsoFramework.AbstractObject, IRemotePh
yield execute_script( script );
}
+ /*
+ * FIXME id doesn't have to match as there are not exchanged between phonesim and
+ * fsogsmd but if we keep everything in the right order and don't do crazy things
+ * we can assume which id is used in phonesim for a new call easily.
+ */
public async void activate_incoming_call( int id ) throws RemotePhoneControlError
{
string script = """tabCall.twCallMgt.selectRow( %i ); tabCall.pbActive.click();""".printf( id );
@@ -489,9 +494,6 @@ public class FsoTest.TestGSM : FsoFramework.Test.TestCase
Assert.is_true( calls.length == 1 );
validate_call( calls[0], 1, FreeSmartphone.GSM.CallStatus.OUTGOING, config.remote_number0 );
- // FIXME id doesn't have to match as there are not exchanged between phonesim and
- // fsogsmd but if we keep everything in the right order and don't do crazy things
- // we can assume which id is used in phonesim for a new call easily.
yield remote_control.activate_incoming_call( 0 );
yield asyncWaitSeconds( 1 );