Files
cacti/phpunit-rrd-graph-item.xml
Thomas VincentandTheWitness ed09adfffd Validate graph item fields before they reach the RRDtool command line (#7655)
* Validate graph item fields before they reach the RRDtool command line

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* Match textalign validation to the RRD_ALIGN constants

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
Co-authored-by: TheWitness <thewitness@cacti.net>
2026-08-16 21:35:44 -04:00

18 lines
596 B
XML

<phpunit bootstrap="include/vendor/autoload.php" beStrictAboutOutputDuringTests="false">
<php>
<ini name="error_reporting" value="-1"/>
<env name="CACTI_TEST_BOOTSTRAP" value="1"/>
</php>
<source>
<include>
<file>lib/rrd_graph_item.php</file>
</include>
</source>
<testsuites>
<testsuite name="RRD graph item field contract coverage">
<file>tests/Coverage/RrdGraphItemCoverageTest.php</file>
<file>tests/Unit/RrdGraphItemFieldContractTest.php</file>
</testsuite>
</testsuites>
</phpunit>