| 214 | "nested"))); |
| 215 | |
| 216 | TEST(ExtensionIdRegistryTest, GetSupportedSubstraitFunctions) { |
| 217 | ExtensionIdRegistry* default_registry = default_extension_id_registry(); |
| 218 | std::vector<std::string> supported_functions = |
| 219 | default_registry->GetSupportedSubstraitFunctions(); |
| 220 | std::size_t num_functions = supported_functions.size(); |
| 221 | ASSERT_GT(num_functions, 0); |
| 222 | |
| 223 | std::shared_ptr<ExtensionIdRegistry> nested = |
| 224 | nested_extension_id_registry(default_registry); |
| 225 | ASSERT_OK(nested->AddSubstraitCallToArrow(kNonExistentId, "some_function")); |
| 226 | |
| 227 | std::size_t num_nested_functions = nested->GetSupportedSubstraitFunctions().size(); |
| 228 | ASSERT_EQ(num_functions + 1, num_nested_functions); |
| 229 | } |
| 230 | |
| 231 | TEST(ExtensionIdRegistryTest, RegisterTempTypes) { |
| 232 | auto default_registry = default_extension_id_registry(); |
nothing calls this directly
no test coverage detected