File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
java/com/datatheorem/android/trustkit Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -51,21 +51,6 @@ public void testInitializeWithValidXmlFile() {
5151 assertNotNull (trustkit );
5252 }
5353
54- @ Test
55- public void testInitializeWithBadXmlFile () {
56- Context context = InstrumentationRegistry .getContext ();
57- int pemFileId = context .getResources ().getIdentifier ("bad_config" , "xml" ,
58- context .getPackageName ());
59-
60- boolean didInitFail = false ;
61- try {
62- TrustKit .initializeWithNetworkSecurityConfiguration (context , pemFileId );
63- } catch (ConfigurationException e ) {
64- didInitFail = true ;
65- }
66- assertTrue (didInitFail );
67- }
68-
6954 @ Test
7055 public void testInitializeWithBadResourceId () {
7156 Context context = InstrumentationRegistry .getContext ();
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments