- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,644 for avoid (0.03 sec)
-
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getNetbiosScope()).thenReturn(null); // Configure OEM encoding to avoid NullPointerException when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); } @Test @DisplayName("Constructor with Configuration only should create empty Name instances") void testConstructorWithConfigOnly() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Test implementation of ThumbnailManager to avoid container dependencies private class TestThumbnailManager extends ThumbnailManager { @Override public void init() { // Do nothing to avoid container access } @Override protected void storeQueue(List<Tuple3<String, String, String>> taskList) { // Override to avoid database operations taskList.clear();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
PULL_REQUESTS_ETIQUETTE.md
- Include context in the summary: what changed, why, and any issue references. - Use `[WIP]` for in-progress PRs to avoid premature merging or choose GitHub draft PRs. 2. **Commits**: - Write clear messages: what changed and why (e.g., “Refactor S3 API handler to reduce latency so that requests process 20% faster”).
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun May 25 16:32:03 UTC 2025 - 4.7K bytes - Viewed (0) -
.github/workflows/validate-codeowners.yml
- name: GitHub CODEOWNERS Validator uses: mszostok/codeowners-validator@v0.7.4 with: checks: "files,duppatterns,syntax" experimental_checks: "notowned,avoid-shadowing" # downgrading to 0.7.2 for owners check to avoid issues with token permissions check, # see https://github.com/mszostok/codeowners-validator/issues/224 - name: GitHub CODEOWNERS Validator
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Aug 12 07:00:55 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
} @Test void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception { // This test ensures that for a standard HTTPS URL, openConnection also works and // wraps the connection, using mock handlers to avoid dependency on system handlers. setupMockProtocolHandlers(); URL url = new URL("https://example.com/resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
.github/workflows/stale-pr.yml
name: 'Close stale PRs' on: schedule: # Execute every hour at xx:05 to avoid conflicts with other workflows - cron: '5 * * * *' permissions: {} jobs: stale: permissions: pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/stale@v10 with: operations-per-run: 50 ascending: true exempt-all-milestones: true
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 22:13:29 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
* @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptions when(mockConnection.getURL()).thenReturn(mockUrl);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
// Should indicate missing required buffers assertNotNull(e.getMessage()); } @Test void testMockedSuccessfulParsing() throws PACDecodingException, IOException { // Test with mocked PacMac to avoid complex signature calculation try (MockedStatic<PacMac> pacMacMock = mockStatic(PacMac.class)) { // Mock the calculateMac method to return a valid checksum
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
import org.apache.maven.model.PluginExecution; import org.apache.maven.plugin.MojoExecution; /** * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid * plugin artifact resolution from repositories. * */ @Deprecated public class EmptyLifecycleExecutor implements LifecycleExecutor { @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.6K bytes - Viewed (0)