- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for isMock (0.05 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-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) -
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) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
// Read capabilities declared in capabilities.json readCapabilitiesFromJson() // Prevent Spock from pulling in Groovy and third-party dependencies - see https://github.com/spockframework/spock/issues/899 applyRule<DependencyRemovalByNameRule>( "org.spockframework:spock-core",Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.buildutils.tasks import spock.lang.Specification class PreparePatchReleaseTest extends Specification { def "patch version is correctly bumped"() { expect: ReleasedVersionsHelperKt.bumpPatchVersion(input) == expectedCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 1.3K bytes - Click Count (0)