Tests from CVS (20030420)

kvdb

Joined: 2002-10-10
Posts: 29
Posted: Sun, 2003-04-20 13:22

System info: Apache/1.3.27 (Unix) Debian GNU/Linux PHP/4.2.3
Gettext enabled.

Test: core :: CreatePhotoItem [50 iteration(s)]
Timing: 0.7579 elapsed, 65.9691 per second
Error: Error (ERROR_COLLISION)

* in modules/core/classes/GalleryDataItem.class at line 163
* in modules/core/classes/GalleryPhotoItem.class at line 148
* in modules/core/test/TestCase/CreatePhotoItem.class at line 71
* in modules/core/test/TestCase/CreatePhotoItem.class at line 28
* in setup/test/TestCase.class at line 18
* in setup/test/index.php at line 233

Error (ERROR_COLLISION)

* in modules/core/classes/GalleryDataItem.class at line 163
* in modules/core/classes/GalleryPhotoItem.class at line 148
* in modules/core/test/TestCase/CreatePhotoItem.class at line 71
* in modules/core/test/TestCase/CreatePhotoItem.class at line 28
* in setup/test/TestCase.class at line 18
* in setup/test/index.php at line 233
* in setup/test/index.php at line 183
* in setup/test/index.php at line 47
* in setup/test/index.php at line 10

---------
The Unit Test also reported some problems.
I'll leave the results at this url for a short while:

213.51.14.124/~kvdb/testunit.html
213.51.14.124/~kvdb/phpinfo.html

---------

I didn't encounter any problems while testing gallery manually as a user, that's the most important test... :wink:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2003-04-20 21:02
Quote:
Test: core :: CreatePhotoItem [50 iteration(s)]
Timing: 0.7579 elapsed, 65.9691 per second
Error: Error (ERROR_COLLISION)

That's odd. Is this reproducible? I couldn't make it happen on my box.

Quote:
The Unit Test also reported some problems.
I'll leave the results at this url for a short while:

213.51.14.124/~kvdb/testunit.html
213.51.14.124/~kvdb/phpinfo.html

Hmm. I made some minor fixes that should resolve a couple of your issues. The main problem appears to be that it isn't allowing me to override the nl_NL locale and force de_DE in the tests. I'm not sure why that's not working. Can you try again with the latest code and see if there's an improvement?

 
kvdb

Joined: 2002-10-10
Posts: 29
Posted: Sun, 2003-04-20 22:32

The CreatePhotoItem error is still there. I checked it again. With 1 and 10 iterations, there are no problems, but with 50, it's the same problem.

The other problems from the testunit are still there (you solved 1).
I don't know how to interpret the test results but it seems to me that gallery produces german strings instead of dutch ones (well, they should be dutch but are english, but that's because they're not translated, right?)

213.51.14.124/~kvdb/testunit2.html

 
kvdb

Joined: 2002-10-10
Posts: 29
Posted: Wed, 2003-04-23 15:48

Todays CVS (20030423) gave this error while loading the /phpunit/index.php:

Fatal error: Class itemcreateresizestesttoolkit: Cannot inherit from undefined class gallerytoolkit in /home/gal2/public_html/gallery2/modules/core/test/phpunit/ItemCreateResizesControllerTest.class on line 165

Continues after removing the last 2 functions/procedures from that file.

The language tests from the phpunit still don't work (thought it would be useful to test again because I saw a UTF-8 related commit).

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2003-04-25 05:33

kvdb, I'm not sure what's up with your localization issues but I'd like to try to resolve them if possible. Is there any chance that I can ssh to your box and poke around to see if I can get a handle on what's going wrong?