- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 635 for assertk (0.04 seconds)
-
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
assertFailureCause(ite.getCause(), NullPointerException.class, failingParams); } } /** * Asserts that the given throwable has the given class and then asserts on the message as using * the full set of method parameters. */ private void assertFailureCause( Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
assertFailureCause(ite.getCause(), NullPointerException.class, failingParams); } } /** * Asserts that the given throwable has the given class and then asserts on the message as using * the full set of method parameters. */ private void assertFailureCause( Throwable throwable, Class<? extends Throwable> clazz, Object[] params) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII); byte[] b3 = "????".getBytes(Charsets.US_ASCII); byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII); byte[] b5 = "スューー".getBytes(Charsets.US_ASCII); // Assert they are all equal (using the transitive property) assertThat(b1).isEqualTo(b2); assertThat(b2).isEqualTo(b3); assertThat(b3).isEqualTo(b4); assertThat(b4).isEqualTo(b5); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.util.concurrent.Uninterruptibles.joinUninterruptibly; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.TearDownAccepter; import java.util.concurrent.TimeUnit;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.misc; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Before; import org.junit.Test; /** * @author koichik * */ public class DisposableUtilTest { private int count; private String names = "";Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* annotated by {@link TestSubtype}. * * <p>These declaration methods rely on Java static type checking to make sure what we want to * assert as subtypes are really subtypes according to javac. For example: * * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/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()); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
String result = updateLabelJob.execute(); assertNotNull(result); assertTrue(result.contains("3 documents")); // queryBuilder field is protected, so we can't directly assert it } // Test execute() method with exception handling @Test public void test_execute_withException() { // Register a mock that throws exceptionCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
import static java.lang.Math.min; import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; import static org.junit.Assert.assertThrows; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.lang.ref.WeakReference; import java.nio.file.attribute.PosixFileAttributeView;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH; import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR; 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 com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0)