icingaweb2-module-director/test/php/library/Director
Ravi Srinivasa 8abacb694f
test: Add test suite and documentation for custom variable and dictionary support
Tests covering:
- CustomVariable / CustomVariables: rendering, config string generation,
  dictionary and array type behaviour
- CustomVariableDictionaryRendering: Icinga 2 DSL output for nested dicts
- IcingaConfigHelper: macro validation and structured variable rendering
- DirectorProperty: CRUD, inheritance, field assignment
- IcingaHost / IcingaService / IcingaServiceApplyFor: object-level
  custom variable assignment and apply-for rule evaluation
- BasketSnapshotCustomVariable: round-trip basket import/export
- MigrateCommand: migration logic, --delete, --dry-run, skipped fields
- CustomVariableForm / CustomVariablesForm / DeleteCustomVariableForm:
  form submission and validation
- Rendered output fixtures updated for service5/6/7 and new
  host_dynamic_dict, service_apply_for_array, service_apply_for_dict

Documentation:
- Dictionary-Support-Changes.md: full feature overview and API reference
- custom-variables-demo.sh: end-to-end shell demo script
2026-06-01 12:32:15 +02:00
..
Application Remove dependency checker 2026-04-09 08:58:07 +02:00
CustomVariable test: Add test suite and documentation for custom variable and dictionary support 2026-06-01 12:32:15 +02:00
Data test: Replace usages of @expectException 2023-08-31 09:48:48 +02:00
Form test: Add test suite and documentation for custom variable and dictionary support 2026-06-01 12:32:15 +02:00
IcingaConfig test: Add test suite and documentation for custom variable and dictionary support 2026-06-01 12:32:15 +02:00
Import BaseTestCase: Use phpunit's new TestCase 2023-08-30 17:28:06 +02:00
Objects test: Add test suite and documentation for custom variable and dictionary support 2026-06-01 12:32:15 +02:00
PropertyModifier test: Replace usages of @expectException 2023-08-31 09:48:48 +02:00
Resolver Change parent class of BaseTestCase to \Icinga\Test\BaseTestCase 2024-01-16 14:33:49 +01:00
Restriction FilterByNameRestriction: test and unify behavior 2018-02-20 13:45:19 +01:00