File tree Expand file tree Collapse file tree 2 files changed +12
-23
lines changed 
src/test/java/org/opensearch/commons/authuser/util Expand file tree Collapse file tree 2 files changed +12
-23
lines changed Original file line number Diff line number Diff line change 11/* 
2+  * Copyright OpenSearch Contributors 
23 * SPDX-License-Identifier: Apache-2.0 
3-  * 
4-  * The OpenSearch Contributors require contributions made to 
5-  * this file be licensed under the Apache-2.0 license or a 
6-  * compatible open source license. 
7-  * 
8-  * Modifications Copyright OpenSearch Contributors. See 
9-  * GitHub history for details. 
104 */ 
5+ 
116package  org .opensearch .commons .authuser .util ;
127
8+ import  static  org .hamcrest .MatcherAssert .assertThat ;
9+ import  static  org .hamcrest .Matchers .containsString ;
10+ import  static  org .hamcrest .Matchers .is ;
11+ import  static  org .junit .Assert .assertThrows ;
12+ 
1313import  java .io .ByteArrayOutputStream ;
1414import  java .io .ObjectOutputStream ;
1515import  java .io .Serializable ;
2020import  java .util .stream .IntStream ;
2121
2222import  org .junit .Test ;
23- 
2423import  org .opensearch .OpenSearchException ;
2524
26- import  static  org .hamcrest .MatcherAssert .assertThat ;
27- import  static  org .hamcrest .Matchers .containsString ;
28- import  static  org .hamcrest .Matchers .is ;
29- import  static  org .junit .Assert .assertThrows ;
30- 
3125public  class  Base64HelperTest  {
3226
3327    private  static  final  class  NotSafeSerializable  implements  Serializable  {
Original file line number Diff line number Diff line change 11/* 
22 * Copyright OpenSearch Contributors 
33 * SPDX-License-Identifier: Apache-2.0 
4-  * 
5-  * The OpenSearch Contributors require contributions made to 
6-  * this file be licensed under the Apache-2.0 license or a 
7-  * compatible open source license. 
8-  * 
94 */ 
105
116package  org .opensearch .commons .authuser .util ;
127
8+ import  static  org .junit .Assert .assertEquals ;
9+ import  static  org .junit .Assert .assertFalse ;
10+ import  static  org .junit .Assert .assertTrue ;
11+ import  static  org .junit .Assert .fail ;
12+ 
1313import  java .io .IOException ;
1414import  java .net .InetAddress ;
1515import  java .net .InetSocketAddress ;
2020import  org .junit .After ;
2121import  org .junit .Test ;
2222
23- import  static  org .junit .Assert .assertEquals ;
24- import  static  org .junit .Assert .assertFalse ;
25- import  static  org .junit .Assert .assertTrue ;
26- import  static  org .junit .Assert .fail ;
27- 
2823public  class  SafeSerializationUtilsTest  {
2924
3025    @ After 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments