- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 574 for nulled (0.03 sec)
-
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Verifies that unwrap returns null if the requested type is not available. */ @Test public void testUnwrap_ReturnsNullForUnsupportedType() { when(smbPipeHandle.unwrap(SmbPipeHandle.class)).thenReturn(null); assertNull(smbPipeHandle.unwrap(SmbPipeHandle.class), "Unwrap should return null for an unsupported type."); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
InetAddress addr = mock(InetAddress.class); when(addr.getHostName()).thenReturn(hostname); UniAddress ua = new UniAddress(addr); // Act String called = ua.firstCalledName(); // Assert assertEquals(expectedPrefix, called, "firstCalledName should return uppercase prefix or SMBSERVER_NAME"); } @Test void nextCalledNameWithNbtAddressReturnsDelegateValue() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
{* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py hl[17:22, 24] *} //// /// info In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
assertEquals(0, msrpcSamrCloseHandle.getPtype(), "ptype should be 0"); assertEquals(MsrpcSamrCloseHandle.DCERPC_FIRST_FRAG | MsrpcSamrCloseHandle.DCERPC_LAST_FRAG, msrpcSamrCloseHandle.getFlags(), "flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* * <p>{@code CharSource} provides two kinds of methods: * * <ul> * <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned reader is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* * <p>{@code CharSource} provides two kinds of methods: * * <ul> * <li><b>Methods that return a reader:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned reader is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
responseQueue.put(new Response(request.methodName, null, exception.getTargetException())); continue; } catch (Throwable throwable) { responseQueue.put(new Response(request.methodName, null, throwable)); continue; } responseQueue.put(new Response(request.methodName, result, null)); } } catch (ThreadDeath death) { return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
StackTraceElement[] originalStackTrace = exception.getStackTrace(); assertNotNull(originalStackTrace); Throwable filled = exception.fillInStackTrace(); assertSame(exception, filled); StackTraceElement[] newStackTrace = exception.getStackTrace(); assertNotNull(newStackTrace); } public void test_multipleInstances() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null"); assertEquals(mockConfig, config, "Should return the mock Configuration object"); } /** * Test for close() method. * Verifies that the close method can be called without throwing an exception. * @throws CIFSException */ @Test void testClose() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
// and a mock SmbFile with specific attributes when(mockFile.getAttributes()).thenReturn(fileAttributes); // When the accept method is called boolean result = dosFileFilter.accept(mockFile); // Then the result should be as expected if (expectedResult) { assertTrue(result, "File should be accepted"); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)