Update of /cvsroot/phpicalendar/phpicalendar3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28801
Modified Files:
parser_tests.php
Log Message:
* added a few @todo tags
* minor whitespace adjustments
* added basic functionality for language setter method in class.Settings.php
Index: parser_tests.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar3/parser_tests.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** parser_tests.php 16 Mar 2007 02:24:21 -0000 1.1
--- parser_tests.php 2 May 2007 13:41:52 -0000 1.2
***************
*** 1,9 ****
<?php
! if (!defined('BASE')) define('BASE', './');
# autoload
function __autoload($class_name) {
! require_once (BASE.'functions/class.'.$class_name . '.php');
}
echo "Starting...<pre>";
--- 1,12 ----
<?php
!
! if (!defined('BASE'))
! define('BASE', './');
# autoload
function __autoload($class_name) {
! require_once (BASE.'functions/class.'.$class_name . '.php');
}
+
echo "Starting...<pre>";
***************
*** 17,28 ****
# test line folder
! if (!$parser->process_file('calendars/Deutsche_Feiertage.ics')) echo 'failed open';
$start = 42929730712;
echo "start:".date("Ymd",strtotime($start))."\n";
echo "end:".date("Ymd", strtotime('+1 day', $start))."\n";
!
! echo "</pre><br>Done!";
?>
\ No newline at end of file
--- 20,32 ----
# test line folder
! if (!$parser->process_file('calendars/Deutsche_Feiertage.ics'))
! echo 'failed open';
$start = 42929730712;
+
echo "start:".date("Ymd",strtotime($start))."\n";
echo "end:".date("Ymd", strtotime('+1 day', $start))."\n";
! echo "</pre><br />Done!";
?>
\ No newline at end of file
|