- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,549 for Constructors (0.09 seconds)
-
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
import org.junit.jupiter.api.Test; public class WebApiExceptionTest extends UnitFessTestCase { @Test public void test_constructor_withStatusCodeAndMessage() { // Test constructor with status code and message int statusCode = 404; String message = "Resource not found"; WebApiException exception = new WebApiException(statusCode, message);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
import jcifs.Configuration; @ExtendWith(MockitoExtension.class) class BufferCacheImplTest { @Mock Configuration cfg; // Verifies constructor that accepts Configuration reads the expected values and uses them @Test @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config") void constructorUsesConfigurationAndAllocatesWithConfiguredSize() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
private final ReferenceQueue<Object> queue; // By preference, we will use the Thread constructor that has an `inheritThreadLocals` parameter. // But before Java 9, our only way not to inherit ThreadLocals is to zap them after the thread // is created, by accessing a private field. private static final @Nullable Constructor<Thread> bigThreadConstructor = getBigThreadConstructor();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java
public class InstallForm { /** Plugin identifier (required, max 400 characters) */ @Required @Size(max = 400) public String id; /** * Default constructor. */ public InstallForm() { // Default constructor } /** JAR file containing the plugin to install */ public MultipartFormFile jarFile;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.DfsReferralData; /** * Tests for the DfsReferral class. */ class DfsReferralTest { /** * Test the constructor and the getData method. */ @Test void testConstructorAndGetData() { // Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
} /** * Tests the constructor of DosFileFilter. * This test ensures that the constructor runs without errors and correctly initializes the object. * The wildcard parameter is stored but its filtering logic is handled server-side, * so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SMBSignatureValidationExceptionTest { // Happy path: default constructor creates an exception with no message/cause @Test @DisplayName("Default ctor: null message/cause and success status") void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() { // Arrange & ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
private ElevateWord elevateWord; @Before public void setUp() { // Setup for each test } @Test public void testConstructorWithAllParameters() { // Test constructor with all parameters String word = "test word"; float boost = 2.5f; List<String> readings = Arrays.asList("reading1", "reading2"); List<String> fields = Arrays.asList("field1", "field2");Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/DeleteForm.java
*/ public class DeleteForm { /** * Creates a new instance of DeleteForm. * This constructor initializes the form for plugin deletion operations * in the admin interface with validation rules for plugin information. */ public DeleteForm() { // Default constructor with explicit documentation } /** * The name of the plugin to delete.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/WebApiFilter.java
* This filter intercepts HTTP requests and delegates processing to appropriate web API managers. */ public class WebApiFilter implements Filter { /** * Default constructor. */ public WebApiFilter() { // Default constructor } /** * Initializes the web API filter. * * @param filterConfig The filter configuration * @throws ServletException If initialization failsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.8K bytes - Click Count (0)