Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 110 for pems (0.02 seconds)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo(
          "CN=cash.app,OU=cash",
        )
      }
    
      /** Confirm golden values of encoded PEMs.  */
      @Test
      fun pems() {
        val keyFactory = KeyFactory.getInstance("RSA")
        val publicKeyBytes =
          (
            "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCApFHhtrLan28q+oMolZuaTfWBA0V5aM" +
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  2. tests/joins_test.go

    	DB.Joins("inner join pets on pets.user_id = users.id AND pets.name = @Name", user.Pets[0]).Where("users.name = ?", user.Name).First(&users6)
    	if len(users6) != 1 {
    		t.Errorf("should find one users using left join with conditions, but got %v", len(users6))
    	}
    
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. tests/helper_test.go

    			}
    		}
    	})
    
    	t.Run("Pets", func(t *testing.T) {
    		if len(user.Pets) != len(expect.Pets) {
    			t.Fatalf("pets should equal, expect: %v, got %v", len(expect.Pets), len(user.Pets))
    		}
    
    		sort.Slice(user.Pets, func(i, j int) bool {
    			return user.Pets[i].ID > user.Pets[j].ID
    		})
    
    		sort.Slice(expect.Pets, func(i, j int) bool {
    			return expect.Pets[i].ID > expect.Pets[j].ID
    		})
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertEquals(0, result.processedCount(), "Empty result should have no processed POMs");
                assertEquals(0, result.modifiedCount(), "Empty result should have no modified POMs");
                assertEquals(0, result.unmodifiedCount(), "Empty result should have no unmodified POMs");
                assertEquals(0, result.errorCount(), "Empty result should have no errors");
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

    /**
     * Result of an upgrade strategy application.
     * Uses sets of paths to track which POMs were processed, modified, or had errors,
     * avoiding double-counting when multiple strategies affect the same POMs.
     *
     * @param processedPoms the set of POMs that were processed
     * @param modifiedPoms the set of POMs that were modified
     * @param errorPoms the set of POMs that had errors
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. tests/preload_test.go

    	} else {
    		sort.Slice(users2[2].Pets, func(i, j int) bool {
    			return users2[2].Pets[i].ID < users2[2].Pets[j].ID
    		})
    
    		for _, pet := range users2[2].Pets[0:2] {
    			if pet.Toy.Name != "" {
    				t.Errorf("No toy should for user %v's pet %v but got %v", 3, pet.Name, pet.Toy.Name)
    			}
    		}
    
    		CheckPet(t, *users2[2].Pets[2], *users[2].Pets[2])
    	}
    }
    
    func TestPreloadEmptyData(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jun 12 10:00:47 GMT 2024
    - 15.9K bytes
    - Click Count (0)
  7. tests/create_test.go

    		*GetUser("bulk_5", Config{Account: false, Pets: 0, Toys: 3, Company: true, Manager: false, Team: 1, Languages: 3, Friends: 1}),
    		*GetUser("bulk_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}),
    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)
  8. tests/generics_test.go

    			}
    		} else if len(result.Pets) != 5 {
    			t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets)
    		}
    		for i := 1; i < len(result.Pets); i++ {
    			if result.Pets[i-1].Name < result.Pets[i].Name {
    				t.Fatalf("Preload user %v pets not ordered correctly, last %v, cur %v", result.Name, result.Pets[i-1], result.Pets[i])
    			}
    		}
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.indent();
                context.info("Processed: " + result.processedPoms().size() + " POMs");
                context.info("Modified: " + result.modifiedPoms().size() + " POMs");
                context.failure("Errors: " + result.errorPoms().size() + " POMs");
                context.unindent();
            } else if (!result.modifiedPoms().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. tests/associations_has_many_test.go

    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    	CheckPet(t, pets[0], *user.Pets[0])
    
    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 16.3K bytes
    - Click Count (0)
Back to Top