Xml name space should be `http://www.springframework.net/database` in Resharper file template.
26 lines
2.0 KiB
XML
26 lines
2.0 KiB
XML
<TemplatesExport family="File Templates">
|
|
<Template uid="4e56fdf2-4786-4c22-b327-6d6d052b93de" shortcut="" description="NUnitTestClass" text="using NUnit.Framework;

namespace $namespace$
{
 [TestFixture]
 public class $Class$
 {
 [Test]
 public void First_test()
 {
 }
 }
}" reformat="True" shortenQualifiedReferences="True">
|
|
<Context>
|
|
<ProjectLanguageContext language="CSharp" />
|
|
</Context>
|
|
<Categories />
|
|
<Variables>
|
|
<Variable name="namespace" expression="fileDefaultNamespace()" initialRange="0" />
|
|
<Variable name="Class" expression="getFileNameWithoutExtension()" initialRange="0" />
|
|
</Variables>
|
|
<CustomProperties>
|
|
<Property key="FileName" value="File" />
|
|
<Property key="Extension" value="cs" />
|
|
<Property key="ValidateFileName" value="False" />
|
|
</CustomProperties>
|
|
</Template>
|
|
<Template uid="b55397cb-9ad8-4b70-98aa-d5fa5fba17b0" shortcut="" description="Spring Object Definitions" text="<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
 xmlns:v='http://www.springframework.net/validation'
 xmlns:aop="http://www.springframework.net/aop"
 xmlns:db="http://www.springframework.net/database"
 xmlns:r="http://www.springframework.net/remoting">

 <!-- add object definitions here -->
 $END$
 
</objects>" reformat="True" shortenQualifiedReferences="True">
|
|
<Categories />
|
|
<Variables />
|
|
<CustomProperties>
|
|
<Property key="FileName" value="objects-config" />
|
|
<Property key="Extension" value="xml" />
|
|
<Property key="ValidateFileName" value="False" />
|
|
</CustomProperties>
|
|
</Template>
|
|
</TemplatesExport> |