Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for testdoc (1.3 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with existing file
        public void test_getThumbnailFile_exists() throws IOException {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "testdoc");
    
            String filename = thumbnailManager.getImageFilename(docMap);
            File thumbnailFile = new File(tempDir, filename);
            thumbnailFile.getParentFile().mkdirs();
            thumbnailFile.createNewFile();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsTest.java

        private Dfs dfs;
        private TestDfs testDfs;
    
        private MockedStatic<LogStream> logStreamMockedStatic;
        private MockedStatic<UniAddress> uniAddressMockedStatic;
        private MockedStatic<SmbTransport> smbTransportMockedStatic;
        private MockedStatic<Config> configMockedStatic;
    
        // Test subclass to control DISABLED flag
        private static class TestDfs extends Dfs {
            private boolean disabled;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            assertEquals("testDir", sdd.path);
            assertEquals(ServerMessageBlock.SMB_COM_DELETE_DIRECTORY, sdd.command);
        }
    
        /**
         * Test writeParameterWordsWireFormat.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir");
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

    public class DictionaryManagerTest extends UnitFessTestCase {
        private File testDir;
    
        private File file1;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            testDir = File.createTempFile("synonymtest", "_dir");
            testDir.delete();
            testDir.mkdirs();
            file1 = new File(testDir, "synonym.txt");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress
            src[srcIndex + 53] = 0x04; // flags: active
    
            // MAC address (6 bytes)
            byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
            System.arraycopy(testMac, 0, src, srcIndex + 55, 6);
    
            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir");
            byte[] dst = new byte[10];
            int result = smbCom.writeParameterWordsWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteBytesWireFormat() {
            // Test the byte format written by the class
            String directoryName = "\testDir";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                when(dc.toString()).thenReturn("TESTDC");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
                String result = nc.toString();
    
                // With size = 1 * 2 = 2, Hexdump.toHexString produces "AB"
                assertTrue(result.contains("challenge=0xAB"));
                assertTrue(result.contains("dc=TESTDC"));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. .github/workflows/docs.yml

        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      test_docs:
        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 987 bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDCacheImplTest.java

                // Domains: single domain named TESTDOM
                lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList();
                domains.count = 1;
                domains.max_count = 1;
                domains.domains = new lsarpc.LsarTrustInformation[1];
                domains.domains[0] = new lsarpc.LsarTrustInformation();
                domains.domains[0].name = new UnicodeString("TESTDOM", false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top