Skip to content

Commit 458509c

Browse files
committed
Removed 2 temp tests
1 parent 5dcc5a2 commit 458509c

File tree

3 files changed

+0
-90
lines changed

3 files changed

+0
-90
lines changed

tests/EntityFrameworkCore.Projectables.Generator.Tests/ProjectionExpressionGeneratorTests.Issue65.verified.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

tests/EntityFrameworkCore.Projectables.Generator.Tests/ProjectionExpressionGeneratorTests.Issue652.verified.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/EntityFrameworkCore.Projectables.Generator.Tests/ProjectionExpressionGeneratorTests.cs

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,63 +1615,6 @@ public Task GenericTypesWithConstraints()
16151615
return Verifier.Verify(result.GeneratedTrees[0].ToString());
16161616
}
16171617

1618-
[Fact]
1619-
public Task Issue65()
1620-
{
1621-
// issue: https://github.com/koenbeuk/EntityFrameworkCore.Projectables/issues/48
1622-
1623-
var compilation = CreateCompilation(@"
1624-
using System;
1625-
using EntityFrameworkCore.Projectables;
1626-
1627-
public static class ContentExtensions
1628-
{
1629-
public static string Inner(this string s) => s;
1630-
1631-
[Projectable(NullConditionalRewriteSupport = NullConditionalRewriteSupport.Ignore)]
1632-
public static string Outer(this string s) => s?.Inner();
1633-
}
1634-
");
1635-
1636-
var result = RunGenerator(compilation);
1637-
1638-
Assert.Empty(result.Diagnostics);
1639-
Assert.Single(result.GeneratedTrees);
1640-
1641-
return Verifier.Verify(result.GeneratedTrees[0].ToString());
1642-
}
1643-
1644-
[Fact]
1645-
public Task Issue652()
1646-
{
1647-
// issue: https://github.com/koenbeuk/EntityFrameworkCore.Projectables/issues/48
1648-
1649-
var compilation = CreateCompilation(@"
1650-
using System;
1651-
using EntityFrameworkCore.Projectables;
1652-
1653-
namespace Foo;
1654-
1655-
public static class ContentExtensions
1656-
{
1657-
[Projectable(NullConditionalRewriteSupport = NullConditionalRewriteSupport.Ignore)]
1658-
public static string Outer(this string s) => s?.Inner();
1659-
}
1660-
1661-
public static class ContentExtensions2
1662-
{
1663-
public static string Inner(this string s) => s;
1664-
}
1665-
");
1666-
1667-
var result = RunGenerator(compilation);
1668-
1669-
Assert.Empty(result.Diagnostics);
1670-
Assert.Single(result.GeneratedTrees);
1671-
1672-
return Verifier.Verify(result.GeneratedTrees[0].ToString());
1673-
}
1674-
16751618
#region Helpers
16761619

16771620
Compilation CreateCompilation(string source, bool expectedToCompile = true)

0 commit comments

Comments
 (0)