Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,187 for EXPECTED (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"ztunnel-9v7nw": []byte("current log level is debug"),
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/03-gopls.yml

        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
          label: "What did you see happen?"
        validations:
          required: true
      - type: textarea
        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. cmd/benchmark-utils_test.go

    		if err != nil {
    			b.Fatal(err)
    		}
    		if objInfo.ETag != md5hex {
    			b.Fatalf("Write no: %d: Md5Sum mismatch during object write into the bucket: Expected %s, got %s", i+1, objInfo.ETag, md5hex)
    		}
    	}
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // Benchmark utility functions for ObjectLayer.PutObjectPart().
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        future.get(10, SECONDS);
        assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing()));
        latch.countDown();
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> first.get(10, SECONDS));
        assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class);
      }
    
      public void testToString() {
        final Runnable[] currentTask = new Runnable[1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. fuzzing/fuzzingserver-test.sh

    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    jq '.[] as $in | $in | keys[] | . + " " + $in[.].behavior' target/fuzzingserver-report/index.json > target/fuzzingserver-actual.txt
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Mar 26 02:01:32 UTC 2019
    - 673 bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top