[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/rss_client/tests/ -> cron_test.php (summary)

PHPunit tests for rss client cron.

Author: Neill Magill <neill.magill@nottingham.ac.uk>
Copyright: 2015 University of Nottingham
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 149 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 blocks/moodleblock.class.php
 blocks/rss_client/block_rss_client.php

Defines 1 class

block_rss_client_cron_testcase:: (2 methods):
  test_skip()
  test_error()


Class: block_rss_client_cron_testcase  - X-Ref

Class for the PHPunit tests for rss client cron.

test_skip()   X-Ref
Test that when a record has a skipuntil time that is greater
than the current time the attempt is skipped.


test_error()   X-Ref
Test that when a feed has an error the skip time is increaed correctly.




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1