Commit graph

18 commits

Author SHA1 Message Date
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
2017-03-28 18:50:00 -04:00
9d5dab249c Helper methods for testing Database class
May not actually work yet
2017-03-27 23:19:05 -04:00
536fa5c4fd Implement NextCloud News version detection
- Improves #47
- Still needs wrapping to actually output to clients
2017-03-19 21:50:00 -04:00
18c8076a0f Database update tests 2017-03-09 21:39:42 -05:00
95ee51563d First battery of SQLite driver tests 2017-03-08 22:16:35 -05:00
007e3747ef Various database fixes
Authentication appears to be broken with a real database
2017-03-02 20:47:00 -05:00
b4d178c33f Remove most PDO stuff
PDO will not be supported: the feature-set is less than any of the common native APIs, so why bother?
2017-03-01 22:47:51 -05:00
176247894d Tests for Db\ResultSQLite3 2017-03-01 19:00:14 -05:00
e4852b581a Start on tests for authorization 2017-02-27 23:04:13 -05:00
798d7e7ab7 Added synthetic tests for external User drivers
Fixed two typos in external driver handling
2017-02-26 22:06:14 -05:00
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)
2017-02-17 19:22:50 -05:00
c5fac33398 Converted all hard tabs to soft tabs 2017-02-16 14:29:42 -06:00
8e2a2c46b1 Refactor test infrastructure to use PSR-4. 2017-02-14 22:34:08 -05:00
4bc602957c Last set of language tests 2017-02-11 12:11:14 -05:00
2c134c76dc Basic tests for exceptions 2017-02-09 23:05:13 -05:00
6ec13266fa Changes to Lang (fixes #33) with tests 2017-02-09 16:39:13 -05:00
bc6ee434e5 Start of unit tests for Lang class 2017-02-08 16:53:02 -05:00
f16e490141 First set of unit tests for Conf.php 2017-02-05 19:00:57 -05:00