- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 618 for APPLY (0.03 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java
import org.apache.maven.api.di.Named; import org.apache.maven.api.di.Singleton; import org.apache.maven.cling.invoker.mvnup.UpgradeContext; /** * The "apply" goal implementation. */ @Named("apply") @Singleton public class Apply extends AbstractUpgradeGoal { @Inject public Apply(StrategyOrchestrator orchestrator) { super(orchestrator); } @Override protected boolean shouldSaveModifications() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 1.5K bytes - Click Count (0) -
build.gradle.kts
alias(libs.plugins.android.library) apply false alias(libs.plugins.android.application) apply false alias(libs.plugins.kotlin.jvm) apply false alias(libs.plugins.kotlin.multiplatform) apply false alias(libs.plugins.kotlin.serialization) apply false alias(libs.plugins.dokka) apply false alias(libs.plugins.maven.publish) apply false alias(libs.plugins.binary.compatibility.validator) apply false
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 839 bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
/** * Unit tests for the {@link Apply} goal class. * Tests the Apply-specific functionality including file modification behavior. */ @DisplayName("Apply") class ApplyTest { private Apply applyGoal; private StrategyOrchestrator mockOrchestrator; @BeforeEach void setUp() { mockOrchestrator = mock(StrategyOrchestrator.class); applyGoal = new Apply(mockOrchestrator); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 10:39:17 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
apply { assertThat(response!!.code).isEqualTo(expectedCode) } fun assertSuccessful() = apply { assertThat(failure).isNull() assertThat(response!!.isSuccessful).isTrue() } fun assertNotSuccessful() = apply { assertThat(response!!.isSuccessful).isFalse() } fun assertHeader( name: String, vararg values: String?, ) = apply {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } } fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) = apply { headersBuilder.add(header) } fun addHeader( name: String, value: Any, ) = apply { headersBuilder.add(name, value.toString()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 17.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0")); // Execute apply goal int result = applyGoal.execute(context); // Verify success assertEquals(0, result, "Apply should succeed"); // Verify POM was upgraded String upgradedPom = Files.readString(pomFile); assertTrue(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
String[] args = {"apply", "--plugins"}; CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args); assertTrue(options.goals().isPresent(), "Goals should be present"); assertEquals(1, options.goals().get().size(), "Should have one goal"); assertEquals("apply", options.goals().get().get(0), "Goal should be 'apply'"); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
assertEquals(p1.apply(1.0f), p2.apply(1.0f)); assertEquals(p1.apply(5.0f), p2.apply(5.0f)); } public void testForPredicate() { Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue()); Function<Object, Boolean> alwaysFalse = Functions.forPredicate(Predicates.alwaysFalse()); assertTrue(alwaysTrue.apply(0)); assertFalse(alwaysFalse.apply(0));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0)