Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for testInit (2.41 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/StrictModeTest.kt

      @After
      fun cleanup() {
        StrictMode.setThreadPolicy(
          ThreadPolicy
            .Builder()
            .permitAll()
            .build(),
        )
      }
    
      @Test
      fun testInit() {
        Platform.resetForTests()
    
        applyStrictMode()
    
        // Not currently safe
        // See https://github.com/square/okhttp/pull/8248
        OkHttpClient()
    
        assertThat(violations).hasSize(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            FileUtils.deleteDirectory(testDir);
        }
    
        public void test_init() {
            final DictionaryManager dictionaryManager = new DictionaryManager();
            dictionaryManager.init();
            assertEquals(0, dictionaryManager.creatorList.size());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        private FileTypeHelper fileTypeHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            fileTypeHelper = new FileTypeHelper();
        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

        }
    
        private void setupMockComponents() {
            ComponentUtil.setFessConfig(new MockFessConfig());
            ComponentUtil.register(new MockSystemHelper(), "systemHelper");
        }
    
        public void test_init() {
            SearchLogHelper helper = new SearchLogHelper();
            helper.init();
    
            assertNotNull(helper.userInfoCache);
            assertNotNull(helper.searchLogLogger);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            url = "http://www.bar.com:8080/";
            result = "http://www.bar.com:8080/";
            assertEquals(result, duplicateHostHelper.convert(url));
        }
    
        public void test_init() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
    
            try {
                helper.init();
                assertNotNull(helper.duplicateHostList);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.assertBytes(expected);
      }
    
      public void testShort() {
        TestHasher hasher = new TestHasher();
        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            ComponentUtil.register(new MockVirtualHostHelper(), "virtualHostHelper");
            ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper");
        }
    
        public void test_init() {
            try {
                labelTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_load() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            assertEquals(0, SambaHelper.SID_TYPE_USE_NONE);
            assertEquals(1, SambaHelper.SID_TYPE_USER);
            assertEquals(5, SambaHelper.SID_TYPE_WKN_GRP);
        }
    
        public void test_init() {
            ComponentUtil.setFessConfig(new MockFessConfig());
            sambaHelper.init();
            assertNotNull(sambaHelper.fessConfig);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Sink sink = new Sink(4);
        sink.putShort((short) 0x0201);
        HashCode unused = sink.hash();
        sink.assertInvariants(2);
        sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
      }
    
      public void testInt() {
        Sink sink = new Sink(4);
        sink.putInt(0x04030201);
        HashCode unused = sink.hash();
        sink.assertInvariants(4);
        sink.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DocumentHelperTest.java

            assertEquals("L1:aaa\nL2:bbb", documentHelper.appendLineNumber("L", "aaa\nbbb"));
            assertEquals("L1:aaa\nL2:bbb\nL3:ccc", documentHelper.appendLineNumber("L", "aaa\nbbb\nccc"));
        }
    
        public void test_init() {
            DocumentHelper documentHelper = new DocumentHelper();
    
            try {
                documentHelper.init();
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top