- Sort Score
- Result 10 results
- Languages All
Results 1031 - 1040 of 6,972 for Class3 (0.13 sec)
-
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
setDefault(Integer.class, 1); setDefault(long.class, 1L); setDefault(Long.class, 1L); setDefault(float.class, 1F); setDefault(Float.class, 1F); setDefault(double.class, 1D); setDefault(Double.class, 1D); setDefault(Class.class, Class.class); } /** * Sets the default value for {@code type}. The default value isn't used in testing {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/VerifyTest.java
/** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible @NullUnmarked public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
assertThrows(PotentialDeadlockException.class, () -> lock2.lock()); checkMessage(expected, "MyOrder.THIRD -> MyOrder.SECOND"); expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock()); checkMessage(expected, "MyOrder.THIRD -> MyOrder.FIRST"); lock3.unlock(); lock2.lock(); expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
assertThrows(PotentialDeadlockException.class, () -> lock2.lock()); checkMessage(expected, "MyOrder.THIRD -> MyOrder.SECOND"); expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock()); checkMessage(expected, "MyOrder.THIRD -> MyOrder.FIRST"); lock3.unlock(); lock2.lock(); expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
result = 31 * result + extensions.hashCode() return result } } internal data class AlgorithmIdentifier( /** An OID string like "1.2.840.113549.1.1.11" for sha256WithRSAEncryption. */ val algorithm: String, /** Parameters of a type implied by [algorithm]. */ val parameters: Any?, ) internal data class AttributeTypeAndValue( /** An OID string like "2.5.4.11" for organizationalUnitName. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
/** * @author koichik */ public class ClassLoaderUtilTest { /** * @throws Exception */ @Test public void testGetClassLoader() throws Exception { assertThat(ClassLoaderUtil.getClassLoader(Object.class), is(sameInstance(ClassLoaderUtil.class.getClassLoader()))); assertThat(ClassLoaderUtil.getClassLoader(TestCase.class), is(sameInstance(TestCase.class.getClassLoader())));Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } } @Nested @DisplayName("Invalid input – null file handling") class InvalidPath { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(x)); } } public void testFloorPowerOfTwoNegative() { for (long x : NEGATIVE_LONG_CANDIDATES) { assertThrows(IllegalArgumentException.class, () -> LongMath.floorPowerOfTwo(x)); } } public void testCeilingPowerOfTwoZero() { assertThrows(IllegalArgumentException.class, () -> LongMath.ceilingPowerOfTwo(0L)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/SearchLogDbm.java
import org.dbflute.dbway.DBDef; import org.dbflute.util.DfTypeUtil; /** * @author ESFlute (using FreeGen) */ public class SearchLogDbm extends AbstractDBMeta { protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class; // ===================================================================================
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/CloseableIteratorTest.java
@Test @DisplayName("Should extend Iterator and AutoCloseable") void testInterfaceInheritance() { // Then assertTrue(java.util.Iterator.class.isAssignableFrom(CloseableIterator.class)); assertTrue(AutoCloseable.class.isAssignableFrom(CloseableIterator.class)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0)