Bugs item #1853510, was opened at 2007-12-18 15:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1853510&group_id=108380
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Data Output Group: PEL Version 0.9.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mike Brinson (mbrinson) Assigned to: Nobody/Anonymous (nobody) Summary: All PEL tests - "Equal expectation fails" Initial Comment: I am using apache2 web server and attempting to verify that PEL is working, but am unsuccessful running the PEL tests using "SimpleTest" as instructed in the readme for PEL/test. Here is my directory structure: www/pel www/simpletest Here is the output I get when running pel/test/run-tests.php #!/usr/bin/php Looking for SimpleTest in simpletest/... Looking for SimpleTest in ../simpletest/... Found SimpleTest version 1.0.1beta2 in ../../simpletest/! <br /> <b>Notice</b>: Undefined variable: argc in <b>W:\www\pel\test\run-tests.php</b> on line <b>59</b><br /> Found no image tests, only core functionality will be tested. Image tests are available from http://pel.sourceforge.net/. All PEL tests 1) Equal expectation fails as [Boolean: false] does not match [Integer: 10] at [W:\www\pel\test\ascii.php line 68] in testTime in PEL Exif ASCII Tests in ascii.php 2) Equal expectation fails as [Boolean: false] does not match [Integer: 10] at [W:\www\pel\test\ascii.php line 69] in testTime in PEL Exif ASCII Tests in ascii.php 3) Equal expectation fails at character 2 with [1969:12:31 00:00:10] and [1970:01:01 00:00:10] at [W:\www\pel\test\ascii.php line 71] in testTime in PEL Exif ASCII Tests in ascii.php 4) Equal expectation fails because [Float: 2440587.0001157] differs from [Float: 2440588.0001157] by 1 at [W:\www\pel\test\ascii.php line 73] in testTime in PEL Exif ASCII Tests in ascii.php 5) Equal expectation fails at character 2 with [1969:12:31 00:00:10] and [1970:01:01 00:00:10] at [W:\www\pel\test\ascii.php line 74] in testTime in PEL Exif ASCII Tests in ascii.php <br /> <b>Fatal error</b>: Uncaught exception 'PelDataWindowOffsetException' with message 'Offset 6 not within [0, 3]' in W:\www\pel\PelDataWindow.php:243 Stack trace: #0 W:\www\pel\PelDataWindow.php(280): PelDataWindow->validateOffset(6) #1 W:\www\pel\test\data-window.php(67): PelDataWindow->getBytes(0, 6) #2 W:\www\simpletest\invoker.php(68): DataWindowTestCase->testReadBytes() #3 W:\www\simpletest\invoker.php(126): SimpleInvoker->invoke('testReadBytes') #4 W:\www\simpletest\errors.php(49): SimpleInvokerDecorator->invoke('testReadBytes') #5 W:\www\simpletest\invoker.php(126): SimpleErrorTrappingInvoker->invoke('testReadBytes') #6 W:\www\simpletest\exceptions.php(42): SimpleInvokerDecorator->invoke('testReadBytes') #7 W:\www\simpletest\test_case.php(143): SimpleExceptionTrappingInvoker->invoke('testReadBytes') #8 W:\www\simpletest\test_case.php(558): SimpleTestCase->run(Object(TextReporter)) #9 W:\www\simpletest\test_case.php(561): TestSuite->run(Object(TextReporter)) #10 W:\www\pel\test\run-tests.php(88): TestSuite->run(Object(TextRe in <b>W:\www\pel\PelDataWindow.php</b> on line <b>243</b><br /> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1853510&group_id=108380 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ PEL-devel mailing list PEL-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pel-devel