Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 3,220 for test5 (0.09 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            internalBuild()
            buildFile << """
                apply plugin: 'elasticsearch.internal-yaml-rest-test'
    
                dependencies {
                   yamlRestTestImplementation "junit:junit:4.12"
                }
    
                // can't actually spin up test cluster from this test
               tasks.withType(Test).configureEach{ enabled = false }
    
               tasks.register("printYamlRestTestClasspath").configure {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/DfsImplTest.java

            // Instantiate the class under test
            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/HostSpecifierTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                    }
                    matcher = line =~ /\/\/\s*TEST(\[(.+)\])?\s*/
                    if (matcher.matches()) {
                        if (snippet == null) {
                            throw new InvalidUserDataException("$file:$lineNumber: "
                                + "TEST not paired with a snippet at ")
                        }
                        snippet.test = true
                        if (matcher.group(2) != null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        }
    
        @Test
        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/bytes/compare_test.go

    	{[]byte("ab"), []byte("x"), -1},
    	{[]byte("x"), []byte("a"), 1},
    	{[]byte("b"), []byte("x"), -1},
    	// test runtime·memeq's chunked implementation
    	{[]byte("abcdefgh"), []byte("abcdefgh"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghi"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghj"), -1},
    	{[]byte("abcdefghj"), []byte("abcdefghi"), 1},
    	// nil tests
    	{nil, nil, 0},
    	{[]byte(""), nil, 0},
    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.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.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    @ExtendWith(MockitoExtension.class)
    @DisplayName("FileEntry interface contract tests")
    class FileEntryTest {
    
        @Test
        @DisplayName("Mock returns configured values")
    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