Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 268 for Reflection (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(800, cmd.maxDataCount, "maxDataCount should be 800");
            assertEquals(0, cmd.maxSetupCount, "maxSetupCount should be 0");
            // ensure information level is stored using reflection
            Field informationLevelField = Trans2QueryFSInformation.class.getDeclaredField("informationLevel");
            informationLevelField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return getMethod(SetAddTester.class, "testAdd_supportedNullPresent");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertTrue(result.contains(expectedSearchAttributes));
        }
    
        // Helper method to get private searchAttributes field using reflection
        private int getSearchAttributes(SmbComDelete smbComDelete) {
            try {
                Field field = smbComDelete.getClass().getDeclaredField("searchAttributes");
                field.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutNullKeyUnsupportedMethod() {
        return getMethod(MapPutTester.class, "testPut_nullKeyUnsupported");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                Trans2QueryPathInformationResponse resp =
                        new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO);
    
                // Use reflection to verify the information level
                Field infoLevel = Trans2QueryPathInformationResponse.class.getDeclaredField("informationLevel");
                infoLevel.setAccessible(true);
    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. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
        return asList(
            getMethod(
                MultisetElementSetTester.class, "testElementSetRemoveDuplicatePropagatesToMultiset"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                        }
                    }
    
                } catch (Exception e) {
                    fail("Failed to invoke makeTargetInfo via reflection: " + e.getMessage());
                }
            }
    
            @Test
            @DisplayName("makeTargetInfo should handle missing domain")
            void testMakeTargetInfo_NoDomain() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Assert
            assertSame(mocked, ex.getCause(), "Mocked cause should be preserved");
            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
        void serialVersionUID_hasExpectedValue() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getCreateWithNullUnsupportedMethod() {
        return getMethod(CollectionCreationTester.class, "testCreateWithNull_unsupported");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
          getMethod(SetHashCodeTester.class, "testHashCode"),
          getMethod(SetHashCodeTester.class, "testHashCode_containingNull")
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top