irxml 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Matt Mongeau
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ = irxml
2
+
3
+ Ruby wrapper for IRXML
4
+
5
+ == Installation
6
+ <code>gem install irxml</code>
7
+
8
+ == Configuration
9
+ IRXML.config = {:company_id => YOUR_COMPANY_ID, :pin => YOUR_PIN}
10
+
11
+ == Note on Patches/Pull Requests
12
+
13
+ * Fork the project.
14
+ * Make your feature addition or bug fix.
15
+ * Add tests for it. This is important so I don't break it in a
16
+ future version unintentionally.
17
+ * Commit, do not mess with rakefile, version, or history.
18
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
19
+ * Send me a pull request. Bonus points for topic branches.
20
+
21
+ == Copyright
22
+
23
+ Copyright (c) 2010 Matt Mongeau. See LICENSE for details.
@@ -0,0 +1,54 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "irxml"
8
+ gem.summary = %Q{Gem for handling IRXML's API}
9
+ gem.description = %Q{Gem for handling IRXML's API}
10
+ gem.email = "matt@toastyapps.com"
11
+ gem.homepage = "http://github.com/toastyapps/irxml"
12
+ gem.authors = ["Matt Mongeau"]
13
+ gem.add_dependency "nokogiri", ">=1.4.1"
14
+ gem.add_development_dependency "shoulda", ">= 0"
15
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
+ end
17
+ Jeweler::GemcutterTasks.new
18
+ rescue LoadError
19
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
+ end
21
+
22
+ require 'rake/testtask'
23
+ Rake::TestTask.new(:test) do |test|
24
+ test.libs << 'lib' << 'test'
25
+ test.pattern = 'test/**/test_*.rb'
26
+ test.verbose = true
27
+ end
28
+
29
+ begin
30
+ require 'rcov/rcovtask'
31
+ Rcov::RcovTask.new do |test|
32
+ test.libs << 'test'
33
+ test.pattern = 'test/**/test_*.rb'
34
+ test.verbose = true
35
+ end
36
+ rescue LoadError
37
+ task :rcov do
38
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
39
+ end
40
+ end
41
+
42
+ task :test => :check_dependencies
43
+
44
+ task :default => :test
45
+
46
+ require 'rake/rdoctask'
47
+ Rake::RDocTask.new do |rdoc|
48
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
49
+
50
+ rdoc.rdoc_dir = 'rdoc'
51
+ rdoc.title = "irxml #{version}"
52
+ rdoc.rdoc_files.include('README*')
53
+ rdoc.rdoc_files.include('lib/**/*.rb')
54
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.0
@@ -0,0 +1,69 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{irxml}
8
+ s.version = "0.0.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Matt Mongeau"]
12
+ s.date = %q{2010-03-10}
13
+ s.description = %q{Gem for handling IRXML's API}
14
+ s.email = %q{matt@toastyapps.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "irxml.gemspec",
27
+ "lib/irxml.rb",
28
+ "lib/irxml/edgar.rb",
29
+ "lib/irxml/stock.rb",
30
+ "lib/runner.rb",
31
+ "test/fixtures/edgar.xml",
32
+ "test/fixtures/historic_stock_quote.xml",
33
+ "test/fixtures/stock_quote.xml",
34
+ "test/helper.rb",
35
+ "test/test_irxml_edgar_document.rb",
36
+ "test/test_irxml_edgar_list.rb",
37
+ "test/test_irxml_stock_historic_quote.rb",
38
+ "test/test_irxml_stock_quote.rb"
39
+ ]
40
+ s.homepage = %q{http://github.com/toastyapps/irxml}
41
+ s.rdoc_options = ["--charset=UTF-8"]
42
+ s.require_paths = ["lib"]
43
+ s.rubygems_version = %q{1.3.5}
44
+ s.summary = %q{Gem for handling IRXML's API}
45
+ s.test_files = [
46
+ "test/helper.rb",
47
+ "test/test_irxml_edgar_document.rb",
48
+ "test/test_irxml_edgar_list.rb",
49
+ "test/test_irxml_stock_historic_quote.rb",
50
+ "test/test_irxml_stock_quote.rb"
51
+ ]
52
+
53
+ if s.respond_to? :specification_version then
54
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
55
+ s.specification_version = 3
56
+
57
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
58
+ s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.1"])
59
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
60
+ else
61
+ s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
62
+ s.add_dependency(%q<shoulda>, [">= 0"])
63
+ end
64
+ else
65
+ s.add_dependency(%q<nokogiri>, [">= 1.4.1"])
66
+ s.add_dependency(%q<shoulda>, [">= 0"])
67
+ end
68
+ end
69
+
@@ -0,0 +1,49 @@
1
+ require 'net/http'
2
+ require 'cgi'
3
+ require 'nokogiri'
4
+ require 'open-uri'
5
+
6
+ module IRXML
7
+ extend self
8
+
9
+ autoload :Stock, 'irxml/stock'
10
+ autoload :Edgar, 'irxml/edgar'
11
+
12
+ URI = 'apps.shareholder.com'
13
+ BASE_PATH = '/irxml/irxml.aspx'
14
+
15
+ def config
16
+ @config ||= {}
17
+ end
18
+
19
+ def config=(hash)
20
+ @config = hash
21
+ end
22
+
23
+ def company_id
24
+ config[:company_id]
25
+ end
26
+
27
+ def company_id=(company_id)
28
+ config[:company_id] = company_id
29
+ end
30
+
31
+ def pin=(pin)
32
+ config[:pin] = pin
33
+ end
34
+
35
+ def get(function, params = {})
36
+ Nokogiri::XML(open('http://' + IRXML::URI + IRXML::BASE_PATH + get_params(params.merge('FUNCTION' => function))))
37
+ end
38
+
39
+ private
40
+
41
+ def get_params(params)
42
+ '?' + default_params.merge(params).map{|key, value| "#{key}=#{value}"}.join('&')
43
+ end
44
+
45
+ def default_params
46
+ {'COMPANYID' => config[:company_id], 'PIN' => config[:pin]}
47
+ end
48
+
49
+ end
@@ -0,0 +1,45 @@
1
+ module IRXML
2
+ module Edgar
3
+ class List
4
+ def initialize
5
+ get
6
+ set_values
7
+ end
8
+
9
+ def get
10
+ @data = IRXML.get('EdgarRTList', {'Version' => 2, 'OUTPUT' => 'xml'})
11
+ end
12
+
13
+ def documents
14
+ @documents ||= []
15
+ end
16
+
17
+ def set_values
18
+ @data.css('ROW').each do |node|
19
+ documents << IRXML::Edgar::Document.new(node)
20
+ end
21
+ end
22
+ end
23
+
24
+ class Document
25
+ def initialize(node)
26
+ set_values(node)
27
+ end
28
+
29
+ def attributes
30
+ @attributes ||= {}
31
+ end
32
+
33
+ def filing_url
34
+ "http://investor.shareholder.com/#{IRXML.company_id.downcase}/secfiling.cfm?filingID=#{attributes['fid']}"
35
+ end
36
+
37
+ def set_values(node)
38
+ node.children.each do |tag|
39
+ attributes[tag.name.downcase] = tag.content
40
+ self.class.class_eval { define_method(tag.name.downcase) { attributes[tag.name.downcase] } }
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,51 @@
1
+ module IRXML
2
+ module Stock
3
+ class Quote
4
+ def initialize(ticker = IRXML.company_id)
5
+ get(ticker)
6
+ set_values
7
+ end
8
+
9
+ def get(ticker)
10
+ @data = IRXML.get('StockQuote', 'TICKER' => ticker)
11
+ end
12
+
13
+ def attributes
14
+ @attributes ||= {}
15
+ end
16
+
17
+ def set_values
18
+ @data.css('ROW').children.each do |node|
19
+ attributes[node.name.downcase] = node.content
20
+ self.class.class_eval { define_method(node.name.downcase) { attributes[node.name.downcase] } }
21
+ end
22
+ end
23
+
24
+ end
25
+
26
+
27
+ class HistoricQuote
28
+ def initialize(lookupdate, ticker = IRXML.company_id)
29
+ get(lookupdate, ticker)
30
+ set_values
31
+ end
32
+
33
+ def get(lookupdate, ticker)
34
+ lookupdate = CGI::escape(lookupdate.strftime("%m/%d/%Y"))
35
+ @data = IRXML.get('HistoricStockQuote', {'TICKER' => ticker, 'LOOKUPDATE' => lookupdate})
36
+ end
37
+
38
+ def attributes
39
+ @attributes ||= {}
40
+ end
41
+
42
+ def set_values
43
+ @data.css('ROW').children.each do |node|
44
+ attributes[node.name.downcase] = node.content
45
+ self.class.class_eval { define_method(node.name.downcase) { attributes[node.name.downcase] } }
46
+ end
47
+ end
48
+ end
49
+
50
+ end
51
+ end
@@ -0,0 +1,5 @@
1
+ require 'rubygems'
2
+ require 'irxml'
3
+
4
+ IRXML.config = {:company_id => 'BHI', :pin => '18494309'}
5
+ puts IRXML::Stock.quote('BHI').inspect
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><EDGARRTLIST ROWCOUNT='50'><RESULT><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7109859</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-22358</FID><FILINGDATE>2010-03-09 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7109859</HTMLLINK><HTMLSIZE>32502</HTMLSIZE><ID>1</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-22358&amp;cik=864328</PDFLINK><PDFSIZE>1857172</PDFSIZE><RECEIVEDDATE>2010-03-09 09:52:45</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7109859</RTFLINK><SIZE>2635561</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7109859</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7109859</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Definitive Proxy Statement</DESCRIPTION><DOCID>7097647</DOCID><DOCTYPE>DEF 14A</DOCTYPE><FID>950123-10-20488</FID><FILINGDATE>2010-03-03 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7097647</HTMLLINK><HTMLSIZE>1204098</HTMLSIZE><ID>2</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-20488&amp;cik=808362</PDFLINK><PDFSIZE>923449</PDFSIZE><RECEIVEDDATE>2010-03-03 14:55:24</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7097647</RTFLINK><SIZE>1229171</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7097647</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7097647</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7093315</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-13349</FID><FILINGDATE>2010-03-02 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7093315</HTMLLINK><HTMLSIZE>24791</HTMLSIZE><ID>3</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-13349&amp;cik=808362</PDFLINK><PDFSIZE>19468</PDFSIZE><RECEIVEDDATE>2010-03-02 14:14:23</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7093315</RTFLINK><SIZE>4817</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7093315</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7093315</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7087247</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-18870</FID><FILINGDATE>2010-03-01 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7087247</HTMLLINK><HTMLSIZE>32668</HTMLSIZE><ID>4</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-18870&amp;cik=864328</PDFLINK><PDFSIZE>1248227</PDFSIZE><RECEIVEDDATE>2010-03-01 09:46:52</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7087247</RTFLINK><SIZE>1917106</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7087247</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7087247</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7087239</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-18866</FID><FILINGDATE>2010-03-01 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7087239</HTMLLINK><HTMLSIZE>31592</HTMLSIZE><ID>5</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-18866&amp;cik=864328</PDFLINK><PDFSIZE>1437098</PDFSIZE><RECEIVEDDATE>2010-03-01 09:43:51</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7087239</RTFLINK><SIZE>2234162</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7087239</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7087239</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Annual Report</DESCRIPTION><DOCID>7081486</DOCID><DOCTYPE>10-K</DOCTYPE><FID>950123-10-17258</FID><FILINGDATE>2010-02-26 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7081486</HTMLLINK><HTMLSIZE>1318048</HTMLSIZE><ID>6</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-17258&amp;cik=808362</PDFLINK><PDFSIZE>1408597</PDFSIZE><RECEIVEDDATE>2010-02-26 06:15:19</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7081486</RTFLINK><SIZE>2332374</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>True</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7081486</XBRLLINK><XBRLSIZE>677701</XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7081486</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7076634</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-16382</FID><FILINGDATE>2010-02-24 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7076634</HTMLLINK><HTMLSIZE>26257</HTMLSIZE><ID>7</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-16382&amp;cik=864328</PDFLINK><PDFSIZE>48753</PDFSIZE><RECEIVEDDATE>2010-02-24 16:37:28</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7076634</RTFLINK><SIZE>37116</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7076634</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7076634</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7073898</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-15786</FID><FILINGDATE>2010-02-23 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7073898</HTMLLINK><HTMLSIZE>18955</HTMLSIZE><ID>8</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-15786&amp;cik=864328</PDFLINK><PDFSIZE>34390</PDFSIZE><RECEIVEDDATE>2010-02-23 16:51:12</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7073898</RTFLINK><SIZE>18663</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7073898</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7073898</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Current Report</DESCRIPTION><DOCID>7072046</DOCID><DOCTYPE>8-K</DOCTYPE><FID>950123-10-15573</FID><FILINGDATE>2010-02-23 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7072046</HTMLLINK><HTMLSIZE>144589</HTMLSIZE><ID>9</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-15573&amp;cik=808362</PDFLINK><PDFSIZE>192370</PDFSIZE><RECEIVEDDATE>2010-02-23 11:36:54</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7072046</RTFLINK><SIZE>140132</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7072046</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7072046</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7072043</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-15574</FID><FILINGDATE>2010-02-23 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7072043</HTMLLINK><HTMLSIZE>144192</HTMLSIZE><ID>10</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-15574&amp;cik=864328</PDFLINK><PDFSIZE>192504</PDFSIZE><RECEIVEDDATE>2010-02-23 11:34:53</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7072043</RTFLINK><SIZE>140609</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7072043</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7072043</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Preliminary Proxy Statement</DESCRIPTION><DOCID>7068933</DOCID><DOCTYPE>PRER14A</DOCTYPE><FID>950123-10-14667</FID><FILINGDATE>2010-02-22 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7068933</HTMLLINK><HTMLSIZE>953964</HTMLSIZE><ID>11</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-14667&amp;cik=808362</PDFLINK><PDFSIZE>724301</PDFSIZE><RECEIVEDDATE>2010-02-22 06:03:48</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7068933</RTFLINK><SIZE>976049</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7068933</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7068933</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Prospectus Filed Pursuant to Rule 424</DESCRIPTION><DOCID>7052276</DOCID><DOCTYPE>424B3</DOCTYPE><FID>950123-10-12528</FID><FILINGDATE>2010-02-16 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7052276</HTMLLINK><HTMLSIZE>2567534</HTMLSIZE><ID>12</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-12528&amp;cik=808362</PDFLINK><PDFSIZE>2454377</PDFSIZE><RECEIVEDDATE>2010-02-16 06:05:44</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7052276</RTFLINK><SIZE>2635571</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7052276</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7052276</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Beneficial Ownership</DESCRIPTION><DOCID>7046305</DOCID><DOCTYPE>SC 13G/A</DOCTYPE><FID>902219-10-525</FID><FILINGDATE>2010-02-12 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7046305</HTMLLINK><HTMLSIZE>15223</HTMLSIZE><ID>13</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=902219-10-525&amp;cik=808362</PDFLINK><PDFSIZE>22668</PDFSIZE><RECEIVEDDATE>2010-02-12 10:56:05</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7046305</RTFLINK><SIZE>25382</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7046305</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7046305</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Beneficial Ownership</DESCRIPTION><DOCID>7044722</DOCID><DOCTYPE>SC 13G/A</DOCTYPE><FID>1193125-10-28923</FID><FILINGDATE>2010-02-12 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7044722</HTMLLINK><HTMLSIZE>57175</HTMLSIZE><ID>14</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1193125-10-28923&amp;cik=808362</PDFLINK><PDFSIZE>30815</PDFSIZE><RECEIVEDDATE>2010-02-12 06:13:06</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7044722</RTFLINK><SIZE>53605</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7044722</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7044722</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Beneficial Ownership</DESCRIPTION><DOCID>7041958</DOCID><DOCTYPE>SC 13G/A</DOCTYPE><FID>1422848-10-149</FID><FILINGDATE>2010-02-11 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7041958</HTMLLINK><HTMLSIZE>12374</HTMLSIZE><ID>15</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1422848-10-149&amp;cik=808362</PDFLINK><PDFSIZE>22541</PDFSIZE><RECEIVEDDATE>2010-02-11 13:50:43</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7041958</RTFLINK><SIZE>10530</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7041958</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7041958</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Beneficial Ownership</DESCRIPTION><DOCID>7040492</DOCID><DOCTYPE>SC 13G/A</DOCTYPE><FID>1422849-10-453</FID><FILINGDATE>2010-02-11 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7040492</HTMLLINK><HTMLSIZE>12333</HTMLSIZE><ID>16</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1422849-10-453&amp;cik=808362</PDFLINK><PDFSIZE>22417</PDFSIZE><RECEIVEDDATE>2010-02-11 06:09:05</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7040492</RTFLINK><SIZE>10484</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7040492</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7040492</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Registration Statement</DESCRIPTION><DOCID>7036159</DOCID><DOCTYPE>S-4/A</DOCTYPE><FID>950123-10-10431</FID><FILINGDATE>2010-02-09 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7036159</HTMLLINK><HTMLSIZE>2774336</HTMLSIZE><ID>17</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-10431&amp;cik=808362</PDFLINK><PDFSIZE>2696355</PDFSIZE><RECEIVEDDATE>2010-02-09 16:13:27</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7036159</RTFLINK><SIZE>2827395</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7036159</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7036159</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Beneficial Ownership</DESCRIPTION><DOCID>7035561</DOCID><DOCTYPE>SC 13G/A</DOCTYPE><FID>1086364-10-8795</FID><FILINGDATE>2010-02-09 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7035561</HTMLLINK><HTMLSIZE>15141</HTMLSIZE><ID>18</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1086364-10-8795&amp;cik=808362</PDFLINK><PDFSIZE>24041</PDFSIZE><RECEIVEDDATE>2010-02-09 14:51:30</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7035561</RTFLINK><SIZE>14410</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7035561</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7035561</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Preliminary Proxy Statement</DESCRIPTION><DOCID>7032964</DOCID><DOCTYPE>PRER14A</DOCTYPE><FID>950123-10-9920</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032964</HTMLLINK><HTMLSIZE>939425</HTMLSIZE><ID>19</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-9920&amp;cik=808362</PDFLINK><PDFSIZE>712036</PDFSIZE><RECEIVEDDATE>2010-02-08 16:19:37</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032964</RTFLINK><SIZE>961483</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032964</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032964</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032795</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7529</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032795</HTMLLINK><HTMLSIZE>24815</HTMLSIZE><ID>20</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7529&amp;cik=808362</PDFLINK><PDFSIZE>19645</PDFSIZE><RECEIVEDDATE>2010-02-08 15:56:13</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032795</RTFLINK><SIZE>4904</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032795</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032795</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032790</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7526</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032790</HTMLLINK><HTMLSIZE>29777</HTMLSIZE><ID>21</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7526&amp;cik=808362</PDFLINK><PDFSIZE>20528</PDFSIZE><RECEIVEDDATE>2010-02-08 15:54:10</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032790</RTFLINK><SIZE>8130</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032790</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032790</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032781</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7522</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032781</HTMLLINK><HTMLSIZE>29722</HTMLSIZE><ID>22</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7522&amp;cik=808362</PDFLINK><PDFSIZE>20321</PDFSIZE><RECEIVEDDATE>2010-02-08 15:53:16</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032781</RTFLINK><SIZE>8131</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032781</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032781</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032778</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7520</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032778</HTMLLINK><HTMLSIZE>24807</HTMLSIZE><ID>23</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7520&amp;cik=808362</PDFLINK><PDFSIZE>19607</PDFSIZE><RECEIVEDDATE>2010-02-08 15:51:10</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032778</RTFLINK><SIZE>4896</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032778</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032778</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032772</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7518</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032772</HTMLLINK><HTMLSIZE>29746</HTMLSIZE><ID>24</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7518&amp;cik=808362</PDFLINK><PDFSIZE>20440</PDFSIZE><RECEIVEDDATE>2010-02-08 15:50:11</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032772</RTFLINK><SIZE>8111</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032772</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032772</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032764</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7516</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032764</HTMLLINK><HTMLSIZE>29778</HTMLSIZE><ID>25</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7516&amp;cik=808362</PDFLINK><PDFSIZE>20504</PDFSIZE><RECEIVEDDATE>2010-02-08 15:48:13</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032764</RTFLINK><SIZE>8031</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032764</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032764</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032758</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7514</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032758</HTMLLINK><HTMLSIZE>29832</HTMLSIZE><ID>26</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7514&amp;cik=808362</PDFLINK><PDFSIZE>20542</PDFSIZE><RECEIVEDDATE>2010-02-08 15:47:18</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032758</RTFLINK><SIZE>8140</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032758</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032758</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032753</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7512</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032753</HTMLLINK><HTMLSIZE>32232</HTMLSIZE><ID>27</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7512&amp;cik=808362</PDFLINK><PDFSIZE>20861</PDFSIZE><RECEIVEDDATE>2010-02-08 15:45:21</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032753</RTFLINK><SIZE>9647</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032753</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032753</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032743</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7510</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032743</HTMLLINK><HTMLSIZE>29759</HTMLSIZE><ID>28</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7510&amp;cik=808362</PDFLINK><PDFSIZE>20487</PDFSIZE><RECEIVEDDATE>2010-02-08 15:44:06</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032743</RTFLINK><SIZE>8125</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032743</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032743</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032725</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7508</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032725</HTMLLINK><HTMLSIZE>24276</HTMLSIZE><ID>29</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7508&amp;cik=808362</PDFLINK><PDFSIZE>17577</PDFSIZE><RECEIVEDDATE>2010-02-08 15:42:06</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032725</RTFLINK><SIZE>4679</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032725</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032725</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032713</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7505</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032713</HTMLLINK><HTMLSIZE>27283</HTMLSIZE><ID>30</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7505&amp;cik=808362</PDFLINK><PDFSIZE>20064</PDFSIZE><RECEIVEDDATE>2010-02-08 15:39:49</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032713</RTFLINK><SIZE>6522</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032713</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032713</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Amended Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7032703</DOCID><DOCTYPE>4/A</DOCTYPE><FID>1209191-10-7502</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032703</HTMLLINK><HTMLSIZE>29743</HTMLSIZE><ID>31</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-7502&amp;cik=808362</PDFLINK><PDFSIZE>20453</PDFSIZE><RECEIVEDDATE>2010-02-08 15:37:51</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032703</RTFLINK><SIZE>8132</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032703</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032703</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7032154</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-9810</FID><FILINGDATE>2010-02-08 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7032154</HTMLLINK><HTMLSIZE>42420</HTMLSIZE><ID>32</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-9810&amp;cik=864328</PDFLINK><PDFSIZE>845850</PDFSIZE><RECEIVEDDATE>2010-02-08 13:19:35</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7032154</RTFLINK><SIZE>1264729</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7032154</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7032154</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Current Report</DESCRIPTION><DOCID>7025112</DOCID><DOCTYPE>8-K</DOCTYPE><FID>950123-10-8543</FID><FILINGDATE>2010-02-04 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7025112</HTMLLINK><HTMLSIZE>16617</HTMLSIZE><ID>33</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-8543&amp;cik=808362</PDFLINK><PDFSIZE>29007</PDFSIZE><RECEIVEDDATE>2010-02-04 08:03:30</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7025112</RTFLINK><SIZE>15488</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7025112</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7025112</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7025105</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-8545</FID><FILINGDATE>2010-02-04 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7025105</HTMLLINK><HTMLSIZE>16304</HTMLSIZE><ID>34</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-8545&amp;cik=864328</PDFLINK><PDFSIZE>29149</PDFSIZE><RECEIVEDDATE>2010-02-04 08:01:16</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7025105</RTFLINK><SIZE>15995</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7025105</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7025105</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7013505</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-5538</FID><FILINGDATE>2010-01-29 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7013505</HTMLLINK><HTMLSIZE>24262</HTMLSIZE><ID>35</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-5538&amp;cik=808362</PDFLINK><PDFSIZE>17534</PDFSIZE><RECEIVEDDATE>2010-01-29 15:54:15</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7013505</RTFLINK><SIZE>4597</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7013505</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7013505</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Beneficial Ownership</DESCRIPTION><DOCID>7011708</DOCID><DOCTYPE>SC 13G</DOCTYPE><FID>1086364-10-7041</FID><FILINGDATE>2010-01-29 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7011708</HTMLLINK><HTMLSIZE>16069</HTMLSIZE><ID>36</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1086364-10-7041&amp;cik=808362</PDFLINK><PDFSIZE>25927</PDFSIZE><RECEIVEDDATE>2010-01-29 14:17:38</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7011708</RTFLINK><SIZE>15344</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7011708</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7011708</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7008801</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-6119</FID><FILINGDATE>2010-01-28 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7008801</HTMLLINK><HTMLSIZE>24838</HTMLSIZE><ID>37</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-6119&amp;cik=864328</PDFLINK><PDFSIZE>44293</PDFSIZE><RECEIVEDDATE>2010-01-28 15:34:07</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7008801</RTFLINK><SIZE>31544</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7008801</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7008801</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>864328</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Other</DESCRIPTION><DOCID>7007652</DOCID><DOCTYPE>425</DOCTYPE><FID>950123-10-5989</FID><FILINGDATE>2010-01-28 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7007652</HTMLLINK><HTMLSIZE>31675</HTMLSIZE><ID>38</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-5989&amp;cik=864328</PDFLINK><PDFSIZE>1940764</PDFSIZE><RECEIVEDDATE>2010-01-28 11:03:03</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7007652</RTFLINK><SIZE>3276588</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7007652</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>False</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7007652</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Registration Statement</DESCRIPTION><DOCID>7004340</DOCID><DOCTYPE>S-4/A</DOCTYPE><FID>950123-10-5352</FID><FILINGDATE>2010-01-26 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7004340</HTMLLINK><HTMLSIZE>2635879</HTMLSIZE><ID>39</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-5352&amp;cik=808362</PDFLINK><PDFSIZE>2560689</PDFSIZE><RECEIVEDDATE>2010-01-26 17:29:29</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7004340</RTFLINK><SIZE>2684412</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7004340</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7004340</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Current Report</DESCRIPTION><DOCID>7002350</DOCID><DOCTYPE>8-K</DOCTYPE><FID>950123-10-5041</FID><FILINGDATE>2010-01-26 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7002350</HTMLLINK><HTMLSIZE>246460</HTMLSIZE><ID>40</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=950123-10-5041&amp;cik=808362</PDFLINK><PDFSIZE>196834</PDFSIZE><RECEIVEDDATE>2010-01-26 06:07:34</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7002350</RTFLINK><SIZE>241473</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7002350</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7002350</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001249</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4640</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001249</HTMLLINK><HTMLSIZE>29760</HTMLSIZE><ID>41</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4640&amp;cik=808362</PDFLINK><PDFSIZE>20479</PDFSIZE><RECEIVEDDATE>2010-01-25 15:30:29</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001249</RTFLINK><SIZE>7949</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001249</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001249</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001134</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4629</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001134</HTMLLINK><HTMLSIZE>24799</HTMLSIZE><ID>42</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4629&amp;cik=808362</PDFLINK><PDFSIZE>19623</PDFSIZE><RECEIVEDDATE>2010-01-25 15:07:20</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001134</RTFLINK><SIZE>4822</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001134</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001134</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001127</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4625</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001127</HTMLLINK><HTMLSIZE>29759</HTMLSIZE><ID>43</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4625&amp;cik=808362</PDFLINK><PDFSIZE>20508</PDFSIZE><RECEIVEDDATE>2010-01-25 15:04:19</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001127</RTFLINK><SIZE>8048</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001127</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001127</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001122</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4622</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001122</HTMLLINK><HTMLSIZE>29704</HTMLSIZE><ID>44</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4622&amp;cik=808362</PDFLINK><PDFSIZE>20301</PDFSIZE><RECEIVEDDATE>2010-01-25 15:02:17</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001122</RTFLINK><SIZE>8049</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001122</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001122</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001113</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4619</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001113</HTMLLINK><HTMLSIZE>24791</HTMLSIZE><ID>45</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4619&amp;cik=808362</PDFLINK><PDFSIZE>19589</PDFSIZE><RECEIVEDDATE>2010-01-25 15:00:17</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001113</RTFLINK><SIZE>4814</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001113</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001113</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001111</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4617</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001111</HTMLLINK><HTMLSIZE>29728</HTMLSIZE><ID>46</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4617&amp;cik=808362</PDFLINK><PDFSIZE>20429</PDFSIZE><RECEIVEDDATE>2010-01-25 14:59:21</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001111</RTFLINK><SIZE>8029</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001111</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001111</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001108</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4614</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001108</HTMLLINK><HTMLSIZE>29814</HTMLSIZE><ID>47</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4614&amp;cik=808362</PDFLINK><PDFSIZE>20524</PDFSIZE><RECEIVEDDATE>2010-01-25 14:59:21</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001108</RTFLINK><SIZE>8058</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001108</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001108</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001107</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4612</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001107</HTMLLINK><HTMLSIZE>32213</HTMLSIZE><ID>48</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4612&amp;cik=808362</PDFLINK><PDFSIZE>20835</PDFSIZE><RECEIVEDDATE>2010-01-25 14:59:21</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001107</RTFLINK><SIZE>9565</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001107</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001107</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001104</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4608</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001104</HTMLLINK><HTMLSIZE>29741</HTMLSIZE><ID>49</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4608&amp;cik=808362</PDFLINK><PDFSIZE>20492</PDFSIZE><RECEIVEDDATE>2010-01-25 14:59:20</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001104</RTFLINK><SIZE>8043</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001104</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001104</XLSLINK></ROW><ROW><ALTDESCRIPTION></ALTDESCRIPTION><CIK>808362</CIK><COMPANYNAME>Test Company, Inc</COMPANYNAME><DESCRIPTION>Statement of Changes of Beneficial Ownership</DESCRIPTION><DOCID>7001101</DOCID><DOCTYPE>4</DOCTYPE><FID>1209191-10-4606</FID><FILINGDATE>2010-01-25 00:00:00</FILINGDATE><HTMLLINK>http://apps.shareholder.com/sec/viewerContent.aspx?companyid=TEST&amp;docid=7001101</HTMLLINK><HTMLSIZE>27266</HTMLSIZE><ID>50</ID><PDFLINK>http://investor.shareholder.com/common/download/sec.cfm?companyid=TEST&amp;fid=1209191-10-4606&amp;cik=808362</PDFLINK><PDFSIZE>20045</PDFSIZE><RECEIVEDDATE>2010-01-25 14:59:20</RECEIVEDDATE><RTF>True</RTF><RTFLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=rtf&amp;companyid=TEST&amp;id=7001101</RTFLINK><SIZE>6440</SIZE><TOTALRECORDS>1169</TOTALRECORDS><XBRL>False</XBRL><XBRLLINK>http://apps.shareholder.com/sec/XBRLNav.aspx?companyid=TEST&amp;docid=7001101</XBRLLINK><XBRLSIZE></XBRLSIZE><XLS>True</XLS><XLSLINK>http://www.shareholder.com/visitors/activeedgardoc.cfm?f=xls&amp;companyid=TEST&amp;id=7001101</XLSLINK></ROW></RESULT><STATUS>No Error</STATUS><STATUSCODE>0</STATUSCODE></EDGARRTLIST>
@@ -0,0 +1 @@
1
+ <?xml version=\"1.0\" encoding=\"UTF-8\"?><HISTORICSTOCKQUOTE ROWCOUNT='1'><RESULT><ROW><CLOSE>50.34</CLOSE><CUSIP>057224107</CUSIP><EXACTDATE>0</EXACTDATE><HIGH>51.59</HIGH><LOW>50.21</LOW><MINPRICEDATE>1987-04-06 00:00:00</MINPRICEDATE><MINYEAR>1987</MINYEAR><OPEN>51.08</OPEN><PRICEDATE>2010-03-08 00:00:00</PRICEDATE><VOLUME>3683913</VOLUME></ROW></RESULT><STATUS>No Error</STATUS><STATUSCODE>0</STATUSCODE></HISTORICSTOCKQUOTE>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE STOCKQUOTE PUBLIC '-//W3C//DTD StockQuote 1.5//EN' 'http://www.irxml.org/dtd/stockquote_1.5.dtd'><STOCKQUOTE ROWCOUNT='1'><RESULT><ROW><ASK>0</ASK><BID>0</BID><CHANGE>-0.600</CHANGE><COMPANYNAME>Test Company</COMPANYNAME><DATETIME>2010-03-09 15:16:00</DATETIME><DIVIDEND>0.150</DIVIDEND><EPS>1.360</EPS><EXCHANGE>NYSE</EXCHANGE><HIGH>50.520</HIGH><LASTDATETIME>2010-03-09 15:16:00</LASTDATETIME><LASTPRICE>49.740</LASTPRICE><LONGNAME>Test Company Incorporated</LONGNAME><LOW>49.660</LOW><OPEN>49.920</OPEN><PCHANGE>-1.192</PCHANGE><PE>36.000</PE><PREVIOUSCLOSE>50.340</PREVIOUSCLOSE><SHARES>311907</SHARES><SHORTNAME>Test Company Incorporated</SHORTNAME><TICKER>TEST</TICKER><TRADES>19507</TRADES><VOLUME>3837800</VOLUME><YEARHIGH>51.590</YEARHIGH><YEARLOW>25.970</YEARLOW><YIELD>1.192</YIELD></ROW></RESULT><STATUS>No Error</STATUS><STATUSCODE>0</STATUSCODE></STOCKQUOTE>
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+ require 'redgreen'
5
+ require 'mocha'
6
+
7
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
8
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
9
+ require 'irxml'
10
+
11
+ IRXML::pin = "12345678"
12
+ IRXML::company_id = "TEST"
@@ -0,0 +1,31 @@
1
+ require 'helper'
2
+
3
+ module TestIRXML
4
+ module TestEdgar
5
+ class TestDocument < Test::Unit::TestCase
6
+ context "An Edgar Document" do
7
+ context "instance" do
8
+ setup do
9
+ @nokogiri = Nokogiri::XML(File.read(File.dirname(__FILE__) + '/fixtures/edgar.xml'))
10
+ IRXML.expects(:get).with('EdgarRTList', {'Version' => 2, 'OUTPUT' => 'xml'}).returns(@nokogiri)
11
+ @list = IRXML::Edgar::List.new()
12
+ @document = @list.documents[0]
13
+ end
14
+
15
+ should "respond to attributes" do
16
+ assert @document.respond_to?(:attributes)
17
+ end
18
+
19
+ should "respond to filing_url" do
20
+ assert @document.respond_to?(:filing_url)
21
+ end
22
+
23
+ should "have the correct filing_url" do
24
+ assert_equal "http://investor.shareholder.com/#{IRXML.company_id.downcase}/secfiling.cfm?filingID=#{@nokogiri.css('FID')[0].content}", @document.filing_url
25
+ end
26
+
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,25 @@
1
+ require 'helper'
2
+
3
+ module TestIRXML
4
+ module TestEdgar
5
+ class TestList < Test::Unit::TestCase
6
+ context "A StockQuote" do
7
+ context "instance" do
8
+ setup do
9
+ @nokogiri = Nokogiri::XML(File.read(File.dirname(__FILE__)+'/fixtures/edgar.xml'))
10
+ IRXML.expects(:get).with('EdgarRTList', {'Version' => 2, 'OUTPUT' => 'xml'}).returns(@nokogiri)
11
+ @list = IRXML::Edgar::List.new()
12
+ end
13
+
14
+ should "respond to documents" do
15
+ assert @list.respond_to?(:documents)
16
+ end
17
+
18
+ should "have the correct number of documents" do
19
+ assert_equal @nokogiri.css('ROW').count, @list.documents.length
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ require 'helper'
2
+
3
+ module TestIRXML
4
+ module TestStock
5
+ class TestHistoricQuote < Test::Unit::TestCase
6
+ context "A HistoricStockQuote" do
7
+ context "instance" do
8
+ setup do
9
+ @time = Time.now
10
+ @nokogiri = Nokogiri::XML(File.read(File.dirname(__FILE__)+'/fixtures/historic_stock_quote.xml'))
11
+ IRXML.expects(:get).with('HistoricStockQuote', {'TICKER' => IRXML.company_id, 'LOOKUPDATE' => CGI::escape(@time.strftime("%m/%d/%Y"))}).returns(@nokogiri)
12
+ @stock_quote = IRXML::Stock::HistoricQuote.new(@time)
13
+ end
14
+
15
+ should "respond to :attributes" do
16
+ assert @stock_quote.respond_to?(:attributes)
17
+ end
18
+
19
+ should "respond to methods for each attribute" do
20
+ @stock_quote.attributes.keys.each do |key|
21
+ assert @stock_quote.respond_to?(key)
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,26 @@
1
+ require 'helper'
2
+
3
+ module TestIRXML
4
+ module TestStock
5
+ class TestQuote < Test::Unit::TestCase
6
+ context "A StockQuote" do
7
+ context "instance" do
8
+ setup do
9
+ IRXML.expects(:get).with('StockQuote', 'TICKER' => IRXML.company_id).returns(Nokogiri::XML(File.read(File.dirname(__FILE__)+'/fixtures/stock_quote.xml')))
10
+ @stock_quote = IRXML::Stock::Quote.new
11
+ end
12
+
13
+ should "respond to :attributes" do
14
+ assert @stock_quote.respond_to?(:attributes)
15
+ end
16
+
17
+ should "respond to methods for each attribute" do
18
+ @stock_quote.attributes.keys.each do |key|
19
+ assert @stock_quote.respond_to?(key)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: irxml
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Matt Mongeau
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-03-10 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: nokogiri
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 1.4.1
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: shoulda
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: "0"
34
+ version:
35
+ description: Gem for handling IRXML's API
36
+ email: matt@toastyapps.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - LICENSE
43
+ - README.rdoc
44
+ files:
45
+ - .document
46
+ - .gitignore
47
+ - LICENSE
48
+ - README.rdoc
49
+ - Rakefile
50
+ - VERSION
51
+ - irxml.gemspec
52
+ - lib/irxml.rb
53
+ - lib/irxml/edgar.rb
54
+ - lib/irxml/stock.rb
55
+ - lib/runner.rb
56
+ - test/fixtures/edgar.xml
57
+ - test/fixtures/historic_stock_quote.xml
58
+ - test/fixtures/stock_quote.xml
59
+ - test/helper.rb
60
+ - test/test_irxml_edgar_document.rb
61
+ - test/test_irxml_edgar_list.rb
62
+ - test/test_irxml_stock_historic_quote.rb
63
+ - test/test_irxml_stock_quote.rb
64
+ has_rdoc: true
65
+ homepage: http://github.com/toastyapps/irxml
66
+ licenses: []
67
+
68
+ post_install_message:
69
+ rdoc_options:
70
+ - --charset=UTF-8
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: "0"
78
+ version:
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: "0"
84
+ version:
85
+ requirements: []
86
+
87
+ rubyforge_project:
88
+ rubygems_version: 1.3.5
89
+ signing_key:
90
+ specification_version: 3
91
+ summary: Gem for handling IRXML's API
92
+ test_files:
93
+ - test/helper.rb
94
+ - test/test_irxml_edgar_document.rb
95
+ - test/test_irxml_edgar_list.rb
96
+ - test/test_irxml_stock_historic_quote.rb
97
+ - test/test_irxml_stock_quote.rb