Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 577 for correctos (2.48 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            // When
            MsrpcLsarOpenPolicy2 msrpcLsarOpenPolicy2 = new MsrpcLsarOpenPolicy2(server, access, mockPolicyHandle);
    
            // Then
            // Verify that the super constructor is called with correct arguments
            // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito.
            // We verify the effects of the super constructor by checking the fields of the created object.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertEquals("Correct string should be delivered.", EVENT, holder.get());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertNull(exceptionHolder[0]);
            assertNotNull(clientHolder[0]);
        }
    
        // Test repeated instantiation
        public void test_repeatedInstantiation() {
            // Test that repeated instantiation works correctly
            for (int i = 0; i < 10; i++) {
                CrawlerEngineClient client = new CrawlerEngineClient();
                assertNotNull(client);
            }
        }
    
        // Test instance fields initialization
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        @Test
        @DisplayName("Should create request with correct command type")
        void testConstructorSetsCorrectCommand() throws Exception {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    
            // When
            Smb2TreeDisconnectRequest req = new Smb2TreeDisconnectRequest(mockConfig);
    
            // Then - verify command is set correctly using reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(65535, buffer2, 58);
    
            // Test should detect buffer overflow (this is working correctly!)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
            // The validation correctly detects when buffer extends beyond available data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR");
            assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message");
            assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            byte[] buf = new byte[length];
            Arrays.fill(buf, (byte) 0xFF);
            return buf;
        }
    
        @Test
        @DisplayName("constructor initialises command and parameters correctly")
        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

            assertTrue((DcerpcError.DCERPC_FAULT_PROTO_ERROR & 0xFF000000) == 0x1C000000, "DCERPC_FAULT_PROTO_ERROR should be in 0x1C range");
        }
    
        @Test
        @DisplayName("Should verify DcerpcException uses fault codes correctly")
        void testDcerpcExceptionIntegration() {
            // Test that DcerpcException can be created and implements DcerpcError
            DcerpcException ex1 = new DcerpcException("Test error", null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top