Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,415 for unexpected (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture);
        try {
          valueAndCloser.get();
          fail();
        } catch (ExecutionException expected) {
          assertThat(expected).hasCauseThat().isSameInstanceAs(exception);
        }
        valueAndCloser.closeAsync();
      }
    
      @Override
      void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/bug-report.yaml

            If this matter is security related, please disclose it privately via https://kubernetes.io/security
        validations:
          required: true
    
      - type: textarea
        id: expected
        attributes:
          label: What did you expect to happen?
        validations:
          required: true
    
      - type: textarea
        id: repro
        attributes:
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Feb 28 09:34:43 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py

            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {"loc": ["tags", 3], "msg": "str type expected", "type": "type_error.str"}
            ]
        }
    
    
    @needs_pydanticv1
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      private static void assertValueAndTypeEquals(Object expected, Object actual) {
        assertEquals(expected, actual);
        assertEquals(expected.getClass(), actual.getClass());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<String> cycle = FluentIterable.from(asList("a", "b")).cycle();
    
        int howManyChecked = 0;
        for (String string : cycle) {
          String expected = (howManyChecked % 2 == 0) ? "a" : "b";
          assertEquals(expected, string);
          if (howManyChecked++ == 5) {
            break;
          }
        }
    
        // We left the last iterator pointing to "b". But a new iterator should
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

      }
    
      private ListenerCallQueue.Event<Object> incrementingEvent(
          final Multiset<Object> counters, final Multiset<Object> expected) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
          public void call(Object listener) {
            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

      }
    
      private ListenerCallQueue.Event<Object> incrementingEvent(
          final Multiset<Object> counters, final Multiset<Object> expected) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
          public void call(Object listener) {
            counters.add(listener);
            assertEquals(expected.count(listener), counters.count(listener));
          }
    
          @Override
          public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. internal/grid/grid_types_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package grid
    
    //go:generate msgp -unexported -file=$GOFILE -tests=false -o=grid_types_msgp_test.go
    
    type testRequest struct {
    	Num    int
    	String string
    }
    
    type testResponse struct {
    	OrgNum    int
    	OrgString string
    	Embedded  testRequest
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint_test.go

    			if len(expectedOut) == 0 {
    				t.Fatal("expected output is empty")
    			}
    
    			var out bytes.Buffer
    			rootCmd := Cmd(ctx)
    			rootCmd.SetArgs(tt.args)
    			rootCmd.SetOut(&out)
    			rootCmd.SetErr(&out)
    
    			fErr := rootCmd.Execute()
    			if fErr != nil {
    				t.Fatal(fErr)
    			}
    			output := out.String()
    			if output != expectedOut {
    				t.Fatalf("expected %s, got %s", expectedOut, output)
    			}
    		})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        Subscriber subscriber = Subscriber.create(bus, this, method);
    
        InvocationTargetException expected =
            assertThrows(
                InvocationTargetException.class,
                () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT));
        assertThat(expected).hasCauseThat().isInstanceOf(IntentionalException.class);
      }
    
      public void testInvokeSubscriberMethod_errorPassthrough() throws Throwable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top