Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,292 for testname (0.14 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

    import java.lang.reflect.Field;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

    import java.util.logging.Level;
    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TestLogHandler}.
     *
     * @author kevinb
     */
    @NullUnmarked
    public class TestLogHandlerTest extends TestCase {
    
      private TestLogHandler handler;
      private final TearDownStack stack = new TearDownStack();
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * @author Luiz-Otavio "Z" Zorzella
     */
    @GwtCompatible
    @NullUnmarked
    public class TearDownStackTest extends TestCase {
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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 + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingTest.java

              && method.getParameterTypes().length != 0 // only the seeded hash functions
              && !method.getName().equals("concatenating") // don't test Hashing.concatenating()
              && !method.getName().equals("goodFastHash") // tested in testGoodFastHashEquals
              && !method.getName().startsWith("hmac")) { // skip hmac functions
            Object[] params1 = new Object[method.getParameterTypes().length];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
          new ListenerCallQueue.Event<Object>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ListenerCallQueue}. */
    @NullUnmarked
    public class ListenerCallQueueTest extends TestCase {
    
      private static final ListenerCallQueue.Event<Object> THROWING_EVENT =
          new ListenerCallQueue.Event<Object>() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. 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"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            long testTime = System.currentTimeMillis();
    
            // Set specific values
            SMBUtil.writeInt4(100, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(200, buffer, 4); // fileIndex
            SMBUtil.writeTime(testTime, buffer, 8); // creationTime
            SMBUtil.writeTime(testTime, buffer, 16); // lastAccessTime
            SMBUtil.writeTime(testTime, buffer, 24); // lastWriteTime
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top