Skip to content

Commit 95b0044

Browse files
author
shuxu.li
committed
feat: Refresh method support for table
1 parent 0e99d68 commit 95b0044

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

test/mock_catalog.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
#pragma once
2121

22+
#include <gmock/gmock.h>
23+
#include <gtest/gtest.h>
24+
2225
#include "iceberg/catalog.h"
2326

2427
namespace iceberg {
@@ -28,13 +31,11 @@ class MockCatalog : public Catalog {
2831
MockCatalog() = default;
2932
~MockCatalog() override = default;
3033

31-
// NOLINTBEGIN(clang-diagnostic-error)
32-
MOCK_METHOD((std::string_view), name, (), (const, override));
34+
MOCK_METHOD(std::string_view, name, (), (const, override));
3335

34-
MOCK_METHOD((Status), CreateNamespace,
36+
MOCK_METHOD(Status, CreateNamespace,
3537
(const Namespace&, (const std::unordered_map<std::string, std::string>&)),
3638
(override));
37-
// NOLINTEND(clang-diagnostic-error)
3839

3940
MOCK_METHOD((Result<std::vector<Namespace>>), ListNamespaces, (const Namespace&),
4041
(const, override));

0 commit comments

Comments
 (0)