- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,240 for Test (0.04 sec)
-
cmd/api-resources_test.go
if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode) } if prefix != testCase.prefix { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix) } if token != testCase.token { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token) } if startAfter != testCase.startAfter {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
class CookieTest { val url = "https://example.com/".toHttpUrl() @Test fun simpleCookie() { val cookie = parse(url, "SID=31d4d96e407aad42") assertThat(cookie.toString()).isEqualTo("SID=31d4d96e407aad42; path=/") } @Test fun noEqualsSign() { assertThat(parse(url, "foo")).isNull() assertThat(parse(url, "foo; Path=/")).isNull() } @Test fun emptyName() { assertThat(parse(url, "=b")).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
src.setAaa("111"); src.setCcc("333"); final MyClass2 dest = new MyClass2(); dest.setAaa("aaa"); dest.setBbb("bbb"); dest.setDdd("ddd"); BeanUtil.copyBeanToBean(src, dest); assertThat(dest.getAaa(), is("111")); assertThat(dest.getBbb(), is(nullValue())); assertThat(dest.getDdd(), is("ddd")); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
import org.codelibs.core.exception.NoSuchFieldRuntimeException; import org.junit.Test; /** * @author higa */ public class ClassUtilTest { /** */ public static final String HOGE = "hoge"; /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testForName_EmptyName() throws Exception { ClassUtil.forName("");
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} @Test fun serverClosesSocket() { testServerClosesOutput(DisconnectAtEnd) } @Test fun serverShutdownInput() { testServerClosesOutput(ShutdownInputAtEnd) } @Test fun serverShutdownOutput() { testServerClosesOutput(ShutdownOutputAtEnd) } @Test fun invalidHost() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
SmbTransport t2 = sess2.getTransport() ) { Assert.assertEquals(t1, t2); } } // this test is meant to test server-side session invalidation behavior // and not part of the regular test suite as manual steps are required //@Test public void testSessionMaintenance () throws IOException, InterruptedException { try ( SmbFile f = getDefaultShareRoot() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
import org.codelibs.core.beans.converter.NumberConverter; import org.codelibs.core.exception.ConverterRuntimeException; import org.junit.Test; /** * @author higa */ public class CopyOptionsTest { /** * @throws Exception */ @Test public void testIncludes() throws Exception { final CopyOptions option = new CopyOptions();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
} @Test fun portImplicitlyStarts() { assertThat(server.port).isGreaterThan(0) } @Test fun hostnameImplicitlyStarts() { assertThat(server.hostName).isNotNull() } @Test fun toProxyAddressImplicitlyStarts() { assertThat(server.toProxyAddress()).isNotNull() } @Test fun differentInstancesGetDifferentPorts() { val other = MockWebServer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun headers() { var headers: Headers = Headers.of("", "") headers = Headers.of(mapOf("" to "")) val size: Int = headers.size() } @Test @Disabled fun httpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor() val level = interceptor.getLevel() } @Test @Disabled fun httpUrl() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
import java.net.InetAddress import java.net.UnknownHostException import kotlin.test.assertFailsWith import okhttp3.AsyncDns.Companion.TYPE_A import okhttp3.AsyncDns.Companion.TYPE_AAAA import okhttp3.dnsoverhttps.DnsRecordCodec.decodeAnswers import okio.ByteString.Companion.decodeHex import org.junit.jupiter.api.Test class DnsRecordCodecTest { @Test fun testGoogleDotComEncoding() { val encoded = encodeQuery("google.com", TYPE_A)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.7K bytes - Viewed (0)