Browse Source

Minor modifications to the C# unit test temlate - Using statements are now in alphabetical order and the .Tests string is no longer appended to the unit test class namespace.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Matt Ward 20 years ago
parent
commit
7c91f4078b
  1. 6
      data/templates/file/CSharp/CSharp.UnitTest.xft

6
data/templates/file/CSharp/CSharp.UnitTest.xft

@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<Template author="Mike Krueger" version="1.0"> <Template author="Mike Krueger" version="1.0.1">
<Config <Config
name = "${res:Templates.File.UnitTest.Name}" name = "${res:Templates.File.UnitTest.Name}"
@ -50,10 +50,10 @@
<File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#} <File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#}
<% if (ConditionalClass) { %>#if TEST <% if (ConditionalClass) { %>#if TEST
<% } %> <% } %>
using System;
using NUnit.Framework; using NUnit.Framework;
using System;
namespace ${StandardNamespace}.Tests namespace ${StandardNamespace}
{ {
[TestFixture] [TestFixture]
public class ${ClassName} public class ${ClassName}

Loading…
Cancel
Save