Commit graph

122 commits

Author SHA1 Message Date
Joshua Sherman
7a4f992210 Added TODO and new tests
Catching up the existing tests to include any new functionality that hasn't had a test written yet.
2013-12-31 11:08:19 -05:00
Joshua Sherman
9b1feda909 Added support for custom maintenance templates. 2013-12-31 10:56:31 -05:00
Joshua Sherman
5a15c791c5 Finished up Controller tests for existing functionality 2013-12-31 10:39:21 -05:00
Joshua Sherman
efa8f77eba More tests 2013-12-30 23:29:52 -05:00
Joshua Sherman
c0dbb39bda More tests
Also, found that damn newline that was being output.
2013-12-30 17:13:22 -05:00
Joshua Sherman
74f0adb4f8 Disabled some tests as I figure out the issue, detroyed 5.4 support. 2013-12-30 00:46:29 -05:00
Joshua Sherman
54471c361b So much refactoring... 2013-12-30 00:38:13 -05:00
Joshua Sherman
7f37abc527 Cleaned up test includes a bit
Probably want to include an autoloader at some point. Also added PHP 5.3 and 5.4 to the test list, 5.3 outta fail, unsure about 5.4
2013-12-29 13:16:21 -05:00
Joshua Sherman
064b4d9f55 Reworked Controller around new Display class 2013-12-28 16:23:42 -05:00
Joshua Sherman
e70f31c711 Moved to composer installed vfsSteam
Seems the issue was namespacing this whole time.
2013-12-28 02:08:10 -05:00
Joshua Sherman
fd157c23bc Just a bit more... 2013-12-28 01:54:21 -05:00
Joshua Sherman
054ac575e1 Debugging stuff 2013-12-28 01:52:00 -05:00
Joshua Sherman
a1d9f87a4f More tweaking. 2013-12-28 01:49:52 -05:00
Joshua Sherman
5d14f78d29 More hacking to get vfsStream to load in Travis 2013-12-28 01:44:30 -05:00
Josh Sherman
6b0fed32c6 Added dependencies
Added a hack to work locally for me. May move to using composer to obtain / install vfsStream just didn't like the "vendor" directory, will look into using a custom directory so it can be hidden git ignored.
2013-12-28 01:36:08 -05:00
Josh Sherman
07a95a7508 Built out new Display class with tests
Not hooked up to the Controller yet, wanted to get Travis setup.
2013-12-28 01:13:02 -05:00
Josh Sherman
99a04865e8 Fixed existing tests
Just some small tweaks to get all of the tests passing again. Functionality changed and the tests were not kept up to date.
2013-12-26 15:01:05 -05:00
Josh Sherman
9b297f3d87 Dropped Convert::toJSON()
In an effort to only maintain compatibility with the latest version of PHP (currently the 5.5 branch) I dropped the sanity checks if `json_encode` was available as it is always available in PHP 5.2+. Dropping this sanity check also allowed me to remove the wrapper function and the `JSON_AVAILABLE` constant. Ideally I'd like to move towards dropping the `Convert` class entirely but will need a way to convert an array to XML as the `RSS` class still leverages it. One thought is to move that code right into the `RSS` class as it never gets used elsewhere because XML is gross.
2013-12-24 13:28:49 -05:00
Josh Sherman
f11e3157e3 Tests for the Date class 2012-10-03 17:37:03 -04:00
Josh Sherman
4cf94f9c28 Added tests for the convert class 2012-10-03 09:30:44 -04:00
Josh Sherman
ac63c12d80 Added tests for String class 2012-10-02 23:10:39 -04:00
Josh Sherman
f3ee33e933 Toying with unit tests
Just a start, better than nothing
2012-10-02 16:08:24 -04:00