Changeset 784 for trunk/java-utils-test/src/test/java/de/ugoe/cs/util
- Timestamp:
- 09/06/12 13:39:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/defaultcommands/CMDlistCommandsTest.java
r668 r784 1 // Module : $RCSfile: CMDlistCommandsTest.java,v $ 2 // Version : $Revision: 0.0 $ $Author: pharms $ $Date: 28.08.2012 $ 3 // Project : quest-ui-core-test 4 // Creation : 2012 by pharms 5 // Copyright : Patrick Harms, 2012 1 6 2 package de.ugoe.cs.util.console.defaultcommands; 7 3 … … 19 15 import de.ugoe.cs.util.console.listener.IOutputListener; 20 16 21 /**22 * <p>23 * TODO comment24 * </p>25 *26 * @version $Revision: $ $Date: 28.08.2012$27 * @author 2012, last modified by $Author: pharms$28 */29 17 public class CMDlistCommandsTest implements IOutputListener { 30 18 31 /** */32 19 private List<String> commands = new ArrayList<String>(); 33 20 34 /**35 *36 */37 21 @Before 38 22 public void setUp() throws Exception { 39 23 Console.getInstance().registerOutputListener(this); 40 24 } 41 42 /** 43 * <p> 44 * TODO: comment 45 * </p> 46 * 47 */ 25 48 26 @Test 49 27 public void test() { … … 51 29 CMDlistCommands command = new CMDlistCommands(); 52 30 command.run(null); 53 31 54 32 assertTrue(commands.size() > 0); 55 33 56 34 for (String cmd : commands) { 57 35 assertNotNull(cmd); … … 61 39 } 62 40 63 /* (non-Javadoc)64 * @see de.ugoe.cs.util.console.listener.IOutputListener#outputMsg(java.lang.String)65 */66 41 @Override 67 42 public void outputMsg(String newMessage) {
Note: See TracChangeset
for help on using the changeset viewer.