Commit graph

106 commits

Author SHA1 Message Date
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