- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 5,228 for avoid (0.02 seconds)
-
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
public class ExecutionListBenchmark { private static final int NUM_THREADS = 10; // make a param? // simple interface to wrap our two implementations. interface ExecutionListWrapper { void add(Runnable runnable, Executor executor); void execute(); /** Returns the underlying implementation, useful for the Footprint benchmark. */ Object getImpl(); } enum Impl { NEW { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
private Smb2EchoResponse echoResponse; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); echoResponse = new Smb2EchoResponse(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
public void test_constructor_withSpecialCharacters() { // Test with username containing special characters String username = "******@****.***"; FessUserNotFoundException exception = new FessUserNotFoundException(username); assertNotNull(exception); assertEquals("User is not found: ******@****.***", exception.getMessage()); assertNull(exception.getCause()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
void shouldImplementFileSystemInformation() { // Verify that AllocInfo extends FileSystemInformation assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
*/ public class SimpleCircuitBreakerTest { private SimpleCircuitBreaker circuitBreaker; @BeforeEach void setUp() { circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100); } @Test @DisplayName("Test initial state is CLOSED") void testInitialState() { assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
private static Path root() { return FS.getRootDirectories().iterator().next(); } private Path tempDir; @Override protected void setUp() throws Exception { tempDir = Files.createTempDirectory("MoreFilesTest"); } @Override protected void tearDown() throws Exception { if (tempDir != null) { // delete tempDir and its contents Files.walkFileTree( tempDir,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
*/ class BaseConfigurationTest { private BaseConfiguration config; @BeforeEach void setUp() throws CIFSException { config = new BaseConfiguration(false); } @Test @DisplayName("Test constructor with initDefaults true") void testConstructorWithInitDefaults() throws CIFSException { BaseConfiguration configWithDefaults = new BaseConfiguration(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
class FeaturesTest { @Test void testDeployBuildPomDefaultValue() { // Test that deployBuildPom returns true by default (when property is not set) Map<String, Object> emptyProperties = Map.of(); assertTrue(Features.deployBuildPom(emptyProperties)); // Test with null properties assertTrue(Features.deployBuildPom(null)); } @Test void testDeployBuildPomWithStringTrue() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); suggestCreator = new SuggestCreator(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // Test constructor @Test public void test_constructor() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
} @Test public void test_decodeBase64_null() { assertNull(authenticator.decodeBase64(null)); } @Test public void test_decodeBase64_standard() { // "Hello" encoded in standard Base64 final byte[] result = authenticator.decodeBase64("SGVsbG8="); assertEquals("Hello", new String(result)); } @Test public void test_decodeBase64_urlSafe() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0)