Skip to content

Commit 1944261

Browse files
authored
Merge pull request #9 from Meir017/feature/rename-project
renamed solution & projects & namespaces
2 parents f2589d0 + 4f53fa2 commit 1944261

File tree

63 files changed

+74
-142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+74
-142
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# [FluentAssertions](http://fluentassertions.com/) Best Practices
1+
# [FluentAssertions](http://fluentassertions.com/) Analyzers
22

33
<img src="./assets/fluent_assertions.svg.png" width="400">
44

55
***"With Fluent Assertions, the assertions look beautiful, natural and most importantly, extremely readable"*** -[_Girish_](https://twitter.com/girishracharya)
66

7-
* Latest stable nuget [![NuGet Badge](https://buildstats.info/nuget/fluentassertions.bestpractices)](https://www.nuget.org/packages/fluentassertions.bestpractices/)
8-
* Latest nuget [![NuGet Badge](https://buildstats.info/nuget/fluentassertions.bestpractices?includePreReleases=true)](https://www.nuget.org/packages/fluentassertions.bestpractices/)
7+
* Latest stable nuget [![NuGet Badge](https://buildstats.info/nuget/fluentassertions.analyzers)](https://www.nuget.org/packages/fluentassertions.analyzers/)
8+
* Latest nuget [![NuGet Badge](https://buildstats.info/nuget/fluentassertions.analyzers?includePreReleases=true)](https://www.nuget.org/packages/fluentassertions.analyzers/)
99
* The build status is [![Build status](https://ci.appveyor.com/api/projects/status/xxx1txj7qmxwobej?svg=true)](https://ci.appveyor.com/project/Meir017/fluentassertions-bestpractices)
1010

1111
A collection of Analyzers based on the best practices [docs](https://github.com/fluentassertions/fluentassertions/tree/release-5.0/docs/_data/tips).
@@ -19,13 +19,13 @@ A collection of Analyzers based on the best practices [docs](https://github.com/
1919
using the latest stable version:
2020

2121
```powershell
22-
Install-Package FluentAssertions.BestPractices
22+
Install-Package FluentAssertions.Analyzers
2323
```
2424

2525
using the latest prerelease version:
2626

2727
```powershell
28-
Install-Package FluentAssertions.BestPractices -IncludePrerelease -Source https://ci.appveyor.com/nuget/fluentassertions-bestpractices
28+
Install-Package FluentAssertions.Analyzers -IncludePrerelease -Source https://ci.appveyor.com/nuget/fluentassertions-bestpractices
2929
```
3030

3131

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ branches:
1717

1818
# Artifacts
1919
artifacts:
20-
- path: '.\artifacts\**\*.nupkg'
20+
- path: ./artifacts/FluentAssertions.Analyzers*.nupkg
21+
name: Artifacts
2122

2223
# Build cache
2324
cache:

build.cake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ var configuration = Argument("configuration", "Release");
1212
//////////////////////////////////////////////////////////////////////
1313

1414
// Define directories.
15-
var buildDir = Directory("./artifacts") + Directory(configuration);
16-
var solutionFile = File("./src/FluentAssertions.BestPractices.sln");
17-
var testCsproj = File("./src/FluentAssertions.BestPractices.Tests/FluentAssertions.BestPractices.Tests.csproj");
18-
var nuspecFile = File("./src/FluentAssertions.BestPractices/FluentAssertions.BestPractices.nuspec");
15+
var buildDir = Directory("./artifacts");
16+
var solutionFile = File("./src/FluentAssertions.Analyzers.sln");
17+
var testCsproj = File("./src/FluentAssertions.Analyzers.Tests/FluentAssertions.Analyzers.Tests.csproj");
18+
var nuspecFile = File("./src/FluentAssertions.Analyzers/FluentAssertions.Analyzers.nuspec");
1919
var version = GetCurrentVersion(Context);
2020

2121
//////////////////////////////////////////////////////////////////////
@@ -86,7 +86,7 @@ Task("Publish-NuGet")
8686
var apiKey = EnvironmentVariable("NUGET_API_KEY");
8787
var apiUrl = EnvironmentVariable("NUGET_API_URL");
8888

89-
var nupkgFile = File($"{buildDir}/FluentAssertions.BestPractices.{version}.nupkg");
89+
var nupkgFile = File($"{buildDir}/FluentAssertions.Analyzers.{version}.nupkg");
9090
Information($"Publishing nupkg file '{nupkgFile}'...");
9191

9292
NuGetPush(nupkgFile, new NuGetPushSettings

src/FluentAssertions.BestPractices.Tests/DiagnosticResult.cs renamed to src/FluentAssertions.Analyzers.Tests/DiagnosticResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System;
22
using Microsoft.CodeAnalysis;
33

4-
namespace FluentAssertions.BestPractices.Tests
4+
namespace FluentAssertions.Analyzers.Tests
55
{
66
/// <summary>
77
/// Location where the diagnostic appears, as determined by path, line number, and column number.

src/FluentAssertions.BestPractices.Tests/DiagnosticVerifier.cs renamed to src/FluentAssertions.Analyzers.Tests/DiagnosticVerifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using Microsoft.CodeAnalysis.CSharp;
1717
using System.Reflection;
1818

19-
namespace FluentAssertions.BestPractices.Tests
19+
namespace FluentAssertions.Analyzers.Tests
2020
{
2121
/// <summary>
2222
/// Superclass of all Unit Tests for DiagnosticAnalyzers
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="..\FluentAssertions.BestPractices\FluentAssertions.BestPractices.csproj" />
17+
<ProjectReference Include="..\FluentAssertions.Analyzers\FluentAssertions.Analyzers.csproj" />
1818
</ItemGroup>
1919

2020
</Project>

src/FluentAssertions.BestPractices.Tests/GenerateCode.cs renamed to src/FluentAssertions.Analyzers.Tests/GenerateCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Text;
22

3-
namespace FluentAssertions.BestPractices.Tests
3+
namespace FluentAssertions.Analyzers.Tests
44
{
55
public static class GenerateCode
66
{

src/FluentAssertions.BestPractices.Tests/TestAttributes.cs renamed to src/FluentAssertions.Analyzers.Tests/TestAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using System.Linq;
55

6-
namespace FluentAssertions.BestPractices.Tests
6+
namespace FluentAssertions.Analyzers.Tests
77
{
88
[AttributeUsage(AttributeTargets.Method)]
99
public class NotImplementedAttribute : TestCategoryBaseAttribute

src/FluentAssertions.BestPractices.Tests/Tips/CollectionTests.cs renamed to src/FluentAssertions.Analyzers.Tests/Tips/CollectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.CodeAnalysis;
22
using Microsoft.VisualStudio.TestTools.UnitTesting;
33

4-
namespace FluentAssertions.BestPractices.Tests
4+
namespace FluentAssertions.Analyzers.Tests
55
{
66
[TestClass]
77
public class CollectionTests

src/FluentAssertions.BestPractices.Tests/Tips/DictionaryTests.cs renamed to src/FluentAssertions.Analyzers.Tests/Tips/DictionaryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Microsoft.CodeAnalysis;
22
using Microsoft.VisualStudio.TestTools.UnitTesting;
33

4-
namespace FluentAssertions.BestPractices.Tests
4+
namespace FluentAssertions.Analyzers.Tests
55
{
66
[TestClass]
77
public class DictionaryTests

0 commit comments

Comments
 (0)