Commit graph

15 commits

Author SHA1 Message Date
Philipp Holzer
433d6abe8c
Refactoring DBA-mocking tests
- Reducing DB-dependencies
- Creating DB-cache mocks
- Creating DB-lock mocks
- Switching to mocked dependencies for Cache/Lock/App
2019-02-02 19:03:15 +01:00
Philipp Holzer
7aae40ae6a
skipping TTL tests 2018-11-09 20:39:47 +01:00
Philipp Holzer
c2bd69e351
Lock TTL fix 2018-11-05 08:51:35 +01:00
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Philipp Holzer
3f0f3b6ae6
friendica-5847 Console Cache List command doesn't work
- Added $prefix to all CacheDriver
- Moved hostname magic to CacheDriver
- Added test for getAllKeys()
2018-10-07 00:27:54 +02:00
Philipp Holzer
bd2b3b1ef5
LockDriverFixings
- release Locks in case of failures
- adding some cache tests
2018-09-06 08:11:18 +02:00
Philipp
2d0446bd38 simplifying unittests (#5395)
* simplifying unittests

- use @requires instead class_exist
- define @small and @medium

* simplifying unittests

- removed unnecessary throwings
2018-07-18 15:04:18 -04:00
Hypolite Petovan
820afa2284 Replace global $a with BaseObject::getApp() 2018-07-16 19:38:17 -04:00
Hypolite Petovan
59c38d1b73 Move meaningful message inside Exception thrown in Cache tests 2018-07-16 19:38:16 -04:00
Hypolite Petovan
12e34cc5fb Remove direct App instantiation from tests 2018-07-16 19:38:16 -04:00
Philipp Holzer
be83696f02
Redis serialize instead of json because of objects 2018-07-08 13:35:28 +02:00
Philipp Holzer
ff24d0d567
code-standards wrap operators with spaces 2018-07-07 20:51:08 +02:00
Philipp Holzer
3cde7a3e4b
Fixed & added unittests 2018-07-07 20:35:42 +02:00
Philipp Holzer
065b83d148
Fixed memcache & unittests 2018-07-07 20:07:07 +02:00
Philipp Holzer
80a4e6263f
Added Unittests for cache
fixed Lock & Cache bugs
2018-07-07 19:46:16 +02:00