Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,322 for test_ (0.04 sec)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
        assertReadsCorrectly("");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. cmd/metacache_test.go

    		lastHandout:  metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour),
    		dataVersion:  metacacheStreamVersion,
    	},
    }
    
    func Test_baseDirFromPrefix(t *testing.T) {
    	tests := []struct {
    		name   string
    		prefix string
    		want   string
    	}{
    		{
    			name:   "root",
    			prefix: "object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootdotslash",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
      /**
       * Tests that the forwarding wrapper returned by {@code wrapperFunction} properly forwards method
       * calls with parameters passed as is, return value returned as is, and exceptions propagated as
       * is.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link Range} which cannot run as GWT tests.
     *
     * @author Gregory Kick
     * @see RangeTest
     */
    public class RangeNonGwtTest extends TestCase {
    
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

     */
    
    package com.google.common.util.concurrent;
    
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.util.concurrent.AbstractFuture.TrustedFuture;
    
    /**
     * Tests for {@link AbstractFuture} that use a non-{@link TrustedFuture} for {@link
     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    public class UntrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link RemovalNotification}.
     *
     * @author Ben Yu
     */
    public class RemovalNotificationTest extends TestCase {
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

    import okhttp3.ConnectionSpec
    import okhttp3.DelegatingSSLSocketFactory
    import okhttp3.EventListener
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Tests for ALPN overriding on Android.
     */
    @Tag("Remote")
    class AlpnOverrideTest {
      class CustomSSLSocketFactory(
        delegate: SSLSocketFactory,
      ) : DelegatingSSLSocketFactory(delegate) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. utils/tests/models.go

    package tests
    
    import (
    	"database/sql"
    	"time"
    
    	"gorm.io/gorm"
    )
    
    // User has one `Account` (has one), many `Pets` (has many) and `Toys` (has many - polymorphic)
    // He works in a Company (belongs to), he has a Manager (belongs to - single-table), and also managed a Team (has many - single-table)
    // He speaks many languages (many to many) and has many friends (many to many - single-table)
    // His pet also has one Toy (has one - polymorphic)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top