- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 251 for subclasses (0.07 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
// The actual logic is tested in AbstractUpgradeGoalTest // Here we just verify that Check is properly configured as a subclass assertTrue(checkGoal instanceof AbstractUpgradeGoal, "Check should extend AbstractUpgradeGoal"); assertFalse(checkGoal.shouldSaveModifications(), "Check should not save modifications unlike Apply goal");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Queue} implementations in the {@link java.util} * package. Can be subclassed to specify tests that should be suppressed. * * @author Jared Levy */ @GwtIncompatible public class TestsForQueuesInJavaUtil { public static Test suite() { return new TestsForQueuesInJavaUtil().allTests();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Assert - toString shows class name when message is null assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString()); // Assert - type hierarchy: subclass of CIFSException and IOException assertTrue(ex instanceof jcifs.CIFSException, "Should extend CIFSException"); assertTrue(ex instanceof IOException, "Should be an IOException (checked)"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assert (str.endsWith("]")); } } // We need to add a helper method to TransTransactNamedPipeResponse to make the test more precise // Or create a visible subclass for testing. // For now, let's assume we can modify the original class slightly for testability, // or we accept the less precise testToStringFormat test.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardRowSortedTable.java
* single row key may or may not be ordered, depending on the implementation. When rows and columns * are both sorted, it's easier to use the {@link TreeBasedTable} subclass. * * <p>The {@link #rowKeySet} method returns a {@link SortedSet} and the {@link #rowMap} method * returns a {@link SortedMap}, instead of the {@link Set} and {@link Map} specified by the {@link * Table} interface. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
* result extraction, header encoding/decoding, and the round-trip of an * encode/decode operation. */ public class DcerpcMessageTest { /** * A trivial concrete subclass used for testing. It simply writes a * single small value in {@code encode_in} and reads it in * {@code decode_out}. */ private static class TestMessage extends DcerpcMessage {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
docs/es/docs/tutorial/extra-models.md
Podríamos hacerlo mejor. Podemos declarar un modelo `UserBase` que sirva como base para nuestros otros modelos. Y luego podemos hacer subclases de ese modelo que heredan sus atributos (anotaciones de tipos, validación, etc). Toda la conversión de datos, validación, documentación, etc. seguirá funcionando normalmente.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/es/docs/advanced/custom-response.md
Pero si devuelves un `Response` directamente (o cualquier subclase, como `JSONResponse`), los datos no se convertirán automáticamente (incluso si declaras un `response_model`), y la documentación no se generará automáticamente (por ejemplo, incluyendo el "media type" específico, en el HTTP header `Content-Type` como parte del OpenAPI generado).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.Config; /** * Tests for {@link NtlmMessage}. Since {@code NtlmMessage} is abstract we * create a lightweight concrete subclass only to exercise the inherited * behaviour. The tests cover flag manipulation, byte‑buffer operations and * static helpers. Edge cases such as null or short arrays and negativeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Set} implementations in the {@link java.util} package. * Can be subclassed to specify tests that should be suppressed. * * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForSetsInJavaUtil { public static Test suite() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 19.8K bytes - Viewed (0)