- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for NewContext (0.52 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
assertActivation(true, profile, newContext(null, newProperties("1.3.1_09-b03"))); assertActivation(true, profile, newContext(null, newProperties("1.5"))); assertActivation(true, profile, newContext(null, newProperties("1.5.0"))); assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 9.1K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64"))); assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64"))); assertActivation(true, profile, newContext(null, newProperties("windows", "99", "aarch64"))); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
} private SpnegoContext newContext() { return new SpnegoContext(this.config, this.mechContext, this.mechs); } @Test @DisplayName("getSupportedMechs returns SPNEGO OID") void testGetSupportedMechs() { SpnegoContext ctx = newContext(); ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs(); assertNotNull(supported);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
assertActivation(false, profile, newContext(newProperties("other", "value"), null)); } @Test void testWithNameOnlySystemProperty() throws Exception { Profile profile = newProfile("prop", null); assertActivation(true, profile, newContext(null, newProperties("prop", "value")));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/dummy-handlers.go
// They are only defined to be used in this file alone. // GetBucketWebsite - GET bucket website, a dummy api func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "GetBucketWebsite") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) vars := mux.Vars(r) bucket := vars["bucket"] objAPI := api.ObjectAPI() if objAPI == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/kms-handlers.go
"github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/policy" ) // KMSStatusHandler - GET /minio/kms/v1/status func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "KMSStatus") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction) if objectAPI == nil { return } if GlobalKMS == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
void testWithDefaultCredentials() { // Given CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withDefaultCredentials()).thenReturn(newContext); // When CIFSContext context = mockContext.withDefaultCredentials(); // Then assertEquals(newContext, context); verify(mockContext).withDefaultCredentials(); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
cmd/bucket-lifecycle-handlers.go
// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "PutBucketLifecycle") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jan 20 14:49:07 UTC 2025 - 7K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
// You can use the versions subresource to list metadata about all // of the versions of objects in a bucket. func (api objectAPIHandlers) listObjectVersionsHandler(w http.ResponseWriter, r *http.Request, metadata bool) { ctx := newContext(r, w, "ListObjectVersions") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) vars := mux.Vars(r) bucket := vars["bucket"] objectAPI := api.ObjectAPI() if objectAPI == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 11.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java
this.pomFile = pomFile; context = JXPathContext.newContext(mavenProject.getModel()); } public PomTestWrapper(MavenProject mavenProject) { this.mavenProject = Objects.requireNonNull(mavenProject, "mavenProject cannot be null"); context = JXPathContext.newContext(mavenProject.getModel()); } public MavenProject getMavenProject() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 2.8K bytes - Viewed (0)