}
} catch (DBusException DBe) { DBe.printStackTrace(); System.exit(1); }}
   public static void main(String[] args) throws DBusException   {      /* init */      DBusConnection conn = DBusConnection.getConnection(DBusConnection.SESSION);      ctc = new cross_test_client(conn);      conn.exportObject("/Test", ctc);      conn.addSigHandler(DBus.Binding.TestSignals.Triggered.class, ctc);      DBus.Binding.Tests tests = (DBus.Binding.Tests) conn.getRemoteObject("org.freedesktop.DBus.Binding.TestServer", "/Test", DBus.Binding.Tests.class);      DBus.Binding.SingleTests singletests = (DBus.Binding.SingleTests) conn.getRemoteObject("org.freedesktop.DBus.Binding.TestServer", "/Test", DBus.Binding.SingleTests.class);      doTests(tests, singletests);      /* report results */      for (String s: passed)         System.out.println(s+" ok");      int i = 1;      for (String s: failed.keySet())          for (String r: failed.get(s)) {            System.out.println(s+" fail "+i);            System.out.println("report "+i+": "+r);            i++;         }            conn.disconnect();   }