Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 149 for testdata (0.1 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        protected PathMappingHelper getPathMappingHelper() {
            return ComponentUtil.getPathMappingHelper();
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In der Datei `main.py` haben Sie Ihre **FastAPI**-Anwendung:
    
    
    ```Python
    {!../../docs_src/app_testing/main.py!}
    ```
    
    ### Testdatei
    
    Dann könnten Sie eine Datei `test_main.py` mit Ihren Tests haben. Sie könnte sich im selben Python-Package befinden (dasselbe Verzeichnis mit einer `__init__.py`-Datei):
    
    ``` hl_lines="5"
    .
    ├── app
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            doc.put("key9", new ArrayList<Integer>(Arrays.asList(777, 888, 999)));
            assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class));
        }
    
        public void test_date() {
            Map<String, Object> doc = new HashMap<>();
    
            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/DefaultEventSpyContext.java

    /**
     * DefaultEventSpyContext
     */
    public class DefaultEventSpyContext implements EventSpy.Context {
    
        private final Map<String, Object> data = new HashMap<>();
    
        public Map<String, Object> getData() {
            return data;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        }
    
        static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {
            return cast(InternalMavenSession.class, session.getData().get(InternalSession.class), "session");
        }
    
        List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            if (isNotModified(responseData)) {
                final UrlQueue<?> urlQueue = CrawlingParameterUtil.getUrlQueue();
                final ResultData resultData = new ResultData();
                resultData.setData(new byte[0]);
                resultData.setEncoding(Constants.UTF_8);
                resultData.setTransformerName(Constants.NO_TRANSFORMER);
                processResult(urlQueue, responseData, resultData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. internal/config/dns/etcd_dns_test.go

    		{[]string{"."}, "."},
    	}
    
    	for i, tc := range tests {
    		if x := dnsJoin(tc.in...); x != tc.out {
    			t.Errorf("Test %d, expected %s, got %s", i, tc.out, x)
    		}
    	}
    }
    
    func TestPath(t *testing.T) {
    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

            setEncoding((String) src.get(ENCODING));
            final String dataStr = (String) src.get(DATA);
            if (dataStr != null) {
                try {
                    setData(Base64Util.decode(dataStr));
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("data: " + dataStr, e);
                }
            }
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RequestTraceHelper.java

         */
        public static String interpretTrace(boolean detailed, RequestTrace requestTrace) {
            while (requestTrace != null) {
                Object data = requestTrace.getData();
                if (data instanceof DependencyRequest request) {
                    return "dependency resolution for " + request;
                } else if (data instanceof CollectRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    			fmt.Printf("Error getting configmap %s: %v\n", configMapName, err)
    		}
    		meshData := make(map[string]interface{})
    		if data, exists := configMap.Data["mesh"]; exists {
    			if err := yaml.Unmarshal([]byte(data), &meshData); err != nil {
    				fmt.Printf("Error parsing meshConfig: %v\n", err)
    				return err
    			}
    		}
    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top