Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 121 for ValueSource (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        @ParameterizedTest
        @ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" })
        void isDotQuadIPRecognizesDotQuadIP(String ip) {
            // Arrange & Act
            boolean result = UniAddress.isDotQuadIP(ip);
            // Assert
            assertTrue(result, "isDotQuadIP should return true for dot-quad IP");
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0", "abcd", "192.168" })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

            return this;
        }
    
        protected List<ValueSource> createValueSources(
                final Model model,
                final File projectDir,
                final ModelBuildingRequest config,
                final ModelProblemCollector problems) {
            Properties modelProperties = model.getProperties();
    
            ValueSource modelValueSource1 = new PrefixedObjectValueSource(PROJECT_PREFIXES, model, false);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/InputValidatorTest.java

        @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" })
        void testPathTraversal(String path) {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateSmbPath(path));
        }
    
        @ParameterizedTest
        @DisplayName("Test valid SMB paths")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.NullAndEmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    /**
     * Tests for SMBProtocolDecodingException covering all constructors and observable behavior.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                List<? extends ValueSource> valueSources,
                List<? extends InterpolationPostProcessor> postProcessors,
                final ModelProblemCollector problems) {
            final Map<String, String> cache = new HashMap<>();
            final StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
            for (ValueSource vs : valueSources) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class SrvCopyChunkCopyResponseTest {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  9. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import org.junit.jupiter.params.provider.ValueSource
    import promotion.determineNightlyPromotionTriggerHour
    
    /*
     * Copyright 2023 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("FileEntry interface contract tests")
    class FileEntryTest {
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top