- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 3,107 for correct (0.13 seconds)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Then assertNotNull(transCallNamedPipe); assertEquals(TEST_PIPE_NAME, transCallNamedPipe.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct bytes") void testWriteSetupWireFormat() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] dst = new byte[10];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
// Verify correctness assertTrue(result.success(), "Result should be successful"); assertEquals(largePomSet.size(), result.processedCount(), "Should have correct processed count"); } }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) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static com.google.common.collect.CollectPreconditions.checkPositive;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0); // Should write the entire path assertTrue(written > longPath.length()); // Check information level is still correct int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0101, actualInfoLevel); } @Test void testWriteParametersWithSpecialCharacters() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is * technically not correct however the server 8 byte challenge would be required to compute and compare the password * hashes but that it not available with this method. */ @Override public boolean equals(final Object obj) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
*/ @TestInstance(TestInstance.Lifecycle.PER_CLASS) class FileInformationTest { /** * Test that interface constants are correctly defined */ @Test @DisplayName("Test FileInformation constants are correctly defined") void testInterfaceConstants() { // Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
* code, running tests, packaging the project, and deploying it. Executing a phase * triggers all preceding phases, ensuring that each step of the build process is * completed in the correct order. The three main lifecycles in Maven are * {@link #DEFAULT default}, {@link #CLEAN clean}, and {@link #SITE site}, with the * {@code default} lifecycle being the most commonly used for project builds. * * @since 4.0.0Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs()); // The correct implementation should check flags2, not flags testBlock.addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS); // But due to the bug, this still returns falseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
@ExtendWith(MockitoExtension.class) public class SmbCopyUtilTest { // --- Tests for openCopyTargetFile --- @ParameterizedTest @ValueSource(booleans = { true, false }) @DisplayName("openCopyTargetFile sets correct access flags depending on alsoRead") void openCopyTargetFile_accessMask_respectsAlsoRead(boolean alsoRead) throws Exception { // Arrange SmbFile dest = mock(SmbFile.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given int testMid = 42; // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0)