Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for Dummy (0.02 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

    import java.nio.file.Path;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class JavaPathTypeTest {
        /**
         * {@return dummy paths to use in tests}.
         */
        private static List<Path> paths() {
            return List.of(Path.of("src", "foo.java"), Path.of("src", "bar.java"));
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // hash collision
        DummyEntry<Object, Object> dummy = DummyEntry.create(new Object(), hash, entry);
        Object dummyValue = new Object();
        ValueReference<Object, Object> dummyValueRef = map.newValueReference(dummy, dummyValue, 1);
        dummy.setValueReference(dummyValueRef);
        table.set(index, dummy);
        assertSame(value, segment.get(key, hash));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

        @Nested
        @DisplayName("Boundary conditions")
        class Boundary {
            @Test
            void accessingInvalidIndexThrows() {
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    int dummy = WinError.WINERR_CODES[WinError.WINERR_CODES.length];
                });
            }
        }
    
        @Test
        @DisplayName("Mockito mock of WinError")
        void mockInterfaceNoOps() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmSspTest.java

            message[61] = 0x00;
            message[62] = 0x00;
            message[63] = 0x00;
    
            // Add dummy LM response (24 zeros at offset 64)
            for (int i = 0; i < 24; i++) {
                message[64 + i] = 0;
            }
    
            // Add dummy NT response (24 zeros at offset 88)
            for (int i = 0; i < 24; i++) {
                message[88 + i] = 0;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMaker.java

      public MapMaker weakValues() {
        return setValueStrength(Strength.WEAK);
      }
    
      /**
       * A dummy singleton value type used by {@link Interners}.
       *
       * <p>{@link MapMakerInternalMap} can optimize for memory usage in this case; see {@link
       * MapMakerInternalMap#createWithDummyValues}.
       */
      enum Dummy {
        VALUE
      }
    
      @CanIgnoreReturnValue
      MapMaker setValueStrength(Strength strength) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_OTHER() {
            getMockRequest().addHeader("user-agent", "Dummy");
            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_nullUserAgent() {
            getMockRequest().addHeader("user-agent", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("ONE"), is("1"));
            assertThat(map.size(), is(1));
            assertThat(map.remove("dummy"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
     * <p>Mockito is exercised in a dummy scenario to satisfy the
     * request for an interaction test.  The mock represents a
     * {@code SmbTransport} collaborator and is used only for
     * demonstration – the real class behaviour is not required for
     * validating constants.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        * use in local authentication.
        */
        int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;
    
        /**
        * Indicates that authenticated communication between the client
        * and server should carry a "dummy" digital signature.
        */
        int NTLMSSP_NEGOTIATE_ALWAYS_SIGN = 0x00008000;
    
        /**
        * Sent by the server in the Type 2 message to indicate that the
        * target authentication realm is a domain.
        */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        throwFirst(nullErrors);
      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top