- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 646 for behaviors (0.06 seconds)
-
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
public CredentialsInternal renew() { // Returns null to represent an implementation that could not renew return null; } } // Provide different implementation behaviors to a parameterized test static Stream<Arguments> implementations() { return Stream.of(Arguments.of("returns self", (Supplier<SmbRenewableCredentials>) SelfRenewingCreds::new, true, false),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/UploadForm.java
/** * Form for uploading search request files to the Fess search engine. * This form is used in the admin interface to upload search request configuration files * that define search behaviors and request handling. */ public class UploadForm { /** * The multipart file containing the search request configurations to be uploaded.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsImplTest.java
mockConfig = mock(Configuration.class); mockCredentials = mock(Credentials.class); mockTransportPool = mock(SmbTransportPool.class); // Set up mock behaviors when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getCredentials()).thenReturn(mockCredentials); when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SMBProtocolDowngradeException covering all constructors and behaviors. */ @ExtendWith(MockitoExtension.class) class SMBProtocolDowngradeExceptionTest { /** * Provides messages including edge cases (null and empty) for parameterized testing. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Verifies scope inheritance of direct and transitive dependencies. * * Should show three behaviors: * * 1. dependencyManagement should override the scope of transitive dependencies. * 2. Direct dependencies should override the scope of dependencyManagement.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
CLAUDE.md
- `@Execute` marks web endpoints - `@Resource` for DI - `@Secured({ "role", "role-view" })` for authorization - Return `HtmlResponse` for JSP, `JsonResponse` for APIs ### Service - Inject behaviors (Bhv) for data access - Use `OptionalEntity<T>` for nullable returns - Plain classes (no extends/implements) ### Helper - Stateless utility classes - Access via `ComponentUtil.getXyzHelper()`Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 09:48:10 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
assertTrue(consistentRequest.isSigningEnforced(), "Implementation should consistently return the same value"); } } @Test @DisplayName("Test different implementations can have different behaviors") void testDifferentImplementations() { // Given SmbNegotiationRequest enforcedRequest = new TestSmbNegotiationRequest(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.Nullable; /** * Tests {@link MapTestSuiteBuilder} by using it against maps that have various negative behaviors. * * @author George van den Driessche */ @AndroidIncompatible // test-suite builders public final class MapTestSuiteBuilderTests extends TestCase { private MapTestSuiteBuilderTests() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* then as many exception-testing methods as there are exceptions the method can throw. * Sometimes there are multiple tests per JSR166 method when the different "normal" behaviors * differ significantly. And sometimes testcases cover multiple methods when they cannot be * tested in isolation. * <li>The documentation style for testcases is to provide as javadoc a simple sentence or two
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0)