Skip to content

Commit

Permalink
Remove legacy test
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Jun 8, 2019
1 parent 1be7012 commit a3700cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,6 @@ public void testInitializeWithValidXmlFile() {
assertNotNull(trustkit);
}

@Test
public void testInitializeWithBadXmlFile() {
Context context = InstrumentationRegistry.getContext();
int pemFileId = context.getResources().getIdentifier("bad_config", "xml",
context.getPackageName());

boolean didInitFail = false;
try {
TrustKit.initializeWithNetworkSecurityConfiguration(context, pemFileId);
} catch (ConfigurationException e) {
didInitFail = true;
}
assertTrue(didInitFail);
}

@Test
public void testInitializeWithBadResourceId() {
Context context = InstrumentationRegistry.getContext();
Expand Down
3 changes: 0 additions & 3 deletions trustkit/src/androidTest/res/xml/bad_config.xml

This file was deleted.

0 comments on commit a3700cc

Please sign in to comment.