Michael Nebel
|
209b9c6114
|
C#: Re-factor to use inline expectation tests instead.
|
2025-03-13 11:11:23 +01:00 |
|
Michael Nebel
|
40375a0387
|
C#: Use stubs for the cs/local-not-disposed tests.
|
2025-03-13 10:47:45 +01:00 |
|
Michael Nebel
|
5eb9a535a4
|
C#: Remove disposal test for library code as we are no longer doing CIL extraction or data flow.
|
2025-03-13 10:45:00 +01:00 |
|
Michael Nebel
|
e79cb443da
|
Merge pull request #18976 from michaelnebel/csharp/constant-condition
C#: Increase precision of `cs/constant-condition`.
|
2025-03-12 14:42:15 +01:00 |
|
Michael Nebel
|
4a3e463918
|
Merge pull request #18950 from michaelnebel/csharp/localnotdisposed
C#: Exclude Task from cs/local-not-disposed.
|
2025-03-12 09:17:22 +01:00 |
|
Michael Nebel
|
371a72ecec
|
C#: Move Bad test into other file to avoid sync-files breakage.
|
2025-03-11 14:54:13 +01:00 |
|
Michael Nebel
|
120af3611a
|
C#: Update test expected output.
|
2025-03-11 14:39:09 +01:00 |
|
Michael Nebel
|
c15137e992
|
C#: Update test expected output.
|
2025-03-11 14:36:34 +01:00 |
|
Michael Nebel
|
f42ae48ffa
|
C#: Add some switch case examples.
|
2025-03-11 14:35:04 +01:00 |
|
Michael Nebel
|
4451e55bba
|
C#: Convert cs/constant-condition tests to inline expectation tests.
|
2025-03-11 13:35:05 +01:00 |
|
Michael Nebel
|
26f0f7f6da
|
Update csharp/ql/test/query-tests/API Abuse/NoDisposeCallOnLocalIDisposable/NoDisposeCallOnLocalIDisposable.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-03-10 12:40:25 +01:00 |
|
Michael Nebel
|
3f8679a099
|
C#: Update test expected output.
|
2025-03-07 16:00:28 +01:00 |
|
Michael Nebel
|
f58c72ed59
|
C#: Add example for local not disposed involving tasks.
|
2025-03-07 14:44:29 +01:00 |
|
Michael Nebel
|
3903a90a11
|
C#: Update expected test output.
|
2025-03-07 13:22:37 +01:00 |
|
Michael Nebel
|
5c0fc1f75b
|
C#: Add BMN tests for cs/constant-condition.
|
2025-03-07 13:22:34 +01:00 |
|
Michael Nebel
|
431586bb70
|
C#: Make the same folder structure for BMN tests as used for traced extractor tests.
|
2025-03-07 13:22:32 +01:00 |
|
Michael Nebel
|
dd7d5d031c
|
C#: Update test expected output.
|
2025-03-05 15:27:01 +01:00 |
|
Michael Nebel
|
361bdfac12
|
C#: Add a testcase with an empty if statement containing a comment.
|
2025-03-05 15:22:22 +01:00 |
|
Michael Nebel
|
a9d45a2aa2
|
C#: Add some tests for cs/useless-if-statement.
|
2025-03-05 14:32:41 +01:00 |
|
Carl Dybdahl
|
2f7cdf1bfa
|
Improvements
|
2025-03-03 15:32:15 +01:00 |
|
Carl Dybdahl
|
b3447959fa
|
Match autoformatting, add QLDoc references
|
2025-03-03 15:32:15 +01:00 |
|
Carl Dybdahl
|
d371723fe4
|
Fix test
|
2025-03-03 15:32:15 +01:00 |
|
Carl Dybdahl
|
35fd4d226f
|
Oops
|
2025-03-03 15:32:15 +01:00 |
|
Carl Dybdahl
|
44e6691e6d
|
Add implementation and tests
|
2025-03-03 15:32:15 +01:00 |
|
Michael Nebel
|
97f9f0ccc5
|
C#: Update test expected output.
|
2025-02-24 13:53:50 +01:00 |
|
Michael Nebel
|
5eb305da93
|
C#: Add some value tuple examples for cs/call-to-object-tostring and update test expected output.
|
2025-02-24 13:42:30 +01:00 |
|
Michael Nebel
|
8781d6762c
|
C#: Update test options files to point to the new stubs.
|
2025-01-31 10:36:57 +01:00 |
|
Michael Nebel
|
bae29aeee4
|
C#: Update implications test expected output.
|
2025-01-16 16:57:33 +01:00 |
|
Michael Nebel
|
024de5eafc
|
C#: Update virtual call in constructor expected test output.
|
2025-01-14 17:14:11 +01:00 |
|
Michael Nebel
|
77f9f4c532
|
C#: Add implicit to string usage in constructor.
|
2025-01-14 17:14:07 +01:00 |
|
Michael Nebel
|
d40c1bebbf
|
C#: Update expected testoutput for Nullness tests.
|
2025-01-14 17:14:06 +01:00 |
|
Michael Nebel
|
6a31fd7893
|
C#: Add ImplicitToString example in nullness tests.
|
2025-01-14 17:14:02 +01:00 |
|
Michael Nebel
|
f905be4df3
|
C#: Add a RedundantToStringCall test case.
|
2025-01-14 17:13:45 +01:00 |
|
Michael Nebel
|
82f8a796e1
|
C#: Update all test util paths to point to the new location.
|
2024-12-12 13:21:31 +01:00 |
|
Michael Nebel
|
6a0d56a146
|
C#: Update DataQuality output. Roslyn now correctly finds the compile time target.
|
2024-12-06 14:30:45 +01:00 |
|
Tamas Vajk
|
b8fd20eb05
|
Add explanation todo comments in the missing call target test file
|
2024-12-02 13:52:46 +01:00 |
|
Tamas Vajk
|
b0d3c11885
|
Add a new test case
|
2024-12-02 11:03:53 +01:00 |
|
Tamas Vajk
|
11dedbef1b
|
Exclude property call with object initializer r-value from DB quality query
|
2024-11-29 16:26:40 +01:00 |
|
Tamas Vajk
|
b3896df15c
|
Exclude type parameter instantiations from DB quality query
|
2024-11-29 16:05:33 +01:00 |
|
Tamas Vajk
|
5d79ed6a9e
|
C#: WIP: Fix calls with no target in DB quality query
|
2024-11-29 15:08:33 +01:00 |
|
Tamas Vajk
|
072713f771
|
C#: Exclude more property access expressions from DB quality metric
|
2024-11-28 14:34:35 +01:00 |
|
Tom Hvitved
|
95e9d013cc
|
Update expected test output
|
2024-11-04 12:07:06 +01:00 |
|
Tom Hvitved
|
8ba80fd022
|
C#: Post-processing query for inline test expectations
|
2024-10-29 13:35:31 +01:00 |
|
Michael Nebel
|
82ff545424
|
C#: Re-factor test for CWE-611/UntrustedDataInsecureXml.ql to pretty print models in test case.
|
2024-10-28 10:36:32 +01:00 |
|
Michael Nebel
|
146c88fabb
|
C#: Update test expected output where the results are not affected.
|
2024-10-23 13:08:21 +02:00 |
|
Michael Nebel
|
5495a211f2
|
C#: Update exception information exposure expected output.
|
2024-10-23 13:08:19 +02:00 |
|
Michael Nebel
|
20b5a7b6f0
|
C#: Update expected test output.
|
2024-10-23 13:08:10 +02:00 |
|
Michael Nebel
|
191658f637
|
C#: Update expected test output.
|
2024-10-21 12:04:31 +02:00 |
|
Michael Nebel
|
0b8e83dc87
|
C#: Add log forging false positive example using ReplaceLineEndings.
|
2024-10-21 11:55:09 +02:00 |
|
Michael Nebel
|
e89a47f2f5
|
C#: Update XSS expected test output.
|
2024-09-25 14:13:03 +02:00 |
|