Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 7,605 for expect (0.14 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            writer.write(actual, null, assembled);
    
            // check with getPom( baseName + "-expected" )
            File expected = getPom(baseName + "-expected");
    
            assertThat(
                    actual, CompareMatcher.isIdenticalTo(expected).ignoreComments().ignoreWhitespace());
        }
    
        @Test
        void testModulePathNotArtifactId() throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/HostSpecifierTest.java

          fail("Should have thrown IllegalArgumentException: " + spec);
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HostSpecifier.from(spec);
          fail("Should have thrown ParseException: " + spec);
        } catch (ParseException expected) {
          assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class);
        }
    
        assertFalse(HostSpecifier.isValid(spec));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

          fail("Should have thrown IllegalArgumentException: " + spec);
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HostSpecifier.from(spec);
          fail("Should have thrown ParseException: " + spec);
        } catch (ParseException expected) {
          assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class);
        }
    
        assertFalse(HostSpecifier.isValid(spec));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

            String host = "www.codelibs.org";
            String expected = "www.codelibs.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "ใƒ†ใ‚นใƒˆ.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
            host = "xn--zckzah.org";
            expected = "xn--zckzah.org";
            assertEquals(expected, resolver.toAscii(host));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. istioctl/cmd/root_test.go

    	t.Helper()
    
    	if strings.Contains(gotHelpText, flag) != wantExists {
    		if wantExists {
    			t.Errorf("%q flag was expected but not found in help text", flag)
    		} else {
    			t.Errorf("%q flag was found in help text but not expected", flag)
    		}
    	}
    }
    
    func TestHideInheritedFlags(t *testing.T) {
    	const (
    		parentFlag0 = "parent-flag0"
    		parentFlag1 = "parent-flag1"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 15 17:59:55 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       * of throwable.
       */
      public void callAndAssertThrows(
          Class<? extends Throwable> expected, String methodName, Object... arguments)
          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertEquals(expected, getResponse(methodName).getThrowable().getClass());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckInRange_failure() {
        ArithmeticException expected =
            assertThrows(
                ArithmeticException.class,
                () -> MathPreconditions.checkInRangeForRoundingInputs(false, 1.0, RoundingMode.UP));
        assertThat(expected).hasMessageThat().contains("1.0");
        assertThat(expected).hasMessageThat().contains("UP");
      }
    
      public void testCheckNoOverflow_success() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        StringBuilder input = new StringBuilder();
        StringBuilder expected = new StringBuilder();
        for (int i = 256; i < 1024; i++) {
          input.append((char) i);
          expected.append("[" + i + "]");
        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

    /*
     * Copyright 2020 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
Back to top