Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for test716 (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
        assertEquals("b", simplifyPath("x/../b"));
      }
    
      // https://github.com/google/guava/issues/716
      public void test716() {
        assertEquals("b", simplifyPath("./b"));
        assertEquals("b", simplifyPath("./b/."));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
        assertEquals("b", simplifyPath("x/../b"));
      }
    
      // https://github.com/google/guava/issues/716
      public void test716() {
        assertEquals("b", simplifyPath("./b"));
        assertEquals("b", simplifyPath("./b/."));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. istioctl/pkg/checkinject/checkinject_test.go

    		pod              *corev1.Pod
    		ns               *corev1.Namespace
    		expectedMessages []webhookAnalysis
    	}{
    		{
    			name: "no inj because of no match labels",
    			pod:  podTestObject("test1", "test1", "", ""),
    			ns:   nsTestObject("test1", "", ""),
    			expectedMessages: []webhookAnalysis{
    				{
    					Name:     "istio-sidecar-injector",
    					Revision: "default",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. cmd/object-api-options_test.go

    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {},
    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {}, "test3": {}, "test4": {},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            ProfileActivation activation;
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "test1,+test2,?test3,+?test4"}), activation);
            assertThat(activation.getRequiredActiveProfileIds(), containsInAnyOrder("test1", "test2"));
            assertThat(activation.getOptionalActiveProfileIds(), containsInAnyOrder("test3", "test4"));
    
            activation = new ProfileActivation();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals("test.sh", list.get(0));
    
            cmd = "test.sh \"test1 ' test2\"";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
            assertEquals("test.sh", list.get(0));
            assertEquals("test1 ' test2", list.get(1));
    
            cmd = "test.sh 'test1 \" test2'";
            params.clear();
            list = extractor.parseCommand(cmd, params);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("text/plain", null, "hoge.txt");
            assertContentType("text/html", "html/test1.html", "hoge.html");
            assertContentType("text/html", "html/test1.html", "hoge.htm");
            assertContentType("text/html", "html/test1.shtml", "hoge.shtml");
    
            assertContentType("application/msword", "test/text1.txt", "hoge.doc");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocMapTest.java

            DocMap docMap = new DocMap(value);
            assertTrue(docMap.isEmpty());
            value.clear();
    
            List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1");
            value.put(keys.get(0), true);
            value.put(keys.get(1), 1000);
            value.put(keys.get(2), "ja");
            value.put(keys.get(3), "str");
            docMap = new DocMap(value);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tests/test_annotated.py

    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        client = TestClient(app)
        response = client.get("/test1")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
        response = client.get("/test1", params={"var": "baz"})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top