Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 3,933 for avoid (0.27 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeySupported() {
        initMapWithNullKey();
        expectContents(createArrayWithNullKey());
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> initMapWithNullKey());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("/", simplifyPath("/././././"));
      }
    
      public void testSimplify9() {
        assertEquals("/a", simplifyPath("/a/b/.."));
      }
    
      public void testSimplify10() {
        assertEquals("/", simplifyPath("/a/b/../../.."));
      }
    
      public void testSimplify11() {
        assertEquals("/", simplifyPath("//a//b/..////../..//"));
      }
    
      public void testSimplify12() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ConverterTest.java

      public void testConverter() {
        assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL));
        assertEquals(STR_VAL, STR_TO_LONG.reverse().convert(LONG_VAL));
    
        Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS);
        assertEquals(LONGS, ImmutableList.copyOf(convertedValues));
      }
    
      public void testConvertAllIsView() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java

        private SmbComBlankResponse response;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            response = new SmbComBlankResponse();
            buffer = new byte[100];
        }
    
        /**
         * Test for the writeParameterWordsWireFormat method.
         * It should always return 0.
         */
        @Test
        void testWriteParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

        private NtTransQuerySecurityDescResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new NtTransQuerySecurityDescResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor creates instance with null security descriptor")
        void testConstructor() {
            assertNotNull(response);
            assertNull(response.getSecurityDescriptor());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      }
    
      public void testOneEqual() {
        assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0);
      }
    
      public void testOneEqualUsingComparator() {
        assertThat(ComparisonChain.start().compare("a", "A", String.CASE_INSENSITIVE_ORDER).result())
            .isEqualTo(0);
      }
    
      public void testManyEqual() {
        assertThat(
                ComparisonChain.start()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ResourcesTest.java

        suite.addTestSuite(ResourcesTest.class);
        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                }
    
                @Override
                public void setCommand(int command) {
                    this.command = command;
                }
    
                @Override
                public void setUid(int uid) {
                    // Implementation
                }
    
                @Override
                public void setExtendedSecurity(boolean extendedSecurity) {
                    // Implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            }
        }
    
        // Test basic getters
        public void test_getType() {
            assertEquals("stopwords", stopwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), stopwordsFile.getPath());
        }
    
        public void test_getSimpleName() {
            assertEquals(testFile.getName(), stopwordsFile.getSimpleName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top