Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 156 for ValueSource (0.38 seconds)

  1. .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)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    import org.junit.jupiter.api.BeforeEach;
    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;
    
    /**
     * Unit tests for {@link NdrShort}.  The tests cover construction,
     * encoding and decoding logic, masking behaviour, alignment handling and
    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)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @DisplayName("Should handle various offset values")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
            void testVariousOffsets(long offset) {
                assertDoesNotThrow(() -> request.setOffset(offset));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various remaining bytes values")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, Integer.MAX_VALUE })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

    import org.junit.jupiter.api.DisplayName;
    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;
    
    /**
     * Unit tests for {@link NdrHyper}.
     * <p>
     * The class only contains an encode/decode pair that delegates to
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/RequestParamTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.EmptySource;
    import org.junit.jupiter.params.provider.NullSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link RequestParam} covering enum mechanics and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

    import org.gradle.api.Describable
    import org.gradle.api.provider.Property
    import org.gradle.api.provider.ValueSource
    import org.gradle.api.provider.ValueSourceParameters
    import org.gradle.api.tasks.Optional
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.TimeZone
    
    
    abstract class BuildTimestampValueSource : ValueSource<String, BuildTimestampValueSource.Parameters>, Describable {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 05 17:24:26 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.FileNotifyInformation;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for FileNotifyInformationImpl class
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

    import org.junit.jupiter.api.BeforeEach;
    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.dcerpc.DcerpcConstants;
    import jcifs.dcerpc.ndr.NdrObject;
    
    @ExtendWith(MockitoExtension.class)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top