- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 274 for edge (1.14 sec)
-
src/test/java/jcifs/smb1/util/MimeMapTest.java
void testVariousDefaultValues(String defaultValue) throws IOException { assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue)); } } @Nested @DisplayName("Edge cases and special scenarios") class EdgeCases { @Test @DisplayName("Should handle multiple extensions for same mime type") void testMultipleExtensionsForSameMimeType() throws IOException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps") void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception { // Arrange: stub to return true regardless of input when(handle.hasCapability(anyInt())).thenReturn(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act itr.remove(); // Assert verify(delegate, times(1)).remove(); } @Test @DisplayName("Edge: empty delegate yields no elements") void emptyDelegate_hasNoNext() { // Arrange - no parent setup needed since no URLs are created when(delegate.hasNext()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false); assertNotNull(ctx1); } @Nested @DisplayName("getSubject edge cases") class SubjectTests { @Test @DisplayName("returns provided subject") void subject_non_null() { Subject s = new Subject();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// The constructor doesn't actually call any methods on the config during construction } } @Nested @DisplayName("Edge case tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum buffer index") void testMaxBufferIndex() throws SMBProtocolDecodingException { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// 5. Verify heartbeat fails after unregistration assertFalse(mockService.processHeartbeat(regId, 4)); } /** * Test error conditions and edge cases */ @Test void testErrorConditions() { // Test operations on empty service assertEquals(0, mockService.getRegistrationCount());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals(8, serverData.encryptionKey.length); assertEquals(16, serverData.guid.length); } /** * Test edge cases for numeric fields */ @Test @DisplayName("Test edge cases for numeric fields") public void testNumericFieldsEdgeCases() { // Test maximum values for int fields serverData.sflags2 = Integer.MAX_VALUE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
.github/workflows/contributor-pr.yml
with: script: | if (context.payload.pull_request && context.payload.pull_request.head.repo.fork) { core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -Ddevelocity.edge.discovery=false -DcacheNode=us --scan') } else { core.setOutput('sys-prop-args', '') } - name: Setup Gradle uses: gradle/actions/setup-gradle@v5 with:Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sun Dec 14 14:03:48 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
// Test that it can be thrown as IOException assertThrows(IOException.class, () -> { throw exception; }); } } @Nested @DisplayName("Edge Cases") class EdgeCaseTests { @Test @DisplayName("Should handle very long messages") void testVeryLongMessage() { StringBuilder longMessage = new StringBuilder();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Service accessors assertEquals("cifs", auth.getService()); auth.setService(""); assertEquals("", auth.getService()); // Lifetime accessors (edge: zero/negative) auth.setUserLifeTime(0); assertEquals(0, auth.getUserLifeTime()); auth.setUserLifeTime(-1); assertEquals(-1, auth.getUserLifeTime()); auth.setLifeTime(0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)