Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 4,121 for Void (1.67 sec)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

        private int testAddressInt = 0xC0A80101; // 192.168.1.1
        private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
    
        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
            // Test the constructor with minimal parameters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    public class MultisetAddTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0()));
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddMeansAddOne() {
        int originalCount = getMultiset().count(e0());
        assertTrue(getMultiset().add(e0()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            void shouldValidateSupportedModelVersions(String version) {
                assertTrue(ModelVersionUtils.isValidModelVersion(version));
            }
    
            @ParameterizedTest
            @ValueSource(strings = {"3.0.0", "5.0.0", "2.0.0", "6.0.0"})
            @DisplayName("should reject unsupported model versions")
            void shouldRejectUnsupportedModelVersions(String version) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.initMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid configuration
         */
        @Test
        @DisplayName("Test constructor initializes with correct command")
        public void testConstructorWithValidConfig() {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

            return true;
        }
    
        public void setSizeForDelete(int sizeForDelete) {
            this.sizeForDelete = sizeForDelete;
        }
    
        public void setScrollForDelete(String scrollForDelete) {
            this.scrollForDelete = scrollForDelete;
        }
    
        public void setSizeForCursor(int sizeForCursor) {
            this.sizeForCursor = sizeForCursor;
        }
    
        public void setScrollForCursor(String scrollForCursor) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

              }
            });
      }
    
      public void testVoidMethodForwarding() {
        tester.testForwarding(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
              public Runnable apply(Runnable runnable) {
                return new ForwardingRunnable(runnable);
              }
            });
      }
    
      public void testToStringForwarding() {
        tester.testForwarding(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(Short.valueOf("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

                throw new RuntimeException("Failed to access field " + fieldName, e);
            }
        }
    
        /**
         * Test that the constructor initializes all fields correctly
         */
        @Test
        public void testConstructor() {
            // Arrange
            int fid = 0x1234;
            int offset = 100;
            int remaining = 50;
            byte[] buffer = new byte[100];
            int off = 10;
            int len = 40;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            return new DERSequence(v);
        }
    
        @Test
        @DisplayName("byte[] ctor: empty token throws PACDecodingException with clear message")
        void byteArrayConstructor_emptyToken_throws() {
            // Arrange
            byte[] empty = new byte[0];
    
            // Act + Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

         */
        @Test
        public void testAdd_int() throws Exception {
            final int[] array = new int[] { 1 };
            final int[] newArray = ArrayUtil.add(array, 2);
            assertThat(newArray.length, is(2));
            assertThat(newArray[0], is(1));
            assertThat(newArray[1], is(2));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top