Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 92 for raceinit (0.17 sec)

  1. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

    import org.junit.jupiter.params.provider.ValueSource
    
    class ExtensionLifecycleTest(
      server: MockWebServer,
    ) {
      init {
        assertThat(server).isSameInstanceAs(staticServer)
      }
    
      private lateinit var instanceServer: MockWebServer
    
      @RegisterExtension
      val clientTestRule: OkHttpClientTestRule = OkHttpClientTestRule()
    
      @BeforeEach
      fun beforeEach(server: MockWebServer) {
        instanceServer = server
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/src/test/kotlin/org/gradle/smoketest/kotlin/android/StringPrinterTest.kt

    package org.gradle.smoketest.kotlin.android
    
    import org.junit.Before
    import org.junit.Test
    
    class StringPrinterTest {
    
        lateinit private var stringPrinter: StringPrinterFragment
    
        @Before fun setUp() {
            stringPrinter = StringPrinterFragment()
        }
    
        @Test fun shouldPrintStringLength() {
            stringPrinter.printStringLength("Hello world!")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 369 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

    @Tag("Slowish")
    class ThreadInterruptTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/configurationCache/testKit/kotlin/src/test/kotlin/org/example/BuildLogicFunctionalTest.kt

    import org.junit.Test
    import org.junit.rules.TemporaryFolder
    
    import java.io.File
    
    class BuildLogicFunctionalTest {
    
        @Rule
        @JvmField
        val testProjectDir: TemporaryFolder = TemporaryFolder()
    
        lateinit var buildFile: File
    
        @Before
        fun setup() {
            testProjectDir.newFile("settings.gradle").writeText("")
            buildFile = testProjectDir.newFile("build.gradle")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/bugsFromRealComposeApps/constExprInitializer.kt

    // WITH_FIR_TEST_COMPILER_PLUGIN
    // DUMP_IR
    
    // FILE: data/PodcastWithExtraInfo.kt
    package data
    
    class PodcastWithExtraInfo {
        lateinit var url: String
        var lastEpisodeDate: kotlin.time.TimeSource? = null
        operator fun component1() = url
        operator fun component2() = lastEpisodeDate
    }
    
    // FILE: main.kt
    package home
    
    import data.PodcastWithExtraInfo
    
    fun preview(featuredPodcast: PodcastWithExtraInfo) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 18 11:28:11 UTC 2024
    - 470 bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtModuleBuilder.kt

            directDependsOnDependencies.add(module)
        }
    
        public fun addFriendDependency(module: KtModule) {
            directFriendDependencies.add(module)
        }
    
        public lateinit var platform: TargetPlatform
    
        public abstract fun build(): KtModule
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Sep 06 07:36:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    @Tag("Slow")
    class OsgiTest {
      private lateinit var testResourceDir: Path
      private lateinit var workspaceDir: Path
    
      @BeforeEach
      fun setUp() {
        testResourceDir = "./build/resources/test/okhttp3/osgi".toPath()
        workspaceDir = testResourceDir / "workspace"
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt

    import org.junit.jupiter.api.io.TempDir
    import java.io.File
    
    
    class GradleDistributionInstallTest {
        @TempDir
        private
        lateinit var temporaryFolder: File
    
        private
        lateinit var target: File
    
        private
        lateinit var projectRoot: File
    
        @BeforeEach
        fun setup() {
            target = File(temporaryFolder, "target")
            target.mkdir()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        assertArrayEquals(arrayOf("TLSv1.1", "TLSv1.2"), socket.enabledProtocols)
      }
    
      internal class FakeSslSocket : DelegatingSSLSocket(null) {
        private lateinit var enabledProtocols: Array<String>
        private lateinit var supportedCipherSuites: Array<String>
        private lateinit var enabledCipherSuites: Array<String>
    
        override fun getEnabledProtocols(): Array<String> {
          return enabledProtocols
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtModuleProviderBuilder.kt

    ) {
        private val mainModules: MutableList<KtModule> = mutableListOf()
    
        public fun <M : KtModule> addModule(module: M): M {
            mainModules.add(module)
            return module
        }
    
        public lateinit var platform: TargetPlatform
    
        public fun build(): KtStaticProjectStructureProvider {
            return KtStandaloneProjectStructureProvider(
                platform,
                kotlinCoreProjectEnvironment.project,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jan 05 16:04:14 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top