forked from MattHoneycutt/SpecsFor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecsFor.6.0.ReSharper
133 lines (133 loc) · 6.71 KB
/
SpecsFor.6.0.ReSharper
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<Configuration>
<CodeStyleSettings>
<ExternalPath IsNull="False">
</ExternalPath>
<Sharing>SOLUTION</Sharing>
<CSS>
<FormatSettings />
<Naming2 />
</CSS>
<CSharp>
<FormatSettings>
<MODIFIERS_ORDER IsNull="False">
<Item>public</Item>
<Item>protected</Item>
<Item>internal</Item>
<Item>private</Item>
<Item>new</Item>
<Item>abstract</Item>
<Item>virtual</Item>
<Item>override</Item>
<Item>sealed</Item>
<Item>static</Item>
<Item>readonly</Item>
<Item>extern</Item>
<Item>unsafe</Item>
<Item>volatile</Item>
</MODIFIERS_ORDER>
</FormatSettings>
<UsingsSettings />
<Naming2>
<EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
<EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
</Naming2>
</CSharp>
<HTML>
<FormatSettings />
</HTML>
<JavaScript>
<FormatSettings />
<Naming2 />
</JavaScript>
<VB>
<FormatSettings />
<ImportsSettings />
<Naming2>
<EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
<EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
</Naming2>
</VB>
<Web>
<Naming2>
<UserRule Name="ASP_TAG_NAME" Inspect="True" Prefix="" Suffix="" Style="AaBb" />
<UserRule Name="ASP_TAG_PREFIX" Inspect="True" Prefix="" Suffix="" Style="AaBb" />
<UserRule Name="ASP_FIELD" Inspect="True" Prefix="" Suffix="" Style="AaBb" />
<UserRule Name="ASP_HTML_CONTROL" Inspect="True" Prefix="" Suffix="" Style="AaBb" />
</Naming2>
</Web>
<XML>
<FormatSettings />
</XML>
<Xaml>
<Naming2 />
</Xaml>
<GenerateMemberBody>
<MethodImplementationKind>ReturnDefaultValue</MethodImplementationKind>
</GenerateMemberBody>
<Naming2>
<EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
<EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="MethodPropertyEvent" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="TypesAndNamespaces" />
<PredefinedRule Inspect="True" Prefix="I" Suffix="" Style="AaBb" ElementKind="Interfaces" />
<PredefinedRule Inspect="True" Prefix="T" Suffix="" Style="AaBb" ElementKind="TypeParameters" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Locals" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="LocalConstants" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Parameters" />
<PredefinedRule Inspect="True" Prefix="m" Suffix="" Style="AaBb" ElementKind="PublicFields" />
<PredefinedRule Inspect="True" Prefix="_" Suffix="" Style="aaBb" ElementKind="PrivateInstanceFields" />
<PredefinedRule Inspect="True" Prefix="_" Suffix="" Style="aaBb" ElementKind="PrivateStaticFields" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Constants" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AA_BB" ElementKind="PrivateConstants" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="StaticReadonly" />
<PredefinedRule Inspect="True" Prefix="m" Suffix="" Style="AaBb" ElementKind="PrivateStaticReadonly" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="EnumMember" />
<PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Other" />
<Abbreviation Text="ID" />
</Naming2>
</CodeStyleSettings>
<SharedSolutionTemplateManager>
<LiveTemplates>
<Template uid="c5a9be1b-a5f1-4b8c-8b9b-5b52040de7ce" shortcut="then" description="Creates a spec within a spec fixture. " text="[NUnit.Framework.Test]
public void then_$it_should$()
{
 $END$
}" reformat="True" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="it_should" expression="" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
<Template uid="0c5a2e8f-a73a-4d95-bdcc-3fd55073204a" shortcut="when" description="Creates a spec class (test fixture) within a spec file. " text="public class when_$SPEC$ : given.$the_default_state$
{
 protected override void When()
 {
 $END$
 }
}" reformat="False" shortenQualifiedReferences="True">
<Context>
<CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
</Context>
<Categories />
<Variables>
<Variable name="SPEC" expression="" initialRange="0" />
<Variable name="the_default_state" expression="" initialRange="0" />
</Variables>
<CustomProperties />
</Template>
</LiveTemplates>
<FileTemplates>
<Template uid="b59a8a5c-ce26-4c07-a139-f87f3c53065c" shortcut="" description="Specs" text="namespace $NAMESPACE$
{
 public class $CLASS$
 {
 public class when_$SPEC$ : given.the_default_state
 {
 protected override void When()
 {
 $END$
 }
 }

 public static class given
 {
 public abstract class the_default_state : SpecsFor.SpecsFor<$SUT$>
 {
 protected override void Given()
 { 
 }
 }
 }
 } 
}" reformat="True" shortenQualifiedReferences="True">
<Context>
<ProjectLanguageContext language="CSharp" />
</Context>
<Categories />
<Variables>
<Variable name="NAMESPACE" expression="fileDefaultNamespace()" initialRange="-1" />
<Variable name="CLASS" expression="getFileNameWithoutExtension()" initialRange="-1" />
<Variable name="SPEC" expression="" initialRange="0" />
<Variable name="SUT" expression="" initialRange="0" />
</Variables>
<CustomProperties>
<Property key="FileName" value="Class" />
<Property key="Extension" value="cs" />
<Property key="ValidateFileName" value="True" />
</CustomProperties>
</Template>
</FileTemplates>
</SharedSolutionTemplateManager>
</Configuration>