You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2014/02/24 16:20:01 UTC
svn commit: r1571317 -
/axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java
Author: veithen
Date: Mon Feb 24 15:20:01 2014
New Revision: 1571317
URL: http://svn.apache.org/r1571317
Log:
Added an assertion to avoid NPE if the test fails.
Modified:
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java
Modified: axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java?rev=1571317&r1=1571316&r2=1571317&view=diff
==============================================================================
--- axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java (original)
+++ axis/axis1/java/trunk/integration/src/test/java/test/wsdl/attachments/AttachmentTestCase.java Mon Feb 24 15:20:01 2014
@@ -56,6 +56,7 @@ public class AttachmentTestCase extends
getBinding().getCompanyInfo("IBM", result, docs, logo);
assertEquals(134, (int)(result.value*10));
assertEquals("IBM", docs.value);
+ assertNotNull(logo.value);
assertEquals(24, logo.value.getWidth(null));
assertEquals(24, logo.value.getHeight(null));
}