- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for isMock (0.19 seconds)
-
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test @DisplayName("Mockito mock of WinError") void mockInterfaceNoOps() { WinError mock = Mockito.mock(WinError.class); assertNotNull(mock); assertTrue(Mockito.mockingDetails(mock).isMock(), "Object should be a Mockito mock"); Mockito.verifyNoInteractions(mock); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts
tasks.withType<GroovyCompile>().configureEach { groovyOptions.apply { encoding = "utf-8" forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError") } options.apply { isFork = true encoding = "utf-8" compilerArgs = mutableListOf("-Xlint:-options", "-Xlint:-path") } } tasks.withType<Test>().configureEach { val testVersionProvider = javaLauncher.map { it.metadata.languageVersion }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jan 30 15:37:56 GMT 2026 - 2.3K bytes - Click Count (0) -
cmd/namespace-lock.go
nsMutex := nsLockMap{ isDistErasure: isDistErasure, } if isDistErasure { return &nsMutex } nsMutex.lockMap = make(map[string]*nsLock) return &nsMutex } // nsLock - provides primitives for locking critical namespace regions. type nsLock struct { ref int32 *lsync.LRWMutex } // nsLockMap - namespace lock map, provides primitives to Lock, // Unlock, RLock and RUnlock.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import spock.lang.Specification import spock.lang.Subject import spock.lang.TempDir class AcceptedApiChangesJsonFileManagerTest extends Specification { @TempDir File temporaryFolderCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.5K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt
} fun Test.includeSpockAnnotation(fqcn: String) { systemProperties.compute("include.spock.annotation") { _, oldValue -> if (oldValue == null) fqcn else "$oldValue,$fqcn" } } fun Test.excludeSpockAnnotation(fqcn: String) { systemProperties.compute("exclude.spock.annotation") { _, oldValue -> if (oldValue == null) fqcn else "$oldValue,$fqcn" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy
*/ package gradlebuild.binarycompatibility.rules import japicmp.model.JApiClass import javassist.ClassPool import me.champeau.gradle.japicmp.report.ViolationCheckContext import spock.lang.Specification import spock.lang.TempDir abstract class AbstractContextAwareRuleSpecification extends Specification { @TempDir File testDir ViolationCheckContext context = new ViolationCheckContext() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 2K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseIntegrationTest.groovy
* limitations under the License. */ package gradlebuild.buildutils.tasks import gradlebuild.buildutils.model.ReleasedVersion import spock.lang.Specification import spock.lang.TempDir class PreparePatchReleaseIntegrationTest extends Specification { @TempDir File tmpDir def "version file is bumped and previous version is added to released versions"() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.2K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
* limitations under the License. */ package gradlebuild.buildutils.tasks import gradlebuild.buildutils.model.ReleasedVersion import spock.lang.Specification import spock.lang.TempDir import java.text.SimpleDateFormat class UpdateReleasedVersionsIntegrationTest extends Specification { def format = new SimpleDateFormat('yyyyMMddHHmmssZ') @TempDirCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.4K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionBwcSetupPluginFuncTest.groovy
package org.elasticsearch.gradle.internal import org.elasticsearch.gradle.Architecture import org.elasticsearch.gradle.fixtures.AbstractGitAwareGradleFuncTest import org.gradle.testkit.runner.TaskOutcome import spock.lang.IgnoreIf import spock.lang.Unroll /* * Test is ignored on ARM since this test case tests the ability to build certain older BWC branches that we don't support on ARM */
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 7.9K bytes - Click Count (0) -
cmd/admin-handlers.go
return } nsLock := objectAPI.NewNSLock(minioMetaBucket, "site-net-perf") lkctx, err := nsLock.GetLock(ctx, globalOperationTimeout) if err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL) return } ctx = lkctx.Context() defer nsLock.Unlock(lkctx) durationStr := r.Form.Get(peerRESTDuration)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 99.7K bytes - Click Count (0)