Added dummyclass for testing the Project-Object
Simplyfyed include-statements
Modifyed Comments so that phpDoc knows the Parameter-Types (string, int,
...)
Added TestProject::TestID, so that the ID-Property of the Project-Object
will be tested
Added include Customer-Class-File to Project-Class-File for not
may getting Errors
Added some declarations to prevent errors
Modifyed some Comments, so phpDoc knows some types (int, bool, array)
Kimai_Database_Mysql::getProjects and Kimai_Database_Mysql::getCustomers
doesn't use a "for" to iterate through the results, they now use an
"while(!EndOfSeek)", the for-counter isn't needed anymore
Made the TestProperty-Functions public
Made the TestPropertyNOK and TestPropertyOK-Functions private
Corrected the include-statement to include the project-class
Added TestProject::TestName, so that the Name-Property of the
Project-Object will be tested
Added TestProject::TestVisible, so the Visible-Property of the
Project-Object will be tested
Added TestProject::TestBudget, so the Budget-Property of the
Project-Object will be tested
Added TestProject::TestEffort, so the Effort-Property of the
Project-Object will be tested
Added TestProject::TestApproved, so the Approved-Property of the
Project-Object will be tested
Added TestProject::TestOwner, so the Owner-Property of the
Project-Object will be tested
Fixing "Customer::Owner can be set to 'Owner'"
Customer::setID checks for is_int or is_double
Fixing "Project::ID can be set to 'hannes'"
Fixing "Project::Visible can be set to 'test'"
Fixing "Project::Budget can be set to 'test'"
Fixing "Project::Budget can be set to ''"
Fixed some developement-Bugs
Fixed the Tests for Project::Budget to be better compatible with doubles