Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for intentional (0.08 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public void execute(MavenSession session) {}
    
        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0));
      }
    
      @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing.
      public void testLenientFormat() {
        assertEquals("%s", Strings.lenientFormat("%s"));
        assertEquals("5", Strings.lenientFormat("%s", 5));
        assertEquals("foo [5]", Strings.lenientFormat("foo", 5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    The report will explain the errors in detail.
    Perhaps, you forgot to add an `@Incubating` annotation or `@since` in the javadoc.
    
    2. Accept the changes.\
    If you are sure that the changes are intentional, follow the steps described in the report.
    This includes adding the description of the changes to the `accepted-public-api-changes.json` file, and providing a reason for each change.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

        assertFalse(Strings.validSurrogatePairAt("x\uDCAB", 0));
        assertFalse(Strings.validSurrogatePairAt("\uD8ABx", 0));
      }
    
      @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing.
      public void testLenientFormat() {
        assertEquals("%s", Strings.lenientFormat("%s"));
        assertEquals("5", Strings.lenientFormat("%s", 5));
        assertEquals("foo [5]", Strings.lenientFormat("foo", 5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PreconditionsTest.java

    /**
     * Unit test for {@link Preconditions}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible(emulated = true)
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        checkArgument(true);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
           * normally handle Error.
           *
           * Similarly, do we really want to log the same Error more than once?
           */
          log(throwable);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. android/pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pom.xml

                  <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                       prod code. It's disabled automatically for "test code"
                       (which is good: our tests have intentional violations), but
                       Error Prone doesn't know it's building test code unless we
                       pass -XepCompilingTestOnlyCode, and that argument needs to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

    public abstract class LookupInvoker<
                    O extends Options, R extends InvokerRequest<O>, C extends LookupInvoker.LookupInvokerContext<O, R, C>>
            implements Invoker<R> {
    
        /**
         * Exception for intentional exit: No message or anything will be displayed, just the
         * carried exit code will be returned from {@link #invoke(InvokerRequest)} method.
         */
        public static final class ExitException extends InvokerException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

    /**
     * Unit test for {@link Ints}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntsTest extends TestCase {
      private static final int[] EMPTY = {};
      private static final int[] ARRAY1 = {(int) 1};
      private static final int[] ARRAY234 = {(int) 2, (int) 3, (int) 4};
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top