Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for dummy (0.02 sec)

  1. 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)
  2. cmd/object-handlers_test.go

    	// Indicating that all parts are uploaded and initiating CompleteMultipartUpload.
    	nilBucket := "dummy-bucket"
    	nilObject := "dummy-object"
    
    	nilReq, err := newTestSignedRequestV4(http.MethodPost, getCompleteMultipartUploadURL("", nilBucket, nilObject, "dummy-uploadID"),
    		0, nil, "", "", nil)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. cmd/bucket-policy-handlers_test.go

    		// Test case - 6.
    		// setting an invalid bucket policy.
    		// the bucket policy parser will fail.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: bytes.NewReader([]byte("dummy-policy")),
    
    			policyLen:          len([]byte("dummy-policy")),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    		},
    		// Test case - 7.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         * This method provides a dummy implementation as Fess does not use DBFlute extensively.
         *
         * @return a new access context arranger
         */
        @Override
        protected AccessContextArranger newAccessContextArranger() { // for framework
            // fess does not use DBFlute, and this is unneeded so dummy
            return resource -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. 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)
Back to top