Morris Jobke
a18c0983d5
Use TempManager instead of tmpFile
8 years ago
Thomas Müller
757aa45db7
Adding more DB groups to test suits
Adding more DB groups to test suits
8 years ago
Vincent Petry
f8cfc03f36
Replace originalStorage in tests with a proper teardown
The purpose of $originalStorage in unit tests was to remount the old
root.
However that storage itself is already wrapped by storage wrapper, so
remounting it would rewrap the storage several times.
This fix makes use of "loginAsUser()" and "logout()" from the TestCase
class to properly initialize and cleanup the FS as expected.
9 years ago
Thomas Müller
54a3bdf1c5
fixing unit test execution related to trashbin
9 years ago
Andreas Fischer
df849bb69a
HHVM Workaround: Do not use Exception from Stream.
Works around https://github.com/facebook/hhvm/issues/2436#issuecomment-69351373
9 years ago
Joas Schilling
cb3a598cdb
Make root tests extend the \Test\TestCase
9 years ago
Joas Schilling
6625d5c88f
Correctly restore previous root mount point after testing
9 years ago
Jörn Friedrich Dreyer
ef6db5e9d7
add seek and tell to streamwrapper test
9 years ago
Robin Appelman
a0d8377109
better unit tests for static stream wrapper
11 years ago
Florin Peter
3c100af132
revert changes to fbbc76f281f50afa3072d99e4e0d413df835b3d3 because master is very unstable right now
11 years ago
Robin Appelman
809b5f81f6
Further seperation of mount management logic
11 years ago
Robin Appelman
232cc3211b
add oc:// streamwrapper to provide access to ownCloud's virtual filesystem
11 years ago
Robin Appelman
c9c919da57
Move streamwrappers to seperate files and put them in a namespace
11 years ago
Thomas Mueller
ef88ceba8c
drop SimpleTest compatibility
11 years ago
Felix Moeller
30d7993e01
Checkstyle fixes: NoSpaceAfterComma
11 years ago
Felix Moeller
afadf93d31
Checkstyle: many fixes
11 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
11 years ago
Robin Appelman
22f8f50e05
initual phpunit support
11 years ago
Thomas Mueller
3829460ab8
adding space between) and {
12 years ago
Robin Appelman
48fe85d9bd
add streamwrapper that provides a callback on stream close
12 years ago
Robin Appelman
d9c7e4c333
proper mimetypes for encrypted files
12 years ago