Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for testprofile (0.88 sec)

  1. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/sharedResources/maven_home/m2_home/conf/settings.xml

    <settings>
        <profiles>
            <profile>
              <id>testprofile</id>
              <properties>
                <junit-version>4.13</junit-version>
                <compiler-version>3.7.0</compiler-version>
              </properties>
            </profile>
        </profiles>
        <activeProfiles>
            <activeProfile>testprofile</activeProfile>
        </activeProfiles>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 366 bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy_test.go

    				api.DeprecatedAppArmorAnnotationKeyPrefix + "init": api.DeprecatedAppArmorAnnotationValueLocalhostPrefix + testProfile,
    				api.DeprecatedAppArmorAnnotationKeyPrefix + "ctr":  api.DeprecatedAppArmorAnnotationValueLocalhostPrefix + testProfile,
    			}, pod.Annotations)
    		},
    	}, {
    		description: "Pod field localhost but profile is nil",
    		pod: &api.Pod{
    			Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/testflag.go

    	// directory, but 'go test' defaults it to the working directory of the 'go'
    	// command. Set it explicitly if it is needed due to some other flag that
    	// requests output.
    	if testProfile() != "" && !outputDirSet {
    		injectedFlags = append(injectedFlags, "-test.outputdir="+testOutputDir.getAbs())
    	}
    
    	// If the user is explicitly passing -help or -h, show output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/test.go

    	testBlockProfile, testCPUProfile, testMemProfile, testMutexProfile, testTrace string // profiling flag that limits test to one package
    
    	testODir = false
    )
    
    // testProfile returns the name of an arbitrary single-package profiling flag
    // that is set, if any.
    func testProfile() string {
    	switch {
    	case testBlockProfile != "":
    		return "-blockprofile"
    	case testCPUProfile != "":
    		return "-cpuprofile"
    	case testMemProfile != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_profile.txt

    Bryan C. Mills <******@****.***> 1659030659 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 637 bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy

                        @Optional
                        @Input
                        abstract Property<String> getProfile()
    
                        @TaskAction
                        void run() {
                            if (getProfile().isPresent()) {
                                logger.lifecycle(getName() + "profile=" + getProfile().get())
                            }
                        }
                    }
                    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. pkg/apis/core/validation/validation_test.go

    			return
    		}
    	}
    }
    
    func TestValidateSeccompAnnotationAndField(t *testing.T) {
    	const containerName = "container"
    	testProfile := "test"
    
    	for _, test := range []struct {
    		description string
    		pod         *core.Pod
    		validation  func(*testing.T, string, field.ErrorList, *v1.Pod)
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/net/URLUtilTest.java

            assertEquals("zip", URLUtil.toCanonicalProtocol("zip"));
            assertEquals("file", URLUtil.toCanonicalProtocol("file"));
        }
    
        /**
         * @throws Exception
         */
        public void testToFile() throws Exception {
            final File file = new File("Program Files/hoge.txt");
            final URL url = file.toURI().toURL();
            assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. pkg/security/apparmor/helpers_test.go

    			}
    			if test.podProfile != nil {
    				pod.Spec.SecurityContext = &v1.PodSecurityContext{
    					AppArmorProfile: test.podProfile.DeepCopy(),
    				}
    			}
    
    			actual := GetProfile(&pod, &container)
    			assert.Equal(t, test.expectedProfile, actual)
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. pkg/security/apparmor/helpers.go

    			return value != v1.DeprecatedAppArmorBetaProfileNameUnconfined
    		}
    	}
    	return false
    }
    
    // GetProfileName returns the name of the profile to use with the container.
    func GetProfile(pod *v1.Pod, container *v1.Container) *v1.AppArmorProfile {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.AppArmorFields) {
    		return getProfileFromPodAnnotations(pod.Annotations, container.Name)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:32 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top