Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 3,688 for avoid (0.5 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        private final long serverTimeZoneOffset = 3600000; // 1 hour in milliseconds
    
        @BeforeEach
        public void setUp() {
            response = new SmbComQueryInformationResponse(serverTimeZoneOffset);
        }
    
        /**
         * Test of constructor, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testConstructor() {
            // The constructor sets the command and serverTimeZoneOffset.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @Mock
        private SmbNegotiationResponse mockResponse;
    
        private byte[] testRequestBuffer;
        private byte[] testResponseBuffer;
        private SmbNegotiation negotiation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocMapTest.java

            docMap.clear();
    
            assertTrue(docMap.isEmpty());
        }
    
        public void test_constructor() {
            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            assertNotNull(docMap);
            assertTrue(docMap.isEmpty());
            assertEquals(0, docMap.size());
        }
    
        public void test_basic_operations() {
            Map<String, Object> parentMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            queryCommand.register();
        }
    
        private void setNotAnalyzedFields(final String... fields) {
            Set<String> notAnalyzedFieldSet = new HashSet<>();
            for (String field : fields) {
                notAnalyzedFieldSet.add(field);
            }
            queryFieldConfig.notAnalyzedFieldSet = notAnalyzedFieldSet;
        }
    
        public void test_getQueryClassName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

        private RequestManager requestManager;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            provider = new FessUserTimeZoneProcessProvider();
            requestManager = createMockRequestManager();
        }
    
        @Override
        public void tearDown() throws Exception {
            provider = null;
            requestManager = null;
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        private SmbNegotiationRequest customImplementation;
    
        @BeforeEach
        void setUp() {
            // Create a custom implementation for additional testing
            customImplementation = new TestSmbNegotiationRequest(false);
        }
    
        @Test
        @DisplayName("Test isSigningEnforced returns true when signing is enforced")
        void testIsSigningEnforcedReturnsTrue() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        private NtTransNotifyChangeResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new NtTransNotifyChangeResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with empty notification list")
        void testConstructor() {
            assertNotNull(response);
            assertNotNull(response.getNotifyInformation());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top