Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,808 for unit (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

    package jcifs.smb1.dcerpc.ndr;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.spy;
    import static org.mockito.Mockito.verify;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/mail/CrawlerPostcardTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.mail;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlerPostcardTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

     * subsequent bytes.
     */
    internal class TriggerSink(
      private val delegate: Sink,
      private val triggerByteCount: Long,
      private val trigger: () -> Unit,
    ) : Sink by delegate {
      private var bytesWritten = 0L
    
      override fun write(
        source: Buffer,
        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/DefaultsTest.java

     */
    
    package com.google.common.base;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/DefaultsTest.java

     */
    
    package com.google.common.base;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. Jenkinsfile

        durabilityHint('PERFORMANCE_OPTIMIZED')
        disableRestartFromStage()
      }
      stages {
        stage("Build / Test - JDK17") {
          agent { node { label 'ubuntu' } }
          steps {
            timeout(time: 210, unit: 'MINUTES') {
              checkout scm
              mavenBuild("jdk_17_latest", "")
              script {
                properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: isDeployedBranch() ? '30' : '5'))])
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 10 12:31:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

    import java.net.UnknownHostException
    import java.util.Arrays
    import java.util.concurrent.ThreadFactory
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.FileSystem
    import org.junit.jupiter.api.Assumptions.assumeFalse
    import org.junit.jupiter.api.Assumptions.assumeTrue
    
    object TestUtil {
      @JvmField
      val UNREACHABLE_ADDRESS_IPV4 = InetSocketAddress("198.51.100.1", 8080)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        SocketPolicy.UPGRADE_TO_SSL_AT_END -> result.inTunnel()
        SocketPolicy.SHUTDOWN_SERVER_AFTER_RESPONSE -> result.shutdownServer(true)
        SocketPolicy.KEEP_OPEN -> Unit
        SocketPolicy.DISCONNECT_AT_END -> result.onResponseEnd(ShutdownConnection)
        SocketPolicy.DISCONNECT_AT_START -> result.onRequestStart(CloseSocket())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link ForwardingListeningExecutorService} */
    @NullUnmarked
    public class ForwardingListeningExecutorServiceTest extends TestCase {
      public void testForwarding() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1006 bytes
    - Viewed (0)
Back to top