test gl batch: write proper csv file, fixing some bugs
StringHelper GetNextCSV, AddCSV: escape the backslash. this is just the opposite direction of the existing behaviour in GetNextCSV.
I need this for loading the xml files for the reports nunit test.
first step for unit test of balance sheet.
fix reports, problem with getAllAccountDescendants. resolve problem introduced in https://github.com/tpokorra/openpetragit/commit/85c720a61315e6c2472d45c6bc432fad75d90653
finish NUnit test for balance sheet.
small fix to previous commit, generateProjectFiles did complain
revert getAllAccountDescendants to original behaviour.
extend the test case for balance sheet to cover both income and expenses.
add to NUnit tests on Jenkins
fix report test to work independant of culture, defaulting to en-GB
add test cases for incexpstatement and accountdetail reports.
fix accountdetail to not use duplicate ids for rows
fix culture issue with month name in report test files
make sure the order of cost centres is the same on the test servers
fix problem for NUnit test of inc&exp statement: ORDER BY behaves differently on Postgresql and SQLite,
for the square bracket in the cost centre name.
tried already COLLATE NOCASE for sqlite, did not help.
therefore running the test report only on the main cost centre, the sorting issues are avoided
refactor code for testing finance reports.
reduce code size, using now central class TReportTestingTools with static methods
fixing the main finance reports: Account Detail, Balance Sheet, Income and Expense Statement.
added Unit tests for all three reports.
fixing another smaller bug, with writing proper csv file for test posting of gl batch, showing the balances
merge from lp:openpetraorg