Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 1,669 for testInt (0.04 sec)

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

    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing implementations of {@link Network} interface. Network instances
     * created for testing should have Integer node and String edge objects.
     *
     * <p>Test cases that should be handled similarly in any graph implementation are included in this
     * class. For example, testing that {@code nodes()} method returns the set of the nodes in the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Converter;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        private DcerpcBinding mockBinding;
    
        @Mock
        private BufferCache mockBufferCache;
    
        @Mock
        private DcerpcSecurityProvider mockSecurityProvider;
    
        // Concrete implementation of DcerpcHandle for testing
        static class TestDcerpcHandle extends DcerpcHandle {
            private String server;
            private String serverWithDfs;
            private byte[] sessionKey;
            private int doReceiveFragmentReturn = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            AtomicLong totalTime = new AtomicLong(0);
            AtomicInteger successCount = new AtomicInteger(0);
            List<Exception> exceptions = new ArrayList<>();
    
            // Mock address for testing
            Address mockAddress = Mockito.mock(Address.class);
            Mockito.when(mockAddress.getHostAddress()).thenReturn("127.0.0.1");
    
            // Start timing
            long overallStart = System.nanoTime();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/bug_report.yaml

            - com.google.common.io
            - com.google.common.math
            - com.google.common.net
            - com.google.common.primitives
            - com.google.common.reflect
            - com.google.common.testing
            - com.google.common.util.concurrent
    
      - type: dropdown
        attributes:
          label: Platforms
          description: If this issue is platform-specific, then please select the relevant platforms.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.concurrent.GuardedBy;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt

    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.buildCache
    import okhttp3.java.net.cookiejar.JavaNetCookieJar
    import okhttp3.okio.LoggingFilesystem
    import okhttp3.testing.PlatformRule
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/StopwatchTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.FakeTicker;
    import java.time.Duration;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Stopwatch}.
     *
     * @author Kevin Bourrillion
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

            .isEqualTo("\0HELLO \uD800\uDC00 WORLD!\n");
      }
    
      public void testCodePointAt_indexOutOfBoundsException() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
      }
    
      private static String escapeAsString(Escaper e, String s) {
        return e.escape(s);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link FileBackedOutputStream}.
     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top