- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 3,869 for classe (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/base/OptionalTest.java
Set<String> presentAsSet = Optional.of("a").asSet(); assertThrows(UnsupportedOperationException.class, () -> presentAsSet.add("b")); } public void testAsSet_absentIsImmutable() { Set<Object> absentAsSet = Optional.absent().asSet(); assertThrows(UnsupportedOperationException.class, () -> absentAsSet.add("foo")); } public void testTransform_absent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
// TODO(b/65488446): Make this a public API. /** Utility method to parse the system class path. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible final class ClassPathUtil { private ClassPathUtil() {} /** * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain * System#getProperty system property}. */ // TODO(b/65488446): Make this a public API.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc(String.class); assertThat(ctor, is(notNullValue())); assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor(String.class))); assertThat(ctor.getParameterTypes().length, is(1));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
SmbConstants.DEFAULT_SHARING); // Close the stream outputStream.close(); // When & Then - after close, tmp is null so write(int) will throw NullPointerException // This is the actual behavior of the implementation assertThrows(NullPointerException.class, () -> outputStream.write(65)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
TypeToken<List<? extends Number>> numberList = new TypeToken<List<? extends Number>>() {}; abstract class StringList implements List<String> {} assertThrows(IllegalArgumentException.class, () -> numberList.getSubtype(StringList.class)); } private static class OwnerTypeSubtypingTests extends SubtypeTester { @TestSubtype public Mall<Outdoor>.Shop<Electronics> innerTypeIsSubtype(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 20.4K bytes - Click Count (0) -
tests/test_arbitrary_types.py
TypeAdapter, WithJsonSchema, ) class FakeNumpyArray: def __init__(self): self.data = [1.0, 2.0, 3.0] FakeNumpyArrayPydantic = Annotated[ FakeNumpyArray, WithJsonSchema(TypeAdapter(list[float]).json_schema()), PlainSerializer(lambda v: v.data), ] class MyModel(BaseModel): model_config = ConfigDict(arbitrary_types_allowed=True)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class NodeStatusResponseTest { @Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEachCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
* This class provides DCE/RPC interface for SAM database operations including * user account management, group operations, and domain security functions. */ @SuppressWarnings("all") public class samr { /** * Private constructor to prevent instantiation of utility class. */ private samr() { // Utility class } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
* This class provides DCE/RPC interface for SAM database operations including * user account management, group operations, and domain security functions. */ public class samr { /** * Private constructor to prevent instantiation of utility class. */ private samr() { // Utility class } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.DfsReferralData; /** * Test class for DfsReferralDataInternal interface * Tests the interface contract using mock implementations and concrete class */ @DisplayName("DfsReferralDataInternal Interface Tests") class DfsReferralDataInternalTest { @Mock private DfsReferralDataInternal mockReferralData; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0)