Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for expectedFiles (0.46 sec)

  1. cmd/kubeadm/app/phases/certs/certs_test.go

    	}
    }
    
    func TestCreateCertificateFilesMethods(t *testing.T) {
    
    	var tests = []struct {
    		createFunc    func(cfg *kubeadmapi.InitConfiguration) error
    		expectedFiles []string
    		externalEtcd  bool
    	}{
    		{
    			createFunc: CreatePKIAssets,
    			expectedFiles: []string{
    				kubeadmconstants.CACertName, kubeadmconstants.CAKeyName,
    				kubeadmconstants.APIServerCertName, kubeadmconstants.APIServerKeyName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy

             'img': ['gradle-logo.png']].each { dir, files ->
                def resourceDir = new File(currentReportDir, dir)
                def resources = resourceDir.list() as Set<String>
                def expectedFiles = files as Set<String>
                assert expectedFiles == resources
            }
        }
    
        def "can add different sections"() {
            given:
            renderer.startNewSection("First section")
    
            when:
            generateReport()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            then:
            executedAndNotSkipped(":publishIvyJavaPublicationToIvyRepository")
            expectedFiles(this).forEach { it.assertExists() }
            unexpectedFiles(this).forEach { it.assertDoesNotExist() }
    
            where:
            layout     | declaration | expectedFiles                               | unexpectedFiles
            "standard" | ""          | this.&expectedFilesIvyPublishStandardLayout | { [] }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    }
    
    func TestCreateKubeconfigFilesAndWrappers(t *testing.T) {
    	var tests = []struct {
    		name                     string
    		createKubeConfigFunction func(outDir string, cfg *kubeadmapi.InitConfiguration) error
    		expectedFiles            []string
    		expectedError            bool
    	}{
    		{ // Test createKubeConfigFiles fails for unknown kubeconfig is requested
    			name: "createKubeConfigFiles",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        }
    
        private void assertHasExpectedContents(String path) {
            TestFile actualFile = testDirectory.file(path).assertIsFile()
            TestFile expectedFile = testDirectory.file("expectedFiles/${path}.xml").assertIsFile()
    
            def expectedXml = expectedFile.text
    
            def homeDir = executer.gradleUserHomeDir.absolutePath.replace(File.separator, '/')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LocationListInstallationSupplierTest.groovy

            when:
            def expectedFile1 = tmpDir.createDir("foo/bar")
            def expectedFile2 = tmpDir.createDir("foo/123")
            buildOptions.installationsFromPaths >> [expectedFile1.absolutePath, expectedFile2.absolutePath]
            def directories = supplier.get()
    
            then:
            directories.size() == 2
            directories*.location.containsAll(expectedFile1, expectedFile2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:33:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

            then:
            thrown(AssertionError)
        }
    
        def "successful lines contained in comparisons: #expectedLines vs #actualLines"() {
            expect:
            comparer.assertLinesContainedIn(expectedLines, actualLines)
    
            where:
            expectedLines           | actualLines
            ["a", "b", "c"]         | ["a", "b", "c"]
            ["a"]                   | ["a", "b"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/LineSearchFailures.java

            protected final List<String> expectedLines;
            protected final List<String> actualLines;
    
            public AbstractLineListComparisonFailure(List<String> expectedLines, List<String> actualLines) {
                this.expectedLines = expectedLines;
                this.actualLines = actualLines;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

        public void assertLinesContainedIn(List<String> expectedLines, List<String> actualLines) throws LineSearchFailures.AbstractLineListComparisonFailure {
            assert !expectedLines.isEmpty() : "there must be expected text";
            assert !actualLines.isEmpty() : "there must be output text";
    
            if (actualLines.size() < expectedLines.size()) {
                LineSearchFailures.insufficientSize(expectedLines, actualLines);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java

            Preconditions.checkArgument(isPossibleMatchIndex(expectedLines, actualLines, matchBeginsActualIdx), "match would extend beyond actual lines");
    
            this.expectedLines = expectedLines;
            this.actualLines = actualLines;
            this.matchBeginsActualIdx = matchBeginsActualIdx;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top