- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 738 for eval (0.07 sec)
-
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
} } // publish plugin to local repository for integration testing ----------------- // See AbstractPluginTest val localRepository = layout.buildDirectory.dir("repository") val publishPluginsToTestRepository by tasks.registering { dependsOn("publishPluginMavenPublicationToTestRepository") val repoDir = localRepository // Prevent capturing the Gradle script instance for configuration cache compatibility
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 08 14:54:27 UTC 2024 - 6.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/UtilTest.kt
import org.junit.jupiter.api.assertThrows class UtilTest { @Test fun socketIsHealthy() { val localhost = InetAddress.getLoopbackAddress() val serverSocket = ServerSocket(0, 1, localhost) val socket = Socket() socket.connect(serverSocket.localSocketAddress) val socketSource = socket.source().buffer() assertThat(socket.isHealthy(socketSource)).isTrue() serverSocket.close()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
@Test fun builderSameSiteNoneDoesNotRequireSecure() { val cookieBuilder = Cookie.Builder() .name("a") .value("b") .domain("example.com") .sameSite("None") val cookie = cookieBuilder.build() assertThat(cookie.sameSite).isEqualTo("None") } @Test fun equalsAndHashCode() { val cookieStrings = Arrays.asList(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AddressTest.kt
import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress() assertThat(b).isEqualTo(a)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt
interface Parameters : BuildServiceParameters { val rootProjectDir: DirectoryProperty val rootProjectBuildDir: DirectoryProperty } @get:Inject abstract val providers: ProviderFactory val gitCommitId = git("rev-parse", "HEAD") val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD") @Suppress("UnstableApiUsage") private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 10:02:49 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
@Test fun hashCode_usesIdentityHashCode_legacyCase() { val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_". assertThat(cs.hashCode(), cs.toString()) .isEqualTo(System.identityHashCode(cs)) } @Test fun hashCode_usesIdentityHashCode_regularCase() { // This one's javaName matches the identifier. val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
import okio.GzipSource import okio.Path.Companion.toPath import okio.buffer import okio.use import org.junit.jupiter.api.Test class PublicSuffixDatabaseTest { private val publicSuffixDatabase = PublicSuffixDatabase() @Test fun longestMatchWins() { val buffer = Buffer() .writeUtf8("com\n") .writeUtf8("my.square.com\n") .writeUtf8("square.com\n")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
class HeadersKotlinTest { @Test fun getOperator() { val headers = headersOf("a", "b", "c", "d") assertThat(headers["a"]).isEqualTo("b") assertThat(headers["c"]).isEqualTo("d") assertThat(headers["e"]).isNull() } @Test fun iteratorOperator() { val headers = headersOf("a", "b", "c", "d") val pairs = mutableListOf<Pair<String, String>>() for ((name, value) in headers) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Dec 21 01:54:49 UTC 2023 - 2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt
import model.Stage open class BaseGradleBuildType( open val stage: Stage? = null, open val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {} ) : BuildType() { init { this.init() } } open class OsAwareBaseGradleBuildType( val os: Os, override val stage: Stage? = null, override val failStage: Boolean = true, init: BaseGradleBuildType.() -> Unit = {}
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 558 bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild.task-properties-validation.gradle.kts
* See the License for the specific language governing permissions and * limitations under the License. */ plugins { java } val validateTaskName = "validatePlugins" val reportFileName = "task-properties/report.txt" tasks.register<ValidatePlugins>(validateTaskName) { val main = project.sourceSets.main.get() classes.from(main.output) classpath.from(main.runtimeClasspath)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 20 15:24:40 UTC 2023 - 1008 bytes - Viewed (0)