Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 667 for assertNotNull (0.42 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
            assertTrue(resp instanceof NotifyResponse);
            assertNotNull(resp.getNotifyInformation());
            assertEquals(0, resp.getNotifyInformation().size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

    package jcifs.internal.smb1.trans2;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.when;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            Artifact[] artifacts = pluginHelper.getInstalledArtifacts(ArtifactType.UNKNOWN);
            assertNotNull(artifacts);
        }
    
        public void test_getInstalledArtifacts_dataStore() {
            Artifact[] artifacts = pluginHelper.getInstalledArtifacts(ArtifactType.DATA_STORE);
            assertNotNull(artifacts);
        }
    
        public void test_getArtifact_found() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                // Then
                assertEquals(24, bytesConsumed);
                // Values are read as-is (can be negative due to overflow)
                assertNotNull(fileFsSizeInfo.getCapacity());
                assertNotNull(fileFsSizeInfo.getFree());
            }
    
            @ParameterizedTest
            @DisplayName("Should decode various sector and allocation configurations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            jobLog.setEndTime(null);
    
            MonitorTarget target = new MonitorTarget(jobLog);
            try {
                target.expired();
                // If it succeeds, check that lastUpdated is set
                assertNotNull(jobLog.getLastUpdated());
            } catch (Exception e) {
                // Expected in test environment due to missing client
                assertTrue(e.getMessage().contains("client"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

    package jcifs.pac.kerberos;
    
    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.assertThrows;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.doThrow;
    import static org.mockito.Mockito.when;
    
    import java.util.Collections;
    import java.util.HashSet;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

                // Test that validation completes without exception
                assertNotNull("Validation should return a boolean result for edge case: " + cron, Boolean.valueOf(result));
            }
        }
    
        public void test_constructorAndInitialize() {
            assertNotNull(validator);
    
            // Test initialize method doesn't throw exception
            validator.initialize(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testGetResource() throws Exception {
            assertNotNull(ResourceUtil.getResource("java/lang/String.class", "class"));
            assertNotNull(ResourceUtil.getResource("org/codelibs"));
            try {
                ResourceUtil.getResource("hoge", "xml");
                fail("2");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbNamedPipeTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                private final AtomicLong execTime = new AtomicLong(0);
    
                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                    assertNotNull(paramMap);
                    assertNotNull(dataMap);
                    docSize.incrementAndGet();
                    execTime.addAndGet(100);
                }
    
                @Override
                public long getDocumentSize() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top