Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a true test framework where it's configurable based on the URL …
…so code does not need to be hacked. The Event class was updated a bit for the code changes that will come into effect in the coming days. Modified lib/document.php * destroy: Added debugging to extract the error response if there is a problem. * findById: Converted all of the XML data to string or int types to prevent possible errors. Modified lib/event.php * findAll: Removed the default $web_id variable because that will be optional. Converted all of the XML data types to strings or int explicityly in case of problems. Added test/test.php, test/destroy.php, test/event.php, test/test_include.php, test/upload.php * Deprecated and removed. Modified test/index.html * Replaced the links with documentation for the new test.php file. Deleted test/show.php * Command-line option-like file. Whatever parameters are passed in it takes to execute a different section of code. Now the project is finally easily configurable.
- Loading branch information
Showing
10 changed files
with
275 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
require_once 'test_include.php'; | ||
require_once '../lib/vuzit.php'; | ||
|
||
$exception = null; | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.