dscanner.analysis.helpers

Members

Functions

assertAnalyzerWarnings
void assertAnalyzerWarnings(string code, const StaticAnalysisConfig config, string file = __FILE__, size_t line = __LINE__)

This assert function will analyze the passed in code, get the warnings, and make sure they match the warnings in the comments. Warnings are marked like so: // warn: Failed to do somethings.

Meta