Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 635 for assertk (0.04 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts

     * limitations under the License.
     */
    
    import java.nio.charset.Charset
    
    tasks.register("verifyIsProductionBuildEnvironment") {
        doLast {
            val systemCharset = Charset.defaultCharset().name()
            assert(systemCharset == "UTF-8") {
                "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8"
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 01 09:48:30 GMT 2021
    - 941 bytes
    - Click Count (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

    import org.apache.hc.client5.http.impl.async.HttpAsyncClients
    import org.apache.hc.core5.concurrent.FutureCallback
    import org.apache.hc.core5.http.ProtocolVersion
    import org.junit.Assert
    import org.junit.Ignore
    import org.junit.Test
    
    /**
     * Simplified from
     * https://hc.apache.org/httpcomponents-client-5.0.x/httpclient5/examples/AsyncClientTlsAlpn.java
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

     */
    package org.codelibs.core.lang;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertSame;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class ObjectUtilTest {
    
        /**
         * Test method for
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.converter;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import java.sql.Timestamp;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class NumberConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

    package org.codelibs.core.io;
    
    import static org.codelibs.core.io.FileUtil.readBytes;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.net.URL;
    import java.nio.file.Files;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    @NullUnmarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    package okhttp.regression.compare;
    
    import androidx.test.ext.junit.runners.AndroidJUnit4;
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import static org.junit.Assert.assertEquals;
    
    import okhttp3.Response;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    @RunWith(AndroidJUnit4.class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 14 17:38:22 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

     */
    package org.codelibs.core.exception;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SIndexOutOfBoundsExceptionTest {
    
        /**
         * Test method for
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class SingleValueIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top