Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,084 for shouldn (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            // Verify the object was created successfully
            assertNotNull(msg, "Message should not be null");
            // The command should still be SMB_COM_LOGOFF_ANDX regardless of andx command
            assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX");
        }
    
        @Test
        @DisplayName("constructor with null andx does not throw exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/Base64Test.java

            // Assert
            assertArrayEquals(expected, actual, "Base64.decode should return original bytes");
        }
    
        @Test
        @DisplayName("encode should throw NPE on null input")
        void testEncodeNull() {
            assertThrows(NullPointerException.class, () -> Base64.encode(null));
        }
    
        @Test
        @DisplayName("decode should throw NPE on null input")
        void testDecodeNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @Test
            @DisplayName("Should calculate size for null hash algorithms and salt")
            void testSizeWithNullHashAlgosAndSalt() {
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    
                assertEquals(4, context.size());
            }
    
            @Test
            @DisplayName("Should calculate size for empty arrays")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    		// Test case - 5.
    		// Enabling PreSigned Signature v4, but X-Amz-Content-Sha256 set and its not UNSIGNED-PAYLOAD, we shouldn't skip.
    		{"X-Amz-Content-Sha256", "somevalue", "X-Amz-Credential", "", false},
    
    		// Test case - 6.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD" and its not presigned, we should skip.
    		{"X-Amz-Content-Sha256", unsignedPayload, "", "", true},
    
    		// Test case - 7.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

                TestFessLabels labels = new TestFessLabels();
                labels.testAssertPropertyNotNull(null);
                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("The argument 'property' for message should not be null.", e.getMessage());
            }
        }
    
        /**
         * Test that assertPropertyNotNull does not throw exception for non-null input
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            innerBuilder.add(new TermQuery(new Term("content", "inner")), BooleanClause.Occur.SHOULD);
    
            BooleanQuery.Builder outerBuilder = new BooleanQuery.Builder();
            outerBuilder.add(innerBuilder.build(), BooleanClause.Occur.SHOULD);
            outerBuilder.add(new TermQuery(new Term("content", "outer")), BooleanClause.Occur.SHOULD);
            BooleanQuery nestedQuery = outerBuilder.build();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
            "computeIfAbsent(notPresent, function) should return new value",
            v3(),
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
                      return v3();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act & Assert
            assertTrue(itr.hasNext(), "Should have first element ready");
            SmbResource r1 = itr.next();
            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/cors.md

    * `allow_origins` - A list of origins that should be permitted to make cross-origin requests. E.g. `['https://example.org', 'https://www.example.org']`. You can use `['*']` to allow any origin.
    * `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top