summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Kühl <chrisk@openismus.com>2012-03-08 14:44:46 +0100
committerChris Kühl <chrisk@openismus.com>2012-03-08 14:54:22 +0100
commitd15cb60102f996ce87d30e69687efd5c57227da6 (patch)
treed58c0e4cc73aa3766926dbec47ad66a663126199
parente29fda80945e9087e102d002237bb9dfda8f81e1 (diff)
trivial: Fixed up various comments and formatting mistakesconcurrent-sync-sessions-rebased-pre-cleanup
-rw-r--r--Makefile.am2
-rw-r--r--src/dbus/interfaces/syncevo-server-full.xml6
-rw-r--r--src/dbus/interfaces/syncevo-session-full.xml4
-rw-r--r--src/syncevo/SuspendFlags.h2
-rwxr-xr-xtest/test-dbus.py18
5 files changed, 16 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index 3afb0774..15c39cb1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -305,7 +305,7 @@ installcheck-local: $(all_local_installchecks) ;
dist-hook: $(all_dist_hooks)
# Force sequential installation. This is a workaround for relinking failures
-# during concurrent distcheck (a backed was relinked against not yet installed
+# during concurrent distcheck (a backend was relinked against not yet installed
# libsyncevolution.la).
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am
diff --git a/src/dbus/interfaces/syncevo-server-full.xml b/src/dbus/interfaces/syncevo-server-full.xml
index 94e7fa5f..c6facc9e 100644
--- a/src/dbus/interfaces/syncevo-server-full.xml
+++ b/src/dbus/interfaces/syncevo-server-full.xml
@@ -191,7 +191,7 @@
</doc:doc>
<arg type="s" name="notifications" direction="in">
<doc:doc><doc:summary>
- describes the notifications which are to be ensabled; currently
+ describes the notifications which are to be enabled; currently
ignored by server, pass empty string
</doc:summary></doc:doc>
</arg>
@@ -234,7 +234,7 @@
and thus can be used to find all templates refering to the same device.
</doc:para>
</doc:description></doc:doc>
- <arg type="b" name="tmplate" direction="in">
+ <arg type="b" name="template" direction="in">
<doc:doc><doc:summary>
if TRUE, will return template names, otherwise will return
configured servers
@@ -331,7 +331,7 @@
<arg type="s" name="server" direction="in">
<doc:doc><doc:summary>server name</doc:summary></doc:doc>
</arg>
- <arg type="b" name="tmplate" direction="in">
+ <arg type="b" name="template" direction="in">
<doc:doc><doc:summary>
if TRUE, will return a matching template configuration, otherwise
will return a matching server configuration
diff --git a/src/dbus/interfaces/syncevo-session-full.xml b/src/dbus/interfaces/syncevo-session-full.xml
index f6c1adf8..1ad030b0 100644
--- a/src/dbus/interfaces/syncevo-session-full.xml
+++ b/src/dbus/interfaces/syncevo-session-full.xml
@@ -49,7 +49,7 @@
<method name="GetConfig">
<doc:doc><doc:description>Get the configuration identified by the name given to StartSession()</doc:description></doc:doc>
- <arg type="b" name="tmplate" direction="in">
+ <arg type="b" name="template" direction="in">
<doc:doc><doc:summary>if TRUE, will return a matching template configuration, otherwise will return the stored configuration</doc:summary></doc:doc>
</arg>
<arg type="a{sa{ss}}" name="configuration" direction="out">
@@ -115,7 +115,7 @@
<arg type="s" name="name" direction="in">
<doc:doc><doc:summary>configuration name</doc:summary></doc:doc>
</arg>
- <arg type="b" name="tmplate" direction="in"/>
+ <arg type="b" name="template" direction="in"/>
<arg type="a{sa{ss}}" name="configuration" direction="out"/>
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QStringMultiMap"/>
</method>
diff --git a/src/syncevo/SuspendFlags.h b/src/syncevo/SuspendFlags.h
index 8bb52cf3..b317abbd 100644
--- a/src/syncevo/SuspendFlags.h
+++ b/src/syncevo/SuspendFlags.h
@@ -105,7 +105,7 @@ class SuspendFlags
/**
* Triggered inside the main thread when the state
* changes. Either printSignals() needs to be called
- * or directly or a glib watch must be activated which
+ * directly or a glib watch must be activated which
* does that.
*/
typedef boost::signals2::signal<void (SuspendFlags &)> StateChanged_t;
diff --git a/test/test-dbus.py b/test/test-dbus.py
index 298c686b..76d379d9 100755
--- a/test/test-dbus.py
+++ b/test/test-dbus.py
@@ -1066,7 +1066,7 @@ class TestNamedConfig(unittest.TestCase, DBusUtil):
self.runTest(result)
def testSetNamedConfigError(self):
- """TestDBusSession.testSetNamedConfigError - SetNamedConfig() only allowed in 'all-configs' sessions"""
+ """TestNamedConfig.testSetNamedConfigError - SetNamedConfig() only allowed in 'all-configs' sessions"""
self.setUpSession("")
try:
self.session.SetNamedConfig("foobar", False, False, {})
@@ -1077,7 +1077,7 @@ class TestNamedConfig(unittest.TestCase, DBusUtil):
self.fail("no exception thrown")
def testSetNamedConfigErrorTemporary(self):
- """TestDBusSession.testSetNamedConfigErrorTemporary - SetNamedConfig() only implemented for session config"""
+ """TestNamedConfig.testSetNamedConfigErrorTemporary - SetNamedConfig() only implemented for session config"""
self.setUpSession("foo", [ "all-configs" ])
try:
self.session.SetNamedConfig("foobar", False, True, {})
@@ -1092,7 +1092,7 @@ class TestNamedConfig(unittest.TestCase, DBusUtil):
self.session.SetNamedConfig("", False, True, {})
def testSetNamedConfig(self):
- """TestDBusSession.testSetNamedConfig - create two different configs in one session"""
+ """TestNamedConfig.testSetNamedConfig - create two different configs in one session"""
self.setUpSession("", [ "all-configs" ])
fooConfig = {"": {"username": "foo", "configName": "foo"}}
@@ -1280,7 +1280,7 @@ class TestDBusServerPresence(unittest.TestCase, DBusUtil):
self.setUpSession("foobar")
self.session.SetConfig(False, False, {"" : {"syncURL":
"obex-bt://bt-client-mixed http://http-client-mixed"}})
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.failUnlessEqual (status, "")
# go offline; Bluetooth remains on
@@ -1296,14 +1296,14 @@ class TestDBusServerPresence(unittest.TestCase, DBusUtil):
match.remove()
# config uses Bluetooth, so syncing still possible
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.failUnlessEqual (status, "")
# now the same without Bluetooth, while offline
self.session.Detach()
self.setUpSession("foo")
self.session.SetConfig(False, False, {"" : {"syncURL": "http://http-only"}})
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.assertEqual (status, "no transport")
# go online
@@ -1317,7 +1317,7 @@ class TestDBusServerPresence(unittest.TestCase, DBusUtil):
byte_arrays=True,
utf8_strings=True)
match.remove()
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.failUnlessEqual (status, "")
# temporary config change shall always affect the
@@ -1332,10 +1332,10 @@ class TestDBusServerPresence(unittest.TestCase, DBusUtil):
byte_arrays=True,
utf8_strings=True)
match.remove()
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.failUnlessEqual (status, "no transport")
self.session.SetConfig(True, False, {"" : {"syncURL": "obex-bt://bt-client-mixed"}})
- status = self.session.checkPresence()
+ status = self.session.CheckPresence()
self.failUnlessEqual (status, "")
def run(self, result):