- Sort Score
- Result 10 results
- Languages All
Results 1421 - 1430 of 8,005 for Class3 (0.03 sec)
-
docs/en/docs/tutorial/path-params.md
### Create an `Enum` class { #create-an-enum-class } Import `Enum` and create a sub-class that inherits from `str` and from `Enum`. By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly. Then create class attributes with fixed values, which will be the available valid values:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
import jcifs.smb.NtlmPasswordAuthentication; /** * Tests for the NtlmServlet class. * This class uses Mockito to simulate a servlet environment and test authentication logic. */ @ExtendWith(MockitoExtension.class) class NtlmServletTest { // A concrete implementation of the abstract NtlmServlet for testing purposes. private static class TestNtlmServlet extends NtlmServlet { private static final long serialVersionUID = 1L;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
} @Provides @Typed({ToolchainManager.class, ToolchainManagerPrivate.class}) @Named // qualifier is required for SiduDIBridge to work DefaultToolchainManagerV3 v3Manager() { return new DefaultToolchainManagerV3(); } @Provides @Priority(10) @Typed(org.apache.maven.api.services.ToolchainManager.class) DefaultToolchainManagerV4 v4Manager() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 31 10:58:52 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.spnego.NegTokenInit; @ExtendWith(MockitoExtension.class) class Kerb5AuthenticatorTest { @Mock CIFSContext tc; @Mock Configuration config; private static byte[] spnegoInitWithMechs(ASN1ObjectIdentifier... mechs) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
import jcifs.SmbTree; /** * Tests for SmbSessionInternal interface using Mockito to exercise * method contracts, checked exceptions, and interactions with collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbSessionInternalTest { @Mock private SmbSessionInternal session; @Mock private SmbTransport transport; @Mock private SmbTree tree; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertThrows(CIFSException.class, () -> { compressionService.compress(testData, CompressionService.COMPRESSION_LZNT1); }); } @Test @DisplayName("Test unsupported algorithm decompression") public void testUnsupportedAlgorithmDecompression() { assertThrows(CIFSException.class, () -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertThat(e).hasCauseThat().isInstanceOf(InterruptedException.class); } public void testAwait_countDownLatch_interrupted() { Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); try { CountDownLatch latch = new CountDownLatch(1); RuntimeException expected = assertThrows(RuntimeException.class, () -> GcFinalization.await(latch));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
assertThrows(NullPointerException.class, () -> putAll(containsNullValue)); expectUnchanged(); expectNullValueMissingWhenNullValuesUnsupported( "Should not contain null value after unsupported putAll(containsNullValue)"); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> getMap().putAll(null)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
} }; TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS)); assertThat(e) .hasMessageThat() .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state."); } private static class TestService extends AbstractIdleService { int startUpCalled = 0; int shutDownCalled = 0;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) { return new Key<>(clazz, clazz); } /** * Create a key using the given class and id. */ static <T> Key<T> key(Class<T> clazz, Object id) { return new Key<>(clazz, id); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0)