Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 340 for extentions (1.53 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

        private File createScriptTempFile(final int sleep) {
            String extention;
            String content;
            if (File.separator.equals("/")) {
                // Unix
                extention = ".sh";
                content = "#!/bin/bash\nsleep " + sleep + ";cp $1 $2";
            } else {
                // Windows
                extention = ".bat";
                content = "ping localhost -n " + sleep + "\r\ncopy %1 %2";
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceUtil.java

         * @param extension
         *            The extension.
         * @return The resource path.
         */
        public static String getResourcePath(final String path, final String extension) {
            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            verify(mockChannelManager, atLeast(1)).establishReplacementChannel();
        }
    
        @Test
        void testShutdown() {
            failover.shutdown();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> failover.shutdown());
        }
    
        @Test
        void testConcurrentFailureHandling() throws InterruptedException {
            IOException error = new IOException("Connection failed");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

                });
                threads[i].start();
            }
    
            for (Thread thread : threads) {
                thread.join(1000);
            }
    
            // Should complete without exceptions
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

            assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)");
        }
    
        /* ---------------------------------------------------------------------
         * 4. Exceptions from static methods that don't resolve without stubbing
         * --------------------------------------------------------------------- */
        @Test
        void getAllByNameRejectsNullOrEmptyHostname() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. pom.xml

    					</archive>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.felix</groupId>
    				<artifactId>maven-bundle-plugin</artifactId>
    				<version>6.0.0</version>
    				<extensions>true</extensions>
    
    				<configuration>
    					<instructions>
    						<Bundle-Version>${osgi.version}</Bundle-Version>
    						<Bundle-License>LGPL</Bundle-License>
    						<Bundle-Vendor>CodeLibs</Bundle-Vendor>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/MIENameTest.java

                    }, StringIndexOutOfBoundsException.class));
        }
    
        @ParameterizedTest(name = "{0}")
        @MethodSource("invalidBuffers")
        @DisplayName("Invalid buffers throw appropriate exceptions")
        void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) {
            // Arrange
            byte[] buf;
            if (bufferSupplierOrBytes instanceof byte[]) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. pom.xml

    					</execution>
    				</executions>
    			</plugin>
    			<plugin>
    				<groupId>org.sonatype.central</groupId>
    				<artifactId>central-publishing-maven-plugin</artifactId>
    				<version>0.7.0</version>
    				<extensions>true</extensions>
    				<configuration>
    					<publishingServerId>central</publishingServerId>
    				</configuration>
    			</plugin>
    		</plugins>
    	</build>
    	<dependencies>
    		<dependency>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Dec 20 04:15:34 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg tree operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify thread safety and performance
            assertTrue(exceptions.isEmpty(), "No exceptions should occur with thread-safe collections: " + exceptions);
            assertEquals(threadCount * operationsPerThread, treeOperations.get());
            assertTrue(avgOpTimeNs < 100000, "Tree operations should be reasonable with CopyOnWriteArrayList");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top