Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 780 for unit (0.01 seconds)

  1. tests/create_test.go

    	AssertEqual(t, newUser.CreatedAt, curTime)
    	AssertEqual(t, newUser.UpdatedAt, curTime)
    }
    
    func TestCreateWithNoGORMPrimaryKey(t *testing.T) {
    	type JoinTable struct {
    		UserID   uint
    		FriendID uint
    	}
    
    	DB.Migrator().DropTable(&JoinTable{})
    	if err := DB.AutoMigrate(&JoinTable{}); err != nil {
    		t.Errorf("no error should happen when auto migrate, but got %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
     */
    @Deprecated
    public class DefaultModelBuilderTest {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. tests/error_translator_test.go

    	tidbSkip(t, "not support the foreign key feature")
    
    	type City struct {
    		gorm.Model
    		Name string `gorm:"unique"`
    	}
    
    	type Museum struct {
    		gorm.Model
    		Name   string `gorm:"unique"`
    		CityID uint
    		City   City `gorm:"Constraint:OnUpdate:CASCADE,OnDelete:CASCADE;FOREIGNKEY:CityID;References:ID"`
    	}
    
    	db, err := OpenTestConnection(&gorm.Config{TranslateError: true})
    	if err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.project.MavenProject;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class LifecycleDependencyResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/CheckTeamCityKotlinDSL.kt

    import model.CIBuildModel
    import model.Stage
    
    class CheckTeamCityKotlinDSL(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(
            os = Os.LINUX,
            stage = stage,
            init = {
                id("${model.projectId}_CheckTeamCityKotlinDSL")
                name = "CheckTeamCityKotlinDSL"
                description = "Check Kotlin DSL in .teamcity/"
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 31 01:53:09 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/promotion/PublishGradleDistributionFullBuild.kt

        gitUserEmail: String = "******@****.***",
        extraParameters: String = "",
    ) : BasePublishGradleDistribution(promotedBranch, prepTask, triggerName, gitUserName, gitUserEmail, extraParameters) {
        init {
            steps {
                if (prepTask != null) {
                    buildStep(extraParameters, gitUserName, gitUserEmail, triggerName, prepTask, "uploadAll")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. api/go1.5.txt

    pkg go/constant, func Num(Value) Value
    pkg go/constant, func Real(Value) Value
    pkg go/constant, func Shift(Value, token.Token, uint) Value
    pkg go/constant, func Sign(Value) int
    pkg go/constant, func StringVal(Value) string
    pkg go/constant, func Uint64Val(Value) (uint64, bool)
    pkg go/constant, func UnaryOp(token.Token, Value, uint) Value
    pkg go/constant, type Kind int
    pkg go/constant, type Value interface, Kind() Kind
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Click Count (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.ArgumentMatchers;
    import org.mockito.InjectMocks;
    import org.mockito.Spy;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import org.apache.maven.profiles.ProfileManager;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    false central Maven Repository Switchboard http://www.ibiblio.org/maven2 false snapshots Maven Central Plugins Development Repository http://snapshots.maven.codehaus.org/maven2 false central Maven Plugin Repository http://www.ibiblio.org/maven2 junit junit 3.8.1 test target/site org.codehaus.plexus plexus-container-default 1.0-alpha-8 org.codehaus.plexus plexus-utils 1.0.4 org.apache.maven.wagon wagon-provider-api 1.0-alpha-5 org.apache.maven.wagon wagon-ssh 1.0-alpha-5 org.apache.maven.wagon wagon-file...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.9K bytes
    - Click Count (0)
Back to Top