Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 483 for assertAll (0.51 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

    package jcifs.internal.smb1.trans.nt;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.nio.ByteBuffer;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyInt;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

    package jcifs.dcerpc;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    class DcerpcExceptionTest {
    
        /**
         * Test constructor DcerpcException(int error) with a known error code.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

            assertNull(loc.getAddress());
        }
    
        @Test
        @DisplayName("Test DFS referral data")
        void testDfsReferralData() throws Exception {
            String url = "smb://server/share/path/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
            // Initially no DFS referral
            assertNull(loc.getDfsReferral());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        @Test
        public void test_setDefaultValue_withNull() {
            fileTypeHelper.setDefaultValue(null);
            assertNull(fileTypeHelper.getDefaultValue());
            assertNull(fileTypeHelper.get("non/existent"));
        }
    
        @Test
        public void test_setDefaultValue_withEmpty() {
            fileTypeHelper.setDefaultValue("");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/ExecJobTest.java

        // Test constructor and initial state
        @Test
        public void test_constructor() {
            assertNotNull(execJob);
            assertNull(execJob.jobExecutor);
            assertNull(execJob.sessionId);
            assertTrue(execJob.useLocalFesen);
            assertNull(execJob.logFilePath);
            assertNull(execJob.logLevel);
            assertEquals(StringUtil.EMPTY, execJob.logSuffix);
            assertNotNull(execJob.jvmOptions);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            dataStore = new DataStore() {
                @Override
                public void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap) {
                    storeCalled.set(true);
                    assertNull(config);
                }
    
                @Override
                public void stop() {
                    // Do nothing
                }
            };
    
            DataStoreParams params = new DataStoreParams();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            job.process(runtime);
    
            // Verify the JobLog was stored without a pre-set ID
            assertNotNull(storedJobLog.get());
            assertNull(storedJobLog.get().getId());
            assertEquals(Constants.OK, storedJobLog.get().getJobStatus());
        }
    
        @Test
        public void test_process_withNullJobLogId_idRemainsNull() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            // Test unavailable SID type (type 3 - DOMAIN)
            assertNull(sambaHelper.getAccountId(createMockSID(3, "Domain")));
    
            // Test unavailable SID type (type 6 - DELETED)
            assertNull(sambaHelper.getAccountId(createMockSID(6, "Deleted Account")));
    
            // Test unavailable SID type (type 7 - INVALID)
            assertNull(sambaHelper.getAccountId(createMockSID(7, "Invalid Account")));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedInfo.decode(decodeBuffer);
    
            // Verify nulls are preserved
            assertEquals(0, decodedInfo.name.length);
            assertEquals(0, decodedInfo.name.maximum_length);
            assertNull(decodedInfo.name.buffer);
            assertNull(decodedInfo.sid);
        }
    
        @Test
        void testLsarDnsDomainInfoEncodeDecodeRoundTrip() throws NdrException {
            // Create DNS domain info with test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top