summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian QA Group <packages@qa.debian.org>2018-04-30 11:11:17 +0200
committerAndrej Shadura <andrewsh@debian.org>2018-04-30 11:11:17 +0200
commite8b1f7b6a08070c6f6de2a3cc813aa2270c2de40 (patch)
treeedd8cd9e2b99197320d0d376b2a599ac17ac35dd
parent854ae495467ecd172f6edc074d0915ee24920ad5 (diff)
Gbp-Pq: Name missing-testfiles.diff
-rw-r--r--ofxhome/tests/testfiles/badxml_bank.xml3
-rw-r--r--ofxhome/tests/testfiles/badxml_search.xml2
-rw-r--r--ofxhome/tests/testfiles/jpmorgan.xml11
-rw-r--r--ofxhome/tests/testfiles/scottrade.xml12
-rw-r--r--ofxhome/tests/testfiles/search_america.xml18
-rw-r--r--ofxhome/tests/testfiles/search_noexist.xml12
6 files changed, 58 insertions, 0 deletions
diff --git a/ofxhome/tests/testfiles/badxml_bank.xml b/ofxhome/tests/testfiles/badxml_bank.xml
new file mode 100644
index 0000000..a05bf74
--- /dev/null
+++ b/ofxhome/tests/testfiles/badxml_bank.xml
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institution id="623">
+<name>
diff --git a/ofxhome/tests/testfiles/badxml_search.xml b/ofxhome/tests/testfiles/badxml_search.xml
new file mode 100644
index 0000000..0686539
--- /dev/null
+++ b/ofxhome/tests/testfiles/badxml_search.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institutionlist>
diff --git a/ofxhome/tests/testfiles/jpmorgan.xml b/ofxhome/tests/testfiles/jpmorgan.xml
new file mode 100644
index 0000000..f98491c
--- /dev/null
+++ b/ofxhome/tests/testfiles/jpmorgan.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institution id="435">
+<name>JPMorgan Chase Bank</name>
+<fid>1601</fid>
+<org>Chase Bank</org>
+<url>https://www.oasis.cfree.com/1601.ofxgp</url>
+<ofxfail>0</ofxfail>
+<sslfail>0</sslfail>
+<lastofxvalidation>2014-08-17 22:23:35</lastofxvalidation>
+<lastsslvalidation>2014-08-17 22:23:34</lastsslvalidation>
+</institution>
diff --git a/ofxhome/tests/testfiles/scottrade.xml b/ofxhome/tests/testfiles/scottrade.xml
new file mode 100644
index 0000000..3a99402
--- /dev/null
+++ b/ofxhome/tests/testfiles/scottrade.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institution id="623">
+<name>Scottrade, Inc.</name>
+<fid>777</fid>
+<org>Scottrade</org>
+<brokerid>www.scottrade.com</brokerid>
+<url>https://ofxstl.scottsave.com</url>
+<ofxfail>0</ofxfail>
+<sslfail>4</sslfail>
+<lastofxvalidation>2012-08-13 22:28:10</lastofxvalidation>
+<lastsslvalidation>2011-09-28 22:22:22</lastsslvalidation>
+</institution>
diff --git a/ofxhome/tests/testfiles/search_america.xml b/ofxhome/tests/testfiles/search_america.xml
new file mode 100644
index 0000000..139700d
--- /dev/null
+++ b/ofxhome/tests/testfiles/search_america.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institutionlist>
+<institutionid name="America First Credit Union" id="533"/>
+<institutionid name="American Century Investments" id="739"/>
+<institutionid name="American Express Card" id="424"/>
+<institutionid name="American Funds" id="590"/>
+<institutionid name="American National Bank" id="669"/>
+<institutionid name="Bank of America" id="639"/>
+<institutionid name="Bank of America (All except CA, WA,&amp;ID)" id="472"/>
+<institutionid name="Bank of America (California)" id="635"/>
+<institutionid name="Bank of America (Formerly Fleet)" id="674"/>
+<institutionid name="Bank Of America(All except CA,WA,&amp;ID " id="661"/>
+<institutionid name="Mountain America Credit Union" id="657"/>
+<institutionid name="Premier America Credit Union" id="764"/>
+<institutionid name="RaboBank America" id="744"/>
+<institutionid name="SafeAmerica Credit Union" id="597"/>
+<institutionid name="Securities America" id="641"/>
+</institutionlist>
diff --git a/ofxhome/tests/testfiles/search_noexist.xml b/ofxhome/tests/testfiles/search_noexist.xml
new file mode 100644
index 0000000..75eddc8
--- /dev/null
+++ b/ofxhome/tests/testfiles/search_noexist.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<institutionlist>
+<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
+
+<h4>A PHP Error was encountered</h4>
+
+<p>Severity: Warning</p>
+<p>Message: Invalid argument supplied for foreach()</p>
+<p>Filename: public_html/api.php</p>
+<p>Line Number: 37</p>
+
+</div></institutionlist>