Philipp
2ab0d06996
Restructure Storage to new paradigm
2021-10-27 20:00:19 +02:00
Philipp
58eea1adaa
Cleanup namespaces
2021-10-26 22:11:10 +02:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp
ab83d0dd27
Restructure (P)Config to follow new paradigm
2021-10-26 22:11:06 +02:00
Philipp
ef1e2ce77e
Cleanup tests
...
- Remove DBAMockTrait
- Remove DBStructureMockTrait
2021-10-18 20:08:40 +02:00
Philipp
7471b7698b
Adapt filesystem tests
2021-10-05 20:29:52 +02:00
Philipp
065b46c721
Split Storage usage and Storage configuration
2021-10-05 20:07:12 +02:00
fabrixxm
fcc284577d
Fix typo in test for ParsedLogIterator
2021-10-01 14:08:00 +02:00
fabrixxm
ab7de16aca
Fix code style
2021-09-27 12:22:08 +02:00
fabrixxm
eadcc8dc93
Handle reading empty file in ReversedFileReader
...
fix #10766
2021-09-27 12:14:19 +02:00
Philipp
27e4586597
Move path determination logic into the ConfigFactory
2021-09-12 13:44:29 +02:00
Philipp
5702944116
Add the possibility to use a different configuration directory
2021-09-11 14:33:26 +02:00
fabrixxm
7f695197aa
Fix review points
...
- Fix headers hierarchy
- Improve accessibility:
- set mouse pointer
- make rows focusable
- open on key press
- add tooltip with "title"
- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm
5520f100b2
Fix ParsedLogIteratorTest::setUp()
2021-08-19 15:26:26 +02:00
fabrixxm
dd2abc7aff
Fix code standard
2021-08-19 15:20:25 +02:00
fabrixxm
ce0d7616cc
Add tests for ParsedLogIterator
2021-08-19 14:57:04 +02:00
Philipp
d0536ebea7
Rename ISelectableStorage to IWritableStorage
2021-08-16 23:27:42 +02:00
Philipp
470ba8b61b
Fixup Database behaviour
2021-08-16 23:27:42 +02:00
Philipp
90c99520bb
Fix Storage Exceptions
2021-08-16 23:27:42 +02:00
Michael
9ce43ad21d
Tests
2021-07-27 06:22:37 +00:00
Philipp
dda817cad8
Replace expectExceptionMessageRegExp()
with expectExceptionMessageMatches()
2021-05-23 23:09:49 +02:00
Philipp
02e6dff6a0
Fix tests
...
- Fix InstallerTest case
- Fix native function mocking
- Add returntype for Unit-Tests
- Fixing ExtendedPDO test troubles
- Fix wrong class inheritance path for DatabaseTestTrait.php
- Fix SyslogLogger Server Exception for PHP8
- Add user/contact to database.fixture.php
- Avoid invalid rollbacks for test setup in PHP8
2021-04-04 20:11:57 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
c644d76d28
Allow setting arbitrary keys in the cookie array
2021-01-23 05:42:58 -05:00
Philipp
d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory
2020-10-18 20:52:27 +02:00
Philipp
efaec26b1d
Fix wrong $this->assert...()
with `self::assert...()
2020-10-18 20:52:27 +02:00
Philipp
7413b362f5
Add basic process tests
2020-09-17 22:15:33 +02:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
nupplaPhil
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
nupplaPhil
abc6a8ce34
skip impossible test-scenario
2020-01-10 13:22:02 +01:00
nupplaPhil
08edeae2f9
Make Storage testable & add tests
...
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
b82294826d
fix CookieTest
2019-12-11 20:49:53 +01:00
nupplaPhil
94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie())
2019-12-09 22:47:08 +01:00
nupplaPhil
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Hypolite Petovan
1e90d8efce
Add tests for Model\FileTag fileToArray and arrayToFile methods.
2019-05-28 17:05:29 -04:00
Philipp Holzer
def502ae2d
Fix namespaces
2019-02-27 12:32:56 +01:00
Philipp Holzer
61971287c4
Fixing tests
2018-11-08 08:11:27 +01:00
Philipp Holzer
8ad721988b
Refactoring identities to Model\User::identities
2018-11-08 00:38:55 +01:00