Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for isMock (0.06 sec)

  1. 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);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            }
    
            FlakyTestStrategy.ONLY -> {
                // Note there is an issue: https://github.com/spockframework/spock/issues/1288
                // JUnit Platform `includeTags` works before Spock engine, thus excludes all spock tests.
                // As a workaround, we tag all non-spock integration tests and use `includeTags(none() | Flaky)` here.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  3. 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.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. 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 temporaryFolder
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapNews.java

            this.keywords = keywords;
        }
    
        /**
         * Gets the stock tickers.
         * @return the stock tickers
         */
        public String getStockTickers() {
            return stockTickers;
        }
    
        /**
         * Sets the stock tickers.
         * @param stockTickers the stock tickers to set
         */
        public void setStockTickers(final String stockTickers) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. 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"
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. 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 {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:15:47 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. 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() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. 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')
    
        @TempDir
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.model
    
    import java.nio.file.Files
    import org.gradle.api.Action
    import org.gradle.api.UnknownDomainObjectException
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class SimpleClassMetaDataRepositoryTest extends Specification {
        @TempDir File tmpDir
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top