Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 33 of 33 for getOEMEncoding (0.28 seconds)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Mock the OEM encoding for non-Unicode tests
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
            fileBothDirectoryInfo = new FileBothDirectoryInfo(mockConfig, true);
            fileBothDirectoryInfoNonUnicode = new FileBothDirectoryInfo(mockConfig, false);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

        private NodeStatusResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            // Setup mock configuration with lenient stubbing
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Setup mock query address
            mockQueryAddress = mock(NbtAddress.class);
            Name mockName = new Name(mockConfig, "TEST", 0x20, null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameTest.java

        @BeforeEach
        void setUp() {
            // Setup default mock behavior
            lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE");
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        void constructor_withConfigOnly_shouldInitializeFields() throws Exception {
            Name name = new Name(mockConfig);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top