- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 120 for intentional (0.14 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java
@Override 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"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerException.java
* @param cause the underlying cause of the exception */ public InvokerException(@Nullable String message, @Nullable Throwable cause) { super(message, cause); } /** * Exception for intentional exit: No message or anything will be displayed, just the * carried exit code will be returned from invoker {@link Invoker#invoke(InvokerRequest)} method. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 10:47:37 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
@Override 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"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
SmbRenewableCredentials creds = null; // Act + Assert: invoking renew() on null triggers NullPointerException assertThrows(NullPointerException.class, () -> { // Intentional NPE through dereference of a null interface reference creds.renew(); }); } @Test @DisplayName("Type contract: implementation is also CredentialsInternal")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.java
@Override 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"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
@Override 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"));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
import org.jspecify.annotations.NullUnmarked; /** * Test suite covering {@link Ints#asList(int[])}. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("cast") // redundant casts are intentional and harmless @NullUnmarked @AndroidIncompatible // test-suite builders public class IntArrayAsListTest extends TestCase { private static List<Integer> asList(Integer[] values) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
return closeCalled; } @Override public void close() throws Exception { closeCalled = true; throw new Exception("Intentional close failure"); } } /** * Test destroyObject with AutoCloseable that throws exception on close */ public void test_destroyObject_autoCloseableThrowsException() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 13:07:01 GMT 2025 - 36.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
import org.jspecify.annotations.Nullable; /** * Unit test for {@link Preconditions}. * * @author Kevin Bourrillion * @author Jared Levy */ @NullMarked @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing @GwtCompatible public class PreconditionsTest extends TestCase { public void testCheckArgument_simple_success() { checkArgument(true); } public void testCheckArgument_simple_failure() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12))); assertEquals(Range.atLeast(4), range.span(Range.atLeast(10))); } @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method public void testPredicateMethods() { Range<Integer> predicate = Range.closed(2, 3); assertFalse(predicate.apply(1)); assertTrue(predicate.apply(2));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.1K bytes - Click Count (0)