Add test that Conscrypt always overrides Bouncy Castle.

When we have both a Conscrypt and a Bouncy Castle implementation for a
particular algorithm, we'd prefer that anyone who requests it gets the
Conscrypt version.  This test checks to ensure that every identifier
that BC has for a given algorithm is also provided by Conscrypt, so that
there aren't any cases where a user could request an odd name and end
up with the BC implementation even though a Conscrypt implementation is
available.

Bug: 7148552
Test: vogar libcore.java.security.ProviderTest
Change-Id: I12555905c8cbfb4b7262fbfcd2548871cfda2e8c
1 file changed