Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,488 for unit (0.08 sec)

  1. android/guava-tests/test/com/google/common/base/DefaultsTest.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Defaults}.
     *
     * @author Jige Yu
     */
    @GwtIncompatible
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

        promotedBranch: String,
        init: PublishRelease.() -> Unit = {}
    ) : PublishGradleDistributionFullBuild(
        promotedBranch = promotedBranch,
        prepTask = prepTask,
        promoteTask = promoteTask,
        triggerName = "ReadyforRelease",
        gitUserEmail = "%gitUserEmail%",
        gitUserName = "%gitUserName%",
        extraParameters = "-PconfirmationCode=%confirmationCode%"
    ) {
        init {
            params {
                text(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jcifs.SID;
    import jcifs.smb.SmbException;
    
    public class SambaHelperTest extends UnitFessTestCase {
    
        public SambaHelper sambaHelper;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            }
        }
    
        class NoOpTestClassProvider : BuildBucketProvider {
            override fun configureTest(testTask: Test, sourceSetName: String) = Unit
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

              return -1L
            }
          },
        )
        return null
      }
    
      private fun awaitTcpConnect(
        timeout: Long,
        unit: TimeUnit,
      ): ConnectResult? {
        if (tcpConnectsInFlight.isEmpty()) return null
    
        val result = connectResults.poll(timeout, unit) ?: return null
    
        tcpConnectsInFlight.remove(result.plan)
    
        return result
      }
    
      private fun cancelInFlightConnects() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

     */
    package org.codelibs.fess.sso.oic;
    
    import static org.junit.Assert.assertArrayEquals;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.app.web.base.login.OpenIdConnectCredential;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.DocumentUtil;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
        public void run() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/DocListTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DocListTest extends UnitFessTestCase {
        public void test_DocList() {
            DocList docList = new DocList();
    
            assertEquals(0, docList.getContentSize());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top