J. King
78faf88563
Implemented configuration exporting; fixes #63
Default user agent string creation moved to Feed class as a consequence of difficulties in exporting it reliably
7 years ago
J. King
cbdcacd1c3
Added basic code coverage annotations
7 years ago
J. King
b3f631e335
Use more reliable database locking strategy; reorganize tests
PostgreSQL and MySQL both have better locking mechanisms than what was previously implemented, as well
7 years ago
J. King
a67fe30408
Fix whitespace
Also fixed my editor so tabs won't happen again!
7 years ago
J. King
f902346b6c
Eliminated passing of RuntimeData instances
- RuntimeData has now been replaced by a single static Data class
- The Data class has a load() method which fills the same role as the constructor of RuntimeData
- The static Lang class is now an instantiable class and is a member of Data
- All tests have been adjusted and pass
- The Exception tests no longer require convoluted workarounds: a simple mock for Data::$l suffices; Lang tests also use a mock to prevent loops now instead of using a workaround
7 years ago
Dustin Wilson
7236020b8b
Changed "NewsSync" to "Arsse"
7 years ago
J. King
574388665a
Tidy up tests and User stuff
- Skeleton of mock internal driver
- Skeleton of test suite
- Re-arranged lots of code
- Made drive name localized (improves #37 )
7 years ago
Dustin Wilson
c5fac33398
Converted all hard tabs to soft tabs
7 years ago
J. King
8e2a2c46b1
Refactor test infrastructure to use PSR-4.
7 years ago
J. King
849294d082
Clean up test names; add Lang & Exception tests
7 years ago
J. King
4bc602957c
Last set of language tests
7 years ago
J. King
6ec13266fa
Changes to Lang ( fixes #33 ) with tests
7 years ago
J. King
3a9753fd22
Clean up tests a little
7 years ago
J. King
ad0f28b8cc
Clean up the Conf test a bit
7 years ago
J. King
9bffb46aa8
Use unparsed strings for mock file data
7 years ago
J. King
f16e490141
First set of unit tests for Conf.php
7 years ago