Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 326 for 123 (0.01 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            SmbSessionImpl session = mock(SmbSessionImpl.class);
            when(tree.getSession()).thenReturn(session);
            when(session.getSessionKey()).thenReturn(new byte[] { 1, 2, 3 });
    
            byte[] key = target.getSessionKey();
            assertArrayEquals(new byte[] { 1, 2, 3 }, key);
            verify(tree, times(1)).getSession();
            verify(session, times(1)).getSessionKey();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            doc.put("title", "タイトル");
            doc.put("content", 123); // Non-string content
            doc.put("url", "http://example.com"); // Field not in langFields
    
            languageHelper.updateDocument(doc);
    
            assertEquals("ja", doc.get("lang"));
            assertEquals("タイトル", doc.get("title_ja"));
            assertEquals(123, doc.get("content_ja"));
            assertNull(doc.get("url_ja")); // url is not in langFields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            assertEquals(1, results.length);
            assertEquals("Test Content for testing", results[0]);
    
            results = relatedContentHelper.getRelatedContents("123");
            assertEquals(1, results.length);
            assertEquals("Number: 123", results[0]);
    
            results = relatedContentHelper.getRelatedContents("abc");
            assertEquals(0, results.length);
        }
    
        public void test_load_invalidRegex() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            // Test convert with special characters
            converter.init();
            String text = "test@#$%123";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertEquals(1, readings.size());
            assertEquals("TEST@#$%123", readings.get(0));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            pythonJob.filename("test.py");
            pythonJob.sessionId = "custom-session-123";
    
            testProcessHelper.exitValue = 0;
    
            String result = pythonJob.execute();
    
            assertTrue(result.contains("Session Id: custom-session-123"));
            assertEquals("custom-session-123", pythonJob.sessionId);
        }
    
        // Test execute with process failure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

            void testPolicyHandleEncode() throws NdrException {
                // Given: A policy handle with test values
                rpc.policy_handle policyHandle = new rpc.policy_handle();
                policyHandle.type = 123;
                policyHandle.uuid = new rpc.uuid_t();
                policyHandle.uuid.time_low = 0x11111111;
                policyHandle.uuid.time_mid = (short) 0x2222;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
        void setGetMechanismToken() {
            TestSpnegoToken t = new TestSpnegoToken();
            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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. README.md

    ```
    
    ### Type Conversion
    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Integer value = IntegerConversionUtil.toInteger("123");        // Returns 123
    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            loadBalancer.setStrategy(LoadBalancingStrategy.AFFINITY_BASED);
    
            Smb2ReadRequest readRequest = mock(Smb2ReadRequest.class);
            when(readRequest.getTreeId()).thenReturn(123); // Set consistent tree ID for affinity
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Multiple calls with same file ID should return same channel
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals("new_value1", crawlingInfoHelper.infoMap.get("key1"));
        }
    
        public void test_store_create() {
            final String sessionId = "test-session-123";
    
            // Mock CrawlingInfoService
            ComponentUtil.register(new CrawlingInfoService() {
                private CrawlingInfo storedInfo;
                private List<CrawlingInfoParam> storedParams;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top