- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 738 for testTask (0.04 seconds)
-
cmd/jwt_test.go
"Authorization": []string{"invalid-token"}, }, }, expectedErr: errAuthentication, }, } for i, testCase := range testCases { _, _, _, gotErr := metricsRequestAuthenticate(testCase.req) if testCase.expectedErr != gotErr { t.Errorf("Test %d, expected err %s, got %s", i+1, testCase.expectedErr, gotErr) } } } func BenchmarkParseJWTStandardClaims(b *testing.B) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
{ 0, 0 }, // Empty buffer { 100, 100 } // Large values }; for (int[] testCase : testCases) { // Arrange byte[] buffer = new byte[200]; int bufferIndex = testCase[0]; int len = testCase[1]; // Act int result = response.readSetupWireFormat(buffer, bufferIndex, len); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is * tested in {@link FuturesTest}. */ @NullMarked @GwtCompatible public class FluentFutureTest extends TestCase { @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated methodCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListeningExecutorServiceTest.java
import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; @NullUnmarked @GwtIncompatible @J2ktIncompatible public final class ListeningExecutorServiceTest extends TestCase { private Collection<? extends Callable<?>> recordedTasks; private long recordedTimeout; private TimeUnit recordedTimeUnit;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 4.6K bytes - Click Count (0) -
cmd/erasure-object_test.go
disks[0] = nil disks[1] = nil return disks } sets.erasureDisksMu.Unlock() got, err := z.PutObject(ctx, testCase.bucket, testCase.object, mustGetPutObjReader(t, bytes.NewReader(testCase.content), int64(len(testCase.content)), "", ""), ObjectOptions{Versioned: testCase.versioned}) if err != nil { t.Fatalf("Test %d: Failed to upload the final object: %v", i+1, err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 38.3K bytes - Click Count (0) -
cmd/api-errors_test.go
} func TestAPIErrCode(t *testing.T) { ctx := t.Context() for i, testCase := range toAPIErrorTests { errCode := toAPIErrorCode(ctx, testCase.err) if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode) } } } // Check if an API error is properly defined func TestAPIErrCodeDefinition(t *testing.T) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible @NullUnmarked public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 1.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingBlockingDequeTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Test for {@link ForwardingBlockingDeque} * * @author Emily Soldal */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ForwardingBlockingDequeTest extends TestCase { public void testForwarding() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingListeningExecutorService} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ForwardingListeningExecutorServiceTest extends TestCase { public void testForwarding() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link ForwardingListeningExecutorService} */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class ForwardingListeningExecutorServiceTest extends TestCase { public void testForwarding() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.1K bytes - Click Count (0)