Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,672 for testname (0.05 seconds)

  1. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertEquals(file, file2);
            final File junitJar = ResourceUtil.getBuildDir(TestCase.class);
            assertTrue(junitJar.exists());
            final URL url = junitJar.toURI().toURL();
            final URLClassLoader loader = new URLClassLoader(new URL[] { url });
            loader.loadClass(TestCase.class.getName());
        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

        super(method.getName());
        this.factory = checkNotNull(factory);
        this.data = checkNotNull(data);
        this.expected = checkNotNull(factory.getExpected(data));
        this.suiteName = checkNotNull(suiteName);
        this.caseDesc = checkNotNull(caseDesc);
      }
    
      @Override
      public String getName() {
        return super.getName() + " [" + suiteName + " [" + caseDesc + "]]";
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

        private String lastName;
    
        /**
         * Constructs a NetServerEnum2Response
         * @param config
         *            the configuration to use
         */
        public NetServerEnum2Response(final Configuration config) {
            super(config);
        }
    
        /**
         * Gets the last server name from the enumeration
         * @return the lastName
         */
        public final String getLastName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPlugin.java

                t.setDirMode(0750);
            });
        }
    
        private static String archiveTaskToSubprojectName(String taskName) {
            return archiveToSubprojectName(taskName).substring("build".length() + 1);
        }
    
        private static String archiveToSubprojectName(String taskName) {
            return taskName.replaceAll("[A-Z]", "-$0").toLowerCase();
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 22 19:01:26 GMT 2021
    - 7.9K bytes
    - Click Count (0)
  5. guava-gwt/test/com/google/common/GwtTestSuite.java

    import com.google.gwt.junit.tools.GWTTestSuite;
    import java.io.IOException;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test
     * "suite," as the per-suite setup is expensive.
     */
    public class GwtTestSuite extends TestCase {
      public static Test suite() throws IOException {
        GWTTestSuite suite = new GWTTestSuite();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link Reflection} */
    @NullUnmarked
    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

                }
            }
            lastName = numEntries == 0 ? null : e.name;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("NetServerEnum2Response[" + super.toString() + ",status=" + status + ",converter=" + converter + ",entriesReturned="
                    + numEntries + ",totalAvailableEntries=" + totalAvailableEntries + ",lastName=" + lastName + "]");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NbtAddressTest.java

            // Test getHostName when hostname is known
            mockName = new Name(mockConfig, "KNOWNHOST", 0x20, null);
            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals("KNOWNHOST", nbtAddress.getHostName());
        }
    
        @Test
        void testGetHostName_UnknownHost() {
            // Test getHostName when hostname is unknown, should return IP address
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

            return registerTestTask(project, sourceSet, sourceSet.getName());
        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with a custom name for the provided source set
         */
        public static Provider<RestIntegTestTask> registerTestTask(Project project, SourceSet sourceSet, String taskName) {
            // lazily create the test task
            return project.getTasks().register(taskName, RestIntegTestTask.class, testTask -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            response.lastNameOffset = 100;
            response.lastName = "file5.txt";
    
            String actual = response.toString();
            assertTrue(actual.startsWith("Trans2FindFirst2Response["));
            assertTrue(actual.contains("sid=123"));
            assertTrue(actual.contains("searchCount=5"));
            assertTrue(actual.contains("isEndOfSearch=true"));
            assertTrue(actual.contains("lastName=file5.txt"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top