@@ -33,14 +33,6 @@ def test_server_initializes_with_correct_name_and_version
3333 assert_equal CF ::MCP ::VERSION , @server . server . version
3434 end
3535
36- def test_server_has_title
37- assert_equal "Cute Framework MCP" , @server . server . title
38- end
39-
40- def test_server_has_website_url
41- assert_equal CF ::MCP ::Server ::WEBSITE_URL , @server . server . website_url
42- end
43-
4436 def test_server_has_icons
4537 icons = @server . server . icons
4638 assert_equal 2 , icons . size
@@ -79,20 +71,6 @@ def test_server_tools_contains_all_tool_classes
7971 assert_equal expected_tools , @server . server . tools . values
8072 end
8173
82- def test_all_tools_have_title_constant
83- @server . server . tools . each_value do |tool |
84- assert tool . const_defined? ( :TITLE ) , "#{ tool . name } should define TITLE constant"
85- assert_kind_of String , tool ::TITLE
86- refute_empty tool ::TITLE , "#{ tool . name } TITLE should not be empty"
87- end
88- end
89-
90- def test_all_tools_have_title_set
91- @server . server . tools . each_value do |tool |
92- assert_equal tool ::TITLE , tool . title_value , "#{ tool . name } should have title set to TITLE constant"
93- end
94- end
95-
9674 def test_all_tools_have_read_only_annotations
9775 @server . server . tools . each_value do |tool |
9876 annotations = tool . annotations_value
@@ -101,7 +79,6 @@ def test_all_tools_have_read_only_annotations
10179 assert_equal false , annotations . destructive_hint , "#{ tool . name } should not be destructive"
10280 assert_equal true , annotations . idempotent_hint , "#{ tool . name } should be idempotent"
10381 assert_equal false , annotations . open_world_hint , "#{ tool . name } should not be open-world"
104- assert_equal tool ::TITLE , annotations . title , "#{ tool . name } annotation title should match TITLE constant"
10582 end
10683 end
10784end
0 commit comments