1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-24 01:22:41 +00:00
Commit graph

317 commits

Author SHA1 Message Date
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)
2017-02-17 19:22:50 -05:00
J. King
8db31cf3e4 Tweaked Lang; added comments and tests
Tweaks:
- get() method can now report loaded and well as wanted locale
- msg() passed without vars still gets formatted to catch malformed strings
- set('en', false) followed by set('en', true) will now immediately load
- Lang::$synched was not getting set to true properly

Tests:
- Added test for get()
- Added test for malformed strings (exception code was missing)
- Added test for missing strings
- Added test for strings taking variables not being passed any variables
2017-02-16 17:50:34 -05:00
Dustin Wilson
c5fac33398 Converted all hard tabs to soft tabs 2017-02-16 14:29:42 -06:00
J. King
8e2a2c46b1 Refactor test infrastructure to use PSR-4. 2017-02-14 22:34:08 -05:00
J. King
b8445fe8a7 Remove debug code 2017-02-11 13:51:54 -05:00
J. King
849294d082 Clean up test names; add Lang & Exception tests 2017-02-11 13:50:34 -05:00
J. King
4bc602957c Last set of language tests 2017-02-11 12:11:14 -05:00
J. King
2c134c76dc Basic tests for exceptions 2017-02-09 23:05:13 -05:00
J. King
f78048317e Refactor language test boilerplate into trait 2017-02-09 16:56:30 -05:00
J. King
fcfc7863f1 Properly clean up after Lang tests 2017-02-09 16:47:33 -05:00
J. King
6ec13266fa Changes to Lang (fixes #33) with tests 2017-02-09 16:39:13 -05:00
J. King
9491d082ed Added Composer file and re-arranged dependent libs 2017-02-09 11:01:24 -05:00
J. King
3a9753fd22 Clean up tests a little 2017-02-08 16:59:16 -05:00
J. King
bc6ee434e5 Start of unit tests for Lang class 2017-02-08 16:53:02 -05:00
J. King
ad0f28b8cc Clean up the Conf test a bit 2017-02-08 10:00:38 -05:00
J. King
9bffb46aa8 Use unparsed strings for mock file data 2017-02-06 18:50:34 -05:00
J. King
f16e490141 First set of unit tests for Conf.php 2017-02-05 19:00:57 -05:00