Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 791 for units (0.02 sec)

  1. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Helpers}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public class HelpersTest extends TestCase {
      public void testNullsBeforeB() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. cmd/object-api-deleteobject_test.go

    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObject)
    }
    
    // Unit test for DeleteObject in general.
    func testDeleteObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	type objectUpload struct {
    		name    string
    		content string
    	}
    
    	testCases := []struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException {
          aboutToAcquire(this);
          try {
            return super.tryLock(timeout, unit);
          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public void unlock() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/VerifyTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComFindClose2}.
     * The class is intentionally tiny – the tests mainly verify that the
     * parameter word (the session identifier) is written in little‑endian form
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link SmbComLogoffAndX}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLogoffAndXTest {
    
        @Test
        @DisplayName("constructor accepts null andx")
        void constructorWithNullAndx() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

    package org.codelibs.fess.util;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ComponentUtilTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.setFessConfig(null);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import java.util.Locale;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.dbflute.jdbc.ClassificationMeta;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.db.dbflute.exception.ProvidedClassificationNotFoundException;
    
    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