- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 298 for hedged (0.41 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
ExceptionWithGoodAndBadConstructor.class, 1, SECONDS)); assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION); } // Edge case tests of the exception-construction code through untimed get(): @SuppressWarnings("FuturesGetCheckedIllegalExceptionType") public void testGetCheckedUntimed_exceptionClassIsRuntimeException() { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
byte[] copiedFileId = new byte[16]; System.arraycopy(buffer, 8, copiedFileId, 0, 16); assertArrayEquals(newFileId, copiedFileId); } @Test @DisplayName("Test edge case with minimum buffer size") void testMinimumBufferSize() { byte[] buffer = new byte[24]; // Exact size needed int written = request.writeBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((time / 1000L) * 1000L, readTime); } } @Test void testBoundaryConditions() { byte[] buffer = new byte[16]; // Test edge of array SMBUtil.writeInt2(0xFFFF, buffer, 14); assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 14)); // Test different offsets for (int offset = 0; offset <= 8; offset++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, transPeekNamedPipe.getSubCommand()); } @Test @DisplayName("Should handle edge case with zero FID") void testZeroFid() { // Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, 0); byte[] buffer = new byte[10]; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Invalid unwrap assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } @Test @DisplayName("isEmpty and isBlank edge cases") void testEmptyAndBlank() throws Exception { // No subauthorities SID s1 = new SID("S-1-5"); assertTrue(s1.isEmpty());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertNotNull(context); assertTrue(context.getContextType() > 0); } } } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTest { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
// Test writing a comment line updater.write("# This is a comment"); updater.close(); } // Test edge cases public void test_emptyFile() { String content = ""; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.reload(null, is);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertEquals(0xFF, mockRequest.getContextType()); verify(mockRequest).getContextType(); } } @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests { @Test @DisplayName("Should handle maximum size arrays") void testMaximumSizeArrays() { // Test with reasonably large arrays
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertNull(mockSession.getContext()); // Default mock behavior assertNull(mockSession.unwrap(SmbSession.class)); // Default mock behavior } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTest { @Test @DisplayName("Should handle repeated method calls consistently") void shouldHandleRepeatedMethodCallsConsistently() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
SmbFileInputStream in = newStream(); int v = in.read(); assertEquals(-1, v); } } @Nested @DisplayName("Edge and invalid inputs") class EdgeCases { @Test @DisplayName("read(null) throws NullPointerException") void readNullArrayThrows() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)