/** * Run the boolean hasErrorMessage(IStatus) method test. * * @throws Exception * @generatedBy CodePro at 4/8/14 10:51 AM */ @Test public void testHasErrorMessage_2() throws Exception { IStatus status = new JavaModelStatus(); boolean result = StatusUtil.hasErrorMessage(status); // add additional test code here assertTrue(result); }
/** * Returns the local user status drawable. * * @return the local user status drawable */ public synchronized Drawable getLocalStatusDrawable() { byte[] statusImage = StatusUtil.getContactStatusIcon(getGlobalStatus()); if (statusImage != localStatusRaw) { localStatusRaw = statusImage; localStatusDrawable = localStatusRaw != null ? AndroidImageUtil.drawableFromBytes(statusImage) : null; } return localStatusDrawable; }
/** * Run the IStatus merge(IStatus,IStatus) method test. * * @throws Exception * @generatedBy CodePro at 4/8/14 10:51 AM */ @Test public void testMerge_4() throws Exception { IStatus status = new JavaModelStatus(); IStatus newStatus = new JavaModelStatus(); IStatus result = StatusUtil.merge(status, newStatus); // add additional test code here assertNotNull(result); }