1 19 20 package org.netbeans.lib.editor.codetemplates.spi; 21 22 import org.netbeans.junit.NbTestCase; 23 import org.netbeans.lib.editor.codetemplates.CTManagerOperationBridge; 24 import org.netbeans.lib.editor.codetemplates.CTProcessor; 25 26 27 32 public class ParameterParsingTest extends NbTestCase { 33 34 public ParameterParsingTest(java.lang.String testName) { 35 super(testName); 36 } 37 38 public void testEmpty() { 39 CTManagerOperationBridge.test("", new CTProcessor() { 40 public void updateDefaultValues() { 41 String insertText = getRequest().getInsertText(); 42 assertEquals(insertText, ""); 43 } 44 }); 45 } 46 47 } 48 | Popular Tags |