Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 591 for assertNotNull (0.41 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertNotNull(item);
            assertEquals("text", item.getText());
            assertArrayEquals(readings, item.getReadings());
            assertNotNull(item.getFields());
            assertEquals(0, item.getFields().length);
            assertNotNull(item.getTags());
            assertEquals(0, item.getTags().length);
            assertNotNull(item.getRoles());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // Assert object_attributes fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes);
            assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
    
            // Assert security_quality_of_service fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes.security_quality_of_service);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            byte[] signingKey311 = Smb3KeyDerivation.deriveSigningKey(Smb2Constants.SMB2_DIALECT_0311, testSessionKey, testPreauth);
    
            // Then - Verify keys are derived and different
            assertNotNull(signingKey300);
            assertNotNull(signingKey311);
            assertEquals(16, signingKey300.length);
            assertEquals(16, signingKey311.length);
            assertFalse(Arrays.equals(signingKey300, signingKey311));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/TransportExceptionTest.java

    package jcifs.util.transport;
    
    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.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, FileInformation.FILE_BASIC_INFO);
            assertNotNull(trans2QueryPathInfo);
    
            // Test with FILE_STANDARD_INFO
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, FileInformation.FILE_STANDARD_INFO);
            assertNotNull(trans2QueryPathInfo);
    
            // Test with FILE_ENDOFFILE_INFO
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

                robotsTxt = robotsTxtHelper.parse(in);
            } finally {
                CloseableUtil.closeQuietly(in);
            }
    
            // Should not throw exception and return a valid RobotsTxt object
            assertNotNull(robotsTxt);
    
            // Test that orphaned directives (before any User-agent) are ignored
            // These should not affect any bot
            assertTrue(robotsTxt.allows("/orphaned1/", "AnyBot"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

    package jcifs.ntlmssp.av;
    
    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    public class AvTimestampTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        public void testConstructorWithRawBytes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

            PopularWordsResponse response = suggester.popularWords().execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_setSize() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(5).execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_addTag() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
    
            // Assert
            assertNotNull(entries, "Entries array should not be null");
            assertEquals(1, entries.length, "Exactly one entry is expected");
            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
            assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

            BaseConfiguration configWithDefaults = new BaseConfiguration(true);
    
            assertNotNull(configWithDefaults.getRandom());
            assertNotNull(configWithDefaults.getLocalTimezone());
            assertNotNull(configWithDefaults.getMachineId());
            assertEquals(32, configWithDefaults.getMachineId().length);
            assertNotNull(configWithDefaults.getNativeOs());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top