Test warning: ConditionalLayout cannot be activated without a container

Bug #1272174 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
New
Undecided
Unassigned

Bug Description

We need to remove all the warnings from the test suite, so that when a new warning appears we can tell if it's a real problem or something we can safely ignore. Currently there are too many warnings when running make check, and they might be hiding real bugs.

There are three warnings on tst_Layouts::testCase_PositioningOnLayoutChange():

QWARN : tst_Layouts::testCase_PositioningOnLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/PositioningOnLayoutChange.qml:42:13: QML ConditionalLayout: ERROR: no container specified for layout "landscape". ConditionalLayout cannot be activated without a container.
QWARN : tst_Layouts::testCase_PositioningOnLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/PositioningOnLayoutChange.qml:42:13: QML ConditionalLayout: WARNING: Cannot activate layout "landscape" with no container specified. Falling back to default layout.
QWARN : tst_Layouts::testCase_PositioningOnLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/PositioningOnLayoutChange.qml:42:13: QML ConditionalLayout: WARNING: Cannot activate layout "landscape" with no container specified. Falling back to default layout.

There are three warnings on tst_Layouts::testCase_CurrentLayoutChange():

QWARN : tst_Layouts::testCase_CurrentLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/CurrentLayoutChange.qml:30:13: QML ConditionalLayout: ERROR: no container specified for layout "portrait". ConditionalLayout cannot be activated without a container.
QWARN : tst_Layouts::testCase_CurrentLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/CurrentLayoutChange.qml:35:13: QML ConditionalLayout: ERROR: no container specified for layout "landscape". ConditionalLayout cannot be activated without a container.
QWARN : tst_Layouts::testCase_CurrentLayoutChange() file:///home/elopio/workspace/canonical/ubuntu-ui-toolkit/trunk/tests/unit_x11/tst_layouts/CurrentLayoutChange.qml:30:13: QML ConditionalLayout: WARNING: Cannot activate layout "portrait" with no container specified. Falling back to default layout.

Leo Arias (elopio)
summary: - ConditionalLayout cannot be activated without a containerTest warning:
+ Test warning: ConditionalLayout cannot be activated without a container
description: updated
Revision history for this message
Zsombor Egri (zsombi) wrote :

All these warnings are expected.

Leo Arias (elopio)
tags: added: qa-new
removed: qa
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.