Skip to content

Commit 3beb70b

Browse files
committed
test: Add test cases for update_calendar and delete_calendar tools
1 parent 3a29c87 commit 3beb70b

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

tests/integration/test-cases.json

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"metadata": {
3-
"version": "1.2.1",
4-
"total_tests": 55,
3+
"version": "2.2.0",
4+
"total_tests": 57,
55
"categories": {
6-
"caldav": 20,
6+
"caldav": 22,
77
"carddav": 15,
88
"vtodo": 15,
99
"edge_cases": 5
@@ -757,6 +757,31 @@
757757
"rationale": "User says 'schedule' (event word) but means 'task' (todo) - context matters",
758758
"difficulty": "hard",
759759
"common_mistake": "Might incorrectly select create_event instead of create_todo"
760+
},
761+
{
762+
"id": "caldav-021",
763+
"category": "caldav",
764+
"name": "Update calendar color",
765+
"user_query": "Change the color of my Work calendar to red",
766+
"expected_tool": "update_calendar",
767+
"expected_parameters": {
768+
"calendar_url": "https://dav.philflow.io/admin/calendar1/",
769+
"color": "#FF0000"
770+
},
771+
"rationale": "Calendar property update - use update_calendar for renaming, color changes, etc.",
772+
"difficulty": "medium"
773+
},
774+
{
775+
"id": "caldav-022",
776+
"category": "caldav",
777+
"name": "Delete calendar permanently",
778+
"user_query": "Delete my Old Projects calendar permanently",
779+
"expected_tool": "delete_calendar",
780+
"expected_parameters": {
781+
"calendar_url": "https://dav.philflow.io/admin/calendar1/"
782+
},
783+
"rationale": "Permanent calendar deletion - use delete_calendar, warns about deleting all events",
784+
"difficulty": "easy"
760785
}
761786
]
762787
}

0 commit comments

Comments
 (0)