Jump to content

Recommended Posts

Posted

Hello, i have open run-test.php and there is :

phpVMS API Unit Tests

Core API Tests

Checking geonames server

Fail: PIREP Testing -> testRetrieveAirport -> Not equal expectation fails [boolean: false] matches at [/public_html/site/fsx/phpvms/unittest/tests/ops_test.php line 26]

Checking phpVMS API server

Fail: PIREP Testing -> testRetrieveAirport -> Not equal expectation fails [boolean: false] matches at [/public_html/site/fsx/phpvms/unittest/tests/ops_test.php line 34]

Exception: PIREP Testing -> testRetrieveAirport -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/public_html/site/fsx/phpvms/core/common/OperationsData.class.php line 699]

Exception: PIREP Testing -> testRetrieveAirport -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/public_html/site/fsx/phpvms/core/common/OperationsData.class.php line 699]

findSchedules

Pass: PIREP Testing->testFindSchedules->Not equal expectation passes as [Array: 1 items] does not match [boolean: false] at [/public_html/site/fsx/phpvms/unittest/tests/ops_test.php line 42]

Find disabled schedules

Fail: PIREP Testing -> testFindSchedules -> Not equal expectation fails [NULL] matches at [/public_html/site/fsx/phpvms/unittest/tests/ops_test.php line 47]

Checking to see if flight numbers are parsed

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 19]

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA1234A] and [1234A] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 20]

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMA] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 24]

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMA324AB] and [324AB] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 25]

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [] and [VMS] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 29]

Fail: RouteTester -> testExtractRoute -> Equal expectation fails at character 0 with [VMS3030B] and [3030B] at [/public_html/site/fsx/phpvms/unittest/tests/routes_tests.php line 30]

Checking Times

Time added, all PIREPS at once

Fail: TimesTester -> testTimesAdded -> Not equal expectation fails [integer: 0] matches at [/public_html/site/fsx/phpvms/unittest/tests/times_test.php line 29]

Time added, pilot by pilot

Fail: TimesTester -> testTimesAdded -> Not equal expectation fails [integer: 0] matches at [/public_html/site/fsx/phpvms/unittest/tests/times_test.php line 42]

Comparing pilot to pilot vs all PIREPS

Pass: TimesTester->testTimesAdded->Equal expectation [string: 0.00] at [/public_html/site/fsx/phpvms/unittest/tests/times_test.php line 45]

Compare to STAT total hours

Pass: TimesTester->testTimesAdded->Equal expectation [string: 0.00] at [/public_html/site/fsx/phpvms/unittest/tests/times_test.php line 49]

4/4 test cases complete: 3 passes, 11 fails and 2 exceptions.

can you help please ?

Thank you very much !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...