- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 533 for emerson (0.11 sec)
-
src/fmt/gostringer_example_test.go
State string Country string } // Person has a Name, Age and Address. type Person struct { Name string Age uint Addr *Address } // GoString makes Person satisfy the GoStringer interface. // The return value is valid Go code that can be used to reproduce the Person struct. func (p Person) GoString() string { if p.Addr != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 06 04:25:17 UTC 2018 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy
when: buildScript ''' @Managed interface Person { int getThumbCount() void setThumbCount(int c) } class RulePlugin extends RuleSource { @Model void createPerson(Person person) { person.setThumbCount(person) } @Mutate
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/crossCompilation/groovy/src/test/java/org/gradle/PersonTest.java
public class PersonTest { @Test public void canConstructAPersonWithAName() { Person person = new Person("Larry"); assertEquals("Larry", person.getName()); } @Test(expected = IllegalArgumentException.class) public void cannotConstructAPersonWithEmptyName() { Person person = new Person(""); person.getName(); } @Test public void testJavaVersion() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 617 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/crossCompilation/kotlin/src/test/java/org/gradle/PersonTest.java
public class PersonTest { @Test public void canConstructAPersonWithAName() { Person person = new Person("Larry"); assertEquals("Larry", person.getName()); } @Test(expected = IllegalArgumentException.class) public void cannotConstructAPersonWithEmptyName() { Person person = new Person(""); person.getName(); } @Test public void testJavaVersion() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 617 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy
void createPerson(Person person) { person.firstName = "Alan" person.lastName = "Turing" } @Mutate void addPersonTask(ModelMap<Task> tasks, Person person) { tasks.create("echo") { it.doLast { println "name: $person.name" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4_Context.puml
legend right |= |= Type | |<PERSON_BG_COLOR> | person | |<EXTERNAL_PERSON_BG_COLOR> | external person | |<SYSTEM_BG_COLOR> | system | |<EXTERNAL_SYSTEM_BG_COLOR> | external system | endlegend !enddefinelong ' Elements ' ################################## !define Person(e_alias, e_label) rectangle "==e_label" <<person>> as e_alias
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.5K 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) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
.`when`( request().withPath("/person") .withQueryStringParameter("name", "peter"), ) .respond(response().withBody("Peter the person!")) val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute() assertThat(response.body.string()).contains("Peter the person") } } @Test fun testHttpsRequest() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ide/ideaAdditionalTestSources/kotlin/src/integration/java/org/gradle/PersonIntTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class PersonIntTest { @Test public void canConstructAPersonWithAName() { Person person = new Person("Larry"); assertEquals("Larry", person.getName()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 298 bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl()), ).execute() assertThat(response.body.string()).contains("Peter the person") assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testUrlConnectionDirect() { testRequest { val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 5.9K bytes - Viewed (0)