- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 380 for behavior (0.28 sec)
-
src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java
// Default constructor } /** Default client invoke names for DBFlute behavior invocation. */ protected static final String[] DEFAULT_CLIENT_INVOKE_NAMES = { "Page", "Action", "Controller", "ControllerImpl", "Task", "Test" }; /** Default bypass invoke names for DBFlute behavior invocation. */ protected static final String[] DEFAULT_BYPASS_INVOKE_NAMES =
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertTrue(shorter.equals(longer), "Shorter equals longer when prefix matches (implementation behavior)"); // In the opposite direction, an out-of-bounds occurs internally and is caught as false assertFalse(longer.equals(shorter), "Longer does not equal shorter (implementation behavior)"); } // Confirms equals() returns false when content differs @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
byte[] data = new byte[] { 1, 2, 3 }; t.setMechanismToken(data); assertArrayEquals(data, t.getMechanismToken(), "mechanismToken should round-trip"); // Document current behavior: no defensive copy (reference exposed) data[0] = 9; assertEquals(9, t.getMechanismToken()[0], "no defensive copy; reflects external mutation"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
assertNotNull(result); assertTrue(result instanceof DefaultQueryBuilder); // Verify query was processed // Note: Field logging behavior depends on implementation } public void test_convertPhraseQuery_singleTerm_defaultField_dismax() { // Test with single term in default field with boost > 1
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
import jcifs.config.PropertyConfiguration; import jcifs.context.BaseContext; import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmHttpURLConnection class. * This class uses Mockito to simulate the behavior of HttpURLConnection and other dependencies. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class NtlmHttpURLConnectionTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Mocking MsrpcLsarOpenPolicy2 and MsrpcLsarClose is tricky because they are created inside the constructor/method. // We need to use ArgumentCaptor or a custom Answer to control their behavior. // For now, let's assume we can mock their behavior through the sendrecv method of DcerpcHandle. @BeforeEach void setUp() { // MockitoAnnotations.openMocks(this); // Not needed with @ExtendWith(MockitoExtension.class) }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
mockNotifications.add(fileNotifyInfo3); } /** * Test watch() method returning notifications */ @Test void testWatch() throws CIFSException { // Setup mock behavior when(watchHandle.watch()).thenReturn(mockNotifications); // Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/database/sql/driver/67546.md
A database driver may implement [RowsColumnScanner] to entirely override `Scan` behavior....
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 11 21:27:36 UTC 2025 - 90 bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
* one or more methods to modify the behavior of the backing map entry as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void constructor_shouldOpenPolicySuccessfully() throws IOException { // Arrange String server = "testServer"; int access = 123; // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2 doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0; // Simulate success return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0)