- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 574 for correctos (0.06 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
// set it as the name of the test. Then in runTest we can reflectively load and invoke the // corresponding method on AbstractFutureTest in the correct classloader. TestSuite suite = new TestSuite(AbstractFutureFallbackAtomicHelperTest.class.getName()); for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
private Map<Object, MergeableMetadata> relatedMetadata = new ConcurrentHashMap<>(); /** * @deprecated we want to use the artifact method only, and ensure artifact.file is set * correctly. */ @Deprecated @Override public void deploy( String basedir, String finalName, Artifact artifact, ArtifactRepository deploymentRepository,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.4K bytes - Viewed (0)