[Bps-public-commit] net-lighthouse branch, master, updated. 5ce0250f0340627b705c52e110221b3150d36556

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 27 04:19:07 EDT 2009


The branch, master has been updated
       via  5ce0250f0340627b705c52e110221b3150d36556 (commit)
      from  e31b1ccd045aa71b572759265676c5e26f071329 (commit)

Summary of changes:
 t/data/bin_48889.xml |   13 +++++++++++++
 t/data/bins.xml      |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)
 create mode 100644 t/data/bin_48889.xml
 create mode 100644 t/data/bins.xml

- Log -----------------------------------------------------------------
commit 5ce0250f0340627b705c52e110221b3150d36556
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Aug 27 16:19:02 2009 +0800

    add test data for bin

diff --git a/t/data/bin_48889.xml b/t/data/bin_48889.xml
new file mode 100644
index 0000000..4482edd
--- /dev/null
+++ b/t/data/bin_48889.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ticket-bin>
+  <default type="boolean" nil="true"/>
+  <id type="integer">48889</id>
+  <name>Open tickets</name>
+  <position type="integer">1</position>
+  <project-id type="integer">35918</project-id>
+  <query>state:open</query>
+  <shared type="boolean">true</shared>
+  <tickets-count type="integer">2</tickets-count>
+  <updated-at type="datetime">2009-08-21T10:02:21Z</updated-at>
+  <user-id type="integer">67166</user-id>
+</ticket-bin>
\ No newline at end of file
diff --git a/t/data/bins.xml b/t/data/bins.xml
new file mode 100644
index 0000000..24bd7a2
--- /dev/null
+++ b/t/data/bins.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ticket-bins type="array">
+  <ticket-bin>
+    <default type="boolean" nil="true"/>
+    <id type="integer">48889</id>
+    <name>Open tickets</name>
+    <position type="integer">1</position>
+    <project-id type="integer">35918</project-id>
+    <query>state:open</query>
+    <shared type="boolean">true</shared>
+    <tickets-count type="integer">2</tickets-count>
+    <updated-at type="datetime">2009-08-21T10:02:21Z</updated-at>
+    <user-id type="integer">67166</user-id>
+  </ticket-bin>
+  <ticket-bin>
+    <default type="boolean" nil="true"/>
+    <id type="integer">48890</id>
+    <name>Resolved tickets</name>
+    <position type="integer">2</position>
+    <project-id type="integer">35918</project-id>
+    <query>state:resolved</query>
+    <shared type="boolean">true</shared>
+    <tickets-count type="integer">0</tickets-count>
+    <updated-at type="datetime">2009-08-21T10:02:21Z</updated-at>
+    <user-id type="integer">67166</user-id>
+  </ticket-bin>
+  <ticket-bin>
+    <default type="boolean" nil="true"/>
+    <id type="integer">48891</id>
+    <name>This week's tickets</name>
+    <position type="integer">3</position>
+    <project-id type="integer">35918</project-id>
+    <query>created:'this week'</query>
+    <shared type="boolean">true</shared>
+    <tickets-count type="integer">1</tickets-count>
+    <updated-at type="datetime">2009-08-21T10:02:21Z</updated-at>
+    <user-id type="integer">67166</user-id>
+  </ticket-bin>
+</ticket-bins>
\ No newline at end of file

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



More information about the Bps-public-commit mailing list