Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 253 for reflectLen (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            // Setter should update the field
            transformer.setName("setterAccess");
            assertEquals("setterAccess", transformer.name);
    
            // Field modification should be reflected in getter
            transformer.name = "modifiedField";
            assertEquals("modifiedField", transformer.getName());
        }
    
        /**
         * Test name persistence across operations
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            TestResponseProcessor processor2 = new TestResponseProcessor();
            testRule.setRuleId("changedId");
            testRule.setResponseProcessor(processor2);
    
            // Verify changes are reflected (same object reference)
            assertEquals("changedId", registeredRule.getRuleId());
            assertSame(processor2, registeredRule.getResponseProcessor());
        }
    
        /**
         * Test inheritance behavior
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        new EqualsTester()
            .addEqualityGroup(
                LinkedListMultimap.create(), LinkedListMultimap.create(), LinkedListMultimap.create(1))
            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method with input buffer")
        void testSizeWithInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Set an input buffer using reflection
            Encodable mockInputBuffer = mock(Encodable.class);
            when(mockInputBuffer.size()).thenReturn(100);
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

       *
       * <p>Subsequent table changes will not modify the array, and vice versa.
       *
       * @param valueClass class of values stored in the returned array
       */
      @GwtIncompatible // reflection
      public @Nullable V[][] toArray(Class<V> valueClass) {
        @SuppressWarnings("unchecked") // TODO: safe?
        @Nullable V[][] copy =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertThrows(NullPointerException.class, () -> raf.writeChars(null));
            assertThrows(NullPointerException.class, () -> raf.writeUTF(null));
        }
    
        // Small reflection helpers to access private fields for interaction verification
        private static Object getField(Object target, String name) {
            try {
                var f = target.getClass().getDeclaredField(name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            public TestFessConfig() {
                super();
                // Initialize the properties to avoid NullPointerException
                try {
                    // Use reflection to initialize the internal properties structure
                    java.lang.reflect.Field propField =
                            org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("_javaPropertiesResult");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

            override fun checkServerTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {
              withoutHostCalled = true
            }
    
            // called by Android via reflection in X509TrustManagerExtensions
            @Suppress("unused", "UNUSED_PARAMETER")
            fun checkServerTrusted(
              chain: Array<out X509Certificate>,
              authType: String,
              hostname: String,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        return ImmutableSetMultimap.<String, Integer>builder()
            .put("foo", 1)
            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top