- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 228 for behaviors (0.06 sec)
-
src/test/java/jcifs/netbios/NameQueryRequestTest.java
NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName)); byte[] dst = new byte[100]; int dstIndex = 0; // Mock the superclass method to control its behavior doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
void testFileInformationMockImplementation() { // Create mock FileInformation mockFileInfo = mock(FileInformation.class); // Define behavior when(mockFileInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); // Test interface method byte level = mockFileInfo.getFileInformationLevel();
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/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
} /** System helper for common system operations and utilities. */ @Resource protected SystemHelper systemHelper; /** Behavior class for user information database operations. */ @Resource protected UserInfoBhv userInfoBhv; /** Behavior class for favorite log database operations. */ @Resource protected FavoriteLogBhv favoriteLogBhv;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java
* This service provides CRUD operations for request headers that are applied * during web crawling to configure HTTP request behavior. * */ public class RequestHeaderService { /** * Behavior for request header database operations. */ @Resource protected RequestHeaderBhv requestHeaderBhv; /** * Fess configuration settings. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.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 { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
} @Test @DisplayName("Test inherited behavior from parent class") void testInheritedBehavior() { // Test that response inherits from SmbComTransactionResponse assertTrue(response.hasMoreElements()); assertNotNull(response.nextElement()); // Test reset behavior response.reset(); assertTrue(response.hasMoreElements()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RoleService.java
/** * Service class for managing roles. */ public class RoleService { /** * The behavior for roles. */ @Resource protected RoleBhv roleBhv; /** * The Fess configuration. */ @Resource protected FessConfig fessConfig; /** * The behavior for users. */ @Resource protected UserBhv userBhv; /** * Constructor.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/resources/esflute_user.xml
<component name="invokerAssistant" class="org.codelibs.fess.opensearch.common.ImplementedInvokerAssistant"/> <component name="behaviorCommandInvoker" class="org.dbflute.bhv.core.BehaviorCommandInvoker"/> <!-- The components of Behavior. --> <component name="userBhv" class="org.codelibs.fess.opensearch.user.exbhv.UserBhv"/> <component name="roleBhv" class="org.codelibs.fess.opensearch.user.exbhv.RoleBhv"/>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 06 13:45:02 UTC 2024 - 750 bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Creates a minimal valid CIFS context that does not perform I/O by itself private CIFSContext ctx() { return SingletonContext.getInstance(); } @Nested @DisplayName("Constructor behavior") class ConstructorTests { @ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
} @Test void constructor_shouldOpenAliasSuccessfully() throws IOException { // Arrange int access = 1; int rid = 100; // Mock the behavior of sendrecv for MsrpcSamrOpenAlias doAnswer(invocation -> { MsrpcSamrOpenAlias rpc = invocation.getArgument(0); rpc.retval = 0; // Simulate success return null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)