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'
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 dev/canonical/ desktop/ unity-2d
Running tests on applications contained within /home/michal/
Loaded suite ./root_file_param
Started
..E
Finished in 35.574464 seconds.
1) Error: app_starts_ with_a_ valid_rootfile_ parameter( Shell_root_ file_param_ test): :VerificationEr ror: 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 veText( :text => 'This is the rootfile.qml test' ) }
test_Verify_
MobyBase:
=> verify{ @app.QDeclarati
end
Details: :TestObjectNotF oundError: 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> lib/ruby/ vendor_ ruby/tdriver/ verify/ verify. rb:168: in `verify' file_param. rb:116: in `test_Verify_ app_starts_ with_a_ valid_rootfile_ parameter' sf_dev/ canonical/ desktop/ unity-2d/ tests/misc/ lib/testhelper. rb:39:in `run'
#<MobyBase:
/usr/
./root_
/media/
3 tests, 0 assertions, 0 failures, 1 errors