Merge lp:~aacid/unity8/betterUnityTestCaseErrors into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michael Terry on 2016-04-13 |
| Approved revision: | 2322 |
| Merged at revision: | 2356 |
| Proposed branch: | lp:~aacid/unity8/betterUnityTestCaseErrors |
| Merge into: | lp:unity8 |
| Diff against target: |
320 lines (+97/-19) 3 files modified
tests/qmltests/Dash/Previews/tst_PreviewImageGallery.qml (+3/-2) tests/qmltests/Dash/tst_Card.qml (+10/-10) tests/utils/modules/Unity/Test/UnityTestCase.qml (+84/-7) |
| To merge this branch: | bzr merge lp:~aacid/unity8/betterUnityTestCaseErrors |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Terry | 2016-03-31 | Approve on 2016-04-13 | |
| Unity8 CI Bot | continuous-integration | Needs Fixing on 2016-04-13 | |
|
Review via email:
|
|||
Commit Message
Better error message if the item does not exist
Instead of
Cannot read property 'width' of null
and a line pointing to UnityTestCase.qml, you get
No item given
and a line pointing to the offending code
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
N/A
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
| Michael Terry (mterry) wrote : | # |
Looks like a good change, but testCard and testPreviewImag
- 2322. By Albert Astals Cid on 2016-04-13
-
Merge & make tests pass
| Albert Astals Cid (aacid) wrote : | # |
> Looks like a good change, but testCard and testPreviewImag
> because of properties defined with findObject.
I clearly remember fixing those tests, but obviously it didn't either happen or i forgot to push them :D
Pushed now :)
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:2322
https:/
Executed test runs:
UNSTABLE: https:/
SUCCESS: https:/
UNSTABLE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
| Michael Terry (mterry) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass? If not, please explain why.
No, for unrelated reasons
* Did you make sure that the branch does not contain spurious tags?
Yes

FAILED: Continuous integration, rev:2321 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/907/ /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= vivid+overlay, testname= qmluitests. sh/489 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=amd64, release= xenial, testname= qmluitests. sh/489 /unity8- jenkins. ubuntu. com/job/ test-0- autopkgtest/ label=phone- armhf,release= vivid+overlay, testname= autopilot. sh/489/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1218 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1194 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 1194 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1192/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 1192/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1192/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 1192/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1192/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 1192 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 1192/artifact/ output/ *zip*/output. zip
https:/
Executed test runs:
UNSTABLE: https:/
UNSTABLE: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/907/ rebuild
https:/