dbus/dbus/test/data/invalid-messages

johnp freedesktop-cvs-commits at pdx.freedesktop.org
Tue May 11 11:31:35 PDT 2004


CVS commit by johnp: 

* updated the invalid test cases to include the 
  missing PATH header field which is required
* updated the spec documentation to indicate that 
  INTERFACE, MEMBER, and PATH are all required fields


  M +3 -0      dbus/dbus/test/data/invalid-messages/array-of-nil.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/array-with-mixed-types.message   1.4
  M +3 -0      dbus/dbus/test/data/invalid-messages/bad-boolean-array.message   1.4
  M +3 -0      dbus/dbus/test/data/invalid-messages/bad-boolean.message   1.4
  M +3 -0      dbus/dbus/test/data/invalid-messages/bad-endian.message   1.3
  M +4 -0      dbus/dbus/test/data/invalid-messages/bad-header-field-alignment.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/local-namespace.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/no-dot-in-name.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/not-nul-header-padding.message   1.3
  M +4 -0      dbus/dbus/test/data/invalid-messages/overlong-name.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/too-little-header-padding.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/too-much-header-padding-by-far.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/too-much-header-padding.message   1.3
  M +3 -0      dbus/dbus/test/data/invalid-messages/too-short-dict.message   1.5


--- dbus/dbus/test/data/invalid-messages/array-of-nil.message  #1.2:1.3
@@ -9,4 +9,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH 
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/array-with-mixed-types.message  #1.3:1.4
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/bad-boolean-array.message  #1.3:1.4
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/bad-boolean.message  #1.3:1.4
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/bad-endian.message  #1.2:1.3
@@ -15,4 +15,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/bad-header-field-alignment.message  #1.2:1.3
@@ -12,4 +12,8 @@
 STRING 'Bar'
 
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
+
 HEADER_FIELD UNKNOWN
 TYPE STRING

--- dbus/dbus/test/data/invalid-messages/local-namespace.message  #1.2:1.3
@@ -11,4 +11,7 @@
 TYPE STRING
 STRING 'Disconnected'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/no-dot-in-name.message  #1.2:1.3
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8

--- dbus/dbus/test/data/invalid-messages/not-nul-header-padding.message  #1.2:1.3
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 HEADER_FIELD UNKNOWN

--- dbus/dbus/test/data/invalid-messages/overlong-name.message  #1.2:1.3
@@ -11,4 +11,8 @@
 STRING 'Bar'
 
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
+
 ALIGN 8
 END_LENGTH Header

--- dbus/dbus/test/data/invalid-messages/too-little-header-padding.message  #1.2:1.3
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 HEADER_FIELD UNKNOWN

--- dbus/dbus/test/data/invalid-messages/too-much-header-padding-by-far.message  #1.2:1.3
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 HEADER_FIELD UNKNOWN

--- dbus/dbus/test/data/invalid-messages/too-much-header-padding.message  #1.2:1.3
@@ -10,4 +10,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 HEADER_FIELD UNKNOWN

--- dbus/dbus/test/data/invalid-messages/too-short-dict.message  #1.4:1.5
@@ -9,4 +9,7 @@
 TYPE STRING
 STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
 
 ALIGN 8





More information about the dbus-commit mailing list