iOS/HomeAssistant.xcodeproj
Bruno Pantaleão d6502e1b0b Add unit tests for API models
Add comprehensive unit tests for core API model classes:

- NotificationCategory: Tests category configuration, options, UNNotificationCategory generation, service calls, updates from server config, and Realm persistence
- NotificationAction: Tests action initialization, UNNotificationAction generation, text input handling, SF Symbol icons, and category relationships
- Action: Tests initialization, Codable compliance, canConfigure logic, trigger types, scene integration, color generation, and MobileAppConfig updates
- LocationHistory: Tests location entry creation from CLLocation/zones, accuracy authorization, CLError mapping, and edge cases

All tests follow project conventions and verify business logic, data transformations, edge cases, and Realm integration.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 15:03:24 +01:00
..
2016-03-25 21:26:21 -07:00
2026-02-03 15:03:24 +01:00