Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 129 for testF (0.04 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderTest.groovy

        <groupId>\${groupId.prop}</groupId>
        <artifactId>\${artifactId.prop}</artifactId>
        <version>\${version.prop}</version>
        <name>Test Artifact One</name>
        <description>The first test artifact</description>
        <properties>
            <some.prop1>test1</some.prop1>
            <some.prop2>test2</some.prop2>
            <groupId.prop>group-one</groupId.prop>
            <artifactId.prop>artifact-one</artifactId.prop>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body/test_tutorial001.py

                    }
                ]
            }
        )
    
    
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body/test_tutorial001_py310.py

                ]
            }
        )
    
    
    @needs_py310
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction_test.go

    				},
    				{
    					TolerationSeconds: &one,
    				},
    			},
    			expected: oneSec,
    		},
    	}
    
    	for _, test := range tests {
    		got := getMinTolerationTime(test.tolerations)
    		if got != test.expected {
    			t.Errorf("Incorrect min toleration time: got %v, expected %v", got, test.expected)
    		}
    	}
    }
    
    // TestEventualConsistency verifies if getPodsAssignedToNode returns incomplete data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            configurationCacheRunLenient()
    
            then: "cache entry is reused"
            configurationCache.assertStateLoaded()
    
            when: "a file is created in the directory"
            assert new File(accessedFile, "test1").createNewFile()
            configurationCacheRunLenient()
    
            then: "the cache entry is invalidated and the change is reported"
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    			t.Errorf("test %d, readGNUSparsePAXHeaders(): got %v, want %v", i, got, v.wantMap)
    		}
    		if err != v.wantErr {
    			t.Errorf("test %d, readGNUSparsePAXHeaders() = %v, want %v", i, err, v.wantErr)
    		}
    		if hdr.Size != v.wantSize {
    			t.Errorf("test %d, Header.Size = %d, want %d", i, hdr.Size, v.wantSize)
    		}
    		if hdr.Name != v.wantName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

                    + "<field name=\"false\">false</field>\n"//
                    + "</doc>";
    
            final ResponseData responseData = new ResponseData();
            responseData.setResponseBody(ResourceUtil.getResourceAsFile("html/test1.html"), false);
            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = new ResultData();
            xpathTransformer.storeData(responseData, resultData);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/PACTest.java

    import org.junit.Assert;
    import org.junit.Test;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.PacMac;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    @SuppressWarnings ( {
        "nls", "javadoc", "restriction"
    } )
    public class PACTest {
    
        @Test
        public void testNFold () {
            // rfc3961 test vectors
            verifyNfold(64, "012345", "be072631276b1955");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/flag/flag_test.go

    			expectExit: magic,
    		},
    	}
    
    	for _, test := range tests {
    		cmd := exec.Command(os.Args[0], "-test.run=^TestExitCode$")
    		cmd.Env = append(
    			os.Environ(),
    			"GO_CHILD_FLAG="+test.flag,
    			"GO_CHILD_FLAG_HANDLE="+test.flagHandle,
    		)
    		cmd.Run()
    		got := cmd.ProcessState.ExitCode()
    		// ExitCode is either 0 or 1 on Plan 9.
    		if runtime.GOOS == "plan9" && test.expectExit != 0 {
    			test.expectExit = 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	for i := 0; i < 10; i++ {
    		pv := makePV(fmt.Sprintf("test-pv%v", i), "class1").withVersion("1").PersistentVolume
    		pvs1[pv.Name] = pv
    		assumecache.AddTestObject(cache.AssumeCache, pv)
    	}
    
    	// Add a bunch of PVs
    	pvs2 := map[string]*v1.PersistentVolume{}
    	for i := 0; i < 10; i++ {
    		pv := makePV(fmt.Sprintf("test2-pv%v", i), "class2").withVersion("1").PersistentVolume
    		pvs2[pv.Name] = pv
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top