Browse Source

Fix some comments for Jordan.

pull/393/head
Adam Vessey 11 years ago
parent
commit
44d83c7ed9
  1. 4
      includes/datastream.inc
  2. 8
      tests/datastream_cache.test

4
includes/datastream.inc

@ -118,8 +118,8 @@ function islandora_parse_http_match_headers($header_value) {
* An integer representing the HTTP response code. One of:
* - 200: Proceed as normal. (Full download).
* - 304: Resource hasn't changed; pass cache validation.
* - 412: Resource has channged; fail cache validation.
*
* - 412: Resource has changed; fail cache validation.
*
* @see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
*/
function islandora_view_datastream_cache_check(AbstractDatastream $datastream) {

8
tests/datastream_cache.test

@ -2,13 +2,7 @@
/**
* @file
* Tests to see if the hooks get called when appropriate.
*
* In the test module 'islandora_hooks_test' there are implementations
* of hooks being tested. These implementations modifies the session, and
* that's how we test if the hook gets called.
*
* To make sense of these tests reference islandora_hooks_test.module.
* Tests to verify the cache headers we provide.
*/
class IslandoraDatastreamCacheTestCase extends IslandoraWebTestCase {

Loading…
Cancel
Save