Remove gtest file from cpp library - #9816
Conversation
--- **Motivation** PR apache#9072 introduces the gtest file but does not exclude for apache-rat check. So that causes the apache-rat check to fail.
|
A couple of notes on #9072:
|
eolivelli
left a comment
There was a problem hiding this comment.
LGTM
One curiosity:
Aren't we running apache-rat at every PR validation?
|
We are not running the apache-rat so I added it at PR #9815 |
|
@merlimat @BewareMyPower Could you please take a look at this? I remove the gtest file and move the macro into the lib dir. Thanks |
|
Since the original <exclude>pulsar-client-cpp/include/gtest/gtest_prod.h</exclude> |
|
There're three places that included the You should replace it with |
|
@BewareMyPower I address your comments. Please take a look. thank you |
eolivelli
left a comment
There was a problem hiding this comment.
LGTM
can you please change the PR title and description.
We should cite that we are working on the CPP client tests.
* Fix the apache-rat check --- **Motivation** PR apache#9072 introduces the gtest file but does not exclude for apache-rat check. So that causes the apache-rat check to fail. * Move the test to the another file * Address comments
* Fix the apache-rat check --- **Motivation** PR apache#9072 introduces the gtest file but does not exclude for apache-rat check. So that causes the apache-rat check to fail. * Move the test to the another file * Address comments (cherry picked from commit 0d5f070) (cherry picked from commit c568834)
Motivation
PR #9072 introduces the gtest file and a new license header.
Actually, we can avoid introducing the new license header by
adding the macro in our code.