Le Tue, 05 Jun 2007 08:02:42 -0700,
Travis Swicegood <development domain51.com> a écrit :
> Perrick Penet wrote:
> > Hello David & Pavel,
> >
> > I found it strange as well.
> >
> > Pavel Shevaev wrote:
> >
> >>> Fatal error: Class 'SimpleFileLoader' not
found
> >>> in
/home/david/www/outils/simpletestCVS/simpletest/autorun.php
on
> >>> line 23
> >>>
> >> Seems like autorun.php uses new
SimpleFileLoader which is located
> >> in test_case.php which in its turn is simply
not included. I'm
> >> currently away from my dev. box but if none
commits the fix I'll
> >> do it myself tomorrow.
> >>
> >
> > In 'autorun.php', there is :
> > require_once dirname(__FILE__) .
'/unit_tester.php';
> >
> > Then in 'unit_tester.php', there is :
> > require_once(dirname(__FILE__) .
'/test_case.php');
> >
> > And finally in 'test_case.php', there is :
> > class SimpleFileLoader {
> >
> > This is really weird... Could it be some
permissions problem ?
>
> Maybe, but require should die if it can't read a file.
I'm not sure
> what's up though, as all of my tests have been using
autorun.php
> since it came out and the only error I occasionally get
is when
> there's no valid test case to run (i.e., I goofed).
>
Sorry, it's not a problem with a permission but my version $Id:
test_case.php,v 1.35 2006/11/27 18:38:48 jsweat Exp $
David.
> -T
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Simpletest-support mailing list
> Simpletest-support lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simp
letest-support
>
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Simpletest-support mailing list
Simpletest-support lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simp
letest-support
|