- Sort Score
- Result 10 results
- Languages All
Results 2741 - 2750 of 4,407 for Avoid (0.02 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; public class GraphTest { @Test public void testGraph() throws CycleDetectedException { Graph graph = new Graph(); graph.addVertex("a"); assertEquals(1, graph.getVertices().size()); assertEquals("a", graph.getVertex("a").getLabel());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
} protected void addDeprecatedOption(Option option) { usedDeprecatedOptions.add(option); } public org.apache.commons.cli.Options getOptions() { return options; } public Set<Option> getUsedDeprecatedOptions() { return usedDeprecatedOptions; } public void displayHelp(String command, Consumer<String> pw) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 07:36:42 UTC 2025 - 21.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
private SamrDomainHandle mockDomainHandle; @Mock private SamrAliasHandle mockAliasHandle; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters") void testConstructorInitialization() { // Given int access = 0x01; // Example access valueRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/RequestHeader.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java
@CollectionFeature.Require(absent = KNOWN_ORDER) public void testForEachUnknownOrder() { List<E> elements = new ArrayList<>(); collection.forEach(elements::add); assertEqualIgnoringOrder(asList(createSamplesArray()), elements); } @CollectionFeature.Require(KNOWN_ORDER) public void testForEachKnownOrder() { List<E> elements = new ArrayList<>();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; public class AvFlagsTest { /** * Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integer byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* * @param config the filter configuration containing initialization parameters * @throws ServletException if an error occurs during initialization */ @Override public void init(final FilterConfig config) throws ServletException { servletContext = config.getServletContext(); encoding = config.getInitParameter(LastaPrepareFilter.ENCODING_KEY); if (encoding == null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
@Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @Test void acceptWithNullThrows() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
import junit.framework.TestCase; import org.junit.Test; /** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader())));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
interface RuntimeWrapper { void exit(int status); } @VisibleForTesting static final class Exiter implements UncaughtExceptionHandler { private static final LazyLogger logger = new LazyLogger(Exiter.class); private final RuntimeWrapper runtime; Exiter(RuntimeWrapper runtime) { this.runtime = runtime; } @Override public void uncaughtException(Thread t, Throwable e) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Feb 10 21:03:40 UTC 2025 - 2.8K bytes - Viewed (0)