Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,526 for expected (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        List<E> iteratorElements = new ArrayList<>();
        for (E element : collection) { // uses iterator()
          iteratorElements.add(element);
        }
        List<E> expected = copyToList(getOrderedElements());
        assertEquals("Different ordered iteration", expected, iteratorElements);
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @CollectionSize.Require(absent = ZERO)
      public void testIterator_nullElement() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

          Thread thread =
              new Thread() {
                @Override
                public void run() {
                  try {
                    f.get();
                  } catch (Throwable expected) {
                  }
                }
              };
          thread.start();
          blockedThreads.add(thread);
        }
        for (int i = 0; i < numListeners; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 0));
        assertEquals(0, expected.value);
        reserializeAndAssert(c);
      }
    
      public void testExplicit_one() {
        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        IncomparableValueException expected =
            assertThrows(IncomparableValueException.class, () -> c.compare(0, 0));
        assertEquals(0, expected.value);
        reserializeAndAssert(c);
      }
    
      public void testExplicit_one() {
        Comparator<Integer> c = Ordering.explicit(0);
        assertEquals(0, c.compare(0, 0));
        IncomparableValueException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertBitEquals(1.0, at.get());
        for (double x : VALUES) {
          at.lazySet(x);
          assertBitEquals(x, at.get());
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        double prev = Math.E;
        double unused = Math.E + Math.PI;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
     *  * [onData] (optional sequence of data frames)
     *
     * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple
     * connections should expect repetition of stream IDs.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. internal/s3select/csv/reader_contrib_test.go

    			if !reflect.DeepEqual(r.columnNames, c.wantColumns) {
    				t.Errorf("Case %d failed: expected %#v, got result %#v", i, c.wantColumns, r.columnNames)
    			}
    			if result.String() != c.wantTenFields {
    				t.Errorf("Case %d failed: expected %v, got result %v", i, c.wantTenFields, result.String())
    			}
    			if fields != c.totalFields {
    				t.Errorf("Case %d failed: expected %v results %v", i, c.totalFields, fields)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net_test.go

    	podIPs := []netip.Addr{podIP}
    
    	err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "faksens")
    	assert.Equal(t, ztunnelServer.addedPods.Load(), 1)
    	if !errors.Is(err, ErrPartialAdd) {
    		t.Fatal("expected partial error")
    	}
    }
    
    func TestDoesntReturnPartialErrorOnIptablesFail(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

    public class CollectionStreamTester<E> extends AbstractCollectionTester<E> {
      /*
       * We're not really testing the implementation of Stream, only that we're getting a Stream
       * that corresponds to the expected elements.
       */
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/main/resources/fess_message_ru.properties

    constraints.DecimalMin.message  = {item} must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}.
    constraints.Digits.message      = {item} is numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected).
    constraints.Future.message      = {item} must be in the future.
    constraints.Max.message         = {item} must be less than or equal to {value}.
    constraints.Min.message         = {item} must be greater than or equal to {value}.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
Back to top