Skip to content

Commit

Permalink
✅ Update tests due to renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
koeeenig committed Dec 13, 2023
1 parent ff103f1 commit 7a49d97
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion BlazeKit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazeKit.CLI", "src\BlazeKi
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Deployment", "Deployment", "{B5C21DC5-2745-4530-A317-F4CD52DBE22E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazeKit.Reactive.Tests", "tests\BlazeKit.Reactive.Tests\BlazeKit.Reactive.Tests.csproj", "{4D98C97D-CFCC-4473-BFD8-B28DA3199EF6}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BlazeKit.Reactivity.Tests", "tests\BlazeKit.Reactivity.Tests\BlazeKit.Reactivity.Tests.csproj", "{4D98C97D-CFCC-4473-BFD8-B28DA3199EF6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{6B6EFC67-31B4-4D2E-98D5-1A731AF98B0B}"
EndProject
Expand Down
2 changes: 0 additions & 2 deletions src/BlazeKit.CLI/BlazeKit.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="Commands\New\Assets\TPL_NEW_PROJECT.zip" />
<EmbeddedResource Include="Commands\New\Assets\TPL_NEW_PROJECT_SERVER.zip" />
<None Include="../../README.md" Pack="true" PackagePath="\"></None>
<None Include="../../LICENSE" Pack="true" PackagePath="\"></None>
<Content Include="icon.png" PackagePath="."></Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace BlazeKit.Routes.Pages.SourceTemplates;
/// <summary>
/// A generated source code of a route class
/// </summary>
internal class MarkdownRouteClassSource : Lazy<string>
public class MarkdownRouteClassSource : Lazy<string>
{
/// <summary>
/// A generated source code of a route class
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\BlazeKit.Reactive\BlazeKit.Reactive.csproj" />
<ProjectReference Include="..\..\src\BlazeKit.Reactivity\BlazeKit.Reactivity.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
global using Xunit;
global using BlazeKit.Reactive.Signals;
global using BlazeKit.Reactivity.Signals;
global using FluentAssertions;
2 changes: 1 addition & 1 deletion tests/BlazeKit.Tests/BlazeKit.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
using BlazeKit.Routing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using BlazeKit.Routes.Pages.SourceTemplates;

namespace BlazeKit.Tests.Routing
{
public sealed class PageFromMarkdownClassSourceTests
public sealed class MarkdownRouteClassSourceTests
{
[Fact]
public void GeneratesSourceCode()
{
var generatedClass =
new PageFromMarkdownClassSource(
var generatedClass =
new MarkdownRouteClassSource(
"My.Test.Class",
"Foo",
"/foo/bar",
"Layout",
"<h1 id=\"foobar\">Hello World</h1>"
).Value;


}
}
}
1 change: 1 addition & 0 deletions tests/BlazeKit.Tests/Routing/RouteSegmentsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlazeKit.Routes;

namespace BlazeKit.Tests.Routing
{
Expand Down
2 changes: 2 additions & 0 deletions tests/BlazeKit.Tests/SanititizedNamespaceTests.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using BlazeKit.Utils;

namespace BlazeKit.Tests
{
public class SanititizedNamespaceTests
Expand Down

0 comments on commit 7a49d97

Please sign in to comment.