Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,259 for testUsing (0.04 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

            @Test
            void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception {
                // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address
                // Testing with NbtAddress which doesn't return anything from toInetAddress
                NbtAddress nbtAddress = mock(NbtAddress.class);
                when(nbtAddress.toInetAddress()).thenReturn(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/HandlerTest.java

            Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null);
            handlers.clear();
        }
    
        /**
         * Pre-populates the protocol handlers cache with mock handlers for testing.
         * This avoids the need for actual protocol handlers to be available.
         */
        private void setupMockProtocolHandlers() throws Exception {
            Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        }
    
        @Inject
        private PathTranslator pathTranslator;
    
        private Interpolator interpolator;
    
        private RecursionInterceptor recursionInterceptor;
    
        // for testing.
        protected AbstractStringBasedModelInterpolator(PathTranslator pathTranslator) {
            this.pathTranslator = pathTranslator;
        }
    
        protected AbstractStringBasedModelInterpolator() {}
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    Files.createDirectories(tempDir.resolve("shared"));
    
                    // Create some initial files
                    Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing");
                    Files.writeString(tempDir.resolve("shared/initial.txt"), "Initial file in shared directory");
    
                    // Configure container with simplified SMB configuration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            - com.google.common.io
            - com.google.common.math
            - com.google.common.net
            - com.google.common.primitives
            - com.google.common.reflect
            - com.google.common.testing
            - com.google.common.util.concurrent
    
      - type: checkboxes
        attributes:
          label: Checklist
          options:
            - label: >
                I agree to follow the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.List;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.junit.jupiter.api.Assertions.fail;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

                return null;
            }
    
            @Override
            public String getName() {
                return name;
            }
        }
    
        /**
         * Transformer that throws exceptions for testing error handling
         */
        public static class ExceptionThrowingTransformer implements Transformer {
            private final String name;
            private boolean throwInTransform = false;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.Iterators.peekingIterator;
    import static java.nio.charset.StandardCharsets.UTF_8;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

    public class SmbComCloseTest {
    
        private CIFSContext context;
        private PropertyConfiguration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            // Create a mock configuration for testing
            Properties properties = new Properties();
            config = new PropertyConfiguration(properties);
            context = mock(CIFSContext.class);
            when(context.getConfig()).thenReturn(config);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

    import javax.net.SocketFactory
    import javax.net.ssl.SSLSocket
    import okhttp3.Handshake
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.TestUtil.threadFactory
    import okhttp3.internal.closeQuietly
    import okhttp3.testing.PlatformRule
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top