Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 251158
Collapse All | Expand All

(-)java.editor/src/org/netbeans/modules/java/editor/resources/DefaultAbbrevs.xml (-1 / +13 lines)
 Lines 538-542    Link Here 
538
        </code>
538
        </code>
539
    </codetemplate>
539
    </codetemplate>
540
    
540
    
541
541
    <!-- https://netbeans.org/bugzilla/show_bug.cgi?id=251158 -->
542
    <codetemplate abbreviation="junit" contexts="CLASS">
543
        <code><![CDATA[@${baseType type="org.junit.Test" default="Test" editable="false"}
544
public void test${Method}() {
545
    ${cursor}
546
}]]></code>
547
    </codetemplate>
548
    <codetemplate abbreviation="testng" contexts="CLASS">
549
        <code><![CDATA[@${baseType type="org.testng.annotations.Test" default="Test" editable="false"}
550
public void test${Method}() {
551
    ${cursor}
552
}]]></code>
553
    </codetemplate>    
542
</codetemplates>
554
</codetemplates>

Return to bug 251158
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo