Skip to content

Commit a08d063

Browse files
authored
Add LinqIntegrationTest file template (#1608)
1 parent 5c08e94 commit a08d063

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

Diff for: CSharpDriver.sln.DotSettings

+80
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=AWS/@EntryIndexedValue">AWS</s:String>
3+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=2CBD6971A7955044AD2624B84FB49E38/Position/@EntryValue">9</s:Int64>
4+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=567DCF4B487C244A9F6BB46E4E9F3B84/Position/@EntryValue">6</s:Int64>
5+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=58D5EB70DF984241A0863E67D7E33F3D/@KeyIndexDefined">True</s:Boolean>
6+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=58D5EB70DF984241A0863E67D7E33F3D/EntryName/@EntryValue">Class</s:String>
7+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=58D5EB70DF984241A0863E67D7E33F3D/Position/@EntryValue">10</s:Int64>
8+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=7F2A1BE8D0078241A9AE7802038BAD3C/Position/@EntryValue">7</s:Int64>
9+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/QuickList/=F0CA621CDF5AB24282D8CDC11C520997/Entry/=C4795E57DDEC1C4F97BBC8C7173EBBCA/Position/@EntryValue">8</s:Int64>
310

411

512
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/@KeyIndexDefined">True</s:Boolean>
@@ -73,6 +80,79 @@ namespace $NAMESPACE$
7380
{
7481
public record $RECORD$($END$);
7582
}</s:String>
83+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/@KeyIndexDefined">True</s:Boolean>
84+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Applicability/=File/@EntryIndexedValue">True</s:Boolean>
85+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/CustomProperties/=Category/@EntryIndexedValue">Primary</s:String>
86+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/CustomProperties/=Extension/@EntryIndexedValue">cs</s:String>
87+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/CustomProperties/=FileName/@EntryIndexedValue">LinqIntegrationTest</s:String>
88+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/CustomProperties/=ValidateFileName/@EntryIndexedValue">True</s:String>
89+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Description/@EntryValue">&amp;Linq Integration Test</s:String>
90+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=CLASS/@KeyIndexDefined">True</s:Boolean>
91+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=CLASS/Expression/@EntryValue">getAlphaNumericFileNameWithoutExtension()</s:String>
92+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=CLASS/InitialRange/@EntryValue">-1</s:Int64>
93+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=CLASS/Order/@EntryValue">0</s:Int64>
94+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=NAMESPACE/@KeyIndexDefined">True</s:Boolean>
95+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=NAMESPACE/Expression/@EntryValue">fileDefaultNamespace()</s:String>
96+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=NAMESPACE/InitialRange/@EntryValue">-1</s:Int64>
97+
<s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64>
98+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Image/@EntryValue">CSharp</s:String>
99+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Reformat/@EntryValue">True</s:Boolean>
100+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Scope/=E8F0594528C33E45BBFEC6CFE851095D/@KeyIndexDefined">True</s:Boolean>
101+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Scope/=E8F0594528C33E45BBFEC6CFE851095D/Type/@EntryValue">InCSharpProjectFile</s:String>
102+
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/ShortenQualifiedReferences/@EntryValue">True</s:Boolean>
103+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc.
104+
*
105+
* Licensed under the Apache License, Version 2.0 (the "License");
106+
* you may not use this file except in compliance with the License.
107+
* You may obtain a copy of the License at
108+
*
109+
* http://www.apache.org/licenses/LICENSE-2.0
110+
*
111+
* Unless required by applicable law or agreed to in writing, software
112+
* distributed under the License is distributed on an "AS IS" BASIS,
113+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114+
* See the License for the specific language governing permissions and
115+
* limitations under the License.
116+
*/
117+
118+
using System.Collections.Generic;
119+
using MongoDB.Driver.TestHelpers;
120+
using Xunit;
121+
122+
namespace $NAMESPACE$
123+
{
124+
public class $CLASS$ : LinqIntegrationTest&lt;$CLASS$.ClassFixture&gt;
125+
{
126+
public $CLASS$(ClassFixture fixture)
127+
: base(fixture)
128+
{
129+
}
130+
131+
[Fact]
132+
public void Test1()
133+
{
134+
var collection = Fixture.Collection;
135+
136+
}
137+
138+
public class C
139+
{
140+
$END$
141+
}
142+
143+
public sealed class ClassFixture : MongoCollectionFixture&lt;C&gt;
144+
{
145+
protected override IEnumerable&lt;C&gt; InitialData =&gt;
146+
[
147+
new C
148+
{
149+
150+
}
151+
];
152+
}
153+
}
154+
}</s:String>
155+
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=58D5EB70DF984241A0863E67D7E33F3D/UITag/@EntryValue">Class/Interface</s:String>
76156
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/@KeyIndexDefined">True</s:Boolean>
77157
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Applicability/=Live/@EntryIndexedValue">True</s:Boolean>
78158
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Description/@EntryValue">Equals for derived class</s:String>

0 commit comments

Comments
 (0)