- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for getFirstname (0.17 sec)
-
platforms/documentation/docs/src/snippets/testing/testng-suitexmlbuilder/groovy/src/test/java/org/gradle/testng/UserImplTest.java
@BeforeMethod public void setUp() throws Exception { user = new UserImpl(okFirstName, okLastName); } @Test public void testOkFirstName() { assertEquals(user.getFirstName(), okFirstName); } @Test public void testOkLastName() { assertEquals(user.getLastName(), okLastName); } @AfterMethod public void tearDown() throws Exception
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 785 bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractTestFixturesIntegrationTest.groovy
public class PersonTest { @Test 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/kotlin/lib/src/main/java/com/acme/Person.java
private final String lastName; public Person(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } // ... // end::sample[] public boolean equals(Object object) {
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/java/fixtures/groovy/lib/src/main/java/com/acme/Person.java
private final String lastName; public Person(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } // ... // end::sample[] public boolean equals(Object object) {
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/basicRuleSourcePlugin/groovy/build.gradle
// tag::managed-type-plugin-and-dsl[] // tag::managed-type-and-plugin[] // tag::managed-type[] @Managed interface Person { // tag::property-type-string[] void setFirstName(String name) String getFirstName() // end::property-type-string[] void setLastName(String name) String getLastName() // end::managed-type[] // end::managed-type-and-plugin[] // end::managed-type-plugin-and-dsl[] // tag::property-type-int[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/groovy/lib/src/testFixtures/java/com/acme/Simpsons.java
//end::sample[] public static Person named(String firstName) { String capitalized = WordUtils.capitalizeFully(firstName); for (Person person : FAMILY) { if (capitalized.equals(person.getFirstName())) { return person; } } return null; } public static Person of(Pair<String, String> pair) { return new Person(pair.getLeft(), pair.getRight());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/fixtures/kotlin/lib/src/testFixtures/java/com/acme/Simpsons.java
//end::sample[] public static Person named(String firstName) { String capitalized = WordUtils.capitalizeFully(firstName); for (Person person : FAMILY) { if (capitalized.equals(person.getFirstName())) { return person; } } return null; } public static Person of(Pair<String, String> pair) { return new Person(pair.getLeft(), pair.getRight());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/modelDsl/groovy/build.gradle
@Managed interface Address { String getCity() void setCity(String city) } @Managed interface Person { String getFirstName() void setFirstName(String n) String getLastName() void setLastName(String n) Address getAddress() } class PersonRules extends RuleSource { @Model void people(ModelMap<Person> people) { } } apply plugin: PersonRules
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnel.java
* * <pre>{@code * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) { * into.putUnencodedChars(person.getFirstName()) * .putUnencodedChars(person.getLastName()) * .putInt(person.getAge()); * } * } * }</pre> * * @author Dimitris Andreou * @since 11.0 */ @Beta
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnel.java
* * <pre>{@code * public enum PersonFunnel implements Funnel<Person> { * INSTANCE; * public void funnel(Person person, PrimitiveSink into) { * into.putUnencodedChars(person.getFirstName()) * .putUnencodedChars(person.getLastName()) * .putInt(person.getAge()); * } * } * }</pre> * * @author Dimitris Andreou * @since 11.0 */ @Beta
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 2.2K bytes - Viewed (0)