- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for assertNull (0.2 sec)
-
okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt
) } @Test fun nonBasicCodePointInPrefix() { assertNull(Punycode.decode("xn--cåt-n3h")) } @Test fun nonBasicCodePointInInsertionCoding() { assertNull(Punycode.decode("xn--cat-ñ3h")) } @Test fun unterminatedCodePoint() { assertNull(Punycode.decode("xn--cat-n")) } @Test fun overflowI() { assertNull(Punycode.decode("xn--99999999")) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
assertNull(mediaType.charsetName()) } @Test fun testUnsupportedCharset() { val mediaType = parse("text/plain; charset=utf-wtf") assertNull(mediaType.charsetName()) } @Test fun testCharsetNameIsDoubleQuotedAndSingleQuoted() { val mediaType = parse("text/plain;charset=\"'utf-8'\"") assertNull(mediaType.charsetName()) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import org.conscrypt.Conscrypt import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertFalse import org.junit.jupiter.api.Assertions.assertNotNull import org.junit.jupiter.api.Assertions.assertNull import org.junit.jupiter.api.Assertions.assertTrue import org.junit.jupiter.api.Assertions.fail import org.junit.jupiter.api.Assumptions.assumeTrue import org.junit.jupiter.api.BeforeEach
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
import okhttp3.Protocol.HTTP_2 import okhttp3.testing.PlatformRule import org.conscrypt.Conscrypt import org.junit.Assert.assertFalse import org.junit.Assert.assertNotNull import org.junit.Assert.assertNull import org.junit.Assert.assertTrue import org.junit.Assume.assumeFalse import org.junit.Assume.assumeTrue import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.extension.RegisterExtension
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
* limitations under the License. */ package okhttp3.internal.authenticator import java.net.Authenticator import java.net.InetAddress import junit.framework.TestCase.assertNull import okhttp3.FakeDns import okhttp3.Protocol.HTTP_2 import okhttp3.Request import okhttp3.Response import okhttp3.TestValueFactory import okhttp3.internal.RecordingAuthenticator
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
* * ```java * assertEquals("google.com", getEffectiveTldPlusOne("google.com")); * assertEquals("google.com", getEffectiveTldPlusOne("www.google.com")); * assertNull(getEffectiveTldPlusOne("com")); * assertNull(getEffectiveTldPlusOne("localhost")); * assertNull(getEffectiveTldPlusOne("mymacbook")); * ``` * * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode * encoded.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertNull import okhttp3.MediaType.Companion.toMediaTypeOrNull /** * Test MediaType API and parsing. * * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/) * MediaTypeTest. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0)