Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCallback (0.1 sec)

  1. schema/callbacks_test.go

    )
    
    type UserWithCallback struct{}
    
    func (UserWithCallback) BeforeSave(*gorm.DB) error {
    	return nil
    }
    
    func (UserWithCallback) AfterCreate(*gorm.DB) error {
    	return nil
    }
    
    func TestCallback(t *testing.T) {
    	user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    		t.Fatalf("failed to parse user with callback, got error %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 939 bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/KerberosTest.java

                f.exists();
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Using short names", false);
            }
        }
    
    
        @Test
        public void testFallback () throws Exception {
            Subject s = getInitiatorSubject(getTestUser(), getTestUserPassword(), getTestUserDomainRequired(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
Back to top