Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for expectedTake (0.28 sec)

  1. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
      /** Timeout to use when we don't expect the timeout to expire. */
      private static final long LONG_DELAY_MS = 2500;
    
      private static final long SLEEP_SLACK = 2;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  3. internal/event/name_test.go

    		}
    
    		if !testCase.expectErr {
    			if !reflect.DeepEqual(name, testCase.expectedName) {
    				t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedName, name)
    			}
    		}
    	}
    }
    
    func TestParseName(t *testing.T) {
    	var blankName Name
    
    	testCases := []struct {
    		s            string
    		expectedName Name
    		expectErr    bool
    	}{
    		{"s3:ObjectAccessed:*", ObjectAccessedAll, false},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. tests/connection_test.go

    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    )
    
    func TestWithSingleConnection(t *testing.T) {
    	expectedName := "test"
    	var actualName string
    
    	setSQL, getSQL := getSetSQL(DB.Dialector.Name())
    	if len(setSQL) == 0 || len(getSQL) == 0 {
    		return
    	}
    
    	err := DB.Connection(func(tx *gorm.DB) error {
    		if err := tx.Exec(setSQL, expectedName).Error; err != nil {
    			return err
    		}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 28 14:16:42 GMT 2022
    - 963 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

           * used in other tests.
           */
    
          String expectedName = Ascii.toLowerCase(inputName);
          expectedName = expectedName.replaceAll("[\u3002\uFF0E\uFF61]", ".");
    
          if (expectedName.endsWith(".")) {
            expectedName = expectedName.substring(0, expectedName.length() - 1);
          }
    
          assertEquals(expectedName, domain.toString());
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top