- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 2,277 for Tests (0.1 seconds)
-
internal/bucket/object/lock/lock_test.go
} func TestParseLegalHoldStatus(t *testing.T) { tests := []struct { value string expectedStatus LegalHoldStatus }{ { value: "ON", expectedStatus: LegalHoldOn, }, { value: "Off", expectedStatus: LegalHoldOff, }, { value: "x", expectedStatus: "", }, } for _, tt := range tests { actualStatus := parseLegalHoldStatus(tt.value)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
tests/tests_all.sh
#!/bin/bash -e dialects=("sqlite" "mysql" "postgres" "gaussdb" "sqlserver" "tidb") if [[ $(pwd) == *"gorm/tests"* ]]; then cd .. fi if [ -d tests ] then cd tests go get -u -t ./... go mod download go mod tidy cd .. fi # SqlServer for Mac M1 if [[ -z $GITHUB_ACTION && -d tests ]]; then cd tests if [[ $(uname -a) == *" arm64" ]]; thenCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 1.6K bytes - Click Count (0) -
Makefile
check: test test: verifiers build ## builds minio, runs linters, tests @echo "Running unit tests" @MINIO_API_REQUESTS_MAX=10000 CGO_ENABLED=0 go test -v -tags kqueue,dev ./... test-root-disable: install-race @echo "Running minio root lockdown tests" @env bash $(PWD)/buildscripts/disable-root.sh test-ilm: install-race @echo "Running ILM tests" @env bash $(PWD)/docs/bucket/replication/setup_ilm_expiry_replication.sh
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 00:44:22 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
/// /// tip If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md) in the advanced tutorial. /// ## Separating tests { #separating-tests } In a real application, you probably would have your tests in a different file.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
import org.junit.jupiter.api.Test; /** * Tests <code>FarthestConflictResolver</code>. * * @see FarthestConflictResolver */ @Deprecated class FarthestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- FarthestConflictResolverTest() throws Exception { super("farthest"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
import org.junit.jupiter.api.Test; /** * Tests <code>NearestConflictResolver</code>. * * @see NearestConflictResolver */ @Deprecated class NearestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- NearestConflictResolverTest() throws Exception { super("nearest"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
import org.junit.jupiter.api.Test; /** * Tests <code>OldestConflictResolver</code>. * * @see OldestConflictResolver */ @Deprecated class OldestConflictResolverTest extends AbstractConflictResolverTest { // constructors ----------------------------------------------------------- OldestConflictResolverTest() throws Exception { super("oldest"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
TESTING.asciidoc
might have multiple nodes. * **`ESRestTestCase`**: An integration tests that interacts with an external cluster via the REST API. This is used for Java based REST tests. * **`ESClientYamlSuiteTestCase` **: A subclass of `ESRestTestCase` used to run YAML based REST tests. === Good practices ==== What kind of tests should I write? Unit tests are the preferred way to test some functionality: most of the time
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
} /** * Tests the constructor of {@link TransTransactNamedPipeResponse}. */ @Test void testConstructor() { // The constructor is called in setUp(), so we just verify the result. assertNotNull(response, "The response object should not be null."); } /** * Tests the writeSetupWireFormat method. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/streaming-signature-v4_test.go
{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted } for i := uint64(0); i <= 1234; i++ { tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i}) } for _, tt := range tests { got, err := parseHexUint([]byte(tt.in)) if tt.wantErr != "" { if err != nil && !strings.Contains(err.Error(), tt.wantErr) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.7K bytes - Click Count (0)