Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 156 for gethostname (0.32 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                this.nextRequest = new Trans2FindNext2(
                    th.getConfig(),
                    this.response.getSid(),
                    this.response.getResumeKey(),
                    this.response.getLastName(),
                    th.getConfig().getListCount(),
                    th.getConfig().getListSize() - FIND_OVERHEAD);
            }
            catch ( SmbException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top