Class webtest_asset

Description

userinterface tests for Asset plugin

Located in /test/webtest_asset.class.php (line 34)

WebTestCase
   |
   --stockmaniac_webtestcase
      |
      --webtest_asset
Variable Summary
 mixed $_portfolio
 mixed $_timetag
Method Summary
 webtest_asset __construct ( $portfolio)
 void test_dividend ()
 void test_reports ()
 void test_tax ()
 void test_timetags ()
Variables
mixed $_portfolio (line 36)
  • access: private
mixed $_timetag = 'testtimetag' (line 37)
  • access: private
mixed $_timetagtext = 'testtimetagtext' (line 38)
  • access: private

Inherited Variables

Inherited from stockmaniac_webtestcase

stockmaniac_webtestcase::$dbc
stockmaniac_webtestcase::$_auto_clicklink
stockmaniac_webtestcase::$_pass
stockmaniac_webtestcase::$_skip_autologin
stockmaniac_webtestcase::$_skip_backtomainpage
stockmaniac_webtestcase::$_user
Methods
Constructor __construct (line 40)
  • access: public
webtest_asset __construct ( $portfolio)
  • $portfolio

Redefinition of:
stockmaniac_webtestcase::__construct()
test_asset_present (line 50)
  • access: public
void test_asset_present ()
test_dividend (line 117)

test dividend income functionality

  • access: public
void test_dividend ()
test_reports (line 61)

test asset total reports

  • todo: there are no tests for correctness nor existance of all those tables
  • access: public
void test_reports ()
test_tax (line 135)

test tax report

  • access: public
void test_tax ()
test_timetags (line 75)

test time tags functionality

  • todo: a test security does not exist at this point, thus the reports do not produce anything useful yet and we can't detect problems such as Call Traces in this code...
  • access: public
void test_timetags ()

Inherited Methods

Inherited From stockmaniac_webtestcase

 stockmaniac_webtestcase::__construct()
 stockmaniac_webtestcase::get_randomized_string()
 stockmaniac_webtestcase::init_dbc()
 stockmaniac_webtestcase::setUP()
 stockmaniac_webtestcase::set_auto_clicklink()
 stockmaniac_webtestcase::tearDown()
 stockmaniac_webtestcase::toggle_autologin()
 stockmaniac_webtestcase::toggle_backtomainpage()

Documentation generated on Sun, 22 Aug 2010 11:20:30 +0200 by phpDocumentor 1.4.3