- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for testOid (1.64 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
assertTrue(generator.generate("test_id", outputFile)); } finally { outputFile.delete(); } } public void test_generate_outputFile_null() throws Exception { generator.setCommandList(Collections.singletonList("echo test")); try { generator.generate("test_id", null); fail("Should throw exception for null output file");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); String result = trans2SetFileInfo.toString(); assertNotNull(result); assertTrue(result.contains("Trans2SetFileInformation")); assertTrue(result.contains("fid=" + TEST_FID)); } @Test @DisplayName("Test with FileBasicInfo") void testWithFileBasicInfo() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
private static final int TEST_FID = 0x1234; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Test parameters wire format writing trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); byte[] buffer = new byte[256]; int written = trans2FindNext2.writeParametersWireFormat(buffer, 0); // Verify sid (2 bytes) assertEquals(TEST_SID, SMBUtil.readInt2(buffer, 0)); // Verify maxItems (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex); // Set server GUID (16 bytes) byte[] testGuid = new byte[16]; for (int i = 0; i < 16; i++) { testGuid[i] = (byte) (i + 1); } System.arraycopy(testGuid, 0, buffer, bufferIndex + 4, 16); // Set security mode (2 bytes) int testSecurityMode = 0x0003;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-gwt/pom.xml
</dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava-testlib</artifactId> <version>${project.version}</version> <classifier>tests</classifier> <scope>test</scope>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} } }; ComponentUtil.register(dictionaryManager, "dictionaryManager"); // Initialize ProtwordsFile protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date()); protwordsFile.manager(dictionaryManager); } @Override public void tearDown() throws Exception { if (testFile != null && testFile.exists()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
execJob.testDeleteTempDir(null); // Test with existing directory File testDir = new File(tempDir, "test_delete_dir"); assertTrue(testDir.mkdir()); assertTrue(testDir.exists()); execJob.testDeleteTempDir(testDir); assertFalse(testDir.exists()); // Test with non-existent directory File nonExistentDir = new File(tempDir, "non_existent");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Given int testMid = 42; // When Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true); SmbComNtCancel cancel = constructor.newInstance(mockConfig, testMid); // Then assertNotNull(cancel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/SidResolverTest.java
@Mock private SID mockSid3; @Mock private SID mockDomainSid; private String testServerName; private SID[] testSids; @BeforeEach void setUp() { testServerName = "test-server.domain.com"; testSids = new SID[] { mockSid1, mockSid2, mockSid3 }; } // Test resolveSids with array @Test void testResolveSids_Success() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.5K bytes - Viewed (0)