Joas Schilling
cb3a598cdb
Make root tests extend the \Test\TestCase
vor 9 Jahren
Bernhard Posselt
1d45239c65
adjust license headers to new mail address
vor 10 Jahren
Andreas Fischer
f45080e811
Use PHPUnit's expectOutputString() instead of performing output buffering.
vor 10 Jahren
Andreas Fischer
88778b569e
Split testP() tests into multiple methods.
vor 10 Jahren
Andreas Fischer
0d3ddd9e11
Remove redundant test case for non-HTML string.
vor 10 Jahren
Lukas Reschke
f07180639c
Add unit tests for arrays and "
OC_Util::sanitizeHTML() also supports array but we actually had no unit test for it. Additionally this commit introduces a test for escaping " into "
vor 10 Jahren
Vincent Petry
b0bb64c3ee
Added unit tests for relative_modified_date, changed method signature
Changed method signature of relative_modified_date template method to
make it possible to add a fromTime to compare with, mostly to make it
possible to test it.
Added unit test for date and time cases.
vor 10 Jahren
Thomas Tanghus
0d852dce3b
Use new autoloader class
vor 11 Jahren
Thomas Mueller
ef88ceba8c
drop SimpleTest compatibility
vor 11 Jahren
Michael Gapczynski
68272fa253
Remove unnecessary ob_end_clean() from template tests
vor 11 Jahren
Thomas Mueller
f9226f170e
fixes #266
vor 11 Jahren
Felix Moeller
f8d1d7787e
Checkstyle fixes for SpaceBeforeOpenBrace
vor 11 Jahren
Robin Appelman
2dbf2c69de
fix inlude path for template test
vor 11 Jahren
Thomas Mueller
dca80c55a9
fixing Test_TemplateFunctions
vor 11 Jahren
Bernhard Posselt
3ca5927b59
fixed copy paste error. 4th test will now test print_unescaped instead of p
vor 11 Jahren
Bernhard Posselt
aef3c6010b
splitted two tests with two assertions each into four tests with one assertion
vor 11 Jahren
Bernhard Posselt
f591382147
assert in proper order
vor 11 Jahren
Bernhard Posselt
a31c230f22
added tests for p and print_unescaped
vor 11 Jahren