Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for isMock (1.23 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class HtmlToXmlJavadocLexerTest extends Specification {
        def "discards whitespace around block elements"() {
            expect:
            parse(source) == transformed
    
            where:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.buildutils.model.ReleasedVersion
    import gradlebuild.buildutils.model.ReleasedVersions
    import spock.lang.Specification
    
    import java.text.SimpleDateFormat
    
    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.model.ClassMetaDataRepository
    import spock.lang.Specification
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class TypeNameResolverTest extends Specification {
        final ClassMetaDataRepository<ClassMetaData> metaDataRepository = Mock()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class BasicJavadocLexerTest extends Specification {
        final BasicJavadocLexer lexer = new BasicJavadocLexer(new JavadocScanner(""))
        final visitor = Mock(JavadocLexer.TokenVisitor)
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. internal/config/identity/ldap/config.go

    	if !isEnableFlagExplicitlySet && !l.LDAP.Enabled {
    		l.LDAP.Enabled = true
    	}
    	// Validate and test configuration.
    	valResult := l.LDAP.Validate()
    	if !valResult.IsOk() {
    		// Set to false if configuration fails to validate.
    		l.LDAP.Enabled = false
    		return l, valResult
    	}
    
    	return l, nil
    }
    
    // GetConfigList - returns a list of LDAP configurations.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 18 11:47:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.cleanup.services
    
    import spock.lang.Specification
    
    class LeakingProcessKillPatternTest extends Specification {
    
        def "matches worker process started in test on Windows"() {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 12 03:42:46 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        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)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

             * the Transport thread is not setup until doConnect()
             * returns and we want to suppress all communication
             * until we have properly negotiated.
             */
            synchronized (this.inLock) {
                if (prt == 139) {
                    ssn139();
                } else {
                    if (prt == 0) {
                        prt = DEFAULT_PORT; // 445
                    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    	type MigrateNullableColumn struct {
    		ID    uint
    		Bonus float64 `gorm:"not null"`
    		Stock float64
    	}
    
    	DB.Migrator().DropTable(&MigrateNullableColumn{})
    
    	DB.AutoMigrate(&MigrateNullableColumn{})
    
    	type MigrateNullableColumn2 struct {
    		ID    uint
    		Bonus float64
    		Stock float64 `gorm:"not null"`
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top