- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 1,356 for Assert (0.73 sec)
-
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper"); // Then, run the actual tests under each alternative classloader: runTestMethod(NO_ATOMIC_FIELD_UPDATER); // TODO(lukes): assert that the logs are full of errors } /** * Runs the corresponding {@link FuturesTest} test method in a new classloader that disallows * certain core JDK classes. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.5K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_DataType value) { auto iter = builder->attr_names.insert(attr_name).first; builder->Set(*iter, static_cast<tensorflow::DataType>(value)); } void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name, const TF_DataType* values, int num_values) { auto iter = builder->attr_names.insert(attr_name).first;Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.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 java.lang.reflect.Method; import java.util.List; import java.util.Map; import org.junit.Test; /** * @author higa */ public class MethodUtilTest { /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.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 com.google.common.primitives.Bytes; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInput; import java.io.DataOutputStream;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
// Test '\t', '\n' and '\r' are escaped. assertEquals("a	b
c
d", xmlAttributeEscaper.escape("a\tb\nc\rd")); } // Helper to assert common properties of xml escapers. static void assertBasicXmlEscaper( CharEscaper xmlEscaper, boolean shouldEscapeQuotes, boolean shouldEscapeWhitespaceChars) { // Simple examples (smoke tests)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
ArgumentCaptor<String> msgCap = ArgumentCaptor.forClass(String.class); verify(handler, atLeastOnce()).handle(codeCap.capture(), msgCap.capture()); // Assert at least one captured pair is a known mapping (happy path spot check) assertTrue(codeCap.getAllValues().contains(WinError.ERROR_ACCESS_DENIED)); int idx = codeCap.getAllValues().indexOf(WinError.ERROR_ACCESS_DENIED);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (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;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
*/ package org.codelibs.fess.suggest.util; import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.Arrays;
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.emptyMap; import static java.util.Collections.singletonMap; import static org.junit.Assert.assertThrows; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestMapGenerator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0)