Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 635 for assertk (0.04 seconds)

  1. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

    import static org.codelibs.core.convert.DateConversionUtil.toSqlDateJdbcEscape;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.Writer;
    import java.net.URL;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            .isEqualTo("a"b<c>d&e"f'");
        // Test '\t', '\n' and '\r' are escaped.
        assertThat(xmlAttributeEscaper.escape("a\tb\nc\rd")).isEqualTo("a	b
c
d");
      }
    
      // Helper to assert common properties of xml escapers.
      static void assertBasicXmlEscaper(
          CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) {
        // Simple examples (smoke tests)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

    import static org.codelibs.core.TestUtil.sameClass;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.EmptyArgumentException;
    import org.codelibs.core.exception.NoSuchConstructorRuntimeException;
    import org.codelibs.core.exception.NoSuchFieldRuntimeException;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.HOURS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Suppliers;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingInputStream}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/log/LoggerTest.java

     */
    package org.codelibs.core.log;
    
    import static org.codelibs.core.log.Logger.format;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.exception.ClIllegalArgumentException;
    import org.junit.Rule;
    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    
    /**
     * @author higa
     *
     */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

    import static com.google.common.math.StatsTesting.assertVerticalLinearTransformation;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top