Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,270 for expectEq (0.22 sec)

  1. src/archive/tar/reader_test.go

    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    		file    string    // Test input file
    		headers []*Header // Expected output headers
    		chksums []string  // CRC32 checksum of files, leave as nil if not checked
    		err     error     // Expected error to occur
    	}{{
    		file: "testdata/gnu.tar",
    		headers: []*Header{{
    			Name:     "small.txt",
    			Mode:     0640,
    			Uid:      73025,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.convert.CalendarConversionUtil#localize(Calendar)}
         * .
         */
        @Test
        public void testCreateAndCopySrcNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[calendar] is null."));
            CalendarConversionUtil.localize(null);
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        try {
          getDone(future);
          fail();
        } catch (CancellationException expected) {
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (CancellationException expected) {
        }
      }
    
      private static void assertDone(AbstractFuture<Integer> future) {
        CountingRunnable listener = new CountingRunnable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Field field = getClass().getField("STRING_DATA");
            assertThat(FieldUtil.getString(field), is(STRING_DATA));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testSet() throws Exception {
            final Field field = getClass().getField("intField");
            FieldUtil.set(field, this, "abc");
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multiset.java

       * #setCount(Object, int)}, provided that the element has the expected current count. If the
       * current count is not {@code oldCount}, no change is made.
       *
       * @param element the element to conditionally set the count of; may be null only if explicitly
       *     allowed by the implementation
       * @param oldCount the expected present count of the element in this multiset
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/openapi-callbacks.md

    In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc.
    
    ## An app with callbacks
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. .github/workflows/multipart/migrate.sh

    	fi
    
    	((attempt++))
    done
    
    status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"')
    
    if [[ $status == "enabled" ]]; then
    	echo "Success"
    else
    	echo "Expected status: enabled, actual status: $status"
    	exit 1
    fi
    
    cleanup
    
    ## change working directory
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/request-forms-and-files.md

    And you can declare some of the files as `bytes` and some as `UploadFile`.
    
    /// warning
    
    You can declare multiple `File` and `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `multipart/form-data` instead of `application/json`.
    
    This is not a limitation of **FastAPI**, it's part of the HTTP protocol.
    
    ///
    
    ## Recap
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java

                if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
                    // ## Assert ##
                    markHere("exists");
                    getComponent(clazz); // expect no exception
                }
            });
            assertMarked("exists");
        }
        */
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. docs/bucket/lifecycle/setup_ilm_transition.sh

    success=$(./mc admin heal -r sitea/bucket/README.md --json --force | jq -r 'select((.name == "bucket/README.md") and (.after.color == "green")) | .after.color == "green"')
    if [ "${success}" != "true" ]; then
    	echo "Found bug expected transitioned object to report 'green'"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top