final AttributeImagePanel widget = new AttributeImagePanel.Builder(
m_deviceName, attributeName).jframe(jf1).build();
Sleeper.SECONDS.sleep(2);
final NumberMatrix numberMatrix = widget.getData();
Assert.assertTrue("Widget doesn't reflect image attribute",
equality(numberMatrix, data));
// modifier la valeur de l'attribut
for (int i = 0; i < data.length; i++) {
data[i] += i;
}
m_deviceProxy.write_attribute(new DeviceAttribute(attributeName, data,
numberMatrix.getWidth(), numberMatrix.getHeight()));
// attendre la mise � jour du composant
Sleeper.SECONDS.sleep(1);
Assert.assertTrue("Widget doesn't reflect image attribute",
equality(widget.getData(), data));