Andreas Fischer
f45080e811
Use PHPUnit's expectOutputString() instead of performing output buffering.
2014-04-24 15:45:07 +02:00
Andreas Fischer
88778b569e
Split testP() tests into multiple methods.
2014-04-24 15:36:02 +02:00
Andreas Fischer
0d3ddd9e11
Remove redundant test case for non-HTML string.
2014-04-24 15:34:09 +02:00
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 "
2014-04-22 20:09:55 +02:00
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.
2013-10-03 13:55:05 +02:00
Thomas Tanghus
0d852dce3b
Use new autoloader class
2013-05-11 22:44:45 +02:00
Thomas Mueller
ef88ceba8c
drop SimpleTest compatibility
2013-01-24 16:47:17 +01:00
Michael Gapczynski
68272fa253
Remove unnecessary ob_end_clean() from template tests
2013-01-19 20:28:45 -05:00
Thomas Mueller
f9226f170e
fixes #266
2012-11-05 21:26:59 +01:00
Felix Moeller
f8d1d7787e
Checkstyle fixes for SpaceBeforeOpenBrace
2012-11-04 10:46:32 +01:00
Robin Appelman
2dbf2c69de
fix inlude path for template test
2012-11-02 21:46:27 +01:00
Thomas Mueller
dca80c55a9
fixing Test_TemplateFunctions
2012-10-31 00:22:26 +01:00
Bernhard Posselt
3ca5927b59
fixed copy paste error. 4th test will now test print_unescaped instead of p
2012-10-30 21:20:21 +01:00
Bernhard Posselt
aef3c6010b
splitted two tests with two assertions each into four tests with one assertion
2012-10-30 17:30:39 +01:00
Bernhard Posselt
f591382147
assert in proper order
2012-10-29 21:33:43 +01:00
Bernhard Posselt
a31c230f22
added tests for p and print_unescaped
2012-10-29 21:22:53 +01:00