Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 464 for Marais (0.08 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py

        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py

        response = client.get("/items/", params={"item-query": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery(client: TestClient):
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class NewIncubatingAPIRule extends AbstractGradleViolationRule {
    
        public NewIncubatingAPIRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
            if (member instanceof JApiMethod || member instanceof JApiField || member instanceof JApiClass) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            final Properties props = new Properties(mailProperties);
            if (params != null) {
                for (final Map.Entry<String, String> entry : params.entrySet()) {
                    props.put(entry.getKey(), entry.getValue());
                }
            }
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

    public class FilenameExtractor extends AbstractExtractor {
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            final String content = params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY);
            try {
                return new ExtractData(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

     * </p>
     */
    class BinaryBreakingSuperclassChangeRule extends AbstractSuperClassChangesRule {
    
        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        protected boolean changed(JApiCompatibility member) {
            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            final String content = ATTR_NAME + "," + testStr;
            final Map<String, String> params = new HashMap<String, String>();
            //final ExtractData text = extractor.getText(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(filePath))), params);
            final ExtractData text = extractor.getText(new ByteArrayInputStream(testStr.getBytes()), params);
            assertEquals(content, text.getContent());
        }
    
        // TODO other tests
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            storageClient = container.getComponent("storageClient");
            Map<String, Object> params = new HashMap<>();
            params.put("endpoint", endpoint);
            params.put("accessKey", ACCESS_KEY);
            params.put("secretKey", SECRET_KEY);
            storageClient.setInitParameterMap(params);
    
            for (int i = 0; i < 10; i++) {
                try {
                    setupMinioClient(bucketName, endpoint);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.ExtendWith
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import java.io.File
    
    /*
     * Copyright 2019 the original author or authors.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                return (T) Boolean.valueOf(value.toString());
            }
            return (T) value;
        }
    
        @Override
        public void setInitParameterMap(final Map<String, Object> params) {
            initParamMap = params;
        }
    
        @Override
        public ResponseData execute(final RequestData request) {
            return switch (request.getMethod()) {
            case GET -> doGet(request.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top