From 57aba60229a7ddd4bce2b3a9767fd2a4124298a1 Mon Sep 17 00:00:00 2001 From: dudik Date: Thu, 18 Jan 2024 12:34:46 +0100 Subject: [PATCH] Shorting the symbol extractor tests approval names --- ...bolExtractorTest.AsyncMethod.verified.txt} | 2 +- ...ComprehensiveLinqWithClosure.verified.txt} | 2 +- ...prehensiveLinqWithoutClosure.verified.txt} | 2 +- ...HoistedLocalsMultipleClosures.verified.txt | 216 ------------------ ...ymbolExtractorTest.EmptyType.verified.txt} | 2 +- ...t.HoistedAndNotHoistedLocals.verified.txt} | 2 +- ...dLocalsAndArgsInStateMachine.verified.txt} | 0 ...ractorTest.LambdaWithClosure.verified.txt} | 2 +- ...rTest.LambdaWithFieldClosure.verified.txt} | 2 +- ...LambdaWithStaticFieldClosure.verified.txt} | 2 +- ...torTest.LambdaWithoutClosure.verified.txt} | 2 +- ...ExtractorTest.LocalConstants.verified.txt} | 2 +- ...est.LocalFunctionWithClosure.verified.txt} | 2 +- ....LocalFunctionWithoutClosure.verified.txt} | 2 +- ...tipleClosuresMultipleHoisted.verified.txt} | 2 +- ...orTest.MultipleHoistedLocals.verified.txt} | 2 +- ...eHoistedLocalsInStateMachine.verified.txt} | 2 +- ...ExtractorTest.MultipleScopes.verified.txt} | 2 +- ...tractorTest.NestedFluentLinq.verified.txt} | 2 +- ...olExtractorTest.PartialClass.verified.txt} | 2 +- ....SameLocalNameDifferentScope.verified.txt} | 2 +- .../SymbolsTests/SymbolExtractorTest.cs | 8 +- 22 files changed, 23 insertions(+), 239 deletions(-) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.AsyncMethod.verified.txt => SymbolExtractorTest.AsyncMethod.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithClosure.verified.txt => SymbolExtractorTest.ComprehensiveLinqWithClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithoutClosure.verified.txt => SymbolExtractorTest.ComprehensiveLinqWithoutClosure.verified.txt} (99%) delete mode 100644 tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsMultipleClosures.verified.txt rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.EmptyType.verified.txt => SymbolExtractorTest.EmptyType.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedAndNotHoistedLocals.verified.txt => SymbolExtractorTest.HoistedAndNotHoistedLocals.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsAndArgsInStateMachine.verified.txt => SymbolExtractorTest.HoistedLocalsAndArgsInStateMachine.verified.txt} (100%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithClosure.verified.txt => SymbolExtractorTest.LambdaWithClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithFieldClosure.verified.txt => SymbolExtractorTest.LambdaWithFieldClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithStaticFieldClosure.verified.txt => SymbolExtractorTest.LambdaWithStaticFieldClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithoutClosure.verified.txt => SymbolExtractorTest.LambdaWithoutClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalConstants.verified.txt => SymbolExtractorTest.LocalConstants.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithClosure.verified.txt => SymbolExtractorTest.LocalFunctionWithClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithoutClosure.verified.txt => SymbolExtractorTest.LocalFunctionWithoutClosure.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleClosuresMultipleHoisted.verified.txt => SymbolExtractorTest.MultipleClosuresMultipleHoisted.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocals.verified.txt => SymbolExtractorTest.MultipleHoistedLocals.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocalsInStateMachine.verified.txt => SymbolExtractorTest.MultipleHoistedLocalsInStateMachine.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleScopes.verified.txt => SymbolExtractorTest.MultipleScopes.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.NestedFluentLinq.verified.txt => SymbolExtractorTest.NestedFluentLinq.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.PartialClass.verified.txt => SymbolExtractorTest.PartialClass.verified.txt} (99%) rename tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/{SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.SameLocalNameDifferentScope.verified.txt => SymbolExtractorTest.SameLocalNameDifferentScope.verified.txt} (99%) diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.AsyncMethod.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.AsyncMethod.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.AsyncMethod.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.AsyncMethod.verified.txt index 75d6edfe1955..3dd798ca97a1 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.AsyncMethod.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.AsyncMethod.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithClosure.verified.txt index 58acf81ca42d..543e1e183ccf 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithoutClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithoutClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithoutClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithoutClosure.verified.txt index 0d677f010f42..7d2b132e16ac 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.ComprehensiveLinqWithoutClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.ComprehensiveLinqWithoutClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsMultipleClosures.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsMultipleClosures.verified.txt deleted file mode 100644 index 6212b1c22d33..000000000000 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsMultipleClosures.verified.txt +++ /dev/null @@ -1,216 +0,0 @@ -{ - "service": "test", - "env": "test", - "version": "0", - "language": "dotnet", - "scopes": [ - { - "scope_type": "assembly", - "name": "Datadog.Trace.Tests", - "start_line": 0, - "end_line": 0, - "scopes": [ - { - "scope_type": "class", - "name": "Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsMultipleClosures", - "start_line": 14, - "end_line": 30, - "language_specifics": { - "super_classes": [ - "System.Object" - ] - }, - "scopes": [ - { - "scope_type": "method", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 14, - "end_line": 30, - "language_specifics": { - "return_type": "System.Void", - "start_column": 9, - "end_column": 10 - }, - "symbols": [ - { - "name": "argument1", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - }, - { - "name": "argument2", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - }, - { - "name": "res", - "type": "System.Int32", - "symbol_type": "local", - "line": 14 - } - ], - "scopes": [ - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 16, - "end_line": 16, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Bool", - "start_column": 46, - "end_column": 57 - }, - "symbols": [ - { - "name": "t1", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - }, - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 17, - "end_line": 17, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Int32", - "start_column": 47, - "end_column": 53 - }, - "symbols": [ - { - "name": "t2", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - }, - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 20, - "end_line": 20, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Int32", - "start_column": 44, - "end_column": 50 - }, - "symbols": [ - { - "name": "i1", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - }, - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 21, - "end_line": 21, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Int32", - "start_column": 44, - "end_column": 46 - }, - "symbols": [ - { - "name": "i2", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - }, - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 22, - "end_line": 22, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Int32", - "start_column": 63, - "end_column": 82 - }, - "symbols": [ - { - "name": "i3", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - }, - { - "name": "i4", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - }, - { - "scope_type": "closure", - "name": "Foo", - "source_file": "C:\\dev\\Datadog\\dd-trace-dotnet\\tracer\\test\\Datadog.Trace.Tests\\Debugger\\SymbolsTests\\TestSamples\\HoistedLocalsMultipleClosures.cs", - "start_line": 23, - "end_line": 23, - "language_specifics": { - "access_modifiers": [ - "Assembly" - ], - "return_type": "System.Bool", - "start_column": 46, - "end_column": 60 - }, - "symbols": [ - { - "name": "i5", - "type": "System.Int32", - "symbol_type": "arg", - "line": 0 - } - ] - } - ] - }, - { - "scope_type": "method", - "name": ".ctor", - "start_line": 0, - "end_line": 0, - "language_specifics": { - "return_type": "System.Void" - } - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.EmptyType.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.EmptyType.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.EmptyType.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.EmptyType.verified.txt index bc88e1bf6031..0db203f61346 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.EmptyType.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.EmptyType.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedAndNotHoistedLocals.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.HoistedAndNotHoistedLocals.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedAndNotHoistedLocals.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.HoistedAndNotHoistedLocals.verified.txt index 208fa9ea0caf..a7c3e142a342 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedAndNotHoistedLocals.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.HoistedAndNotHoistedLocals.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsAndArgsInStateMachine.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.HoistedLocalsAndArgsInStateMachine.verified.txt similarity index 100% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.HoistedLocalsAndArgsInStateMachine.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.HoistedLocalsAndArgsInStateMachine.verified.txt diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithClosure.verified.txt index aa23be463655..33e7917ec04f 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithFieldClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithFieldClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithFieldClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithFieldClosure.verified.txt index 1da01ed9fd31..e5f7f1423e30 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithFieldClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithFieldClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithStaticFieldClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithStaticFieldClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithStaticFieldClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithStaticFieldClosure.verified.txt index 2f8f8df4cffa..36a178c6324a 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithStaticFieldClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithStaticFieldClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithoutClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithoutClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithoutClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithoutClosure.verified.txt index 10116e6f2718..550a913ffae0 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LambdaWithoutClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LambdaWithoutClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalConstants.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalConstants.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalConstants.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalConstants.verified.txt index 51a5bd2d1b44..c1db27b5bb77 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalConstants.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalConstants.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithClosure.verified.txt index 4c49ec11bb28..0944af6c712f 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithoutClosure.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithoutClosure.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithoutClosure.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithoutClosure.verified.txt index 497e6d3dafb8..f42dde20d492 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.LocalFunctionWithoutClosure.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.LocalFunctionWithoutClosure.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleClosuresMultipleHoisted.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleClosuresMultipleHoisted.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleClosuresMultipleHoisted.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleClosuresMultipleHoisted.verified.txt index 713a819c7c01..ccd6dfc1fc15 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleClosuresMultipleHoisted.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleClosuresMultipleHoisted.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocals.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocals.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocals.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocals.verified.txt index 35824940cd53..72464a925f92 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocals.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocals.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocalsInStateMachine.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocalsInStateMachine.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocalsInStateMachine.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocalsInStateMachine.verified.txt index d456ba4278db..323e5047c2ab 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleHoistedLocalsInStateMachine.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleHoistedLocalsInStateMachine.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleScopes.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleScopes.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleScopes.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleScopes.verified.txt index fe643af9cf23..aaf7bd290f4b 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.MultipleScopes.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.MultipleScopes.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.NestedFluentLinq.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.NestedFluentLinq.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.NestedFluentLinq.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.NestedFluentLinq.verified.txt index 46aad93f2336..4051816b56f4 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.NestedFluentLinq.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.NestedFluentLinq.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.PartialClass.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.PartialClass.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.PartialClass.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.PartialClass.verified.txt index 51ce3dd640e2..8a71fca7740b 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.PartialClass.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.PartialClass.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.SameLocalNameDifferentScope.verified.txt b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.SameLocalNameDifferentScope.verified.txt similarity index 99% rename from tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.SameLocalNameDifferentScope.verified.txt rename to tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.SameLocalNameDifferentScope.verified.txt index 177804f2c891..e195450d5d0b 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.Datadog.Trace.Tests.Datadog.Trace.Tests.Debugger.SymbolsTests.TestSamples.SameLocalNameDifferentScope.verified.txt +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractor/Approvals/SymbolExtractorTest.SameLocalNameDifferentScope.verified.txt @@ -1,4 +1,4 @@ -{ +{ "service": "test", "env": "test", "version": "0", diff --git a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractorTest.cs b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractorTest.cs index 1fd435fc4d38..b23d590970b3 100644 --- a/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractorTest.cs +++ b/tracer/test/Datadog.Trace.Tests/Debugger/SymbolsTests/SymbolExtractorTest.cs @@ -42,7 +42,7 @@ private async Task Test(Type type) Assert.True(root.Scopes.Count == 1); Assert.True(root.Scopes.First().Scopes.Length == 1); Assert.True(root.Scopes.First().Scopes.First().Name == type.FullName); - var settings = ConfigureVerifySettings(assembly.GetName().Name, type.FullName); + var settings = ConfigureVerifySettings(type.Name); var toVerify = GetStringToVerify(root); await Verifier.Verify(toVerify, settings); } @@ -62,7 +62,7 @@ private async Task TestDnlib(Type type) Assert.True(root.Scopes.Count == 1); Assert.True(root.Scopes.First().Scopes.Length == 1); Assert.True(root.Scopes.First().Scopes.First().Name == type.FullName); - var settings = ConfigureVerifySettings(assembly.GetName().Name, type.FullName); + var settings = ConfigureVerifySettings(type.Name); var toVerify = GetStringToVerify(root); await Verifier.Verify(toVerify, settings); } @@ -143,10 +143,10 @@ void SanitizeScopeToVerify(ref Trace.Debugger.Symbols.Model.Scope scope) } } - private VerifySettings ConfigureVerifySettings(string assemblyName, string className) + private VerifySettings ConfigureVerifySettings(string className) { var settings = new VerifySettings(); - settings.UseFileName($"{nameof(SymbolExtractorTest)}.{assemblyName}.{className}"); + settings.UseFileName($"{nameof(SymbolExtractorTest)}.{className}"); settings.DisableRequireUniquePrefix(); settings.UseDirectory("SymbolExtractor/Approvals"); return settings;