Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for profile2 (0.07 sec)

  1. tests/associations_test.go

    	DB.Create(&member)
    
    	var profile Profile
    	if err := DB.First(&profile, "id = ?", member.Profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile.Refer != member.ProfileID {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", profile.Refer, member.ProfileID)
    	}
    
    	DB.Model(&profile).Update("Refer", 100)
    
    	var member2 Member
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        void testValidateUniqueProfileId() throws Exception {
            Settings settings = new Settings();
            Profile profile1 = new Profile();
            profile1.setId("test");
            settings.addProfile(profile1);
            Profile profile2 = new Profile();
            profile2.setId("test");
            settings.addProfile(profile2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(
                        location.getSource().getLocation().contains("pom-with-profiles/pom.xml"),
                        "Profile location should contain 'pom-with-profiles/pom.xml', but was: "
                                + location.getSource().getLocation() + " for profile: " + profile.getId());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/mdo/profiles.mdo

      xml.namespace="http://maven.apache.org/PROFILES/${version}"
      xml.schemaLocation="http://maven.apache.org/xsd/profiles-${version}.xsd">
      <id>profiles</id>
      <name>Profiles</name>
      <description><![CDATA[
        <b>Deprecated</b> Project-local overrides to the build process based on detected or user-provided environmental parameters.
        This is the model specification for <code>${basedir}/profiles.xml</code>.
      ]]></description>
      <defaults>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        @Override
        public Map<String, Profile> getProfilesById() {
            return profilesById;
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#addProfile(org.apache.maven.model.Profile)
         */
        @Override
        public void addProfile(Profile profile) {
            String profileId = profile.getId();
    
            Profile existing = profilesById.get(profileId);
            if (existing != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/duplicate-profile-id.xml

      <artifactId>aid</artifactId>
      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
        <profile>
          <id>non-unique-id</id>
        </profile>
        <profile>
          <id>non-unique-id</id>
        </profile>
      </profiles>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Refer string
    		Name  string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile   Profile `gorm:"ForeignKey:ProfileID;References:Refer"`
    		ProfileID int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"Refer", "Profile", "ProfileID", "User", "", false}},
    	})
    }
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/invalid-profile-ids.xml

        <packaging>pom</packaging>
    
        <profiles>
            <profile>
                <id>+invalid-id</id>
            </profile>
            <profile>
                <id>-invalid-id</id>
            </profile>
            <profile>
                <id>!invalid-id</id>
            </profile>
            <profile>
                <id>?invalid-id</id>
            </profile>
            <profile>
                <id>valid-id</id>
            </profile>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-project-expressions.xml

      <groupId>gid</groupId>
      <version>0.1</version>
      <packaging>pom</packaging>
    
      <profiles>
    
        <profile>
          <id>exists-project-version</id>
          <activation>
            <file>
              <exists>${project.version}/test.txt</exists>
            </file>
          </activation>
        </profile>
        <profile>
          <id>missing-project-version</id>
          <activation>
            <file>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top