Code review comment for lp:~aacid/unity-2d/unity-2d-shell_choose_root_file

MichaƂ Sawicz (saviq) wrote :

Here's the result of the tests on stock unity-2d-shell:

michal@michal-vm:~/dev/canonical/desktop/unity-2d/tests/shell$ ./root_file_param.rb
Running tests on applications contained within /home/michal/dev/canonical/desktop/unity-2d
Loaded suite ./root_file_param
Started
..E
Finished in 35.574464 seconds.

  1) Error:
test_Verify_app_starts_with_a_valid_rootfile_parameter(Shell_root_file_param_test):
MobyBase::VerificationError: Verification at ./root_file_param.rb:116:in `test_Verify_app_starts_with_a_valid_rootfile_parameter' failed as an exception was thrown when the verification block was executed
=> verify{ @app.QDeclarativeText( :text => 'This is the rootfile.qml test' ) }
     end

Details:
#<MobyBase::TestObjectNotFoundError: The application (id: 1633, name: "unity-2d-shell") has no child object with type or behaviour method with name "QDeclarativeText" (attributes :text=>"This is the rootfile.qml test") on :sut_qt>
    /usr/lib/ruby/vendor_ruby/tdriver/verify/verify.rb:168:in `verify'
    ./root_file_param.rb:116:in `test_Verify_app_starts_with_a_valid_rootfile_parameter'
    /media/sf_dev/canonical/desktop/unity-2d/tests/misc/lib/testhelper.rb:39:in `run'

3 tests, 0 assertions, 0 failures, 1 errors

review: Needs Fixing

« Back to merge proposal