Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 682 for testcase (0.23 sec)

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

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. cmd/endpoint_contrib_test.go

    	}
    
    	for _, testCase := range ipv4TestCases {
    		globalDomainIPs = nil
    
    		updateDomainIPs(testCase.endPoints)
    
    		if !testCase.expectedResult.Equals(globalDomainIPs) {
    			t.Fatalf("error: expected = %s, got = %s", testCase.expectedResult, globalDomainIPs)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 30 15:50:39 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/RangeNonGwtTest.java

     */
    
    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() {
        NullPointerTester tester = new NullPointerTester();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/net/UuidUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.net;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class UuidUtilTest extends TestCase {
    
        /**
         * Test method for {@link org.codelibs.core.net.UuidUtil#create()}.
         */
        public void testCreate() {
            final String uuid = UuidUtil.create();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  7. callbacks/helper_test.go

    			},
    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    		})
    	}
    }
    
    func TestConvertSliceOfMapToValuesForCreate(t *testing.T) {
    	testCase := []struct {
    		name   string
    		input  []map[string]interface{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StopwatchJavaTimeTest.java

    import com.google.common.testing.FakeTicker;
    import java.time.Duration;
    import junit.framework.TestCase;
    
    /** Unit test for the {@code java.time} support in {@link Stopwatch}. */
    @J2ktIncompatible
    @GwtIncompatible
    public class StopwatchJavaTimeTest extends TestCase {
      private final FakeTicker ticker = new FakeTicker();
      private final Stopwatch stopwatch = new Stopwatch(ticker);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SortedIterablesTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@code SortedIterables}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SortedIterablesTest extends TestCase {
      public void testSameComparator() {
        assertTrue(SortedIterables.hasSameComparator(Ordering.natural(), Sets.newTreeSet()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class IntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToInteger() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top