[
https://issues.apache.org/jira/browse/HBASE-24510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17129794#comment-17129794
]
Nick Dimiduk commented on HBASE-24510:
--------------------------------------
bq. IIRC the assumption is, the code under test directory are private by
default, unless we explicitly set to IA.Public, like HBTU.
I agree with you. The trouble is we haven't done a good job of making HBTU
independently consumable, without all the other stuff in {{src/test}}. It could
be these classes are no longer reachable from the APIs of HBTU (certainly
{{HBaseTestCase}} shouldn't be, i'm not as sure about {{GenericTestUtils}}.
My preference is that we reboot the testing support we provide to downstreamers
before we start deleting utility classes that have been around for years. We
would need a jar with classes in {{src/main}} that provide the functionality of
HTU and whatever other supporting functions are required. Those classes would
be {{IA.Public}} with clear compatibility contract. Once we have that,
everything else becomes deprecated, removed.
I don't know if we have a Jira for that specific effort. I've seen a number of
tickets like this one that are trying to chip away at the problem.
> Remove HBaseTestCase and GenericTestUtils
> -----------------------------------------
>
> Key: HBASE-24510
> URL: https://issues.apache.org/jira/browse/HBASE-24510
> Project: HBase
> Issue Type: Task
> Components: test
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0-alpha-1
>
>
> It is still a junit3 style test base, let's remove it.
> GenericTestUtils is also useless, remove it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)