Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 423 for Expect (0.16 sec)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

        // make sure that no exception is thrown by flushQuietly when the mock does
        // throw an exception on flush.
        setupFlushable(true);
        Flushables.flushQuietly(mockFlushable);
      }
    
      // Set up a flushable to expect to be flushed, and optionally to
      // throw an exception.
      private void setupFlushable(boolean shouldThrowOnFlush) throws IOException {
        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
          doThrow(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    ```JSON
    {
        "message": "Hello World",
        "root_path": "/api/v1"
    }
    ```
    
    So, it won't expect to be accessed at `http://127.0.0.1:8000/api/v1/app`.
    
    Uvicorn will expect the proxy to access Uvicorn at `http://127.0.0.1:8000/app`, and then it would be the proxy's responsibility to add the extra `/api/v1` prefix on top.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  3. tests/sql_builder_test.go

    	result := DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	expects := DB.Dialector.Explain(execStmt.SQL.String(), execStmt.Vars...)
    
    	if !strings.HasSuffix(result, expects) {
    		t.Errorf("expects: %v, got %v", expects, result)
    	}
    
    	stmt2 := dryRunDB.Where(
    		DB.Scopes(NameIn1And2),
    	).Or(
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

                    int realGroupCount = pacStream.readInt();
                    if ( realGroupCount != groupCount ) {
                        throw new PACDecodingException("Invalid number of groups in PAC expect" + groupCount + " have " + realGroupCount);
                    }
                    groups = new PacGroup[groupCount];
                    for ( int i = 0; i < groupCount; i++ ) {
                        pacStream.align(4);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

        }
    
        private void assertQueryBuilder(final String expect, final String text) throws Exception {
            QueryContext queryContext = assertQueryBuilder(null, null, text);
            List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders();
            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CloseablesTest.java

        Closeables.closeQuietly((InputStream) null);
      }
    
      public void testCloseQuietlyNull_reader() {
        Closeables.closeQuietly((Reader) null);
      }
    
      // Set up a closeable to expect to be closed, and optionally to throw an
      // exception.
      private void setupCloseable(boolean shouldThrow) throws IOException {
        mockCloseable = mock(Closeable.class);
        if (shouldThrow) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

     * {@link ClosingFuture} pipeline.
     */
    public abstract class AbstractClosingFutureTest extends TestCase {
      // TODO(dpb): Use Expect once that supports JUnit 3, or we can use JUnit 4.
      final List<AssertionError> failures = new ArrayList<>();
      final StandardSubjectBuilder expect =
          StandardSubjectBuilder.forCustomFailureStrategy(
              new FailureStrategy() {
                @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        this.spliteratorSuppliers = checkNotNull(spliteratorSuppliers);
      }
    
      @SafeVarargs
      @CanIgnoreReturnValue
      public final Ordered expect(Object... elements) {
        return expect(Arrays.asList(elements));
      }
    
      @CanIgnoreReturnValue
      public final Ordered expect(Iterable<?> elements) {
        List<List<E>> resultsForAllStrategies = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig_test.go

    				if len(c.delayedConfName) > 0 {
    					// Delayed case
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				} else if result != expectedFilepath {
    					if len(expectedFilepath) > 0 {
    						t.Fatalf("expected %s, got %s", expectedFilepath, result)
    					}
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				}
    				// Successful test for non-delayed cases
    				return
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  10. 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");
        }
        */
    
        // ===================================================================================
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top