Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,611 for expects (0.03 sec)

  1. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        }
    
        public void test_constants_reference() {
            // Test that the constant used is accessible and has expected value
            assertEquals("fess.search_engine.http_address", Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
        }
    
        public void test_static_method_signature() {
            // Verify method signature is correct
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            tree.tid = 123;
            tree.inDfs = true;
            tree.inDomainDfs = false;
            tree.connectionState = 2;
    
            String result = tree.toString();
            // Verify the toString contains the expected information
            assertTrue(result.contains("TESTSHARE"));
            assertTrue(result.contains("testService"));
            assertTrue(result.contains("123"));
            assertTrue(result.contains("2"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Using test vector from RFC 2104 adapted for HMACT64
            byte[] key = new byte[16];
            Arrays.fill(key, (byte) 0x0b);
            byte[] data = "Hi There".getBytes();
    
            // Expected result calculated manually for HMACT64 with this key and data
            HMACT64 hmac = new HMACT64(key);
            hmac.engineUpdate(data, 0, data.length);
            byte[] result = hmac.engineDigest();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertTrue(result > 0);
            assertNotNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test toString returns expected format")
        void testToString() {
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
    
            final int flags = SMBUtil.readInt4(data, offset + 16);
            if ((flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED) == 0) {
                log.error("The server did not sign a message we expected to be signed");
                return true;
            }
    
            final byte[] sig = new byte[SIGNATURE_LENGTH];
            System.arraycopy(data, offset + SIGNATURE_OFFSET, sig, 0, SIGNATURE_LENGTH);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. cmd/erasure-heal_test.go

    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    				if staleWriters[i] == nil {
    					continue
    				}
    				if !bytes.Equal(bitrotWriterSum(staleWriters[i]), bitrotWriterSum(writers[i])) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. tests/associations_has_one_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	if err := DB.Model(&user).Association("Languages").Replace(Account{Number: "2"}); err == nil {
    		t.Error("expected association error to be not nil")
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

     * This handler extends {@link URLStreamHandler} to provide a way to open connections to storage objects
     * using URLs with the "storage" protocol.
     *
     * <p>
     * The URL format is expected to be: {@code storage://bucketName/objectName}.
     * The bucket name and object name are extracted from the URL.
     * </p>
     *
     * <p>
     * The handler relies on environment variables for configuration:
     * </p>
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                // we need to catch it to verify that pipe.close() was still called
                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
                    assertEquals("Handle close failed", e.getMessage());
                }
    
                verify(mockSmbPipeHandleInternal).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            val extensions = socket.source.readUtf8LineStrict().trim()
            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
          } catch (e: NumberFormatException) {
            throw ProtocolException(e.message)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
Back to top