This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting 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