File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
openid-connect-common/src/test/java/org/mitre/jose Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -160,37 +160,6 @@ public void ksEmptyConstructorkLoc() {
160160
161161File file = new File (ks_file );
162162
163- /* First, test with file without "read" permission */
164-
165- boolean set = false ;
166-
167- if (file .exists ()) {
168- set = file .setReadable (false );
169- }
170-
171- // skip this part of the test on systems that don't allow the settable function, like Windows
172- if (set ) {
173-
174- Resource loc_noread = new FileSystemResource (file );
175- assertTrue (loc_noread .exists ());
176- // assertTrue(!loc_noread.isReadable());
177-
178- boolean thrown = false ;
179- try {
180- ks .setLocation (loc_noread );
181- } catch (IllegalArgumentException e ) {
182- thrown = true ;
183- }
184- assertTrue (thrown );
185-
186- /* Now, make cache file readable */
187-
188- if (file .exists ()) {
189- file .setReadable (true );
190- }
191-
192- }
193-
194163Resource loc = new FileSystemResource (file );
195164assertTrue (loc .exists ());
196165assertTrue (loc .isReadable ());
You can’t perform that action at this time.
0 commit comments