C#/Java: Add test for missing neutral summary generation.

This commit is contained in:
Michael Nebel
2024-07-18 16:29:04 +02:00
parent bf69c76829
commit c9832df3c0
4 changed files with 18 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ public class NewSinks
// neutral=Sinks;NewSinks;Sink2;(System.Object);summary;df-generated
public static void Sink2(object o) => throw null;
// Defined as sink neutral in the file next to the neutral summary test.
// MISSING NEUTRAL
public static void NoSink(object o) => throw null;
// New sink
// sink=Sinks;NewSinks;false;WrapResponseWrite;(System.Object);;Argument[0];html-injection;df-generated
// neutral=Sinks;NewSinks;WrapResponseWrite;(System.Object);summary;df-generated