Skip to content

Commit db1e22a

Browse files
committed
add non filtered tests
1 parent 4b89d19 commit db1e22a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/symbol/AvroFilterTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ void filterOut() {
1212
assertFalse(avroFilter.filterOut(null));
1313
Scope scope = Scope.builder(ScopeType.CLASS, "", 0, 0).build();
1414
assertFalse(avroFilter.filterOut(scope));
15+
scope = Scope.builder(ScopeType.CLASS, "", 0, 0).name("org.apache.avro.MyClass").build();
16+
assertFalse(avroFilter.filterOut(scope));
1517
scope =
1618
Scope.builder(ScopeType.CLASS, "", 0, 0)
1719
.languageSpecifics(

dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/symbol/ProtoFilterTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ void filterOut() {
1212
assertFalse(protoFilter.filterOut(null));
1313
Scope scope = Scope.builder(ScopeType.CLASS, "", 0, 0).build();
1414
assertFalse(protoFilter.filterOut(scope));
15+
scope = Scope.builder(ScopeType.CLASS, "", 0, 0).name("com.google.protobuf.MyClass").build();
16+
assertFalse(protoFilter.filterOut(scope));
1517
scope =
1618
Scope.builder(ScopeType.CLASS, "", 0, 0)
1719
.languageSpecifics(

dd-java-agent/agent-debugger/src/test/java/com/datadog/debugger/symbol/WireFilterTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ void filterOut() {
1212
assertFalse(wireFilter.filterOut(null));
1313
Scope scope = Scope.builder(ScopeType.CLASS, "", 0, 0).build();
1414
assertFalse(wireFilter.filterOut(scope));
15+
scope = Scope.builder(ScopeType.CLASS, "", 0, 0).name("com.squareup.wire.MyClass").build();
16+
assertFalse(wireFilter.filterOut(scope));
1517
scope =
1618
Scope.builder(ScopeType.CLASS, "", 0, 0)
1719
.languageSpecifics(

0 commit comments

Comments
 (0)