60 Commits

Author SHA1 Message Date
Lonnie Ezell
2c295d0f0e Refactoring CURLRequest to current styleguide 2015-11-30 23:09:48 -06:00
Lonnie Ezell
ad5f9f7a44 Moved Benchmark classes into Debug namespace. Refactored them to current styleguide. 2015-11-30 23:01:44 -06:00
Lonnie Ezell
f811a66ef8 Standardizing some config file names. 2015-11-30 22:45:30 -06:00
Lonnie Ezell
8628f86744 Remove unneeded code from RouterTest that was causing it to fail. 2015-11-29 23:25:14 -06:00
Lonnie Ezell
eaafda1cc0 Basic tests on ReverseRouting, and now ensures that we match the parameter type. 2015-11-29 23:23:04 -06:00
Lonnie Ezell
7bc16748e3 Remove test group 2015-11-29 23:09:47 -06:00
Lonnie Ezell
38cd598690 Basic tests of the Routers AutoRoute method. 2015-11-29 23:00:03 -06:00
Lonnie Ezell
869fb76dbc Added the allow_redirects option to CURLRequest. 2015-11-19 23:55:52 -06:00
Lonnie Ezell
1bb77d51ba BAsic CURLRequest Tests in place. 2015-11-18 23:29:50 -06:00
Lonnie Ezell
fd484ffa16 Basic testing class in place. 2015-11-18 22:28:56 -06:00
Lonnie Ezell
5fa6238e2e Get merging relative URL into a base URI working in the URI class. 2015-11-13 14:25:35 -06:00
Lonnie Ezell
a40317fb9c Tweak URI to be able to set Authority also. 2015-11-13 00:13:45 -06:00
Lonnie Ezell
f4488658e5 Removing DI from our bootstrap. 2015-11-10 14:27:31 -06:00
Lonnie Ezell
405053d48d Removing traces of our dead DI container. 2015-11-10 14:23:08 -06:00
Lonnie Ezell
6238904aa2 More testing and refining of the Negotiation mechanism for messages. 2015-11-02 21:51:32 -06:00
Lonnie Ezell
28d805810c NegotiateMedia can support a strict or loose match. 2015-11-01 23:40:12 -06:00
Lonnie Ezell
2677d79871 NegotiateMedia command can recognize types and subtypes now. 2015-11-01 23:36:11 -06:00
Lonnie Ezell
0e37359211 Correctly determine precedence of header values when negotiating. 2015-11-01 22:49:05 -06:00
Lonnie Ezell
1cb074f561 Remove stray single group tests. 2015-10-30 09:59:53 -05:00
Lonnie Ezell
fbcc074798 More content negotiation love and starting tests on it. 2015-10-30 09:57:46 -05:00
Lonnie Ezell
e90438109a Response decked out with methods for sending to browser, and convenience methods for some headers, including cache control, date and last-modified. 2015-10-29 00:23:04 -05:00
Lonnie Ezell
9ddfd3a0f9 Fleshing out our response class. 2015-10-28 22:35:53 -05:00
Lonnie Ezell
4a401f15a2 REmoving now invalid test. 2015-10-28 00:43:31 -05:00
Lonnie Ezell
bf0b19ea69 Allow messages to have bodies 2015-10-28 00:20:11 -05:00
Lonnie Ezell
6f734acbfc Testing protocol in Message 2015-10-27 23:48:12 -05:00
Lonnie Ezell
7b3e981882 INitial message testing. 2015-10-27 23:44:21 -05:00
Lonnie Ezell
e14c449d32 Add test bootstrap to load in CI autoloader and more necessities. 2015-10-27 22:55:00 -05:00
Lonnie Ezell
1fb4e23d23 Finishing refactoring messages out of requests. 2015-10-27 21:41:02 -05:00
Lonnie Ezell
8978b079c8 Moving some data to an HTTPMessage class since it will be used by both Requests and Responses. 2015-10-27 09:51:14 -05:00
Lonnie Ezell
803fd12565 Moving tests to reflect the HTTPLite change. 2015-10-27 09:12:35 -05:00
Lonnie Ezell
3a718944db Rnaming our HTTPLite classes to HTTP namespace. 2015-10-27 09:12:00 -05:00
Lonnie Ezell
b52cbef591 Some basic tests for IncomingRequest. Needs additional, but unsure how to test some of it just yet. 2015-10-26 22:28:05 -05:00
Lonnie Ezell
4a09269189 Patching up some Request object issues and more tests on it. 2015-10-26 22:01:53 -05:00
Lonnie Ezell
7fb5c0079b Early tests for Request class. 2015-10-25 23:30:37 -05:00
Lonnie Ezell
fc9f3ec477 Better filtering on paths, including removing dot segments. 2015-10-23 11:03:02 -05:00
Lonnie Ezell
2a8ca0ad94 Appropriate password security for URI class. 2015-10-23 10:22:33 -05:00
Lonnie Ezell
9f8b17994e URI can now work with queries, and filters them. Quite a few more URI tests. 2015-10-23 00:05:14 -05:00
Lonnie Ezell
5d20990f40 Fixing the createURISTring method of URI to build a correct URI string. 2015-10-22 22:29:17 -05:00
Lonnie Ezell
9c3ba25b1c Refactoring the DI tests for the new config style. 2015-10-22 08:55:31 -05:00
Lonnie Ezell
db3fe51727 Fix up our Autoloader tests with the revised config methods. 2015-10-22 00:34:12 -05:00
Lonnie Ezell
e91b5a97f9 Load the main app config to get permittedURIChars and uriProtocol. 2015-10-18 23:07:03 -05:00
Lonnie Ezell
09b8e8be84 Get some basic URI stuff working and tested. 2015-10-18 22:49:38 -05:00
Lonnie Ezell
6628a70958 Fixing our DI tests to work with new config methodology. 2015-09-30 23:26:44 -05:00
Lonnie Ezell
0e8ec77798 Change the sanitization to a whitelist instead of a blacklist. Typically safer. 2015-09-30 23:10:18 -05:00
Lonnie Ezell
8d026a60ef Fixing some testing errors due to refactoring. 2015-09-27 23:52:26 -05:00
Lonnie Ezell
0031f5624e Basic router tests for working with closures. 2015-09-27 23:35:11 -05:00
Lonnie Ezell
453af98b17 Tests the basics of the router matching controller/method and back-referenced placeholders. 2015-09-27 23:24:33 -05:00
Lonnie Ezell
9be2183368 Fleshing out the Router. Large chunks borrowed from CI3 for this. We can always upgrade to something else later if we need to. 2015-09-26 00:16:04 -05:00
Lonnie Ezell
fffff73e8b Modify the way that HTTP verbs work with routes to match CI3. 2015-09-24 22:28:14 -05:00
Lonnie Ezell
e4130e1823 Implementing the RouterCollection's map method. 2015-09-22 22:32:36 -05:00