- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 302 for getTid (0.33 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
class ConstructorTests { private Configuration mockConfig; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
utimes(path, atime, mtime, callback) { callback(enosys()); }, }; } if (!globalThis.process) { globalThis.process = { getuid() { return -1; }, getgid() { return -1; }, geteuid() { return -1; }, getegid() { return -1; }, getgroups() { throw enosys(); }, pid: -1, ppid: -1, umask() { throw enosys(); }, cwd() { throw enosys(); }, chdir() { throw enosys(); },
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setMid and getMid methods") void testSetAndGetMid() { // Given long expectedMid = 12345L; doNothing().when(messageBlock).setMid(expectedMid); when(messageBlock.getMid()).thenReturn(expectedMid); // When messageBlock.setMid(expectedMid); long actualMid = messageBlock.getMid(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
item1.id = 100L; item2.id = 200L; assertEquals(100L, item1.getId()); assertEquals(200L, item2.getId()); // Verify they don't affect each other item1.id = 300L; assertEquals(300L, item1.getId()); assertEquals(200L, item2.getId()); } public void test_constructor() { // Test that constructor creates a valid instance
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor."); assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor."); } /** * Test method for {@link jcifs.pac.PacGroup#getId()}. */ @Test void testGetId() { // Test the getId method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /** * Test method for {@link jcifs.pac.PacSidAttributes#getId()}. */ @Test void testGetId() { // Test the getId method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
// Should return dataCount assertEquals(5, result); } @Test void testGetSid() { // Test the getSid method // By default, it should be 0 assertEquals(0, response.getSid()); } @Test void testGetResumeKey() { // Test the getResumeKey method // By default, it should be 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId()); assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId()); assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId()); } public void test_getId() { // Test getId method through reflection since it's protected try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 34.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
public void store(final ElevateWord elevateWord) { final boolean isNew = elevateWord.getId() == null; final String[] labelTypeIds = elevateWord.getLabelTypeIds(); elevateWordBhv.insertOrUpdate(elevateWord, op -> { op.setRefreshPolicy(Constants.TRUE); }); final String elevateWordId = elevateWord.getId(); if (labelTypeIds != null) { if (isNew) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, mid, asyncId); request.setRequestCredits(credits); request.setTid(treeId); // Then assertEquals(mid, request.getMid(), "MID should be set correctly"); assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0)