Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for TestString (0.27 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            container.singleton("stringComponent", "TestString");
            CrawlerPooledObjectFactory<String> stringFactory = new CrawlerPooledObjectFactory<>();
            stringFactory.crawlerContainer = container;
            stringFactory.setComponentName("stringComponent");
    
            String stringComponent = stringFactory.create();
            assertEquals("TestString", stringComponent);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putChar((char) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test generic type safety of getObject method
            // Since we're in test environment without request context, this will return null
            String stringResult = WebApiUtil.getObject("testString");
            assertNull("Should return null in test environment", stringResult);
    
            Integer intResult = WebApiUtil.getObject("testInteger");
            assertNull("Should return null in test environment", intResult);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top