Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for VALUE1 (0.1 sec)

  1. src/main/java/org/codelibs/core/misc/Tuple3.java

         */
        public Tuple3(final T1 value1, final T2 value2, final T3 value3) {
            this.value1 = value1;
            this.value2 = value2;
            this.value3 = value3;
        }
    
        /**
         * 1番目の値を返します。
         *
         * @return 1番目の値
         */
        public T1 getValue1() {
            return value1;
        }
    
        /**
         * 1番目の値を設定します。
         *
         * @param value1
         *            1番目の値
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/MapPropertyMapViewTest.groovy

            when:
            map.putAll(["first": "value1", "second": "value2", "third": "value3", "forth": "value4", "fifth": "value5"])
            map.retainAll { it.key in ["first", "third", "forth"] }
    
            then:
            mapProperty.get() == ["first": "value1", "third": "value3", "forth": "value4"]
        }
    
        def "contains operations work"() {
            given:
            mapProperty.put("first", "value1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultCompatibilityRuleChainTest.groovy

            given:
            details.consumerValue >> "value1"
            details.producerValue >> "value2"
            ruleChain.add(BrokenRule)
    
            when:
            ruleChain.execute(details)
    
            then:
            def e = thrown(AttributeMatchException)
            e.message == 'Could not determine whether value value2 is compatible with value value1 using DefaultCompatibilityRuleChainTest.BrokenRule.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultDisambiguationRuleChainTest.groovy

            @Override
            void execute(MultipleCandidatesDetails<String> details) {
                assert details.candidateValues == ["value1", "value2"] as Set
                details.closestMatch("value1")
            }
        }
        static class SelectionRuleWithParams implements AttributeDisambiguationRule<String> {
            String p1
    
            @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

        }
    
        @Test
        public void test_setAndGetAsArray() {
            String value1 = "a";
            String value2 = "b";
            String value3 = "c";
            settings.badword().add(value1);
            settings.badword().add(value2);
            settings.badword().add(value3);
            assertEquals(3, settings.badword().get(false).length);
            assertEquals(value1, settings.badword().get(false)[0]);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            baseManifest.attributes key1: 'value1', key2: 'value2'
            mergeSpec.from(new DefaultManifest(Mock(FileResolver)))
            mergeSpec.eachEntry {ManifestMergeDetails details ->
                if (details.getKey() == 'key2') {
                    details.exclude()
                }
            }
    
            expect:
            mergeSpec.merge(baseManifest, Mock(FileResolver)).attributes == [key1: 'value1'] + MANIFEST_VERSION_MAP
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def canIterateOverClassesUsingClosure() {
            TestDomainObject value1 = new TestDomainObject('a')
            TestDomainObject value2 = new TestDomainObject('a')
            repository.put('class1', value1)
            repository.put('class2', value2)
            Closure cl = Mock()
    
            when:
            repository.each(cl)
    
            then:
            1 * cl.call(['class1', value1] as Object[])
            1 * cl.call(['class2', value2] as Object[])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

        inputs.property "someValue", new CustomType("value1")
        outputs.dir file("build/out")
        doLast ${Actions.name}.doNothing()
    }
    
    """
    
            given:
            run "someTask"
    
            when:
            run "someTask"
    
            then:
            skipped(":someTask")
    
            // Change to "equal" value
            when:
            buildFile.replace('new CustomType("value1")', 'new CustomType("value1 ignore me")')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

            String key = "key";
            String value1 = "a";
            String value2 = "b";
            String value3 = "c";
            settings.array().add(key, value1);
            settings.array().add(key, value2);
            settings.array().add(key, value3);
            assertEquals(3, settings.array().get(key).length);
            assertEquals(value1, settings.array().get(key)[0]);
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/attributes_test.go

    	// test AddAnnotation
    	attr.AddAnnotation("foo.admission.k8s.io/key1", "value1")
    	attr.AddAnnotation("foo.admission.k8s.io/key2", "value2")
    	annotations := attr.getAnnotations(auditinternal.LevelMetadata)
    	assert.Equal(t, annotations["foo.admission.k8s.io/key1"], "value1")
    
    	// test overwrite
    	assert.Error(t, attr.AddAnnotation("foo.admission.k8s.io/key1", "value1-overwrite"),
    		"admission annotations should not be allowd to be overwritten")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 19:44:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top