Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 156 for parameterized (0.07 seconds)

  1. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link ImmutableNetwork}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public class StandardImmutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. logger/slog.go

    	SlowThreshold             time.Duration
    	Parameterized             bool
    	Colorful                  bool // Ignored in slog
    	IgnoreRecordNotFoundError bool
    }
    
    func NewSlogLogger(logger *slog.Logger, config Config) Interface {
    	return &slogLogger{
    		Logger:                    logger,
    		LogLevel:                  config.LogLevel,
    		SlowThreshold:             config.SlowThreshold,
    		Parameterized:             config.ParameterizedQueries,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for {@link MapIteratorCache} and {@link MapRetrievalCache}. */
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class MapCacheTest {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Verify instance is created
            assertNotNull(fileInfo);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test parameterized constructor with end of file value")
        void testParameterizedConstructor() {
            // Test with specific end of file value
            long endOfFile = 1024L;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    ## Parameterize the instance { #parameterize-the-instance }
    
    And now, we can use `__init__` to declare the parameters of the instance that we can use to "parameterize" the dependency:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class NetworkEquivalenceTest {
      private static final Integer N1 = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class NetworkEquivalenceTest {
      private static final Integer N1 = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        /** Constructor */
        protected final Constructor<?> constructor;
    
        /** Array of constructor parameter types */
        protected final Class<?>[] parameterTypes;
    
        /** Information about parameterized argument types */
        protected final ParameterizedClassDesc[] parameterizedClassDescs;
    
        /**
         * Constructs an instance.
         *
         * @param beanDesc
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

                return length;
            }
    
            @Override
            public int getFileIndex() {
                return fileIndex;
            }
        }
    
        // Functional helpers for concise parameterized tests
        private interface IntGetter {
            int apply(FileEntry e);
        }
    
        private interface LongGetter {
            long apply(FileEntry e);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
            assertEquals(type, mock.getType());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top