- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 520 for incorrectly (0.07 sec)
-
docs/en/docs/tutorial/response-model.md
* **Validate** the returned data. * If the data is invalid (e.g. you are missing a field), it means that *your* app code is broken, not returning what it should, and it will return a server error instead of returning incorrect data. This way you and your clients can be certain that they will receive the data and the data shape expected. * Add a **JSON Schema** for the response, in the OpenAPI *path operation*.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
int tid = response.getTid(); // Then assertEquals(54321, tid, "getTid should return tree ID"); } @Test @DisplayName("Should validate tree ID correctly") void testIsValidTid() { // Test valid TID response.setTreeId(100); assertTrue(response.isValidTid(), "Positive tree ID should be valid");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
*/ String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.", "Incorrect function.", "The parameter is incorrect.", "Invalid access to memory location.", "The handle is invalid.", "The parameter is incorrect.", "The system cannot find the file specified.", "The system cannot find the file specified.",Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (dir, n) -> n != null && n.toLowerCase().endsWith(".txt"); boolean result = filter.accept(mockDir, name); assertEquals(expected, result, "Filter should evaluate .txt suffix correctly"); verifyNoInteractions(mockDir); } /** * Invalid/null inputs: ensure filters can handle null name and dir. */ @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Derived.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.NullUnmarked; /** Simple derived class to verify that we handle generics correctly. */ @GwtCompatible @NullUnmarked class Derived extends Base { public Derived(String s) { super(s); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} @ParameterizedTest @ValueSource(ints = { 1, 3, 5, 10, 20 }) @DisplayName("Should encode various hash algorithm counts correctly") void testEncodeVariousHashAlgoCounts(int algoCount) { int[] hashAlgos = new int[algoCount]; for (int i = 0; i < algoCount; i++) { hashAlgos[i] = i + 1; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(24, lock.size()); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("Should encode basic lock structure correctly") void testBasicEncoding() { long offset = 0x1234567890ABCDEFL; long length = 0xFEDCBA0987654321L; int flags = 0x12345678;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (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); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.1K bytes - Viewed (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}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 21:57:56 UTC 2025 - 1.2K bytes - Viewed (0)