Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 256 for setters (0.04 sec)

  1. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
            SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class);
            Mockito.when(mock.getAttributes()).thenReturn(7);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                invalidPropertyNames.add(propertyName);
            } else {
                propDesc.setReadMethod(readMethod);
            }
        }
    
        /**
         * Prepares the setter method.
         *
         * @param writeMethod
         *            the setter method
         * @param propertyName
         *            the property name
         */
        protected void setupWriteMethod(final Method writeMethod, final String propertyName) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     * This structure provides complete allocation details including total allocation units, caller-available free units,
     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

            return this;
        }
    
        public ArtifactResolutionRequest setServers(List<Server> servers) {
            this.servers = servers;
    
            return this;
        }
    
        public List<Server> getServers() {
            if (servers == null) {
                servers = new ArrayList<>();
            }
    
            return servers;
        }
    
        public ArtifactResolutionRequest setMirrors(List<Mirror> mirrors) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        }
    
        // Test getExpiry with default value
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumBiMap.java

       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
       * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use
       * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            when(mockConfig.getPid()).thenReturn(12345);
            response = new SmbComSeekResponse(mockConfig);
        }
    
        /* ------------------------------------------------------------------ */
        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                assertEquals("DOM", auth.getUserDomain());
            }
        }
    
        @Test
        @DisplayName("Protected setSubject: updates subject used by getters")
        void setSubject_updatesSubject() {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
            assertNull(auth.getSubject());
            Subject subject = new Subject();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            assertEquals(12, qos.length);
            assertEquals(2, qos.impersonation_level);
            assertEquals(1, qos.context_mode);
            assertEquals(0, qos.effective_only);
    
            // Assert ptype and flags using getters
            assertEquals(0, msrpcLsarOpenPolicy2.getPtype());
            assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            return readMethod != null;
        }
    
        @Override
        public final Method getWriteMethod() {
            return writeMethod;
        }
    
        /**
         * Sets the setter method.
         *
         * @param writeMethod
         *            The setter method.
         */
        protected final void setWriteMethod(final Method writeMethod) {
            this.writeMethod = writeMethod;
            if (writeMethod != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top