Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 4,254 for avoid (0.18 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        @BeforeEach
        void setUp() {
            // Initialize mocks and captors before each test
            MockitoAnnotations.openMocks(this);
            openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class);
            closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
        }
    
        @Test
        void constructor_shouldOpenDomainSuccessfully() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            void recordConnection() {
                connectionsCreated.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordSuccess() {
                successCount.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordFailure() {
                failureCount.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
      public void testGet_negative() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1));
      }
    
      public void testGet_tooLarge() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            return Stream.of(
                    Arguments.of("Unix", Configuration.unix(), "/"),
                    Arguments.of("Windows", Configuration.windows(), "\\"));
        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            projectBuilder = getContainer().lookup(ProjectBuilder.class);
        }
    
        protected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

        /*
         * (non-Javadoc)
         * @see junit.framework.TestCase#setUp()
         */
        @BeforeEach
        public void setUp() throws Exception {
            properties = new MavenProperties();
            properties.load(new StringReader(TEST_PROPERTIES));
        }
    
        @Test
        public void testSpaces() throws Exception {
            String config = "\n" + "\n"
                    + "    \n"
                    + "                \n"
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         *
         * @param defaultField the default field name
         */
        public void setDefaultField(final String defaultField) {
            this.defaultField = defaultField;
        }
    
        /**
         * Sets the analyzer used to analyze query terms.
         *
         * @param analyzer the analyzer to use
         */
        public void setAnalyzer(final Analyzer analyzer) {
            this.analyzer = analyzer;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

        /**
         * Sets the URL of the API endpoint.
         * @param url The URL to set.
         */
        public void setUrl(final String url) {
            this.url = url;
        }
    
        /**
         * Sets the connection timeout.
         * @param connectionTimeout The connection timeout in milliseconds.
         */
        public void setConnectionTimeout(final Integer connectionTimeout) {
            this.connectionTimeout = connectionTimeout;
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServicePacketTest.java

                return 6; // NbtAddress is 6 bytes
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            packet = new TestNameServicePacket(mockConfig);
            packet.questionName = mockQuestionName;
            packet.recordName = mockRecordName;
        }
    
        @Test
        void testWriteInt2() {
            byte[] dst = new byte[2];
            NameServicePacket.writeInt2(0x1234, dst, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java

     * @since 3.1.2
     */
    public interface ProjectExecutionListener {
        void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException;
    
        void afterProjectExecutionFailure(ProjectExecutionEvent event);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top