- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,100 for correctly (0.36 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import org.jspecify.annotations.Nullable; /** * Simple base class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class BaseComparable implements Comparable<BaseComparable>, Serializable { private final String s; public BaseComparable(String s) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; /** * Simple derived class to verify that we handle generics correctly. * * @author Kevin Bourrillion */ @GwtCompatible public class DerivedComparable extends BaseComparable { public DerivedComparable(String s) { super(s); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Then // Verify that ptype is set to 0 assertEquals(0, msrpcSamrOpenDomain.getPtype(), "ptype should be initialized to 0"); // Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG) // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively. int expectedFlags = 0x01 | 0x02; // DCERPC_FIRST_FRAG | DCERPC_LAST_FRAGCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @Test @DisplayName("Should correctly calculate bytes read from different starting positions") void testReadBytesWireFormatDifferentStartPositions() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[20];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
cmd/erasure-multipart-conditional_test.go
t.Logf("But expected read quorum error, not object-not-found error") } }) t.Run("if-match with correct ETag and read quorum failure", func(t *testing.T) { // Test Case 3: if-match with CORRECT ETag but read quorum failure // Even with the correct ETag, we shouldn't proceed if we can't verify it. opts := ObjectOptions{ UserDefined: map[string]string{ xhttp.IfMatch: existingETag,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
cifsContextWrapper = new CIFSContextWrapper(mockDelegate); } @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper); } @Test void testGetSmbResource() throws CIFSException, MalformedURLException { // Test get(String url) method
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/JarHellPrecommitPlugin.java
if (project.getPath().equals(":libs:elasticsearch-core") == false) { // ideally we would configure this as a default dependency. But Default dependencies do not work correctly // with gradle project dependencies as they're resolved to late in the build and don't setup according task // dependencies properlyCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * An artifact could not correctly being deployed. * * @since 4.0.0 */ @Experimental public class ArtifactDeployerException extends MavenException { /** * @param message the message of the error * @param e {@link Exception}Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() { // Given int offset = 0; int length = TEST_DATA.length; // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)