Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,061 for EMPTY (0.03 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
         * Verifies that an empty array is returned.
         */
        @Test
        void testGetEntries_Empty() {
            // Given
            MsrpcDfsRootEnum dfsRootEnum = new MsrpcDfsRootEnum("test-server");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            // This method is empty, so it should return 0
            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir");
            byte[] buffer = new byte[10];
            int result = smbCom.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testReadBytesWireFormat() {
            // This method is empty, so it should return 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals(0, blob.get().length, "Internal array should be empty");
            assertEquals(0, blob.length(), "length() should be 0 for empty");
            assertEquals("", blob.toString(), "toString() of empty should be empty string");
            assertTrue(blob.equals(blob), "Object should be equal to itself");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * from the map.
       *
       * The get method returns a WrappedCollection, which decorates the collection
       * in the map (if the key is present) or an empty collection (if the key is
       * not present). When the collection delegate in the WrappedCollection is
       * empty, the multimap may contain subsequently added values for that key. To
       * handle that situation, the WrappedCollection checks whether map contains
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

            .inOrder();
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmpty() {
        Iterator<Object> empty = new EmptyAbstractSequentialIterator<>();
        assertFalse(empty.hasNext());
        assertThrows(NoSuchElementException.class, empty::next);
        assertThrows(UnsupportedOperationException.class, empty::remove);
      }
    
      public void testBroken() {
        Iterator<Object> broken = new BrokenAbstractSequentialIterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Execute
            OptionalThing<Locale> result = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify - should return empty when parameter name is blank
            assertFalse(result.isPresent());
        }
    
        // Test findBusinessLocale with null parameter name
        public void test_findBusinessLocale_withNullParameterName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.clearProperty("123");
            System.clearProperty("test_var");
        }
    
        public void test_resolve_edgeCases() {
            // Test empty property replacement
            System.setProperty("empty", "");
            String value = "${empty}";
            assertEquals("", ResourceUtil.resolve(value));
    
            // Test property with just spaces
            System.setProperty("spaces", "   ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("a,b,c,d,e,f", result);
        }
    
        @Test
        @DisplayName("Should handle empty array")
        void testJoinEmptyArray() {
            CharSequence[] empty = new CharSequence[0];
            String result = StringUtil.join(",", empty);
            assertEquals("", result);
        }
    
        @Test
        @DisplayName("Should handle null in middle of multiple elements")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top