mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-26 21:18:40 +09:00
* 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>
18 lines
596 B
XML
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>
|