summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-22 20:26:26 +0200
committerGravatar Nikias Bassen2014-05-22 20:26:26 +0200
commit8ac53f53b60e0ac22b4f41f67c3f1f0526e1abb2 (patch)
tree44a989aef2d7d1cec080aeaff996a4e7b0997c06
parent84566379a187dda1fe19199e0d8f4910a1a7bb62 (diff)
downloadlibplist-8ac53f53b60e0ac22b4f41f67c3f1f0526e1abb2.tar.gz
libplist-8ac53f53b60e0ac22b4f41f67c3f1f0526e1abb2.tar.bz2
test: Use better test data for timezone tests
-rw-r--r--test/data/7.plist10
-rwxr-xr-xtest/timezone1.test2
-rwxr-xr-xtest/timezone2.test2
3 files changed, 12 insertions, 2 deletions
diff --git a/test/data/7.plist b/test/data/7.plist
new file mode 100644
index 0000000..144a40d
--- /dev/null
+++ b/test/data/7.plist
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Time1</key>
+ <date>2010-11-12T13:14:15Z</date>
+ <key>Time2</key>
+ <date>2008-07-06T05:04:03Z</date>
+</dict>
+</plist>
diff --git a/test/timezone1.test b/test/timezone1.test
index 5165e97..843b166 100755
--- a/test/timezone1.test
+++ b/test/timezone1.test
@@ -3,7 +3,7 @@
set -e
DATASRC=$top_srcdir/test/data
-TESTFILE=2.plist
+TESTFILE=7.plist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/$TESTFILE.tz0.bin
DATAOUT1=$top_builddir/test/data/$TESTFILE.tz1.bin
diff --git a/test/timezone2.test b/test/timezone2.test
index 32f5e92..57db720 100755
--- a/test/timezone2.test
+++ b/test/timezone2.test
@@ -3,7 +3,7 @@
set -e
DATASRC=$top_srcdir/test/data
-TESTFILE=2.plist
+TESTFILE=7.plist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/$TESTFILE.bin
DATAOUT1=$top_builddir/test/data/$TESTFILE.tz0.xml