Joas Schilling
cb3a598cdb
Make root tests extend the \Test\TestCase
9 vuotta sitten
Bernhard Posselt
1d45239c65
adjust license headers to new mail address
10 vuotta sitten
Andreas Fischer
f45080e811
Use PHPUnit's expectOutputString() instead of performing output buffering.
10 vuotta sitten
Andreas Fischer
88778b569e
Split testP() tests into multiple methods.
10 vuotta sitten
Andreas Fischer
0d3ddd9e11
Remove redundant test case for non-HTML string.
10 vuotta sitten
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 "
10 vuotta sitten
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.
10 vuotta sitten
Thomas Tanghus
0d852dce3b
Use new autoloader class
11 vuotta sitten
Thomas Mueller
ef88ceba8c
drop SimpleTest compatibility
11 vuotta sitten
Michael Gapczynski
68272fa253
Remove unnecessary ob_end_clean() from template tests
11 vuotta sitten
Thomas Mueller
f9226f170e
fixes #266
11 vuotta sitten
Felix Moeller
f8d1d7787e
Checkstyle fixes for SpaceBeforeOpenBrace
11 vuotta sitten
Robin Appelman
2dbf2c69de
fix inlude path for template test
11 vuotta sitten
Thomas Mueller
dca80c55a9
fixing Test_TemplateFunctions
11 vuotta sitten
Bernhard Posselt
3ca5927b59
fixed copy paste error. 4th test will now test print_unescaped instead of p
11 vuotta sitten
Bernhard Posselt
aef3c6010b
splitted two tests with two assertions each into four tests with one assertion
11 vuotta sitten
Bernhard Posselt
f591382147
assert in proper order
11 vuotta sitten
Bernhard Posselt
a31c230f22
added tests for p and print_unescaped
11 vuotta sitten