ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
19 stars 14 forks source link

Create Inherited TestDatabaseAPI class with protected methods to test the private curl methods #1042

Open nedvedba opened 1 week ago

nedvedba commented 1 week ago

The DatabaseAPI class is currently untestable because the methods are private, so a new class must be created to inherit DatabaseAPI to be able to call those private methods.

JoshuaSBrown commented 1 week ago

Acceptance

A Database test class is created in the DatabaseAPI unit test that inherits from DatabaseAPI class, the unit test runs and the protected methods are directly callable.