Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,048 for testcase (3.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/object-api-utils_test.go

    		{"lalalallalallalalalallalallalala-thestring-size-is-greater-than-63", false},
    	}
    
    	for i, testCase := range testCases {
    		isValidBucketName := IsValidBucketName(testCase.bucketName)
    		if testCase.shouldPass && !isValidBucketName {
    			t.Errorf("Test case %d: Expected \"%s\" to be a valid bucket name", i+1, testCase.bucketName)
    		}
    		if !testCase.shouldPass && isValidBucketName {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. guava-tests/test/com/google/common/base/MoreObjectsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

    import static org.mockito.Mockito.when;
    
    import com.google.common.testing.NullPointerTester;
    import java.io.ByteArrayOutputStream;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link HashingOutputStream}.
     *
     * @author Nick Piepmeier
     */
    public class HashingOutputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 02 16:24:50 GMT 2020
    - 3.1K bytes
    - Viewed (0)
Back to top