Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 4,221 for Avoid (0.02 sec)

  1. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testSubSet_outOfOrder() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2));
      }
    
      public void testSubSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(4, 6)).isEmpty();
      }
    
      public void testSubSet_tooSmall() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
            final int result = copy(reader, writer);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/https/HandlerTest.java

    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
            handler = new Handler(null);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with null context")
            void testConstructorWithNullContext() {
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        private Smb2WriteResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2WriteResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/SingletonContextTest.java

            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
            // Test successful initialization with null properties
            assertDoesNotThrow(() -> SingletonContext.init(null));
            assertNotNull(SingletonContext.getInstance());
        }
    
        @Test
        void testInitWithCustomProperties() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPutUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> multimap().put(k3(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutEmpty() {
        int size = getNumElements();
    
        assertGet(k3(), ImmutableList.of());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                    }
                }
                return null;
            }
    
            @Override
            public void addRule(Rule rule) {
                if (rule != null) {
                    rules.add(rule);
                }
            }
    
            @Override
            public void addRule(int index, Rule rule) {
                if (rule != null) {
                    if (index < 0 || index > rules.size()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         */
        public void recordRdmaSend(int bytes, long durationNanos) {
            rdmaSends.incrementAndGet();
            bytesTransferred.addAndGet(bytes);
            totalSendTime.addAndGet(durationNanos);
        }
    
        /**
         * Record an RDMA receive operation
         *
         * @param bytes number of bytes received
         * @param durationNanos operation duration in nanoseconds
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        public void setFrom(String from, String personal) {
            doSetFrom(from, personal);
        }
    
        public void addTo(String to) {
            doAddTo(to);
        }
    
        public void addTo(String to, String personal) {
            doAddTo(to, personal);
        }
    
        public void addCc(String cc) {
            doAddCc(cc);
        }
    
        public void addCc(String cc, String personal) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top