|
|
- tests provide their own certificates for testing of signing functionality
- rest api tests do not rely on a working apache instance of shindig anymore. any http calls are mocked instead.
- tests work from command line. any needes $_SERVER variables are set in the tests
- tests can override the main configuration with own values
- some fixes in the provided sample json database
this also means, that we can start to include the phpunit tests as a hudson job.
if there are no objections, I'll commit this patch tomorrow (yay, my first commit :-) ) and write a small ant script for hudson.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+179 lines, -104 lines) |
Patch |
 |
|
php/config/test.php
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
|
php/src/common/Config.php
|
View
|
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
|
php/src/gadgets/ContainerConfig.php
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
|
php/src/social/sample/JsonDbOpensocialService.php
|
View
|
|
5 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
|
php/src/social/servlet/ApiServlet.php
|
View
|
|
1 chunk |
+24 lines, -24 lines |
0 comments
|
Download
|
 |
|
php/test/ShindigAllTests.php
|
View
|
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
|
php/test/certs/README
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
|
php/test/certs/private.key
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
|
php/test/certs/public.crt
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
|
php/test/common/BasicRemoteContentTest.php
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
php/test/common/HttpServletTest.php
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
php/test/gadgets/ContainerConfigTest.php
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
|
php/test/gadgets/MakeRequestTest.php
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
|
php/test/misc/upload/upload.xml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
php/test/social/InputAtomConverterTest.php
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
|
php/test/social/InputJsonConverterTest.php
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
|
php/test/social/InputXmlConverterTest.php
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
|
php/test/social/MediaItemRestTest.php
|
View
|
|
8 chunks |
+9 lines, -21 lines |
0 comments
|
Download
|
 |
|
php/test/social/OutputAtomConverterTest.php
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
|
php/test/social/OutputJsonConverterTest.php
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
php/test/social/OutputXmlConverterTest.php
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
php/test/social/RestBase.php
|
View
|
|
1 chunk |
+21 lines, -19 lines |
0 comments
|
Download
|
 |
|
php/test/social/RestRequestItemTest.php
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 1
|