Simplified simple test
authorEnrico Zini <enrico@enricozini.org>
Fri, 26 Mar 2010 15:43:14 +0000 (15:43 +0000)
committerEnrico Zini <enrico@enricozini.org>
Fri, 26 Mar 2010 15:43:14 +0000 (15:43 +0000)
test/test-gsm-receive.vala

index b1110f86d075efe88d5aebb52955de6db0f710c4..7c66e7c504d078def99d98d900a9818a4be86e29 100644 (file)
@@ -29,7 +29,7 @@ public class GSMReceive: Object, zavai.Resource
 
     public GSMReceive()
     {
 
     public GSMReceive()
     {
-        zavai.gsm.gsm.request("GSMReceive");
+        //zavai.gsm.gsm.request("GSMReceive");
 
         network = zavai.registry.sbus.get_object(
             "org.freesmartphone.ogsmd", 
 
         network = zavai.registry.sbus.get_object(
             "org.freesmartphone.ogsmd", 
@@ -48,7 +48,7 @@ public class GSMReceive: Object, zavai.Resource
 
     public void shutdown()
     {
 
     public void shutdown()
     {
-        zavai.gsm.gsm.release("GSMReceive");
+        //zavai.gsm.gsm.release("GSMReceive");
     }
 
     public void on_network_SignalStrength(int strength)
     }
 
     public void on_network_SignalStrength(int strength)
@@ -388,11 +388,11 @@ static int main (string[] args) {
     // Core infrastructure
        zavai.config = new zavai.Config();
        zavai.config.argv0 = args[0];
     // Core infrastructure
        zavai.config = new zavai.Config();
        zavai.config.argv0 = args[0];
-       zavai.registry = new zavai.Registry();
+       //zavai.registry = new zavai.Registry();
 
     // Additional infrastructure
 
     // Additional infrastructure
-       zavai.gsm.init();
-       zavai.log.init();
+       //zavai.gsm.init();
+       //zavai.log.init();
 
     // PLAY here
 
 
     // PLAY here