Failed
org.appng.application.manager.business.PlatformPropertiesTest.testShowAll
Failing for the past 4 builds
(Since Failed )
Error Message
XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties"> <config> <title id="platform.properties">Platform properties</title> <permissions> <permission ref="platform.properties" mode="set"></permission> </permissions> <params> <param name="propId"/> </params> <meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}"> <field name="shortName" type="text" displayLength="50" binding="shortName"> <sort order="asc" name="name" prio="0"/> <label id="name">Name</label> </field> <field name="displayValue" type="longtext" displayLength="120" binding="displayValue"> <label id="activeValue">Active Value</label> </field> <field name="description" type="text" displayLength="400" binding="description"> <label id="description">Description</label> </field> <field name="changedValue" type="image" binding="changedValue"> <label></label> <icon condition="${!current.changedValue}">led_orange</icon> <icon condition="${current.changedValue}">led_green</icon> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="other" location="both"> <link id="other[1]" mode="intern" target="/platform/property/create#tab_platformProperties"> <permissions> <permission ref="platform.property.create" mode="set"></permission> </permissions> <label id="property.create">Create property</label> <icon>new</icon> </link> <link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform"> <permissions> <permission ref="platform.reload" mode="set"></permission> </permissions> <label id="platform.reload">Reload platform</label> <icon>reload</icon> <confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true"> <permissions> <permission ref="platform.property.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties"> <permissions> <permission ref="platform.property.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits
Stacktrace
junit.framework.AssertionFailedError: XML does not match control XML org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <datasource xmlns="http://www.appng.org/schema/platform" id="platformProperties"> <config> <title id="platform.properties">Platform properties</title> <permissions> <permission ref="platform.properties" mode="set"></permission> </permissions> <params> <param name="propId"/> </params> <meta-data bindClass="org.appng.api.model.Property" result-selector="${current.name eq propId}"> <field name="shortName" type="text" displayLength="50" binding="shortName"> <sort order="asc" name="name" prio="0"/> <label id="name">Name</label> </field> <field name="displayValue" type="longtext" displayLength="120" binding="displayValue"> <label id="activeValue">Active Value</label> </field> <field name="description" type="text" displayLength="400" binding="description"> <label id="description">Description</label> </field> <field name="changedValue" type="image" binding="changedValue"> <label></label> <icon condition="${!current.changedValue}">led_orange</icon> <icon condition="${current.changedValue}">led_green</icon> </field> <field name="actions" type="linkpanel" binding="actions"> <label id="actions">Actions</label> </field> </meta-data> <linkpanel id="other" location="both"> <link id="other[1]" mode="intern" target="/platform/property/create#tab_platformProperties"> <permissions> <permission ref="platform.property.create" mode="set"></permission> </permissions> <label id="property.create">Create property</label> <icon>new</icon> </link> <link id="other[2]" mode="intern" target="/platform?form_action=reloadPlatform"> <permissions> <permission ref="platform.reload" mode="set"></permission> </permissions> <label id="platform.reload">Reload platform</label> <icon>reload</icon> <confirmation id="platform.reload.confirm">Do you really want to reload the platform?</confirmation> </link> </linkpanel> <linkpanel id="actions" location="inline"> <link id="actions[1]" mode="intern" target="/platform/property/update/${current.name}#tab_platformProperties" default="true"> <permissions> <permission ref="platform.property.edit" mode="set"></permission> </permissions> <label id="edit">Edit</label> <icon>edit</icon> </link> <link id="actions[2]" mode="intern" target="/platform?form_action=delete-platform-property&propertyid=${current.name}#tab_platformProperties"> <permissions> <permission ref="platform.property.delete" mode="set"></permission> </permissions> <label id="delete">Delete</label> <icon>delete</icon> <confirmation id="property.delete.confirm" params="#{shortName}">Do you really want to delete the property "#{shortName}"?</confirmation> </link> </linkpanel> </config> <data> <resultset chunk="0" chunkname="platformProperties" chunksize="10" nextchunk="0" previouschunk="0" firstchunk="0" lastchunk="-1" hits="0"/> </data> </datasource> , org.custommonkey.xmlunit.Diff [different] Expected attribute value '4' but was '0' - comparing <resultset hits="4"...> at /datasource[1]/data[1]/resultset[1]/@hits to <resultset hits="0"...> at /datasource[1]/data[1]/resultset[1]/@hits at org.appng.application.manager.business.PlatformPropertiesTest.testShowAll(PlatformPropertiesTest.java:114)