Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 187 for getters (0.08 seconds)

  1. src/test/java/jcifs/SmbResourceTest.java

                        "Setting file times should not throw exception");
                verify(mockResource).setFileTimes(createTime, lastModified, lastAccess);
            }
    
            @Test
            @DisplayName("individual time setters should work correctly")
            void testIndividualTimeSetters() throws CIFSException {
                // Given
                long testTime = System.currentTimeMillis();
    
                // When/Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertThrows(ClassCastException.class, () -> {
                    referralData.unwrap(IncompatibleReferralData.class);
                });
            }
        }
    
        @Nested
        @DisplayName("Property Getter and Setter Tests")
        class PropertyTests {
    
            @Test
            @DisplayName("Should get and set domain")
            void testDomain() {
                assertNull(referralData.getDomain());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/dfs/ReferralTest.java

            assertEquals(100, referral.getSize());
            assertEquals(expectedPath, referral.getRpath());
            assertNull(referral.getAltPath());
            assertNull(referral.getNode());
        }
    
        // Getter Tests
    
        @Test
        public void testGetters() {
            // Setup a complete referral
            ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
            bb.putShort((short) 3);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertNotNull(closeResponse);
                assertNull(closeResponse.getFileId());
                assertNull(closeResponse.getFileName());
            }
        }
    
        @Nested
        @DisplayName("Getter Methods Tests")
        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. schema/relationship.go

    					return nil
    				}
    			}
    		}
    	}
    
    	var (
    		name     string
    		idx      = strings.IndexByte(str, ',')
    		settings = ParseTagSetting(str, ",")
    	)
    
    	// optimize match english letters and midline
    	// The following code is basically called in for.
    	// In order to avoid the performance problems caused by repeated compilation of regular expressions,
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Nov 16 04:11:05 GMT 2025
    - 23.1K bytes
    - Click Count (1)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private void assertEvents(String... events) {
        assertThat(stopwatch.readEventsAndClear()).isEqualTo(Arrays.toString(events));
      }
    
      /**
       * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds
       * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      private void assertEvents(String... events) {
        assertThat(stopwatch.readEventsAndClear()).isEqualTo(Arrays.toString(events));
      }
    
      /**
       * The stopwatch gathers events and presents them as strings. R0.6 means a delay of 0.6 seconds
       * caused by the (R)ateLimiter U1.0 means the (U)ser caused the stopwatch to sleep for a second.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            }
    
            /**
             * Parses the next property from the input stream and stores the found
             * name and value in internal fields. These fields can be obtained using
             * the provided getter methods. The return value indicates whether EOF
             * was reached (<b>false</b>) or whether further properties are
             * available (<b>true</b>).
             *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, response.getContextType());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should return hash algorithms correctly")
            void testGetHashAlgos() {
                int[] hashAlgos = { 0x01, 0x02, 0x03 };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
Back to Top