Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 399 for sale (2.08 sec)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Sanity: implementing via an anonymous class works the same as a lambda.
         */
        @Test
        @DisplayName("anonymous class implementation behaves correctly")
        void anonymousClassImplementation() throws Exception {
            SmbFilenameFilter filter = new SmbFilenameFilter() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbPipeHandleTest.java

            }
    
            /**
             * Verifies that isStale returns true for a stale handle.
             */
            @Test
            public void testIsStale_ReturnsTrueWhenStale() {
                when(smbPipeHandle.isStale()).thenReturn(true);
                assertTrue(smbPipeHandle.isStale(), "isStale() should return true for a stale handle.");
            }
        }
    
        /**
         * Tests the unwrap functionality.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            byte[] buffer2 = new byte[200];
            int encoded2 = request2.encode(buffer2, 0);
            assertEquals(request2.size(), encoded2);
        }
    
        @Test
        @DisplayName("Test multiple encodes produce same result")
        void testMultipleEncodesProduceSameResult() {
            // Setup
            String pipeName = "RepeatedEncode";
            long timeout = 3000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            }
    
            @Test
            @DisplayName("list propagates SmbUnsupportedOperationException from doEnum")
            void list_propagatesUnsupportedOperationException() throws Exception {
                // Arrange: same setup as above to force doEnum -> SmbUnsupportedOperationException
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
                SmbResourceLocator locator = mock(SmbResourceLocator.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. LICENSE

          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue May 08 21:35:34 UTC 2018
    - 11.1K bytes
    - Viewed (0)
  6. LICENSE

          or other liability obligations and/or rights consistent with this
          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Jan 11 04:30:09 UTC 2021
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            // Assert
            assertNull(ex.getCause(), "Null cause should be preserved");
            assertNotNull(ex.toString(), "toString should be safe to call");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "oops", "multi word", "中文" })
        @DisplayName("Message+Cause constructor: preserves both values; no interactions with cause")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            RequestData data1 = context.build();
            RequestData data2 = context.build();
    
            // Should return the same underlying object
            assertSame(data1, data2);
        }
    
        public void test_modifyAfterBuild() {
            // Test modifying context after build
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest);
        }
    
        // call() should delegate to watch() and return the same list
        @Test
        @DisplayName("call() delegates to watch() and returns same result")
        void call_delegatesToWatch() throws Exception {
            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

                for (int j = i + 1; j < events.length; j++) {
                    assertNotEquals(events[i].getValue(), events[j].getValue(),
                            "Event types " + events[i] + " and " + events[j] + " have the same value");
                }
            }
        }
    
        @Test
        void testWitnessRegistrationStates() {
            assertEquals(5, WitnessRegistration.WitnessRegistrationState.values().length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top