- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 146 for gethostname (0.28 sec)
-
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/PathAssembler.java
/** * Determines the local locations for the distribution to use given the supplied configuration. */ public LocalDistribution getDistribution(WrapperConfiguration configuration) { String baseName = getDistName(configuration.getDistribution()); String distName = removeExtension(baseName); String rootDirName = rootDirName(distName, configuration);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractTestFixturesIntegrationTest.groovy
public void testAny() { Person anyone = PersonFixture.anyone(); assertEquals("John", anyone.getFirstName()); assertEquals("Doe", anyone.getLastName()); } } """ } protected TestFile addPersonDomainClass(String subproject = "", String lang = 'java') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 13 11:38:02 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/groovy/lib/src/main/java/com/acme/Person.java
this.firstName = firstName; this.lastName = lastName; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } // ... // end::sample[] public boolean equals(Object object) { if (this == object) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/initializationRuleRunsBeforeConfigurationRules/groovy/build.gradle
@Managed interface Person { void setFirstName(String n); String getFirstName() void setLastName(String n); String getLastName() } // tag::configure-and-create-rules[] model { person { println "configuring person" println "last name is $lastName, should be Smythe" lastName = "Smythe" } person(Person) { println "creating person" firstName = "John"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 679 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/src/main/java/org/gradle/testng/User.java
package org.gradle.testng; public interface User { String getFirstName(); String getLastName();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 108 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/configureElementsOfMap/groovy/build.gradle
@Managed interface Person { String getFirstName() void setFirstName(String n) String getLastName() void setLastName(String n) } class PersonRules extends RuleSource { @Model void people(ModelMap<Person> people) { } } apply plugin: PersonRules // tag::create-and-configure[] model { people { john(Person) { println "creating $it" firstName = "John"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 931 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/groovy/lib/src/test/java/com/acme/PersonTest.java
public class PersonTest { @Test public void testPerson() { Person person = Simpsons.homer(); assertEquals("Homer", person.getFirstName()); assertEquals("Simpson", person.getLastName()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 304 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/src/main/java/org/gradle/testng/UserImpl.java
{ this.firstName = firstName; this.lastName = lastName; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 421 bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
NodeName: ptr.To(testHostname), }, { Addresses: []string{"10.0.1.2"}, Conditions: discovery.EndpointConditions{Ready: ptr.To(true)}, NodeName: ptr.To(testHostname), }, { Addresses: []string{"10.0.1.3"}, Conditions: discovery.EndpointConditions{Ready: ptr.To(true)}, NodeName: ptr.To(testHostname), }, { // not ready endpoints should be ignored
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/src/test/java/org/gradle/testng/UserImplTest.java
} @Test public void testOkFirstName() { assertEquals(user.getFirstName(), okFirstName); } @Test public void testOkLastName() { assertEquals(user.getLastName(), okLastName); } @AfterMethod public void tearDown() throws Exception { user = null; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 785 bytes - Viewed (0)