Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 411 for assertPong (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketExtensionsTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class WebSocketExtensionsTest {
      @Test
      fun emptyHeader() {
        assertThat(parse("")).isEqualTo(WebSocketExtensions())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.gson.Gson
    import org.gradle.testkit.runner.TaskOutcome
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    
    class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/BuildTypeTest.kt

    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildTypeTest {
        init {
            DslContext.initForTest()
        }
    
        private
        val buildModel = CIBuildModel(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    
    class HostnamesTest {
      @Test
      fun canonicalizeInetAddressNotMapped() {
        val addressA = decodeIpv6("::1")!!
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

          transitionStates.add(state());
          return directExecutor();
        }
      }
    
      // Functional tests using real thread. We only verify publicly visible state.
      // Interaction assertions are done by the single-threaded unit tests.
    
      private static class DefaultService extends AbstractIdleService {
        @Override
        protected void startUp() throws Exception {}
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
          long result = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

    import org.apache.maven.cling.invoker.ProtoLogger;
    import org.apache.maven.jline.JLineMessageBuilderFactory;
    import org.junit.jupiter.api.Assumptions;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public abstract class MavenInvokerTestSupport<O extends MavenOptions, R extends MavenInvokerRequest<O>> {
    
        protected void invoke(Path cwd, Collection<String> goals) throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    import org.junit.jupiter.api.BeforeEach;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractArtifactComponentTestCase // extends PlexusTestCase
     {
        @Inject
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import javax.net.ssl.KeyManager
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class ProjectDependenciesResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private ProjectDependenciesResolver resolver;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top