Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,234 for expectEq (0.06 sec)

  1. cmd/server-main_test.go

    				t.Error("expected failure, got success")
    			}
    			if !testcase.expectedErr && err != nil {
    				t.Error("expected success, got failure", err)
    			}
    			if err == nil {
    				if len(sctx.Layout.pools) != 2 {
    					t.Error("expected parsed pools to be 2, not", len(sctx.Layout.pools))
    				}
    				if sctx.Layout.pools[0].cmdline != testcase.hash {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/expr_test.go

    		result := int64(p.expr())
    		if result != test.output {
    			t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output)
    		}
    		tok := p.next()
    		if test.atEOF && tok.ScanToken != scanner.EOF {
    			t.Errorf("%d: %q: at EOF got %s", i, test.input, tok)
    		} else if !test.atEOF && tok.ScanToken == scanner.EOF {
    			t.Errorf("%d: %q: expected not EOF but at EOF", i, test.input)
    		}
    	}
    }
    
    type badExprTest struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

      public void testMarkNotSet() {
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not set");
      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not supported");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. tests/helper_test.go

    				t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet)
    			} else {
    				doCheckPet(t, *pet, *expect.Pets[idx], unscoped)
    			}
    		}
    	})
    
    	t.Run("Toys", func(t *testing.T) {
    		if len(user.Toys) != len(expect.Toys) {
    			t.Fatalf("toys should equal, expect: %v, got %v", len(expect.Toys), len(user.Toys))
    		}
    
    		sort.Slice(user.Toys, func(i, j int) bool {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

            }
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
          assertThat(expected).hasMessage("uncaught exception thrown during test")
          assertThat(expected.cause!!).hasMessage("boom!")
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

            wagon.addExpectedContent(repos.get(0).getLayout().pathOf(artifact), "expected");
            wagon.addExpectedContent(
                    repos.get(0).getLayout().pathOf(artifact) + ".md5", "cd26d9e10ce691cc69aa2b90dcebbdac");
            wagon.addExpectedContent(repos.get(1).getLayout().pathOf(artifact), "expected");
            wagon.addExpectedContent(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. docs/distributed/decom-encrypted.sh

    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected versioning enabled after decommission"
    	exit 1
    fi
    
    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

        }
      }
    
      /**
       * Verifies that the {@code Set} returned by {@code nodes} has the expected mutability property
       * (see the {@code Network} documentation for more information).
       */
      @Test
      public abstract void nodes_checkReturnedSetMutability();
    
      /**
       * Verifies that the {@code Set} returned by {@code edges} has the expected mutability property
       * (see the {@code Network} documentation for more information).
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableSetMultimap<String, Integer> expected =
            ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapWhenEmpty() {
        ImmutableMap<String, Integer> map = ImmutableMap.of();
        ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of();
        assertEquals(expected, map.asMultimap());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                  });
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top