mirror of https://github.com/lidarr/Lidarr
Added live template for test method,
This commit is contained in:
parent
6af98f9e96
commit
173042754d
|
@ -0,0 +1,24 @@
|
|||
<TemplatesExport family="Live Templates">
|
||||
<Template uid="3ec01bf0-ad83-4b4c-a0b2-381f28e3c369" shortcut="Test" description="Test Method" text="[NUnit.Framework.Test]
[NUnit.Framework.Description($TEST_NAME$)]
public void $TEST_METHOD_NAME$() 
{
 //Act

 //Assert


}" reformat="True" shortenQualifiedReferences="True">
|
||||
<Scopes>
|
||||
<Scope type="InCSharpTypeMember" minimumLanguageVersion="2.0" />
|
||||
</Scopes>
|
||||
<Categories />
|
||||
<Variables>
|
||||
<Variable name="TEST_NAME" expression="" initialRange="0" />
|
||||
<Variable name="TEST_METHOD_NAME" expression="spacestounderstrokes(TEST_METHOD_NAME)" initialRange="-1" />
|
||||
</Variables>
|
||||
<CustomProperties />
|
||||
</Template>
|
||||
<Template uid="3ec01bf0-ad83-4b4c-a0b2-381f28e3c369" shortcut="Test" description="Test Method" text="[NUnit.Framework.Test]
[NUnit.Framework.Description("$TEST_NAME$")]
public void $TEST_METHOD_NAME$() 
{
 
 //Act

 //Assert

}" reformat="True" shortenQualifiedReferences="True">
|
||||
<Scopes>
|
||||
<Scope type="InCSharpTypeMember" minimumLanguageVersion="2.0" />
|
||||
</Scopes>
|
||||
<Categories />
|
||||
<Variables>
|
||||
<Variable name="TEST_NAME" expression="" initialRange="0" />
|
||||
<Variable name="TEST_METHOD_NAME" expression="spacestounderstrokes(TEST_NAME)" initialRange="-1" />
|
||||
</Variables>
|
||||
<CustomProperties />
|
||||
</Template>
|
||||
</TemplatesExport>
|
Loading…
Reference in New Issue