@@ -205,23 +205,6 @@ FOSSIL_TEST(cpp_create_palette_null_inputs) {
205205 FOSSIL_TEST_ASSUME (palette3 == NULL , " Palette should not be created with NULL name and description" );
206206} // end case
207207
208- FOSSIL_TEST (cpp_add_command_null_inputs) {
209- fossil::io::Parser parser;
210- fossil_io_parser_palette_t *palette = parser.create_palette (" test_palette" , " Test Description" );
211- FOSSIL_TEST_ASSUME (palette != NULL , " Palette should be created successfully" );
212-
213- fossil_io_parser_command_t *command1 = parser.add_command (palette, NULL , " tc" , " Test Command Description" );
214- FOSSIL_TEST_ASSUME (command1 == NULL , " Command should not be added with NULL name" );
215-
216- fossil_io_parser_command_t *command2 = parser.add_command (palette, " test_command" , " tc" , NULL );
217- FOSSIL_TEST_ASSUME (command2 == NULL , " Command should not be added with NULL description" );
218-
219- fossil_io_parser_command_t *command3 = parser.add_command (NULL , " test_command" , " tc" , " Test Description" );
220- FOSSIL_TEST_ASSUME (command3 == NULL , " Command should not be added to NULL palette" );
221-
222- parser.free (palette);
223- } // end case
224-
225208FOSSIL_TEST (cpp_add_command_with_short_name) {
226209 fossil::io::Parser parser;
227210 fossil_io_parser_palette_t *palette = parser.create_palette (" test_palette" , " Test Description" );
@@ -742,7 +725,6 @@ FOSSIL_TEST_GROUP(cpp_parser_test_cases) {
742725 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_duplicate_command_name);
743726 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_null_argument_name);
744727 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_create_palette_null_inputs);
745- FOSSIL_TEST_ADD (cpp_parser_suite, cpp_add_command_null_inputs);
746728 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_add_command_with_short_name);
747729 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_duplicate_command_short_name);
748730 FOSSIL_TEST_ADD (cpp_parser_suite, cpp_add_argument_null_command);
0 commit comments