Skip to content

Commit b1d5c54

Browse files
committed
Changing Example to Sample to be consistent with other TestStack projects
1 parent 08bcf1b commit b1d5c54

21 files changed

+45
-63
lines changed

TestStack.FluentMVCTesting.Example.Tests/Controllers/AccountControllerTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
using System.Web.Routing;
33
using NSubstitute;
44
using NUnit.Framework;
5-
using TestStack.FluentMVCTesting.Example.Controllers;
6-
using TestStack.FluentMVCTesting.Example.Models;
7-
using TestStack.FluentMVCTesting.Example.Services;
5+
using TestStack.FluentMVCTesting.Sample.Controllers;
6+
using TestStack.FluentMVCTesting.Sample.Models;
7+
using TestStack.FluentMVCTesting.Sample.Services;
88

9-
namespace TestStack.FluentMVCTesting.Example.Tests.Controllers
9+
namespace TestStack.FluentMVCTesting.Sample.Tests.Controllers
1010
{
1111
class AccountControllerTests
1212
{

TestStack.FluentMVCTesting.Example.Tests/TestStack.FluentMVCTesting.Example.Tests.csproj renamed to TestStack.FluentMVCTesting.Example.Tests/TestStack.FluentMVCTesting.Sample.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{F36BC506-1076-49BF-A1A4-A76D6560AA64}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>TestStack.FluentMVCTesting.Example.Tests</RootNamespace>
11-
<AssemblyName>TestStack.FluentMVCTesting.Example.Tests</AssemblyName>
10+
<RootNamespace>TestStack.FluentMVCTesting.Sample.Tests</RootNamespace>
11+
<AssemblyName>TestStack.FluentMVCTesting.Sample.Tests</AssemblyName>
1212
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
@@ -83,9 +83,9 @@
8383
<None Include="packages.config" />
8484
</ItemGroup>
8585
<ItemGroup>
86-
<ProjectReference Include="..\TestStack.FluentMVCTesting.Example\TestStack.FluentMVCTesting.Example.csproj">
86+
<ProjectReference Include="..\TestStack.FluentMVCTesting.Example\TestStack.FluentMVCTesting.Sample.csproj">
8787
<Project>{0BD41AAC-8155-4328-A1A2-CB634430BB39}</Project>
88-
<Name>TestStack.FluentMVCTesting.Example</Name>
88+
<Name>TestStack.FluentMVCTesting.Sample</Name>
8989
</ProjectReference>
9090
<ProjectReference Include="..\TestStack.FluentMVCTesting\TestStack.FluentMVCTesting.csproj">
9191
<Project>{152ca00f-18d3-4cf5-8ca0-2c5b70cbea19}</Project>

TestStack.FluentMVCTesting.Example/App_Start/BundleConfig.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using System.Web;
2-
using System.Web.Optimization;
1+
using System.Web.Optimization;
32

4-
namespace TestStack.FluentMVCTesting.Example
3+
namespace TestStack.FluentMVCTesting.Sample.App_Start
54
{
65
public class BundleConfig
76
{

TestStack.FluentMVCTesting.Example/App_Start/FilterConfig.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using System.Web;
2-
using System.Web.Mvc;
1+
using System.Web.Mvc;
32

4-
namespace TestStack.FluentMVCTesting.Example
3+
namespace TestStack.FluentMVCTesting.Sample.App_Start
54
{
65
public class FilterConfig
76
{

TestStack.FluentMVCTesting.Example/App_Start/RouteConfig.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Web;
5-
using System.Web.Mvc;
1+
using System.Web.Mvc;
62
using System.Web.Routing;
73

8-
namespace TestStack.FluentMVCTesting.Example
4+
namespace TestStack.FluentMVCTesting.Sample.App_Start
95
{
106
public class RouteConfig
117
{

TestStack.FluentMVCTesting.Example/Controllers/AccountController.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Transactions;
5-
using System.Web;
65
using System.Web.Mvc;
76
using System.Web.Security;
87
using DotNetOpenAuth.AspNet;
98
using Microsoft.Web.WebPages.OAuth;
10-
using TestStack.FluentMVCTesting.Example.Services;
9+
using TestStack.FluentMVCTesting.Sample.Filters;
10+
using TestStack.FluentMVCTesting.Sample.Models;
11+
using TestStack.FluentMVCTesting.Sample.Services;
1112
using WebMatrix.WebData;
12-
using TestStack.FluentMVCTesting.Example.Filters;
13-
using TestStack.FluentMVCTesting.Example.Models;
1413

15-
namespace TestStack.FluentMVCTesting.Example.Controllers
14+
namespace TestStack.FluentMVCTesting.Sample.Controllers
1615
{
1716
[Authorize]
1817
[InitializeSimpleMembership]

TestStack.FluentMVCTesting.Example/Controllers/HomeController.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Web;
5-
using System.Web.Mvc;
1+
using System.Web.Mvc;
62

7-
namespace TestStack.FluentMVCTesting.Example.Controllers
3+
namespace TestStack.FluentMVCTesting.Sample.Controllers
84
{
95
public class HomeController : Controller
106
{

TestStack.FluentMVCTesting.Example/Filters/InitializeSimpleMembershipAttribute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
using System.Data.Entity.Infrastructure;
44
using System.Threading;
55
using System.Web.Mvc;
6+
using TestStack.FluentMVCTesting.Sample.Models;
67
using WebMatrix.WebData;
7-
using TestStack.FluentMVCTesting.Example.Models;
88

9-
namespace TestStack.FluentMVCTesting.Example.Filters
9+
namespace TestStack.FluentMVCTesting.Sample.Filters
1010
{
1111
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
1212
public sealed class InitializeSimpleMembershipAttribute : ActionFilterAttribute
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<%@ Application Codebehind="Global.asax.cs" Inherits="TestStack.FluentMVCTesting.Example.MvcApplication" Language="C#" %>
1+
<%@ Application Codebehind="Global.asax.cs" Inherits="TestStack.FluentMVCTesting.Sample.MvcApplication" Language="C#" %>

TestStack.FluentMVCTesting.Example/Global.asax.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Web;
5-
using System.Web.Http;
6-
using System.Web.Mvc;
1+
using System.Web.Mvc;
72
using System.Web.Optimization;
83
using System.Web.Routing;
4+
using TestStack.FluentMVCTesting.Sample.App_Start;
95

10-
namespace TestStack.FluentMVCTesting.Example
6+
namespace TestStack.FluentMVCTesting.Sample
117
{
128
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
139
// visit http://go.microsoft.com/?LinkId=9394801

0 commit comments

Comments
 (0)