- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 605 for mocks (0.41 sec)
-
tests/migrate_test.go
Migrator: m, } } m := DB.Migrator() mockM := wrapMockMigrator(m) type NotTriggerUpdate struct { ID uint F1 uint16 F2 uint32 F3 int F4 int64 F5 string F6 float32 F7 float64 F8 time.Time F9 bool F10 []byte } var err error err = mockM.DropTable(&NotTriggerUpdate{}) AssertEqual(t, err, nil)
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt
val samplesDiscovery = "org.gradle.exemplar:samples-discovery" val snappy = "org.iq80.snappy:snappy" val servletApi = "javax.servlet:javax.servlet-api" val socksProxy = "com.github.bbottema:java-socks-proxy-server" val spock = "org.spockframework:spock-core" val spockJUnit4 = "org.spockframework:spock-junit4" val sshdCore = "org.apache.sshd:sshd-core" val sshdOsgi = "org.apache.sshd:sshd-osgi"Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:45:52 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
C --> D[Multi-Channel] D --> E[RDMA Support] C --> F[Witness Protocol] D --> F ``` ## Testing Strategy ### Unit Tests - Individual component testing for each feature - Mock-based testing for protocol interactions - State machine validation ### Integration Tests - Feature interaction testing - Network failure simulation - Performance benchmarkingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
*/ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig; private Smb2NegotiateResponse response; @BeforeEach public void setUp() { mockConfig = Mockito.mock(Configuration.class); response = new Smb2NegotiateResponse(mockConfig); } /** * Test that malformed structure size is properly rejected. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.dcerpc.ndr.NdrBuffer;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertTrue(project.getInjectedProfileIds().get(id).stream().anyMatch("active-by-default"::equals)); InternalMavenSession session = Mockito.mock(InternalMavenSession.class); List<org.apache.maven.api.model.Profile> activeProfiles = new DefaultProject(session, project).getDeclaredActiveProfiles();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
cmd/admin-handlers.go
toEntry := func(lri lockRequesterInfo) string { return fmt.Sprintf("%s/%s", lri.Name, lri.UID) } for _, peerLock := range peerLocks { if peerLock == nil { continue } for k, v := range peerLock.Locks { for _, lockReqInfo := range v { if val, ok := entryMap[toEntry(lockReqInfo)]; ok { val.ServerList = append(val.ServerList, peerLock.Addr) } else {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
cmd/metrics-v3-types.go
promMetrics := metricValues.ToPromMetrics(mg.CollectorPath.metricPrefix(), mg.ExtraLabels) for _, metric := range promMetrics { ch <- metric } } // LockAndSetBuckets - locks the buckets and sets the given buckets. It returns // a function to unlock the buckets. func (mg *MetricsGroup) LockAndSetBuckets(buckets []string) func() { mg.bucketsLock.Lock() mg.buckets = buckets return func() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
cmd/object-api-interface.go
PreserveETag string // preserves this etag during a PUT call. NoLock bool // indicates to lower layers if the caller is expecting to hold locks. HasIfMatch bool // indicates if the request has If-Match header ProxyRequest bool // only set for GET/HEAD in active-active replication scenario
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 17.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/dag.txt
quarkus/extensions/vertx/deployment/pom.xml quarkus/extensions/jackson/deployment/pom.xml quarkus/test-framework/junit5-internal/pom.xml quarkus/core/junit4-mock/pom.xml quarkus/extensions/resteasy-classic/resteasy/deployment/pom.xml quarkus/extensions/devservices/deployment/pom.xml quarkus/extensions/resteasy-reactive/quarkus-resteasy-reactive-jackson/deployment/pom.xml
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 224K bytes - Viewed (0)