git clone of logicmail with some fixes/features added
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

git-svn-id: https://logicmail.svn.sourceforge.net/svnroot/logicmail/trunk@543 5c734088-3d25-0410-9155-b3c3832efda5

octorian 9806152f 0015e2e3

+29 -15
+22 -13
J2MEUnit/src/j2meunit/rimui/TestConsoleScreen.java
··· 22 22 import net.rim.device.api.system.Characters; 23 23 import net.rim.device.api.ui.Field; 24 24 import net.rim.device.api.ui.Font; 25 - import net.rim.device.api.ui.FontFamily; 26 25 import net.rim.device.api.ui.Graphics; 27 26 import net.rim.device.api.ui.MenuItem; 28 27 import net.rim.device.api.ui.UiApplication; ··· 39 38 * @author Derek Konigsberg 40 39 */ 41 40 public class TestConsoleScreen extends MainScreen implements TreeFieldCallback, TestListener { 41 + private LabelField titleLabel; 42 42 private LabelField statusLabel; 43 43 private LabelField failureLabel; 44 44 private LabelField errorLabel; ··· 84 84 } 85 85 86 86 private void initializeFields() { 87 - try { 88 - FontFamily theFam = FontFamily.forName("SYSTEM"); 89 - Font theFont = theFam.getFont(Font.PLAIN, 12); 90 - Font.setDefaultFont(theFont); 91 - } catch(Exception e) { } 92 - add(new LabelField("J2MEUnit " + j2meunit.util.Version.id())); 87 + Font labelFont = Font.getDefault().derive(Font.PLAIN, 12); 88 + Font treeFont = Font.getDefault().derive(Font.PLAIN, 14); 89 + 90 + titleLabel = new LabelField("J2MEUnit " + j2meunit.util.Version.id()); 91 + titleLabel.setFont(labelFont); 93 92 statusLabel = new LabelField("Status: Idle"); 94 - add(statusLabel); 93 + statusLabel.setFont(labelFont); 95 94 failureLabel = new LabelField("Failures: 0"); 96 - add(failureLabel); 95 + failureLabel.setFont(labelFont); 97 96 errorLabel = new LabelField("Errors: 0"); 98 - add(errorLabel); 97 + errorLabel.setFont(labelFont); 99 98 timeLabel = new LabelField("Time: n/a"); 100 - add(timeLabel); 99 + timeLabel.setFont(labelFont); 101 100 progressGauge = new GaugeField(null, 0, 100, 0, GaugeField.NO_TEXT); 102 - add(progressGauge); 103 - add(new SeparatorField()); 101 + progressGauge.setFont(labelFont); 104 102 105 103 testTreeField = new TreeField(this, Field.FOCUSABLE); 106 104 testTreeField.setEmptyString("No tests", 0); 107 105 testTreeField.setDefaultExpanded(true); 108 106 testTreeField.setIndentWidth(20); 107 + testTreeField.setFont(treeFont); 108 + testTreeField.setRowHeight(treeFont.getHeight() + 2); 109 + 110 + add(titleLabel); 111 + add(statusLabel); 112 + add(failureLabel); 113 + add(errorLabel); 114 + add(timeLabel); 115 + add(progressGauge); 116 + add(new SeparatorField()); 109 117 add(testTreeField); 110 118 } 111 119 ··· 398 406 progressGauge.reset(null, 0, selectedTest.countTestCases(), 0); 399 407 new Thread() { 400 408 public void run() { 409 + Thread.yield(); 401 410 try { 402 411 doRun(selectedTest); 403 412 updateResults();
+4 -1
LogicMailStartup/BlackBerry_App_Descriptor.xml
··· 2 2 <General Title="LogicMail" Version="1.9.1" Vendor="Derek Konigsberg" Description="LogicMail for BlackBerry"/> 3 3 <Application Type="BlackBerry Application" MainMIDletName="" MainArgs="" HomeScreenPosition="0" StartupTier="7" IsSystemModule="false" IsAutostartup="false"/> 4 4 <Resources hasTitleResource="false" TitleResourceBundleName="" TitleResourceBundleRelativePath="" TitleResourceBundleClassName="" TitleResourceBundleKey="" DescriptionId=""> 5 - <Icons/> 5 + <Icons> 6 + <Icon CanonicalFileName="res/icons/logicmail.png" IsFocus="false"/> 7 + <Icon CanonicalFileName="res/icons/logicmail-rollover.png" IsFocus="true"/> 8 + </Icons> 6 9 </Resources> 7 10 <Compile OutputCompilerMessages="false" ConvertImages="false" CreateWarningForNoExportedRoutine="true" CompressResources="false" AliasList=""> 8 11 <PreprocessorDefines/>
LogicMailStartup/res/icons/logicmail-rollover.png

This is a binary file and will not be displayed.

LogicMailStartup/res/icons/logicmail.png

This is a binary file and will not be displayed.

+3 -1
LogicMailTests/BlackBerry_App_Descriptor.xml
··· 2 2 <General Title="LogicMail Tests" Version="1.9.1" Vendor="Derek Konigsberg" Description="LogicMail Unit Tests"/> 3 3 <Application Type="BlackBerry Application" MainMIDletName="" MainArgs="" HomeScreenPosition="0" StartupTier="7" IsSystemModule="false" IsAutostartup="false"/> 4 4 <Resources hasTitleResource="false" TitleResourceBundleName="" TitleResourceBundleRelativePath="" TitleResourceBundleClassName="" TitleResourceBundleKey="" DescriptionId=""> 5 - <Icons/> 5 + <Icons> 6 + <Icon CanonicalFileName="res/icons/logicmail-tests.png" IsFocus="false"/> 7 + </Icons> 6 8 </Resources> 7 9 <Compile OutputCompilerMessages="false" ConvertImages="false" CreateWarningForNoExportedRoutine="true" CompressResources="false" AliasList=""> 8 10 <PreprocessorDefines/>
LogicMailTests/res/icons/logicmail-tests.png

This is a binary file and will not be displayed.