- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 277 for samme (1.38 sec)
-
src/test/java/jcifs/smb/DfsReferralTest.java
// Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that getData() returns the same mock data object assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor."); } /** * Test the toString method. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
// Arrange SmbPipeOutputStream out = newStream(); // Act SmbPipeHandleImpl got = out.getHandle(); // Assert assertSame(handle, got, "getHandle should expose the same instance passed to constructor"); } @Test @DisplayName("close does nothing and does not touch handle") void close_doesNothing() throws Exception { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
} } /** * Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes. * This method delegates to {@link FileInputStream#mark(int)}. * * @param readlimit the maximum limit of bytes that can be read before the mark position becomes invalid */ @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java
extractor.getText(in, null); assertTrue("validateInputStream should be called", extractor.isValidateCalled()); assertSame("Should validate the same stream instance", in, extractor.getLastValidatedStream()); } /** * Test that getText throws exception when null stream is provided.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.4K bytes - Viewed (0) -
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) -
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) -
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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
* Test adding duplicate rules */ public void test_addRule_duplicates() { TestRule rule = new TestRule("rule1", true); ruleManager.addRule(rule); ruleManager.addRule(rule); // Add same rule again assertEquals(2, ruleManager.getRuleCount()); assertTrue(ruleManager.hasRule(rule)); // Remove one instance assertTrue(ruleManager.removeRule(rule));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
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 buildRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.9K bytes - Viewed (0) -
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)