Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,982 for list1 (0.04 sec)

  1. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
      }
    
      interface A {}
    
      interface B {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

        public void canMapPropertiesUsingClosure() {
            conventionAware.map("list1", TestUtil.toClosure("{ ['a'] }"));
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList("a")));
    
            conventionAware.map("list1", TestUtil.toClosure("{ convention -> [convention] }"));
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList(conventionAware.getConvention())));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
      }
    
      interface A {}
    
      interface B {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/test/api_meta_help_test.go

    		},
    		{
    			in:  &List{Items: list1},
    			out: []interface{}{list1[0], list1[1]},
    		},
    		{
    			in:    list2,
    			out:   []interface{}{&runtime.Unknown{Raw: list2.Items[0].Raw}, &runtime.Unknown{Raw: list2.Items[1].Raw}, list2.Items[2].Object},
    			equal: true,
    		},
    		{
    			in:  list3,
    			out: []interface{}{list3.Items[0], list3.Items[1]},
    		},
    		{
    			in:  list4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. operator/pkg/tpath/tree_test.go

    			baseYAML: `
    a:
      list:
        - v1
    `,
    			path:  `a.list.[1]`,
    			value: `v2`,
    			want: `
    a:
      list: 
      - v1
      - v2
    `,
    		},
    		{
    			desc: "ExtendLeafListEntryLargeIndex",
    			baseYAML: `
    a:
      list:
        - v1
    `,
    			path:  `a.list.[999]`,
    			value: `v2`,
    			want: `
    a:
      list:
      - v1
      - v2
    `,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

        def "can refer to properties and methods of owner"() {
            new DynamicOwner().configure(container)
    
            expect:
            container.asMap.keySet() == ['list1', 'list2'] as Set
            container.list1.prop == 'list1'
            container.list2.prop == 'list2'
        }
    
        def "has public type"() {
            expect:
            container.publicType == new TypeOf<NamedDomainObjectContainer<TestObject>>() {}
        }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  8. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestTask.groovy

    import org.gradle.api.tasks.Internal
    
    class TestTask extends ConventionTask  {
        @Internal
        TestTask self
        @Internal
        String customProp
        @Internal
        List list1
        @Internal
        List list2
        @Internal
        Map map1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 922 bytes
    - Viewed (0)
  9. src/go/printer/testdata/doc.golden

    package p
    
    /*
    Doc comment.
    
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 160 bytes
    - Viewed (0)
  10. src/go/printer/testdata/doc.input

    package p
    
    /*
    Doc comment.
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 159 bytes
    - Viewed (0)
Back to top