Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 481 for Kotlin (0.08 sec)

  1. okhttp/src/test/java/okhttp3/internal/UtilTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import java.net.InetAddress
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.TimeUnit
    import kotlin.time.Duration.Companion.milliseconds
    import kotlin.time.Duration.Companion.nanoseconds
    import okio.buffer
    import okio.source
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.assertThrows
    
    class UtilTest {
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.util.Locale
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

    import gradlebuild.basics.util.KotlinSourceParser
    import org.gradle.workers.WorkAction
    import org.jetbrains.kotlin.psi.KtCallableDeclaration
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedDeclaration
    import org.jetbrains.kotlin.psi.psiUtil.collectDescendantsOfType
    import java.io.File
    
    
    abstract class IncubatingApiReportWorkAction : WorkAction<IncubatingApiReportParameter> {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration.Companion.seconds
    import kotlinx.coroutines.CancellationException
    import kotlinx.coroutines.Dispatchers
    import kotlinx.coroutines.TimeoutCancellationException
    import kotlinx.coroutines.coroutineScope
    import kotlinx.coroutines.job
    import kotlinx.coroutines.supervisorScope
    import kotlinx.coroutines.test.runTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import java.nio.file.LinkOption
    import java.util.stream.Collectors
    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    import kotlin.collections.component1
    import kotlin.collections.component2
    import kotlin.collections.set
    import kotlin.streams.toList
    
    
    typealias LeftoverFiles = Map<File, List<String>>
    
    
    abstract class TestFilesCleanupService @Inject constructor(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/projects/StageProject.kt

    import configurations.PerformanceTestsPass
    import configurations.SmokeTests
    import configurations.buildReportTab
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.Project
    import jetbrains.buildServer.configs.kotlin.RelativeId
    import model.CIBuildModel
    import model.FlameGraphGeneration
    import model.FunctionalTestBucketProvider
    import model.GRADLE_BUILD_SMOKE_TEST_NAME
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 07 09:17:14 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. okhttp-java-net-cookiejar/README.md

    OkHttp java.net.CookieHandler
    =============================
    
    This module integrates OkHttp with `CookieHandler` from `java.net`.
    This used to be part of `okhttp-urlconnection`
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-java-net-cookiehandler:4.12.0")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 285 bytes
    - Viewed (0)
  8. build-logic/cleanup/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin that cleans up after executing tests"
    
    errorprone {
        disabledChecks.addAll(
            "CatchAndPrintStackTrace", // 1 occurrences
            "DefaultCharset", // 3 occurrences
            "JavaTimeDefaultTimeZone", // 1 occurrences
        )
    }
    
    dependencies {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 507 bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/PromotionProjectTests.kt

    import common.VersionedSettingsBranch
    import common.pluginPortalUrlOverride
    import common.toCapitalized
    import jetbrains.buildServer.configs.kotlin.AbsoluteId
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.DslContext
    import jetbrains.buildServer.configs.kotlin.buildSteps.GradleBuildStep
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertTrue
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top