I was thinking of if there is any framework/library which provides a mechanism to test the functions which are not exported by the shared library.
I want to test working of functions listed in "t" section of shared library. For testing functions in "T" section i'hv used cppunit.
Test scenario: There is a class exported using "__attribute__ ((visibility("default")))" which declares a variable of another class which is having "__attribute__ ((visibility("hidden")))" which is defined in the same library. I want to test the class with "__attribute__ ((visibility("hidden")))" attributes.
Programming language of library is c++
compiler gcc 4.1.2
platform RedHat/Solaris