From bf523e81cc818475bec297c75b2a5d43e6af0dd8 Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Thu, 4 Apr 2013 15:34:27 +0100 Subject: [PATCH] Add an xml parsing test file. Just testing basic datetime handling for now but hopefully it will be expandedto allow testing all xmltv parsing. --- .../test/xmltv_import_test.xmltv | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mythtv/programs/mythfilldatabase/test/xmltv_import_test.xmltv diff --git a/mythtv/programs/mythfilldatabase/test/xmltv_import_test.xmltv b/mythtv/programs/mythfilldatabase/test/xmltv_import_test.xmltv new file mode 100644 index 00000000000..a4981224591 --- /dev/null +++ b/mythtv/programs/mythfilldatabase/test/xmltv_import_test.xmltv @@ -0,0 +1,39 @@ + + + + + First + + This is the first programme. It should be two hours long (1800-2000 UTC/GMT). It should belong to 'test1.com'. + + + + + Second + + This is the second programme. It should be one hour long (2000-2100 UTC/GMT). It should belong to 'test1.com'. + + + + + Third + + This is the third programme. It should be a half hour long (2100-2130 UTC/GMT). It should belong to 'test1.com'. + + + + + Fourth + + This is the fourth programme. It should be a half hour long (2130-2200 UTC/GMT). It should belong to 'test1.com'. + + + + + Fifth + + This is the fifth programme. It should be forty five minutes long (2200-2245 UTC/GMT). It should belong to 'test1.com'. + + + +