Ninja_Reports_Test_Core Class Reference

A model that runs tests on the reports model, based on a special test-DSL. More...

Inheritance diagram for Ninja_Reports_Test_Core:
Reports_Model

Public Member Functions

 __construct ($test_file)
 Run new test file.
 run_test_series ()
 Run the actual test file.

Data Fields

 $test_file = false
 The file name we're testing.
 $description = false
 A string describing the purpose of this test.
 $passed = 0
 Number of passed tests.
 $failed = 0
 Number of failed tests.
 $sub_reports = 0
 An array of sub-reports for this report.
 $db_name
 Database name.
 $db_user
 Database user.
 $db_pass
 Database password.
 $db_type
 Database type.
 $db_host
 Database hostname.
 $importer
 The command used to import logs into the database.

Detailed Description

A model that runs tests on the reports model, based on a special test-DSL.

Inherits from Reports_Model for "dammit, it's protected!" reasons


Constructor & Destructor Documentation

Ninja_Reports_Test_Core::__construct ( test_file  ) 

Run new test file.

Will parse the file, but not run it


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 7 May 2013 for ninja by  doxygen 1.6.1