Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,047 for AssertJ (0.09 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      @GwtIncompatible // not used under GWT, and super.getName() is not available under J2CL
      @Override
      public String getName() {
        return Platform.format("%s[%s]", super.getName(), suiteName);
      }
    
      /**
       * Asserts that the given object is non-null, with a better failure message than {@link
       * TestCase#assertNull(String, Object)}.
       *
       * <p>The {@link TestCase} version (which is from JUnit 3) produces a failure message that does
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static junit.framework.Assert.fail;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    import javax.net.ssl.SSLException
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.startsWith
    import kotlin.test.assertFailsWith
    import kotlin.test.fail
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.idn.Punycode
    import okio.Buffer
    import okio.ByteString
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CharsetsTest.java

        byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII);
        byte[] b3 = "????".getBytes(Charsets.US_ASCII);
        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
        assertTrue(Arrays.equals(b2, b3));
        assertTrue(Arrays.equals(b3, b4));
        assertTrue(Arrays.equals(b4, b5));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ReflectionTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.util.Map;
    import junit.framework.TestCase;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import java.lang.reflect.Constructor;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.ConstructorDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesTest.java

    import static java.lang.Double.POSITIVE_INFINITY;
    import static java.math.RoundingMode.CEILING;
    import static java.math.RoundingMode.FLOOR;
    import static java.math.RoundingMode.UNNECESSARY;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Ordering;
    import com.google.common.math.Quantiles.ScaleAndIndexes;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/InternersTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Interners.InternerImpl;
    import com.google.common.collect.MapMakerInternalMap.Strength;
    import com.google.common.testing.GcFinalization;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    	credentials auth.Credentials, t *testing.T,
    ) {
    	objectName := "test-object"
    	// set of byte data for PutObject.
    	// object has to be created before running tests for HeadObject.
    	// this is required even to assert the HeadObject data,
    	// since dataInserted === dataFetched back is a primary criteria for any object storage this assertion is critical.
    	bytesData := []struct {
    		byteData []byte
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top