Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2001 - 2010 of 4,254 for avoid (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for TemporaryFileInputStream.
     *
     * @author shinsuke
     */
    public class TemporaryFileInputStreamTest extends PlainTestCase {
    
        public void test_read_fromTempFile() throws Exception {
            // Create a temporary file with test data
            File tempFile = File.createTempFile("test-", ".tmp");
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        private ServerData serverData;
    
        @BeforeEach
        public void setUp() {
            serverData = new ServerData();
        }
    
        /**
         * Test default constructor initializes all fields with default values
         */
        @Test
        @DisplayName("Test default constructor initializes fields with default values")
        public void testDefaultConstructor() {
            // Then - verify all fields have default values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java

        }
    
        public void test_resolve_hostname() throws UnknownHostException {
            IdnDnsResolver resolver = new IdnDnsResolver();
    
            // Test localhost hostname
            String host = "localhost";
            InetAddress[] addresses = resolver.resolve(host);
            assertNotNull(addresses);
            assertTrue(addresses.length > 0);
        }
    
        public void test_resolve_invalid_brackets() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

        // Simple OID format: numbers separated by dots (at least one dot)
        private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
    
        @Test
        @DisplayName("Constant values match expected OIDs")
        void constantValues() {
            assertEquals("1.3.6.1.5.5.2", SpnegoConstants.SPNEGO_MECHANISM, "SPNEGO_MECHANISM mismatch");
            assertEquals("1.2.840.113554.1.2.2", SpnegoConstants.KERBEROS_MECHANISM, "KERBEROS_MECHANISM mismatch");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

     * @author Nick Kralevich
     */
    @NullUnmarked
    public class SerializableTesterTest extends TestCase {
      public void testStringAssertions() {
        String original = "hello world";
        String copy = SerializableTester.reserializeAndAssert(original);
        assertEquals(original, copy);
        assertNotSame(original, copy);
      }
    
      public void testClassWhichDoesNotImplementEquals() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NetServerEnumIterator.java

         */
        @Override
        public void close() throws CIFSException {
            if (this.next != null) {
                doClose();
            }
        }
    
        /**
         *
         */
        private void doClose() {
            this.treeHandle.release();
            this.next = null;
        }
    
        @Override
        public void remove() {
            throw new UnsupportedOperationException("remove");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            return buffer;
        }
    
        static void writeULong(final byte[] dest, final int offset, final int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
            dest[offset + 3] = (byte) (ulong >> 24 & 0xff);
        }
    
        static void writeUShort(final byte[] dest, final int offset, final int ushort) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            return active;
        }
    
        public void enable() {
            active = true;
    
            // TODO if it was null, we really need to go find them now... or is this taken care of by the ordering?
            if (children != null) {
                for (ResolutionNode node : children) {
                    node.enable();
                }
            }
        }
    
        public void disable() {
            active = false;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.kinds = kinds;
        }
    
        /**
         * Sets the empty source map.
         * @param emptySource The empty source map to set.
         */
        public void setEmptySource(final Map<String, Object> emptySource) {
            this.emptySource = emptySource;
        }
    
        /**
         * Sets the ID of the suggest item.
         * @param id The ID to set.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        @BeforeEach
        void setup() {
            // Tree handle lifecycle and config
            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.isConnected()).thenReturn(true);
    
            // CIFS context returns same config to build responses during initResponse
            lenient().when(cifsContext.getConfig()).thenReturn(config);
        }
    
        @AfterEach
        void teardown() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top