Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for parameterized (0.13 sec)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            assertNotNull(fileRenameInfo);
        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            String fileName = "test.txt";
            boolean replaceIfExists = true;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         */
        default Optional<Path> targetPath() {
            return Optional.empty();
        }
    
        /**
         * {@return whether resources are filtered to replace tokens with parameterized values}.
         * The default value is {@code false}.
         */
        default boolean stringFiltering() {
            return false;
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntry.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // unnecessary
    class ImmutableMapEntry<K, V> extends SimpleImmutableEntry<K, V> {
      /**
       * Creates an {@code ImmutableMapEntry} array to hold parameterized entries. The result must never
       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(1_650_000_000_000L, info.getLastAccessTime(), "last access should match");
            Assertions.assertEquals(42L, info.getSize(), "size should match");
        }
    
        // --- Parameterized: edge and boundary values across getters ---
        @ParameterizedTest(name = "attributes={0}, c={1}, w={2}, a={3}, size={4}")
        @MethodSource("valueProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(0L, fileBasicInfo.getLastAccessTime());
            assertEquals(0L, fileBasicInfo.getLastWriteTime());
            assertEquals(0, fileBasicInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test parameterized constructor")
        void testParameterizedConstructor() {
            // Create instance with test values
            FileBasicInfo info =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertEquals(0L, info.getSize());
            assertEquals(FileInformation.FILE_BASIC_INFO, info.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test FileBasicInfo parameterized constructor")
        void testFileBasicInfoParameterizedConstructor() {
            // Given & When
            FileBasicInfo info =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                // Returns null to represent an implementation that could not renew
                return null;
            }
        }
    
        // Provide different implementation behaviors to a parameterized test
        static Stream<Arguments> implementations() {
            return Stream.of(Arguments.of("returns self", (Supplier<SmbRenewableCredentials>) SelfRenewingCreds::new, true, false),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
            assertEquals(8, fileInfo.size());
    
            // Test parameterized constructor
            long endOfFile = 1024L;
            FileEndOfFileInformation fileInfoWithEof = new FileEndOfFileInformation(endOfFile);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertEquals(opnum2, opnum3, "Opnum should be consistent");
                assertEquals(0, opnum1, "All calls should return 0");
            }
    
            @Test
            @DisplayName("getOpnum should return 0 for parameterized constructor")
            void testGetOpnumWithParameterizedConstructor() throws Exception {
                // Given
                when(mockHandle.getMaxXmit()).thenReturn(2048);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SSPContextTest.java

                assertFalse(empty.isSupported(null));
                assertEquals("", empty.getNetbiosName(), "supports empty NetBIOS name");
            }
        }
    
        @Nested
        @DisplayName("Parameterized initSecContext slices")
        class ParameterizedInit {
            static Stream<Arguments> validRanges() {
                byte[] src = new byte[] { 0, 1, 2, 3 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top