Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 3,252 for Avoid (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

      /** Adds the most recently logged record to our list. */
      @Override
      public void publish(@Nullable LogRecord record) {
        synchronized (lock) {
          if (record != null) {
            list.add(record);
          }
        }
      }
    
      @Override
      public void flush() {}
    
      @Override
      public void close() {}
    
      public void clear() {
        synchronized (lock) {
          list.clear();
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

        public void testWindowsReservedCOM() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\share\\COM1");
            });
        }
    
        @Test
        public void testWindowsReservedLPT() throws Exception {
            assertThrows(SmbException.class, () -> {
                validator.validatePath("\\share\\LPT9.doc");
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                return false;
            }
        }
    
        @Test
        public void testUnicodeConfiguration() throws Exception {
            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            void nullBuffer_throwsNPE() {
                // Arrange
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
                assertThrows(NullPointerException.class, () -> resp.readBytesWireFormat(null, 0));
            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsScheduledJobBhv.java

        public void insert(ScheduledJob entity) {
            doInsert(entity, null);
        }
    
        public void insert(ScheduledJob entity, RequestOptionCall<IndexRequestBuilder> opLambda) {
            entity.asDocMeta().indexOption(opLambda);
            doInsert(entity, null);
        }
    
        public void update(ScheduledJob entity) {
            doUpdate(entity, null);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        private final String workstation = "TEST_WORKSTATION";
    
        @BeforeEach
        void setUp() {
            // MockitoExtension handles mock initialization
            // Type1Message.getDefaultWorkstation() is static, so we can't easily mock it without PowerMock.
            // We will proceed assuming it returns a predictable value or handle it as is.
        }
    
        @Test
        void testConstructor_withSigning() {
            // Test constructor when signing is enabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            lenient().when(mockConfig.isWitnessServiceDiscovery()).thenReturn(true);
        }
    
        @AfterEach
        void tearDown() {
            if (mockService != null) {
                mockService.close();
            }
        }
    
        @Test
        void testMockServiceLifecycle() throws Exception {
            assertNotNull(mockService.getAddress());
            assertTrue(mockService.getPort() > 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
        List<String> list = ImmutableList.of();
        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

        public SitemapsHelper sitemapsHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class);
            sitemapsHelper = container.getComponent("sitemapsHelper");
        }
    
        public void test_parseXmlSitemaps() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top