[Bps-public-commit] net-lighthouse branch, master, updated. 059db4badac427856919559443a09d2f3e026341

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 27 04:03:21 EDT 2009


The branch, master has been updated
       via  059db4badac427856919559443a09d2f3e026341 (commit)
      from  2ae160a2786a41e25e5a2f0b751ca012b7d650e2 (commit)

Summary of changes:
 t/data/message_20298.xml |   71 ++++++++++++++++++++++++++++++++++++++++++++
 t/data/message_new.xml   |   13 ++++++++
 t/data/messages.xml      |   73 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 157 insertions(+), 0 deletions(-)
 create mode 100644 t/data/message_20298.xml
 create mode 100644 t/data/message_new.xml
 create mode 100644 t/data/messages.xml

- Log -----------------------------------------------------------------
commit 059db4badac427856919559443a09d2f3e026341
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 27 16:03:17 2009 +0800

    add test data for message

diff --git a/t/data/message_20298.xml b/t/data/message_20298.xml
new file mode 100644
index 0000000..77c4280
--- /dev/null
+++ b/t/data/message_20298.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<message>
+  <all-attachments-count type="integer">1</all-attachments-count>
+  <attachments-count type="integer">0</attachments-count>
+  <body>ha-ha ha-ha</body>
+  <body-html><div><p>ha-ha ha-ha</p></div></body-html>
+  <comments-count type="integer">3</comments-count>
+  <created-at type="datetime">2009-08-27T07:29:05Z</created-at>
+  <id type="integer">20298</id>
+  <parent-id type="integer" nil="true"/>
+  <permalink>1st-message</permalink>
+  <project-id type="integer">35918</project-id>
+  <title>1st message lala</title>
+  <updated-at type="datetime">2009-08-27T07:44:33Z</updated-at>
+  <user-id type="integer">67166</user-id>
+  <user-name>sunnavy (at gmail)</user-name>
+  <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+  <comments type="array">
+    <comment type="Message">
+      <all-attachments-count type="integer">1</all-attachments-count>
+      <attachments-count type="integer">0</attachments-count>
+      <body>nelson-nelson</body>
+      <body-html><div><p>nelson-nelson</p></div></body-html>
+      <comments-count type="integer">0</comments-count>
+      <created-at type="datetime">2009-08-27T07:36:11Z</created-at>
+      <id type="integer">20299</id>
+      <parent-id type="integer">20298</parent-id>
+      <permalink>1st-message</permalink>
+      <project-id type="integer">35918</project-id>
+      <title>1st message lala</title>
+      <updated-at type="datetime">2009-08-27T07:36:11Z</updated-at>
+      <user-id type="integer">67166</user-id>
+      <user-name>sunnavy (at gmail)</user-name>
+      <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+    </comment>
+    <comment type="Message">
+      <all-attachments-count type="integer">1</all-attachments-count>
+      <attachments-count type="integer">0</attachments-count>
+      <body>nelson-2</body>
+      <body-html><div><p>nelson-2</p></div></body-html>
+      <comments-count type="integer">0</comments-count>
+      <created-at type="datetime">2009-08-27T07:38:51Z</created-at>
+      <id type="integer">20300</id>
+      <parent-id type="integer">20298</parent-id>
+      <permalink>1st-message</permalink>
+      <project-id type="integer">35918</project-id>
+      <title>1st message lala</title>
+      <updated-at type="datetime">2009-08-27T07:38:51Z</updated-at>
+      <user-id type="integer">67166</user-id>
+      <user-name>sunnavy (at gmail)</user-name>
+      <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+    </comment>
+    <comment type="Message">
+      <all-attachments-count type="integer">1</all-attachments-count>
+      <attachments-count type="integer">1</attachments-count>
+      <body>test att</body>
+      <body-html><div><p>test att</p></div></body-html>
+      <comments-count type="integer">0</comments-count>
+      <created-at type="datetime">2009-08-27T07:42:31Z</created-at>
+      <id type="integer">20301</id>
+      <parent-id type="integer">20298</parent-id>
+      <permalink>1st-message</permalink>
+      <project-id type="integer">35918</project-id>
+      <title>1st message lala</title>
+      <updated-at type="datetime">2009-08-27T07:42:31Z</updated-at>
+      <user-id type="integer">67166</user-id>
+      <user-name>sunnavy (at gmail)</user-name>
+      <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+    </comment>
+  </comments>
+</message>
\ No newline at end of file
diff --git a/t/data/message_new.xml b/t/data/message_new.xml
new file mode 100644
index 0000000..24197c5
--- /dev/null
+++ b/t/data/message_new.xml
@@ -0,0 +1,13 @@
+<message>
+  <attachments-count type="integer">0</attachments-count>
+  <body></body>
+  <body-html></body-html>
+  <comments-count type="integer">0</comments-count>
+  <created-at type="datetime"></created-at>
+  <parent-id type="integer"></parent-id>
+  <permalink></permalink>
+  <project-id type="integer"></project-id>
+  <title></title>
+  <updated-at type="datetime"></updated-at>
+  <user-id type="integer"></user-id>
+</message>
diff --git a/t/data/messages.xml b/t/data/messages.xml
new file mode 100644
index 0000000..f9e0e56
--- /dev/null
+++ b/t/data/messages.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<messages type="array">
+  <message>
+    <all-attachments-count type="integer">1</all-attachments-count>
+    <attachments-count type="integer">0</attachments-count>
+    <body>ha-ha ha-ha</body>
+    <body-html><div><p>ha-ha ha-ha</p></div></body-html>
+    <comments-count type="integer">3</comments-count>
+    <created-at type="datetime">2009-08-27T07:29:05Z</created-at>
+    <id type="integer">20298</id>
+    <parent-id type="integer" nil="true"/>
+    <permalink>1st-message</permalink>
+    <project-id type="integer">35918</project-id>
+    <title>1st message lala</title>
+    <updated-at type="datetime">2009-08-27T07:44:33Z</updated-at>
+    <user-id type="integer">67166</user-id>
+    <user-name>sunnavy (at gmail)</user-name>
+    <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+    <comments type="array">
+      <comment type="Message">
+        <all-attachments-count type="integer">1</all-attachments-count>
+        <attachments-count type="integer">0</attachments-count>
+        <body>nelson-nelson</body>
+        <body-html><div><p>nelson-nelson</p></div></body-html>
+        <comments-count type="integer">0</comments-count>
+        <created-at type="datetime">2009-08-27T07:36:11Z</created-at>
+        <id type="integer">20299</id>
+        <parent-id type="integer">20298</parent-id>
+        <permalink>1st-message</permalink>
+        <project-id type="integer">35918</project-id>
+        <title>1st message lala</title>
+        <updated-at type="datetime">2009-08-27T07:36:11Z</updated-at>
+        <user-id type="integer">67166</user-id>
+        <user-name>sunnavy (at gmail)</user-name>
+        <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+      </comment>
+      <comment type="Message">
+        <all-attachments-count type="integer">1</all-attachments-count>
+        <attachments-count type="integer">0</attachments-count>
+        <body>nelson-2</body>
+        <body-html><div><p>nelson-2</p></div></body-html>
+        <comments-count type="integer">0</comments-count>
+        <created-at type="datetime">2009-08-27T07:38:51Z</created-at>
+        <id type="integer">20300</id>
+        <parent-id type="integer">20298</parent-id>
+        <permalink>1st-message</permalink>
+        <project-id type="integer">35918</project-id>
+        <title>1st message lala</title>
+        <updated-at type="datetime">2009-08-27T07:38:51Z</updated-at>
+        <user-id type="integer">67166</user-id>
+        <user-name>sunnavy (at gmail)</user-name>
+        <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+      </comment>
+      <comment type="Message">
+        <all-attachments-count type="integer">1</all-attachments-count>
+        <attachments-count type="integer">1</attachments-count>
+        <body>test att</body>
+        <body-html><div><p>test att</p></div></body-html>
+        <comments-count type="integer">0</comments-count>
+        <created-at type="datetime">2009-08-27T07:42:31Z</created-at>
+        <id type="integer">20301</id>
+        <parent-id type="integer">20298</parent-id>
+        <permalink>1st-message</permalink>
+        <project-id type="integer">35918</project-id>
+        <title>1st message lala</title>
+        <updated-at type="datetime">2009-08-27T07:42:31Z</updated-at>
+        <user-id type="integer">67166</user-id>
+        <user-name>sunnavy (at gmail)</user-name>
+        <url>http://sunnavy.lighthouseapp.com/projects/35918/messages/20298</url>
+      </comment>
+    </comments>
+  </message>
+</messages>
\ No newline at end of file

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list