Move Feedreader fixture to integration test (#112989)
This commit is contained in:
parent
d528378f5d
commit
cede16fc40
8 changed files with 2 additions and 1 deletions
20
tests/components/feedreader/fixtures/feedreader.xml
Normal file
20
tests/components/feedreader/fixtures/feedreader.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 30 Apr 2018 12:00:00 +1000 </lastBuildDate>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +1000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<description>Description 1</description>
|
||||
<link>http://www.example.com/link/1</link>
|
||||
<guid isPermaLink="false">GUID 1</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +1000</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
27
tests/components/feedreader/fixtures/feedreader1.xml
Normal file
27
tests/components/feedreader/fixtures/feedreader1.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 30 Apr 2018 12:00:00 +1000 </lastBuildDate>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +1000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<description>Description 1</description>
|
||||
<link>http://www.example.com/link/1</link>
|
||||
<guid isPermaLink="false">GUID 1</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 2</title>
|
||||
<description>Description 2</description>
|
||||
<link>http://www.example.com/link/2</link>
|
||||
<guid isPermaLink="false">GUID 2</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:11:00 +1000</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
97
tests/components/feedreader/fixtures/feedreader2.xml
Normal file
97
tests/components/feedreader/fixtures/feedreader2.xml
Normal file
|
@ -0,0 +1,97 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 30 Apr 2018 12:00:00 +1000 </lastBuildDate>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +1000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 2</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:01:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 3</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:02:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 4</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:03:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 5</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:04:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 6</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:05:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 7</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:06:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 8</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:07:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 9</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:08:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 10</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:09:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 11</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 12</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:11:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 13</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:12:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 14</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:13:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 15</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:14:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 16</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:15:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 17</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:16:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 18</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:17:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 19</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:18:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 20</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:19:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 21</title>
|
||||
<pubDate>Mon, 30 Apr 2018 15:20:00 +1000</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
31
tests/components/feedreader/fixtures/feedreader3.xml
Normal file
31
tests/components/feedreader/fixtures/feedreader3.xml
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 30 Apr 2018 12:00:00 +1000 </lastBuildDate>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +1000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<description>Description 1</description>
|
||||
<link>http://www.example.com/link/1</link>
|
||||
<guid isPermaLink="false">GUID 1</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +1000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 2</title>
|
||||
<description>Description 2</description>
|
||||
<link>http://www.example.com/link/2</link>
|
||||
<guid isPermaLink="false">GUID 2</guid>
|
||||
</item>
|
||||
<item>
|
||||
<description>Description 3</description>
|
||||
<link>http://www.example.com/link/3</link>
|
||||
<guid isPermaLink="false">GUID 3</guid>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
20
tests/components/feedreader/fixtures/feedreader4.xml
Normal file
20
tests/components/feedreader/fixtures/feedreader4.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 26 Oct 2019 12:00:00 +1000 </lastBuildDate>
|
||||
<pubDate>Mon, 26 Oct 2019 15:00:00 +1000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<description>Description 1</description>
|
||||
<link>http://www.example.com/link/1</link>
|
||||
<guid isPermaLink="false">GUID 1</guid>
|
||||
<pubDate>26.10.2019 - 12:06:24</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
18
tests/components/feedreader/fixtures/feedreader5.xml
Normal file
18
tests/components/feedreader/fixtures/feedreader5.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed
|
||||
xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>Example Feed</title>
|
||||
<link href="http://example.org/"/>
|
||||
<updated>2003-12-13T18:30:02Z</updated>
|
||||
<author>
|
||||
<name>John Doe</name>
|
||||
</author>
|
||||
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
|
||||
<entry>
|
||||
<title>Atom-Powered Robots Run Amok</title>
|
||||
<link href="http://example.org/2003/12/13/atom03"/>
|
||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
||||
<updated>2003-12-13T18:30:02Z</updated>
|
||||
<summary>Some text.</summary>
|
||||
</entry>
|
||||
</feed>
|
27
tests/components/feedreader/fixtures/feedreader6.xml
Normal file
27
tests/components/feedreader/fixtures/feedreader6.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>RSS Sample</title>
|
||||
<description>This is an example of an RSS feed</description>
|
||||
<link>http://www.example.com/main.html</link>
|
||||
<lastBuildDate>Mon, 30 Apr 2018 12:00:00 +0000 </lastBuildDate>
|
||||
<pubDate>Mon, 30 Apr 2018 15:00:00 +0000</pubDate>
|
||||
<ttl>1800</ttl>
|
||||
|
||||
<item>
|
||||
<title>Title 1</title>
|
||||
<description>Description 1</description>
|
||||
<link>http://www.example.com/link/1</link>
|
||||
<guid isPermaLink="false">GUID 1</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +0000</pubDate>
|
||||
</item>
|
||||
<item>
|
||||
<title>Title 2</title>
|
||||
<description>Description 2</description>
|
||||
<link>http://www.example.com/link/2</link>
|
||||
<guid isPermaLink="false">GUID 2</guid>
|
||||
<pubDate>Mon, 30 Apr 2018 15:10:00 +0000</pubDate>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
</rss>
|
Loading…
Add table
Add a link
Reference in a new issue