Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for ab2345 (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
            roleQueryHelper.maxAge = 0;
    
            Set<String> roleSet = new HashSet<>();
            String value = "12345\nrole1,role2";
    
            roleQueryHelper.parseRoleSet(value, false, roleSet);
    
            assertEquals(2, roleSet.size());
            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should handle response with retained payload")
            void testHaveResponseWithRetainedPayload() throws SMBProtocolDecodingException {
                byte[] buffer = { 1, 2, 3, 4, 5 };
                response.setRetainPayload(true);
                response.setDigest(null);
    
                response.haveResponse(buffer, 1, 3);
    
                byte[] payload = response.getRawPayload();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(0, hash.length);
        }
    
        // Test that changing lmCompatibility at runtime doesn't affect already loaded static value
        @ParameterizedTest
        @ValueSource(strings = { "0", "1", "2", "3", "4", "5" })
        void testLmCompatibilityStaticInitialization(String lmCompatibility) {
            // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. utils/utils_test.go

    func TestRTrimSlice(t *testing.T) {
    	tests := []struct {
    		name     string
    		input    []int
    		trimLen  int
    		expected []int
    	}{
    		{
    			name:     "Trim two elements from end",
    			input:    []int{1, 2, 3, 4, 5},
    			trimLen:  2,
    			expected: []int{1, 2, 3},
    		},
    		{
    			name:     "Trim entire slice",
    			input:    []int{1, 2, 3},
    			trimLen:  3,
    			expected: []int{},
    		},
    		{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("8105")
        assertData(payload)
      }
    
      @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() {
        val length = 12345
        val payload: ByteString = (binaryData(length))
        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("817e")
        assertData(format("%04x", length))
        assertData(payload)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Test with specific value
            FileEndOfFileInformation info = new FileEndOfFileInformation(12345L);
            String str2 = info.toString();
            assertEquals("EndOfFileInformation[endOfFile=12345]", str2);
        }
    
        @Test
        @DisplayName("Test toString with various values")
        void testToStringWithVariousValues() {
            // Test negative value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES =
          unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5));
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
          for (BoundType uboundType : BoundType.values()) {
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
            assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken));
        }
    
        /**
         * Test constructor with a malformed Kerberos token (invalid inner structure).
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/MessageTest.java

            assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload");
    
            // Set another payload and verify
            byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 };
            message.setRawPayload(payload2);
            assertArrayEquals(payload2, message.getRawPayload(), "getRawPayload should return the updated payload");
    
            // Set null payload and verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top