PageRenderTime 583ms queryTime 48ms sortTime 11ms getByIdsTime 431ms findMatchingLines 39ms

100+ results results for 'using xunit; repo:ninject' (583 ms)

Not the results you expected?
AuthorizationClientTests.cs https://gitlab.com/Hexexpeck/GitHub-API-.NET | C# | 239 lines
                    
1using System.Threading.Tasks;
                    
2using Xunit;
                    
3
                    
62        [IntegrationTest]
                    
63        public async Task CannotCreatePersonalTokenWhenUsingOauthTokenCredentials()
                    
64        {
                    
                
RavenDB_644.cs https://github.com/jalchr/ravendb.git | C# | 227 lines
                    
5// -----------------------------------------------------------------------
                    
6using Raven.Abstractions.Exceptions;
                    
7
                    
9{
                    
10	using System;
                    
11	using System.ComponentModel.Composition.Hosting;
                    
11	using System.ComponentModel.Composition.Hosting;
                    
12	using System.Linq;
                    
13	using Raven.Abstractions.Indexing;
                    
14	using Raven.Client.Indexes;
                    
15	using Xunit;
                    
16
                    
136				{
                    
137					using (var store = NewDocumentStore())
                    
138					{
                    
                
ProtectedKeywordRecommenderTests.cs https://gitlab.com/sharadag/TestProject2 | C# | 370 lines
                    
2
                    
3using Microsoft.CodeAnalysis;
                    
4using Microsoft.CodeAnalysis.Text;
                    
4using Microsoft.CodeAnalysis.Text;
                    
5using Roslyn.Test.Utilities;
                    
6using Roslyn.Test.Utilities.Parallel;
                    
6using Roslyn.Test.Utilities.Parallel;
                    
7using Xunit;
                    
8
                    
45        [Fact, Trait(Traits.Feature, Traits.Features.KeywordRecommending)]
                    
46        public void NotInUsingAlias()
                    
47        {
                    
48            VerifyAbsence(
                    
49@"using Foo = $$");
                    
50        }
                    
                
WinMdMetadataTests.cs https://gitlab.com/sharadag/Roslyn | C# | 245 lines
                    
5using System.IO;
                    
6using System.Linq;
                    
7using System.Text;
                    
8
                    
9using Microsoft.CodeAnalysis;
                    
10using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
                    
11using Microsoft.CodeAnalysis.CSharp.Symbols;
                    
12using Microsoft.CodeAnalysis.CSharp.Syntax;
                    
13using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
                    
14
                    
15using Microsoft.CodeAnalysis.Test.Utilities;
                    
16using Microsoft.CodeAnalysis.Text;
                    
19
                    
20using Xunit;
                    
21
                    
                
AbstractSuppressionAllCodeTests.cs https://gitlab.com/sharadag/TestProject2 | C# | 162 lines
                    
2
                    
3using System;
                    
4using System.Collections.Generic;
                    
4using System.Collections.Generic;
                    
5using System.Collections.Immutable;
                    
6using System.Linq;
                    
6using System.Linq;
                    
7using System.Threading;
                    
8using Microsoft.CodeAnalysis.CodeActions;
                    
8using Microsoft.CodeAnalysis.CodeActions;
                    
9using Microsoft.CodeAnalysis.CodeFixes.Suppression;
                    
10using Microsoft.CodeAnalysis.Diagnostics;
                    
13using Roslyn.Utilities;
                    
14using Xunit;
                    
15
                    
                
SyntaxComparerTests.cs https://gitlab.com/sharadag/Roslyn | C# | 176 lines
                    
2
                    
3using System;
                    
4using System.Collections.Immutable;
                    
4using System.Collections.Immutable;
                    
5using Microsoft.CodeAnalysis.Differencing;
                    
6using Roslyn.Test.Utilities;
                    
6using Roslyn.Test.Utilities;
                    
7using Xunit;
                    
8
                    
                
ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs https://gitlab.com/0072016/0072016-corefx- | C# | 272 lines
                    
5using System;
                    
6using System.Runtime.InteropServices;
                    
7using System.Threading;
                    
7using System.Threading;
                    
8using Xunit;
                    
9
                    
14    {
                    
15        using(ThreadPoolBoundHandle handle = CreateThreadPoolBoundHandle())
                    
16        {
                    
86    {
                    
87        using(ThreadPoolBoundHandle handle = CreateThreadPoolBoundHandle())
                    
88        {
                    
227    {
                    
228        using(ThreadPoolBoundHandle handle = CreateThreadPoolBoundHandle())
                    
229        {
                    
                
FileSystemWatcher.MoveFile.cs https://gitlab.com/0072016/0072016-corefx- | C# | 238 lines
                    
5using System;
                    
6using System.IO;
                    
7using System.Threading;
                    
7using System.Threading;
                    
8using Xunit;
                    
9
                    
122    {
                    
123        using (var dir = Utility.CreateTestDirectory(Guid.NewGuid().ToString()))
                    
124        using (var watcher = new FileSystemWatcher())
                    
130            // create a file
                    
131            using (var testFile = new TemporaryTestFile(Path.Combine(dir.Path, "file")))
                    
132            {
                    
157    {
                    
158        using (var dir = Utility.CreateTestDirectory(Guid.NewGuid().ToString()))
                    
159        using (var dir_unwatched = new TemporaryTestDirectory(Path.GetRandomFileName()))
                    
                
BinaryExclusiveOrTests.cs https://gitlab.com/0072016/0072016-corefx- | C# | 271 lines
                    
5using System;
                    
6using Xunit;
                    
7
                    
                
RepositoryHooksClientTest.cs https://gitlab.com/Hexexpeck/GitHub-API-.NET | C# | 345 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Threading.Tasks;
                    
4using NSubstitute;
                    
4using NSubstitute;
                    
5using Xunit;
                    
6
                    
                
CustomInteractiveDiagnosticsFixture.cs git://github.com/NancyFx/Nancy.git | C# | 159 lines
                    
2{
                    
3    using System;
                    
4    using System.Collections.Generic;
                    
5    using System.Linq;
                    
6    using Nancy.Bootstrapper;
                    
7    using Nancy.Cookies;
                    
7    using Nancy.Cookies;
                    
8    using Nancy.Cryptography;
                    
9    using Nancy.Culture;
                    
10    using Nancy.Diagnostics;
                    
11    using Nancy.Localization;
                    
12    using Nancy.ModelBinding;
                    
17    using Nancy.Tests; //While this directive is redundant, it's required to build on mono 2.x to allow it to resolve the Should* extension methods
                    
18    using Xunit;
                    
19
                    
                
PShape3D.java https://github.com/ghostandthemachine/android-core-fragmented.git | Java | 1796 lines
                    
40 * (VBO) in GPU memory for very fast access.
                    
41 * OBJ loading implemented using code from Saito's OBJLoader library (http://code.google.com/p/saitoobjloader/)
                    
42 * and OBJReader from Ahmet Kizilay (http://www.openprocessing.org/visuals/?visualID=191). 
                    
78  // Public arrays for setting/getting vertices, colors, normals, and 
                    
79  // texture coordinates when using loadVertices/updateVertices,
                    
80  // loadNormals/updateNormals, etc. This is modeled following the
                    
137  protected int updateElement;
                    
138  protected int updateTexunit;
                    
139  protected int firstUpdateIdx;
                    
                
FileSystemWatcher.Renamed.cs https://gitlab.com/0072016/0072016-corefx- | C# | 219 lines
                    
6using System.Threading;
                    
7using Xunit;
                    
8
                    
13    {
                    
14        using (var dir = Utility.CreateTestDirectory())
                    
15        using (var watcher = new FileSystemWatcher("."))
                    
48            using (var testFile = new TemporaryTestFile(Path.Combine(dir.Path, "file")))
                    
49            using (var testDir = new TemporaryTestDirectory(Path.Combine(dir.Path, "dir")))
                    
50            {
                    
104
                    
105            using (var dir1 = new TemporaryTestDirectory(Path.Combine(dir.Path, "dir1")))
                    
106            {
                    
108
                    
109                using (var dir2 = new TemporaryTestDirectory(Path.Combine(dir1.Path, "dir2")))
                    
110                {
                    
                
Compile.cs https://boilen.svn.codeplex.com/svn | C# | 152 lines
                    
1
                    
2using Boilen.Guards;
                    
3using Microsoft.CSharp;
                    
3using Microsoft.CSharp;
                    
4using System;
                    
5using System.CodeDom.Compiler;
                    
5using System.CodeDom.Compiler;
                    
6using System.Collections.Generic;
                    
7using System.Diagnostics;
                    
7using System.Diagnostics;
                    
8using System.IO;
                    
9using System.Linq;
                    
10using System.Reflection;
                    
11using Xunit;
                    
12
                    
                
WindowHtmlBuilderTests.cs https://TelerikASPNETMVC.svn.codeplex.com/svn | C# | 221 lines
                    
2{
                    
3    using Xunit;
                    
4    
                    
4    
                    
5    using Infrastructure;
                    
6    using Moq;
                    
                
SiteMapHandlerTests.cs https://TelerikASPNETMVC.svn.codeplex.com/svn | C# | 136 lines
                    
2{
                    
3    using System;
                    
4    using System.IO;
                    
4    using System.IO;
                    
5    using System.Web;
                    
6    using System.Web.Routing;
                    
8    using Moq;
                    
9    using Xunit;
                    
10
                    
                
VsUninstallerTest.cs https://bitbucket.org/afrischke/nuget-global-env.git | C# | 145 lines
                    
1using System;
                    
2using System.Runtime.Versioning;
                    
2using System.Runtime.Versioning;
                    
3using Moq;
                    
4using NuGet.Test;
                    
5using NuGet.Test.Mocks;
                    
6using Xunit;
                    
7
                    
9{
                    
10    using PackageUtility = NuGet.Test.PackageUtility;
                    
11    
                    
                
OpenGlHelper.java https://gitlab.com/Hexeption/Thx | Java | 1033 lines
                    
63     */
                    
64    public static int defaultTexUnit;
                    
65
                    
69     */
                    
70    public static int lightmapTexUnit;
                    
71    public static int GL_TEXTURE2;
                    
117        {
                    
118            logText = logText + "Using ARB_multitexture.\n";
                    
119            defaultTexUnit = 33984;
                    
124        {
                    
125            logText = logText + "Using GL 1.3 multitexturing.\n";
                    
126            defaultTexUnit = 33984;
                    
132        {
                    
133            logText = logText + "Using ARB_texture_env_combine.\n";
                    
134            GL_COMBINE = 34160;
                    
                
MergeRequestRepositoryTests.cs https://gitlab.com/jmiguelcouto/GitLab.NET | C# | 658 lines
                    
1using NSubstitute;
                    
2using System;
                    
2using System;
                    
3using System.Threading.Tasks;
                    
4using GitLab.NET.Abstractions;
                    
5using GitLab.NET.Repositories;
                    
6using Xunit;
                    
7
                    
                
CommitRepositoryTests.cs https://gitlab.com/jmiguelcouto/GitLab.NET | C# | 657 lines
                    
1using System;
                    
2using System.Threading.Tasks;
                    
2using System.Threading.Tasks;
                    
3using GitLab.NET.Abstractions;
                    
4using GitLab.NET.Repositories;
                    
5using NSubstitute;
                    
6using Xunit;
                    
7
                    
                
DataSegmentTest.cs https://hg01.codeplex.com/edinet | C# | 213 lines
                    
1using EdiNet;
                    
2using Xunit;
                    
3using System;
                    
                
ReactiveCommandTest.cs https://github.com/theperm/ReactiveUI.git | C# | 460 lines
                    
1using System.Reactive;
                    
2using System.Reactive.Concurrency;
                    
3using System.Reactive.Linq;
                    
4using System.Reactive.Subjects;
                    
5using Microsoft.Reactive.Testing;
                    
6using ReactiveUI;
                    
7using Xunit;
                    
8using System;
                    
8using System;
                    
9using System.Linq;
                    
10using System.Collections.Generic;
                    
10using System.Collections.Generic;
                    
11using System.Threading;
                    
12using Microsoft.Reactive.Testing;
                    
12using Microsoft.Reactive.Testing;
                    
13using ReactiveUI.Xaml;
                    
14using ReactiveUI.Testing;
                    
                
UriExtensionsTests.cs git://pkgs.fedoraproject.org/wine-mono | C# | 176 lines
                    
2
                    
3using System.Collections.Specialized;
                    
4using System.Net.Http.Formatting.DataSets;
                    
4using System.Net.Http.Formatting.DataSets;
                    
5using Microsoft.TestCommon;
                    
6using Newtonsoft.Json.Linq;
                    
6using Newtonsoft.Json.Linq;
                    
7using Xunit;
                    
8using Xunit.Extensions;
                    
8using Xunit.Extensions;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
10
                    
                
RazorCodeGeneratorTest.cs git://pkgs.fedoraproject.org/wine-mono | C# | 149 lines
                    
4
                    
5using System.CodeDom;
                    
6using System.CodeDom.Compiler;
                    
6using System.CodeDom.Compiler;
                    
7using System.Collections.Generic;
                    
8using System.Diagnostics;
                    
8using System.Diagnostics;
                    
9using System.IO;
                    
10using System.Linq;
                    
10using System.Linq;
                    
11using System.Text;
                    
12using System.Web.Razor.Generator;
                    
14using System.Web.WebPages.TestUtils;
                    
15using Xunit;
                    
16
                    
                
NameValueCollectionValueProviderTest.cs git://pkgs.fedoraproject.org/wine-mono | C# | 211 lines
                    
2
                    
3using System.Collections.Generic;
                    
4using System.Collections.Specialized;
                    
5using System.Globalization;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
OpenGlHelper.java https://gitlab.com/finesse/era-minecraft | Java | 702 lines
                    
35     */
                    
36    public static int defaultTexUnit;
                    
37
                    
41     */
                    
42    public static int lightmapTexUnit;
                    
43    public static int GL_TEXTURE2;
                    
85        if (arbMultitexture) {
                    
86            logText = logText + "Using ARB_multitexture.\n";
                    
87            defaultTexUnit = 33984;
                    
90        } else {
                    
91            logText = logText + "Using GL 1.3 multitexturing.\n";
                    
92            defaultTexUnit = 33984;
                    
97        if (arbTextureEnvCombine) {
                    
98            logText = logText + "Using ARB_texture_env_combine.\n";
                    
99            GL_COMBINE = 34160;
                    
                
ServerTests.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 856 lines
                    
3using System.Net;
                    
4using Newtonsoft.Json;
                    
5using Newtonsoft.Json.Linq;
                    
5using Newtonsoft.Json.Linq;
                    
6using OpenStack.Compute.v2_1.Serialization;
                    
7using OpenStack.Serialization;
                    
9using OpenStack.Testing;
                    
10using Xunit;
                    
11
                    
112        {
                    
113            using (var httpTest = new HttpTest())
                    
114            {
                    
356        {
                    
357            using (var httpTest = new HttpTest())
                    
358            {
                    
                
ServerTests.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 473 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Diagnostics;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Threading.Tasks;
                    
6using Flurl.Http;
                    
6using Flurl.Http;
                    
7using Xunit;
                    
8using Xunit.Abstractions;
                    
8using Xunit.Abstractions;
                    
9using VolumeState = net.openstack.Core.Domain.VolumeState;
                    
10
                    
                
Gfx_OpenGL.cpp https://gitlab.com/dahbearz/Serious-Engine | C++ | 931 lines
                    
70extern BOOL GFX_bTruform;
                    
71extern INDEX GFX_iActiveTexUnit;
                    
72extern FLOAT GFX_fMinDepthRange;
                    
78extern INDEX GFX_iTexModulation[GFX_MAXTEXUNITS];
                    
79extern BOOL  glbUsingVARs = FALSE;   // vertex_array_range
                    
80
                    
219
                    
220	// create context using the default accelerated pixelformat that was passed
                    
221	hglrc = pwglCreateContext(hdc);
                    
                
StartPageTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 568 lines
                    
1using System.Reflection;
                    
2using System.Web.Caching;
                    
2using System.Web.Caching;
                    
3using System.Web.Compilation;
                    
4using System.Web.Hosting;
                    
4using System.Web.Hosting;
                    
5using System.Web.Profile;
                    
6using System.Web.WebPages.TestUtils;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
RenderPageTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 866 lines
                    
1using System.Collections.Generic;
                    
2using System.Globalization;
                    
2using System.Globalization;
                    
3using System.IO;
                    
4using System.Web.WebPages.Resources;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
356        {
                    
357            // Test that using PageData with a missing key returns null
                    
358            //
                    
387        {
                    
388            // Test that using PageData with a missing key returns null
                    
389            //
                    
                
LayoutTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 714 lines
                    
1using System.Globalization;
                    
2using System.Web.WebPages.Resources;
                    
3using Moq;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
280        {
                    
281            // Tests nested layout using the same section names at different levels.
                    
282            //
                    
                
ValidatorTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 882 lines
                    
1using System.Collections.Specialized;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Linq;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ValidationHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 834 lines
                    
1using System.Collections.Specialized;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Linq;
                    
4using System.Web.Mvc;
                    
4using System.Web.Mvc;
                    
5using System.Web.WebPages.Html;
                    
6using System.Web.WebPages.Scope;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
SelectHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 776 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Web.WebPages.Html;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
InputHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 584 lines
                    
1using System.Collections.Generic;
                    
2using System.Data.Linq;
                    
2using System.Data.Linq;
                    
3using System.Web.WebPages.Html;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
PreApplicationStartCodeTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 510 lines
                    
1using System.Collections.Generic;
                    
2using System.Collections.Specialized;
                    
2using System.Collections.Specialized;
                    
3using System.IO;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Reflection;
                    
6using System.Text;
                    
7using System.Web.WebPages.TestUtils;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
VBHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 322 lines
                    
1using System.Web.Razor.Generator;
                    
2using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser;
                    
3using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Resources;
                    
4using System.Web.Razor.Resources;
                    
5using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Text;
                    
6using System.Web.Razor.Text;
                    
7using Xunit;
                    
8
                    
                
VBPartialParsingTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 372 lines
                    
1using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
3using System.Web.Razor.Test.Framework;
                    
4using System.Web.Razor.Text;
                    
5using System.Web.WebPages.TestUtils;
                    
6using Xunit;
                    
7
                    
324        [Fact]
                    
325        public void ImplicitExpressionCorrectlyTriggersReparseIfUsingKeywordTyped()
                    
326        {
                    
326        {
                    
327            RunTypeKeywordTest("using");
                    
328        }
                    
                
CSharpPartialParsingTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 400 lines
                    
1using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
3using System.Web.Razor.Test.Framework;
                    
4using System.Web.Razor.Text;
                    
5using System.Web.WebPages.TestUtils;
                    
6using Xunit;
                    
7
                    
                
HtmlUrlAttributeTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 270 lines
                    
1using System.Web.Razor.Editor;
                    
2using System.Web.Razor.Generator;
                    
2using System.Web.Razor.Generator;
                    
3using System.Web.Razor.Parser;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
5using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Text;
                    
6using System.Web.Razor.Text;
                    
7using Xunit;
                    
8
                    
                
HtmlBlockTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 403 lines
                    
1using System.Web.Razor.Editor;
                    
2using System.Web.Razor.Generator;
                    
2using System.Web.Razor.Generator;
                    
3using System.Web.Razor.Parser;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
5using System.Web.Razor.Resources;
                    
6using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Test.Framework;
                    
7using System.Web.Razor.Text;
                    
8using System.Web.Razor.Tokenizer.Symbols;
                    
8using System.Web.Razor.Tokenizer.Symbols;
                    
9using Xunit;
                    
10using Assert = Microsoft.TestCommon.AssertEx;
                    
                
HtmlAttributeTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 302 lines
                    
1using System.Web.Razor.Editor;
                    
2using System.Web.Razor.Generator;
                    
2using System.Web.Razor.Generator;
                    
3using System.Web.Razor.Parser;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Parser.SyntaxTree;
                    
5using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Text;
                    
6using System.Web.Razor.Text;
                    
7using Xunit;
                    
8
                    
                
CsHtmlDocumentTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 286 lines
                    
1using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
3using System.Web.Razor.Resources;
                    
4using System.Web.Razor.Test.Framework;
                    
4using System.Web.Razor.Test.Framework;
                    
5using System.Web.Razor.Text;
                    
6using System.Web.Razor.Tokenizer.Symbols;
                    
6using System.Web.Razor.Tokenizer.Symbols;
                    
7using Xunit;
                    
8
                    
                
CSharpToMarkupSwitchTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 491 lines
                    
1using System.Web.Razor.Editor;
                    
2using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser;
                    
3using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Resources;
                    
4using System.Web.Razor.Resources;
                    
5using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Tokenizer.Symbols;
                    
6using System.Web.Razor.Tokenizer.Symbols;
                    
7using Xunit;
                    
8
                    
                
CSharpErrorTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 604 lines
                    
1using System.Web.Razor.Parser;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
2using System.Web.Razor.Parser.SyntaxTree;
                    
3using System.Web.Razor.Resources;
                    
4using System.Web.Razor.Test.Framework;
                    
5using System.Web.Razor.Text;
                    
6using Xunit;
                    
7
                    
27        [Fact]
                    
28        public void ParseBlockCapturesWhitespaceToEndOfLineInInvalidUsingStatementAndTreatsAsFileCode()
                    
29        {
                    
29        {
                    
30            ParseBlockTest(@"using          
                    
31
                    
33                           new StatementBlock(
                    
34                               Factory.Code("using          \r\n").AsStatement()
                    
35                               ));
                    
                
CSharpBlockTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 731 lines
                    
1using System.Web.Razor.Generator;
                    
2using System.Web.Razor.Parser;
                    
3using System.Web.Razor.Parser.SyntaxTree;
                    
4using System.Web.Razor.Resources;
                    
5using System.Web.Razor.Test.Framework;
                    
5using System.Web.Razor.Test.Framework;
                    
6using System.Web.Razor.Text;
                    
7using System.Web.Razor.Tokenizer.Symbols;
                    
7using System.Web.Razor.Tokenizer.Symbols;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
79        [Fact]
                    
80        public void ParseBlockSkipsParenthesisedExpressionAndThenBalancesBracesIfFirstIdentifierIsUsingKeywordFollowedByParen()
                    
81        {
                    
81        {
                    
82            SingleSpanBlockTest("using(int i = 0; i < 10; new Foo { Bar = \"baz\" }) { Debug.WriteLine(@\"foo } bar\"); }", BlockType.Statement, SpanKind.Code, acceptedCharacters: AcceptedCharacters.None);
                    
83        }
                    
                
ParserTestBase.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 381 lines
                    
2
                    
3using System.Collections.Generic;
                    
4using System.Diagnostics;
                    
4using System.Diagnostics;
                    
5using System.Linq;
                    
6using System.Text;
                    
6using System.Text;
                    
7using System.Web.Razor.Generator;
                    
8using System.Web.Razor.Parser;
                    
8using System.Web.Razor.Parser;
                    
9using System.Web.Razor.Parser.SyntaxTree;
                    
10using System.Web.Razor.Text;
                    
10using System.Web.Razor.Text;
                    
11using Xunit;
                    
12
                    
                
VirtualPathProviderViewEngineTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1115 lines
                    
1using System.Collections;
                    
2using System.IO;
                    
2using System.IO;
                    
3using System.Linq;
                    
4using System.Web.Hosting;
                    
4using System.Web.Hosting;
                    
5using System.Web.Routing;
                    
6using System.Web.WebPages;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ViewUserControlTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 538 lines
                    
1using System.IO;
                    
2using System.Web.Routing;
                    
2using System.Web.Routing;
                    
3using System.Web.TestUtil;
                    
4using System.Web.UI;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ViewEngineCollectionTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 631 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
3using Moq;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ViewDataDictionaryTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 536 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.ComponentModel;
                    
4using System.Web.TestUtil;
                    
4using System.Web.TestUtil;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
UrlHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 694 lines
                    
1using System.Web.Routing;
                    
2using Microsoft.Web.UnitTestUtil;
                    
3using Moq;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ReflectedActionDescriptorTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 491 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Reflection;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ModelMetadataTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 892 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Linq;
                    
4using System.Linq.Expressions;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
HtmlHelperTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1172 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Globalization;
                    
4using System.IO;
                    
4using System.IO;
                    
5using System.Linq;
                    
6using System.Threading;
                    
6using System.Threading;
                    
7using System.Web.Routing;
                    
8using Microsoft.Web.UnitTestUtil;
                    
9using Moq;
                    
10using Xunit;
                    
11using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DefaultModelBinderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1202 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel;
                    
2using System.ComponentModel;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Globalization;
                    
4using System.Globalization;
                    
5using System.IO;
                    
6using System.Linq;
                    
6using System.Linq;
                    
7using Microsoft.Web.UnitTestUtil;
                    
8using Moq;
                    
9using Moq.Protected;
                    
10using Xunit;
                    
11using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DefaultControllerFactoryTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 766 lines
                    
1using System.Reflection;
                    
2using System.Web.Routing;
                    
2using System.Web.Routing;
                    
3using System.Web.SessionState;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Xunit.Extensions;
                    
6using Xunit.Extensions;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
8
                    
                
DataAnnotationsModelValidatorProviderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 725 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Linq;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DataAnnotationsModelMetadataProviderTestBase.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 614 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel;
                    
2using System.ComponentModel;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ControllerTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1368 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
3using System.ComponentModel;
                    
4using System.ComponentModel.DataAnnotations;
                    
5using System.IO;
                    
6using System.Reflection;
                    
7using System.Security.Principal;
                    
8using System.Text;
                    
8using System.Text;
                    
9using System.Web.Mvc.Async;
                    
10using System.Web.Profile;
                    
10using System.Web.Profile;
                    
11using System.Web.Routing;
                    
12using System.Web.TestUtil;
                    
15using Moq.Protected;
                    
16using Xunit;
                    
17using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ControllerActionInvokerTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1084 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel;
                    
2using System.ComponentModel;
                    
3using System.Globalization;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Reflection;
                    
6using System.Threading;
                    
6using System.Threading;
                    
7using Microsoft.Web.UnitTestUtil;
                    
8using Moq;
                    
8using Moq;
                    
9using Xunit;
                    
10using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ValidationExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1086 lines
                    
1using System.ComponentModel.DataAnnotations;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Web.Routing;
                    
4using Microsoft.Web.UnitTestUtil;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TextAreaExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 629 lines
                    
1using System.Web.Mvc.Test;
                    
2using System.Web.Routing;
                    
3using Microsoft.Web.UnitTestUtil;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TemplateHelpersTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1035 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
5using System.Linq;
                    
6using System.Net;
                    
7using System.Threading;
                    
7using System.Threading;
                    
8using System.Web.Routing;
                    
9using System.Web.UI.WebControls;
                    
11using Moq;
                    
12using Xunit;
                    
13using Assert = Microsoft.TestCommon.AssertEx;
                    
29        {
                    
30            using (new MockViewEngine())
                    
31            {
                    
                
SelectExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1300 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Globalization;
                    
4using System.Globalization;
                    
5using System.Linq;
                    
6using System.Web.Mvc.Test;
                    
7using Microsoft.Web.UnitTestUtil;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
LinkExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 562 lines
                    
1using System.Web.Routing;
                    
2using Microsoft.Web.UnitTestUtil;
                    
2using Microsoft.Web.UnitTestUtil;
                    
3using Xunit;
                    
4using Assert = Microsoft.TestCommon.AssertEx;
                    
                
LabelExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 516 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq.Expressions;
                    
3using Moq;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
InputExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1303 lines
                    
1using System.ComponentModel.DataAnnotations;
                    
2using System.Data.Linq;
                    
2using System.Data.Linq;
                    
3using System.Web.Mvc.Test;
                    
4using System.Web.Routing;
                    
5using Microsoft.Web.UnitTestUtil;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
FormExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 423 lines
                    
1using System.Collections;
                    
2using System.Collections.Specialized;
                    
2using System.Collections.Specialized;
                    
3using System.IO;
                    
4using System.Web.Routing;
                    
4using System.Web.Routing;
                    
5using Microsoft.Web.UnitTestUtil;
                    
6using Moq;
                    
6using Moq;
                    
7using Xunit;
                    
8
                    
                
DefaultEditorTemplatesTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 693 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Data.Linq;
                    
4using System.Data.Objects.DataClasses;
                    
4using System.Data.Objects.DataClasses;
                    
5using System.IO;
                    
6using System.Web.UI.WebControls;
                    
6using System.Web.UI.WebControls;
                    
7using Microsoft.Web.UnitTestUtil;
                    
8using Moq;
                    
8using Moq;
                    
9using Xunit;
                    
10using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DefaultDisplayTemplatesTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 560 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Data.Objects.DataClasses;
                    
4using System.IO;
                    
4using System.IO;
                    
5using System.Web.UI.WebControls;
                    
6using Microsoft.Web.UnitTestUtil;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TaskAsyncActionDescriptorTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 557 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Reflection;
                    
4using System.Threading;
                    
4using System.Threading;
                    
5using System.Threading.Tasks;
                    
6using Moq;
                    
6using Moq;
                    
7using Xunit;
                    
8using Assert = Microsoft.TestCommon.AssertEx;
                    
                
AsyncControllerActionInvokerTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 916 lines
                    
1using System.Collections.Generic;
                    
2using System.Threading;
                    
3using Moq;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
AjaxExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1122 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
4using System.IO;
                    
4using System.IO;
                    
5using System.Threading;
                    
6using System.Web.Mvc.Html;
                    
6using System.Web.Mvc.Html;
                    
7using System.Web.Routing;
                    
8using Microsoft.Web.UnitTestUtil;
                    
9using Moq;
                    
10using Xunit;
                    
11using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DataAnnotationsModelValidatorProviderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 517 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel.DataAnnotations;
                    
2using System.ComponentModel.DataAnnotations;
                    
3using System.Linq;
                    
4using System.Web.Http.Metadata;
                    
4using System.Web.Http.Metadata;
                    
5using System.Web.Http.Metadata.Providers;
                    
6using System.Web.Http.Validation.Validators;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ITraceWriterExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1003 lines
                    
1using System.Net.Http;
                    
2using System.Threading.Tasks;
                    
2using System.Threading.Tasks;
                    
3using Xunit;
                    
4using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ODataQueryDeserializerTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 743 lines
                    
1using System.Linq;
                    
2using System.Linq.Expressions;
                    
3using Microsoft.TestCommon;
                    
4using Xunit;
                    
5using Xunit.Extensions;
                    
5using Xunit.Extensions;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
7
                    
                
MutableObjectModelBinderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 748 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel;
                    
2using System.ComponentModel;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Web.Http.Controllers;
                    
6using System.Web.Http.Metadata;
                    
6using System.Web.Http.Metadata;
                    
7using System.Web.Http.Metadata.Providers;
                    
8using System.Web.Http.Validation;
                    
9using Moq;
                    
10using Xunit;
                    
11using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DefaultActionValueBinderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 490 lines
                    
1using System.ComponentModel;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Net.Http;
                    
4using System.Reflection;
                    
4using System.Reflection;
                    
5using System.Threading;
                    
6using System.Web.Http.Controllers;
                    
7using System.Web.Http.ValueProviders;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
CachedDataAnnotationsModelMetadataProviderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 576 lines
                    
1using System.Collections.Generic;
                    
2using System.ComponentModel;
                    
2using System.ComponentModel;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Linq;
                    
5using Microsoft.TestCommon;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ModelMetadataTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 418 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Web.Http.Metadata.Providers;
                    
4using Moq;
                    
4using Moq;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
CollectionModelBinderUtilTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 394 lines
                    
1using System.Collections.Generic;
                    
2using System.Collections.ObjectModel;
                    
2using System.Collections.ObjectModel;
                    
3using System.Linq;
                    
4using System.Web.Http.Metadata;
                    
4using System.Web.Http.Metadata;
                    
5using System.Web.Http.Metadata.Providers;
                    
6using System.Web.Http.ModelBinding;
                    
7using System.Web.Http.ValueProviders;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ReflectedHttpActionDescriptorTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 340 lines
                    
1using System.Collections.Generic;
                    
2using System.Collections.ObjectModel;
                    
2using System.Collections.ObjectModel;
                    
3using System.Linq;
                    
4using System.Net;
                    
4using System.Net;
                    
5using System.Net.Http;
                    
6using System.Reflection;
                    
6using System.Reflection;
                    
7using System.Threading.Tasks;
                    
8using System.Web.Http.Controllers;
                    
8using System.Web.Http.Controllers;
                    
9using System.Web.Http.Filters;
                    
10using Moq;
                    
10using Moq;
                    
11using Xunit;
                    
12using Xunit.Extensions;
                    
                
ApiControllerTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 730 lines
                    
1using System.Collections.Generic;
                    
2using System.Collections.ObjectModel;
                    
3using System.Globalization;
                    
3using System.Globalization;
                    
4using System.Linq;
                    
5using System.Net;
                    
5using System.Net;
                    
6using System.Net.Http;
                    
7using System.Net.Http.Formatting;
                    
10using System.Threading;
                    
11using System.Threading.Tasks;
                    
12using System.Web.Http.Controllers;
                    
18using Moq;
                    
19using Xunit;
                    
20using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TaskHelpersTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 574 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
3using Microsoft.TestCommon;
                    
4using Xunit;
                    
5using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TaskHelpersExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1247 lines
                    
1using Microsoft.TestCommon;
                    
2using Moq;
                    
2using Moq;
                    
3using Xunit;
                    
4using Assert = Microsoft.TestCommon.AssertEx;
                    
                
DefaultActionValueBinderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1049 lines
                    
4using System.Linq;
                    
5using System.Net.Http;
                    
6using System.Net.Http.Formatting;
                    
6using System.Net.Http.Formatting;
                    
7using System.Net.Http.Headers;
                    
8using System.Text;
                    
10using System.Threading.Tasks;
                    
11using System.Web.Http.Controllers;
                    
12using System.Web.Http.Routing;
                    
16using Newtonsoft.Json.Linq;
                    
17using Xunit;
                    
18
                    
307        [Fact]
                    
308        public void BindValuesAsync_Query_String_Values_Using_Custom_ValueProviderAttribute()
                    
309        {
                    
                
WebImageTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1162 lines
                    
1using System.Drawing;
                    
2using System.Drawing.Imaging;
                    
3using System.IO;
                    
3using System.IO;
                    
4using System.Web.WebPages.TestUtils;
                    
5using Moq;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
118            byte[] originalContent = _PngImageBytes;
                    
119            using (MemoryStream stream = new MemoryStream(originalContent))
                    
120            {
                    
165            Assert.False(ReferenceEquals(originalContent, returnedContent), "GetBytes with string format should clone array.");
                    
166            using (MemoryStream stream = new MemoryStream(returnedContent))
                    
167            {
                    
                
WebGridTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1249 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Collections.Specialized;
                    
4using System.Dynamic;
                    
4using System.Dynamic;
                    
5using System.Linq;
                    
6using System.Text;
                    
6using System.Text;
                    
7using System.Web.TestUtil;
                    
8using System.Web.WebPages;
                    
8using System.Web.WebPages;
                    
9using Microsoft.TestCommon;
                    
10using Moq;
                    
10using Moq;
                    
11using Xunit;
                    
12using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ObjectInfoTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 728 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Collections.Specialized;
                    
4using System.Dynamic;
                    
4using System.Dynamic;
                    
5using System.Linq;
                    
6using System.Web.TestUtil;
                    
6using System.Web.TestUtil;
                    
7using Xunit;
                    
8using Assert = Microsoft.TestCommon.AssertEx;
                    
159        {
                    
160            using (new CultureReplacer())
                    
161            {
                    
187
                    
188            using (new CultureReplacer())
                    
189            {
                    
                
ChartTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 653 lines
                    
1using System.Collections;
                    
2using System.Drawing;
                    
2using System.Drawing;
                    
3using System.IO;
                    
4using System.Web.Hosting;
                    
4using System.Web.Hosting;
                    
5using System.Web.UI.DataVisualization.Charting;
                    
6using Moq;
                    
6using Moq;
                    
7using Xunit;
                    
8using Assert = Microsoft.TestCommon.AssertEx;
                    
                
MimeMultipartParserTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 483 lines
                    
1using System.Collections.Generic;
                    
2using System.IO;
                    
2using System.IO;
                    
3using System.Text;
                    
4using Microsoft.TestCommon;
                    
4using Microsoft.TestCommon;
                    
5using Xunit;
                    
6using Xunit.Extensions;
                    
6using Xunit.Extensions;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
8
                    
                
InternetMessageFormatHeaderParserTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 663 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using System.Net.Http.Headers;
                    
4using System.Text;
                    
5using Microsoft.TestCommon;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
MediaTypeFormatterTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 596 lines
                    
1using System.Collections.Generic;
                    
2using System.Collections.ObjectModel;
                    
2using System.Collections.ObjectModel;
                    
3using System.IO;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Net.Http.Formatting.DataSets;
                    
6using System.Net.Http.Formatting.Mocks;
                    
6using System.Net.Http.Formatting.Mocks;
                    
7using System.Net.Http.Headers;
                    
8using System.Text;
                    
8using System.Text;
                    
9using System.Threading.Tasks;
                    
10using Microsoft.TestCommon;
                    
11using Moq;
                    
12using Xunit;
                    
13using Xunit.Extensions;
                    
                
MediaTypeFormatterTestBase.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 379 lines
                    
1using System.Collections.Generic;
                    
2using System.IO;
                    
3using System.Linq;
                    
4using System.Net.Http.Headers;
                    
5using System.Runtime.Serialization;
                    
5using System.Runtime.Serialization;
                    
6using System.Text;
                    
7using System.Threading.Tasks;
                    
7using System.Threading.Tasks;
                    
8using Microsoft.TestCommon;
                    
9using Moq;
                    
9using Moq;
                    
10using Xunit;
                    
11using Xunit.Extensions;
                    
11using Xunit.Extensions;
                    
12using Assert = Microsoft.TestCommon.AssertEx;
                    
13
                    
                
HttpContentMultipartExtensionsTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 511 lines
                    
1using System.Collections.Generic;
                    
2using System.IO;
                    
2using System.IO;
                    
3using System.Linq;
                    
4using System.Net.Http.Formatting.Parsers;
                    
4using System.Net.Http.Formatting.Parsers;
                    
5using System.Net.Http.Headers;
                    
6using System.Text;
                    
6using System.Text;
                    
7using System.Threading.Tasks;
                    
8using Microsoft.TestCommon;
                    
8using Microsoft.TestCommon;
                    
9using Xunit;
                    
10using Xunit.Extensions;
                    
10using Xunit.Extensions;
                    
11using Assert = Microsoft.TestCommon.AssertEx;
                    
12using FactAttribute = Microsoft.TestCommon.DefaultTimeoutFactAttribute;
                    
                
HttpContentMessageExtensionsTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 531 lines
                    
1using System.Collections.Generic;
                    
2using System.IO;
                    
2using System.IO;
                    
3using System.Linq;
                    
4using System.Text;
                    
5using Microsoft.TestCommon;
                    
6using Xunit;
                    
7using Xunit.Extensions;
                    
7using Xunit.Extensions;
                    
8using Assert = Microsoft.TestCommon.AssertEx;
                    
9
                    
                
JsonNetSerializationTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 516 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.IO;
                    
4using System.Runtime.Serialization;
                    
4using System.Runtime.Serialization;
                    
5using System.Text;
                    
6using System.Threading.Tasks;
                    
6using System.Threading.Tasks;
                    
7using Microsoft.TestCommon;
                    
8using Newtonsoft.Json;
                    
9using Newtonsoft.Json.Linq;
                    
10using Xunit;
                    
11using Xunit.Extensions;
                    
                
FormUrlEncodedFromUriQueryTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 503 lines
                    
1using System.Collections.Generic;
                    
2using System.Json;
                    
2using System.Json;
                    
3using System.Net.Http.Internal;
                    
4using System.Text;
                    
5using Newtonsoft.Json.Linq;
                    
6using Xunit;
                    
7using Xunit.Extensions;
                    
174        /// <summary>
                    
175        /// Tests for parsing form-urlencoded data originated from JS arrays, using the jQuery 1.3 format (no []'s).
                    
176        /// </summary>
                    
                
FormUrlEncodedFromContentTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 527 lines
                    
1using System.Collections.Generic;
                    
2using System.Json;
                    
2using System.Json;
                    
3using System.Net.Http.Formatting.Parsers;
                    
4using System.Net.Http.Internal;
                    
4using System.Net.Http.Internal;
                    
5using System.Text;
                    
6using Newtonsoft.Json.Linq;
                    
6using Newtonsoft.Json.Linq;
                    
7using Xunit;
                    
8using Xunit.Extensions;
                    
8using Xunit.Extensions;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
10
                    
178        /// <summary>
                    
179        /// Tests for parsing form-urlencoded data originated from JS arrays, using the jQuery 1.3 format (no []'s).
                    
180        /// </summary>
                    
                
JsonValueExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 476 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
4using System.Runtime.Serialization;
                    
5using System.Runtime.Serialization.Json;
                    
6using Xunit;
                    
7using Xunit.Extensions;
                    
                
JsonValueTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 565 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
4using System.IO;
                    
4using System.IO;
                    
5using System.Runtime.Serialization;
                    
6using System.Runtime.Serialization.Json;
                    
7using System.Text;
                    
8using Xunit;
                    
9
                    
32                {
                    
33                    using (StringReader sr = new StringReader(json))
                    
34                    {
                    
39                {
                    
40                    using (MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(json)))
                    
41                    {
                    
                
JsonValueDynamicTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 468 lines
                    
1using System.Collections.Generic;
                    
2using System.Dynamic;
                    
3using System.Runtime.Serialization.Json;
                    
4using Xunit;
                    
5
                    
                
JsonValueDynamicMetaObjectTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 534 lines
                    
1using System.Collections.Generic;
                    
2using System.Dynamic;
                    
3using System.Linq.Expressions;
                    
4using Xunit;
                    
5
                    
                
JsonPrimitiveTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 410 lines
                    
1using System.Collections.Generic;
                    
2using System.Globalization;
                    
2using System.Globalization;
                    
3using System.IO;
                    
4using System.Runtime.Serialization.Json;
                    
5using System.Text;
                    
6using Xunit;
                    
7
                    
                
JsonObjectTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 787 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
4using System.Runtime.Serialization.Json;
                    
4using System.Runtime.Serialization.Json;
                    
5using Xunit;
                    
6
                    
                
JsonArrayTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 604 lines
                    
1using System.Collections;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Globalization;
                    
4using System.Linq;
                    
5using System.Runtime.Serialization.Json;
                    
6using Xunit;
                    
7
                    
                
JsonValueUsageTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 433 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using Xunit;
                    
4
                    
143        /// <summary>
                    
144        /// Test for consuming <see cref="JsonValue"/> objects in a Linq query using the dynamic notation.
                    
145        /// </summary>
                    
                
JsonValueEventsTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 518 lines
                    
1using System.Collections.Generic;
                    
2using System.Linq;
                    
2using System.Linq;
                    
3using Xunit;
                    
4
                    
129        /// <summary>
                    
130        /// Tests for events for <see cref="JsonValue"/> instances when using the dynamic programming.
                    
131        /// </summary>
                    
                
JsonValueDynamicTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 1098 lines
                    
1using System.Collections.Generic;
                    
2using System.Dynamic;
                    
2using System.Dynamic;
                    
3using System.Globalization;
                    
4using System.Reflection;
                    
5using System.Runtime.Serialization.Json;
                    
6using Xunit;
                    
7
                    
129        /// <summary>
                    
130        /// Tests for using boolean operators in dynamic references to <see cref="JsonValue"/> instances.
                    
131        /// </summary>
                    
205        /// <summary>
                    
206        /// Tests for using relational operators in dynamic references to <see cref="JsonValue"/> instances.
                    
207        /// </summary>
                    
329        /// <summary>
                    
330        /// Tests for using arithmetic operators in dynamic references to <see cref="JsonValue"/> instances.
                    
331        /// </summary>
                    
                
JsonStringRoundTripTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 583 lines
                    
1using System.Collections.Generic;
                    
2using System.Globalization;
                    
3using System.IO;
                    
4using Xunit;
                    
5
                    
                
JsonPrimitiveTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 845 lines
                    
1using System.Collections.Generic;
                    
2using System.Globalization;
                    
2using System.Globalization;
                    
3using System.IO;
                    
4using System.Reflection;
                    
4using System.Reflection;
                    
5using System.Runtime.Serialization.Json;
                    
6using System.Text;
                    
6using System.Text;
                    
7using Xunit;
                    
8
                    
                
JObjectFunctionalTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 990 lines
                    
1using System.Collections.Generic;
                    
2using System.Globalization;
                    
2using System.Globalization;
                    
3using System.Text;
                    
4using System.Threading;
                    
4using System.Threading;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
OAuthWebSecurityTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 389 lines
                    
1using System;
                    
2using System.Collections.Specialized;
                    
2using System.Collections.Specialized;
                    
3using System.Web;
                    
4using System.Web.Security;
                    
4using System.Web.Security;
                    
5using DotNetOpenAuth.AspNet;
                    
6using Microsoft.TestCommon;
                    
7using Moq;
                    
8using Xunit;
                    
9
                    
                
MutableObjectModelBinderTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 769 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.ComponentModel;
                    
4using System.ComponentModel.DataAnnotations;
                    
4using System.ComponentModel.DataAnnotations;
                    
5using System.Linq;
                    
6using System.Web.Mvc;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ModelBinderProviderCollectionTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 527 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.ComponentModel.DataAnnotations;
                    
4using System.Linq;
                    
4using System.Linq;
                    
5using System.Web.Mvc;
                    
6using Microsoft.Web.UnitTestUtil;
                    
7using Moq;
                    
8using Xunit;
                    
9using Assert = Microsoft.TestCommon.AssertEx;
                    
                
CollectionModelBinderUtilTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 391 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Collections.ObjectModel;
                    
4using System.Linq;
                    
5using System.Web.Mvc;
                    
6using Xunit;
                    
7
                    
                
DataControllerSubmitTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 373 lines
                    
3using System.IO;
                    
4using System.Linq;
                    
5using System.Net;
                    
5using System.Net;
                    
6using System.Net.Http;
                    
7using System.Net.Http.Headers;
                    
8using System.Runtime.Serialization;
                    
9using System.Text;
                    
10using System.Threading;
                    
10using System.Threading;
                    
11using System.Web.Http;
                    
12using System.Web.Http.Controllers;
                    
17using Newtonsoft.Json;
                    
18using Xunit;
                    
19using Assert = Microsoft.TestCommon.AssertEx;
                    
                
VideoTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 299 lines
                    
1using System;
                    
2using System.Reflection;
                    
2using System.Reflection;
                    
3using System.Text.RegularExpressions;
                    
4using System.Web;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
TwitterTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 481 lines
                    
1using System.Web;
                    
2using System.Web.Helpers;
                    
2using System.Web.Helpers;
                    
3using System.Web.Helpers.Test;
                    
4using System.Web.TestUtil;
                    
4using System.Web.TestUtil;
                    
5using Xunit;
                    
6using Assert = Microsoft.TestCommon.AssertEx;
                    
                
ThemesTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 372 lines
                    
1using System;
                    
2using System.Collections.Generic;
                    
2using System.Collections.Generic;
                    
3using System.Web.Hosting;
                    
4using System.Web.WebPages.Scope;
                    
5using Moq;
                    
6using Xunit;
                    
7using Assert = Microsoft.TestCommon.AssertEx;
                    
                
GenericTypeAssert.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 489 lines
                    
1using System;
                    
2using System.Linq;
                    
3using System.Reflection;
                    
4using Xunit;
                    
5
                    
19        /// Asserts the given <paramref name="genericBaseType"/> is a generic type and creates a new
                    
20        /// bound generic type using <paramref name="genericParameterType"/>.  It then asserts there
                    
21        /// is a constructor that will accept <paramref name="parameterTypes"/> and returns it.
                    
41        /// Asserts the given <paramref name="genericBaseType"/> is a generic type and creates a new
                    
42        /// bound generic type using <paramref name="genericParameterType"/>.  It then asserts there
                    
43        /// is a constructor that will accept <paramref name="parameterTypes"/> and returns it.
                    
                
 

Source

Language