Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,047 for AssertJ (0.19 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.GeneratedMonitorTest.startThread;
    import static com.google.common.util.concurrent.Uninterruptibles.joinUninterruptibly;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.GeneratedMonitorTest.FlagGuard;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

        public void testIllegalIndexedType() throws Exception {
            try {
                ReflectionValueExtractor.evaluate("h.value[1]", new ValueHolder("string"));
            } catch (Exception e) {
                // TODO assert exception message
            }
        }
    
        /**
         * <p>testIllegalMappedType.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

    import static com.google.common.io.SourceSinkFactory.ByteSinkFactory;
    import static com.google.common.io.SourceSinkFactory.CharSinkFactory;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    
    import com.google.common.collect.ImmutableList;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      @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;
          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ByteSinkTester.java

    import static com.google.common.io.SourceSinkFactory.ByteSinkFactory;
    import static com.google.common.io.SourceSinkFactory.CharSinkFactory;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertArrayEquals;
    
    import com.google.common.collect.ImmutableList;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

                }
              }
            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableList;
    import java.io.EOFException;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableList;
    import java.io.EOFException;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. 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;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. scripts/mkdocs_hooks.py

        for item in items:
            if isinstance(item, str):
                resolve_file(item=item, files=files, config=config)
            elif isinstance(item, dict):
                assert len(item) == 1
                values = list(item.values())
                if not values:
                    continue
                if isinstance(values[0], str):
                    resolve_file(item=values[0], files=files, config=config)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 21:20:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top