Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 791 for units (0.01 sec)

  1. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link ForwardingExecutorService} */
    @NullUnmarked
    public class ForwardingExecutorServiceTest extends TestCase {
      public void testForwarding() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            byte[] nodeAddress = addrEntry[0].getAddress();
            assertNotNull(nodeAddress, "Node address should not be null");
            // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test
            // These methods require network operations and are integration test material
        }
    
        @Test
        void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameTrue_nodeTypeNonZero()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
          currentThread().interrupt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
        @Override
        public V get(long timeout, TimeUnit unit)
            throws InterruptedException, TimeoutException, ExecutionException {
          return sync.get(unit.toNanos(timeout));
        }
    
        /*
         * Improve the documentation of when InterruptedException is thrown. Our
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.JobProcessingException;
    import org.codelibs.fess.script.AbstractScriptEngine;
    import org.codelibs.fess.script.ScriptEngineFactory;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.di.core.factory.SingletonLaContainerFactory;
    
    import groovy.lang.Binding;
    import groovy.lang.GroovyClassLoader;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class LdapConfigurationExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessage() {
            // Test with a normal message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top