- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,025 for resultCh (0.06 seconds)
-
src/test/java/jcifs/SmbSessionTest.java
Configuration mockConfig = mock(Configuration.class); when(mockSession.getConfig()).thenReturn(mockConfig); Configuration result1 = mockSession.getConfig(); Configuration result2 = mockSession.getConfig(); assertSame(result1, result2, "getConfig() should return consistent values"); verify(mockSession, times(2)).getConfig(); } } @Nested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
byte[] dst1 = new byte[10]; byte[] dst2 = new byte[10]; // Act int result1 = transWaitNamedPipe.writeSetupWireFormat(dst1, 0); int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0); // Assert assertEquals(result1, result2); assertArrayEquals(dst1, dst2); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
} private void assertViolations(SimpleProblemCollector result, int fatals, int errors, int warnings) { assertEquals(fatals, result.getFatals().size(), String.valueOf(result.getFatals())); assertEquals(errors, result.getErrors().size(), String.valueOf(result.getErrors())); assertEquals(warnings, result.getWarnings().size(), String.valueOf(result.getWarnings())); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
char[] password3 = "testpassworX".toCharArray(); Boolean result1 = (Boolean) constantTimeMethod.invoke(null, password1, password2); Boolean result2 = (Boolean) constantTimeMethod.invoke(null, password1, password3); assertTrue(result1, "Identical passwords should be equal"); assertFalse(result2, "Different passwords should not be equal"); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// Execute the job multiple times String result1 = purgeDocJob.execute(); // Reset the flag deleteByQueryCalled = false; String result2 = purgeDocJob.execute(); // Assert both executions were successful assertEquals("", result1); assertEquals("", result2); assertTrue(deleteByQueryCalled); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
assertEquals(0, result.processedCount(), "Empty result should have no processed POMs"); assertEquals(0, result.modifiedCount(), "Empty result should have no modified POMs"); assertEquals(0, result.unmodifiedCount(), "Empty result should have no unmodified POMs"); assertEquals(0, result.errorCount(), "Empty result should have no errors"); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Result.java
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; /** * Base interface for service operation results in Maven. This interface defines the common contract * for operation results, providing access to the original request that generated this result. * * <p>Each result is linked to its originating {@link Request}, allowing for: * <ul> * <li>Traceability between requests and their outcomes</li>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/query_test.go
} for idx := range results { results[idx].Name = results[idx].Name + "_new" } if err := tx.Save(results).Error; err != nil { t.Fatalf("failed to save users, got error %v", err) } return nil }); result.Error != nil || result.RowsAffected != 6 { t.Errorf("Failed to batch find, got error %v, rows affected: %v", result.Error, result.RowsAffected) } if totalBatch != 6 {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
List<FileNotifyInformation> result1 = response.getNotifyInformation(); List<FileNotifyInformation> result2 = response.getNotifyInformation(); List<FileNotifyInformation> result3 = response.getNotifyInformation(); // Verify all calls return the same content assertEquals(result1.size(), result2.size()); assertEquals(result2.size(), result3.size());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
// Act int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0); int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50); int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100); // Assert assertEquals(result1, result2); assertEquals(result2, result3); assertTrue(result1 > 0); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)