Skip to content

Commit 41ab2d2

Browse files
committed
remove bogus tests
1 parent 0e607dd commit 41ab2d2

File tree

2 files changed

+63
-63
lines changed

2 files changed

+63
-63
lines changed

tests/ParseTests/GeneralTests.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
public class GeneralTests
44
{
5-
[Fact]
6-
public void Test()
7-
{
8-
var driver = Generation.RunGenerator(
9-
$$""""
10-
using Discord;
11-
using static Discord.ComponentDesigner;
12-
13-
public class FunctionComponents
14-
{
15-
public static CXMessageComponent Consumer()
16-
=> cx(
17-
$"""
18-
<button style={Discord.ButtonStyle.Link} />
19-
"""
20-
);
21-
}
22-
""""
23-
);
24-
}
5+
// [Fact]
6+
// public void Test()
7+
// {
8+
// var driver = Generation.RunGenerator(
9+
// $$""""
10+
// using Discord;
11+
// using static Discord.ComponentDesigner;
12+
//
13+
// public class FunctionComponents
14+
// {
15+
// public static CXMessageComponent Consumer()
16+
// => cx(
17+
// $"""
18+
// <button style={Discord.ButtonStyle.Link} />
19+
// """
20+
// );
21+
// }
22+
// """"
23+
// );
24+
// }
2525
}

tests/ParseTests/IncrementalTests.cs

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,49 @@ namespace UnitTests.ParseTests;
77

88
public class IncrementalTests
99
{
10-
[Fact]
11-
public void IncrementalWithChanges()
12-
{
13-
IncrementalRanges(
14-
"<button />",
15-
new TextChange(new(1, 0), " ")
16-
);
17-
}
18-
19-
[Fact]
20-
public void LargeIncrementalFullRanges()
21-
{
22-
FullRangeIncremental(
23-
"""
24-
<container>
25-
<text>Hello, World!</text>
26-
<button id="12" name="value" />
27-
<section>
28-
<text>## Foo</text>
29-
<accessory><thumbnail url="example" /></accessory>
30-
</section>
31-
</container>
32-
"""
33-
);
34-
}
35-
36-
37-
[Fact]
38-
public void IncrementalButton()
39-
{
40-
foreach (
41-
var result
42-
in IterativeIncrementalParse(
43-
"""
44-
<button>
45-
46-
</button>
47-
"""
48-
)
49-
)
50-
{
51-
}
52-
}
10+
// [Fact]
11+
// public void IncrementalWithChanges()
12+
// {
13+
// IncrementalRanges(
14+
// "<button />",
15+
// new TextChange(new(1, 0), " ")
16+
// );
17+
// }
18+
//
19+
// [Fact]
20+
// public void LargeIncrementalFullRanges()
21+
// {
22+
// FullRangeIncremental(
23+
// """
24+
// <container>
25+
// <text>Hello, World!</text>
26+
// <button id="12" name="value" />
27+
// <section>
28+
// <text>## Foo</text>
29+
// <accessory><thumbnail url="example" /></accessory>
30+
// </section>
31+
// </container>
32+
// """
33+
// );
34+
// }
35+
//
36+
//
37+
// [Fact]
38+
// public void IncrementalButton()
39+
// {
40+
// foreach (
41+
// var result
42+
// in IterativeIncrementalParse(
43+
// """
44+
// <button>
45+
//
46+
// </button>
47+
// """
48+
// )
49+
// )
50+
// {
51+
// }
52+
// }
5353

5454
public void FullRangeIncremental(string cx)
5555
{

0 commit comments

Comments
 (0)