Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 6,187 for New (0.04 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValues);
            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValuesLowercase);
            assertArrayEquals(new String[0], missingValues);
        }
    
        @Test
        public void testGetHeaderValueMultipleValues() {
            CurlResponse response = new CurlResponse();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            byte[] dst = new byte[100];
    
            int result = response.writeDataWireFormat(dst, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        @Test
        public void test_equals() {
            // Test equals method
            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            ProtwordsItem item2 = new ProtwordsItem(2, "word");
            ProtwordsItem item3 = new ProtwordsItem(1, "different");
            ProtwordsItem item4 = new ProtwordsItem(1, "word");
    
            // Same object
            assertTrue(item1.equals(item1));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            // Test with all zeros
            byte[] zeroFileId = new byte[16];
            Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
            // Test with all ones
            byte[] onesFileId = new byte[16];
            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        public void test_nestedExceptions() {
            // Test nested exception handling
            Exception level3 = new RuntimeException("Level 3 error");
            Exception level2 = new IllegalStateException("Level 2 error", level3);
            Exception level1 = new IOException("Level 1 error", level2);
            SsoLoginException exception = new SsoLoginException("Top level SSO error", level1);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            ASN1EncodableVector v = new ASN1EncodableVector();
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(badPvno))); // wrong pvno
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x00 })));
            ASN1Sequence seq = new DERSequence(v);
    
            // Act + Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
                    return new Tuple3[] { new Tuple3<>("Host", "example.com", "site1"), new Tuple3<>("X-Forwarded-Host", "test.com", "site2"),
                            new Tuple3<>("Custom-Header", "custom.value", "site3") };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        assertThat(loadAllCount.get()).isEqualTo(0);
    
        Object unused1 = baseLoader.load(new Object());
        @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
        Future<?> possiblyIgnoredError = baseLoader.reload(new Object(), new Object());
        Map<Object, Object> unused2 = baseLoader.loadAll(ImmutableList.of(new Object()));
        assertThat(loadCount.get()).isEqualTo(1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]);
            propertiesFile.deleteOnExit();
            DynamicProperties systemProps = new DynamicProperties(propertiesFile);
            ComponentUtil.register(systemProps, "systemProperties");
            userAgentHelper = new UserAgentHelper();
            ComponentUtil.register(userAgentHelper, "userAgentHelper");
            pathMappingHelper = new PathMappingHelper();
            pathMappingHelper.init();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
Back to Top