File tree Expand file tree Collapse file tree 9 files changed +4
-7
lines changed
HydraScript.Domain.FrontEnd/Lexer/Impl
Infrastructure/HydraScript.Infrastructure/Dumping Expand file tree Collapse file tree 9 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 5656 dotnet test --project tests/HydraScript.IntegrationTests `
5757 -c Debug --no-build -v n `
5858 --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml `
59- --coverage-settings coverage-exclude.xml
59+ --coverage-settings tests/ coverage-exclude.xml
6060 mkdir coverage-report
6161 - name : Code Coverage Summary Report For Merge Request
6262 if : github.event_name == 'pull_request'
Original file line number Diff line number Diff line change 4949 <Project Path =" tests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests.csproj" />
5050 <Project Path =" tests/HydraScript.IntegrationTests/HydraScript.IntegrationTests.csproj" />
5151 <Project Path =" tests/HydraScript.UnitTests/HydraScript.UnitTests.csproj" />
52+ <File Path =" tests/coverage-exclude.xml" />
5253 <File Path =" tests/Directory.Build.props" />
5354 <File Path =" tests/Directory.Packages.props" />
5455 </Folder >
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ public TokenType FindByTag(string tag) =>
2323 public IEnumerator < TokenType > GetEnumerator ( ) =>
2424 Types . Values . AsEnumerable ( ) . GetEnumerator ( ) ;
2525
26- [ ExcludeFromCodeCoverage ]
2726 IEnumerator IEnumerable . GetEnumerator ( ) => GetEnumerator ( ) ;
2827
2928 public int Count => Types . Values . Length ;
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ public class FunctionSymbol(
2525 public void DefineReturnType ( Type returnType ) =>
2626 _returnType = returnType ;
2727
28- [ ExcludeFromCodeCoverage ]
2928 public override string ToString ( )
3029 {
3130 using var zsb = ZString . CreateStringBuilder ( ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ obj is TypeSymbol typeSymbol &&
1515 public override int GetHashCode ( ) =>
1616 HashCode . Combine ( Name , Type ) ;
1717
18- [ ExcludeFromCodeCoverage ]
1918 public override string ToString ( ) =>
2019 $ "type { Name } = { Type } ";
2120}
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public class VariableSymbol(
1515
1616 public void Initialize ( ) => Initialized = true ;
1717
18- [ ExcludeFromCodeCoverage ]
1918 public override string ToString ( ) =>
2019 $ "{ ( ReadOnly ? "const " : "" ) } { Name } : { Type } ";
2120}
Original file line number Diff line number Diff line change @@ -7,6 +7,5 @@ namespace HydraScript.Domain.IR.Types;
77 public bool Equals ( Type ? x , Type ? y ) =>
88 x ? . Equals ( y ) != false || y ? . Equals ( x ) != false ;
99
10- [ ExcludeFromCodeCoverage ]
1110 public int GetHashCode ( Type obj ) => obj . GetHashCode ( ) ;
1211}
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ internal class DumpingLexer(
1010 ILexer lexer ,
1111 IDumpingService dumpingService ) : ILexer
1212{
13- [ ExcludeFromCodeCoverage ]
1413 public IStructure Structure => lexer . Structure ;
1514
1615 public IEnumerable < Token > GetTokens ( string text )
Original file line number Diff line number Diff line change 55 <Functions >
66 <Exclude >
77 <Function >.*ToString.*</Function >
8+ <Function >.*GetHashCode.*</Function >
9+ <Function >.*GetEnumerator.*</Function >
810 </Exclude >
911 </Functions >
1012
You can’t perform that action at this time.
0 commit comments