Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 3,933 for avoid (0.02 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        @Mock
        private CommonServerMessageBlockRequest cancelRequest;
    
        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(request, nextRequest, splitRequest, cancelRequest);
        }
    
        @Test
        @DisplayName("Test isResponseAsync returns true when response is async")
        void testIsResponseAsyncTrue() {
            // Given
            when(request.isResponseAsync()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
        List<String> list = ImmutableList.of();
        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      }
    
      @Override
      protected final void setUp() throws Exception {
        boolean fair = new Random().nextBoolean();
        monitor = new Monitor(fair);
        tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1"));
        tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2"));
      }
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

        }
    
        public void test_isSecureCookie_cookieSecureNotNull() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
    
            userInfoHelper.setCookieSecure(Boolean.TRUE);
            assertTrue(userInfoHelper.isSecureCookie());
    
            userInfoHelper.setCookieSecure(Boolean.FALSE);
            assertFalse(userInfoHelper.isSecureCookie());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

        }
    
        public void test_getUserAgentType_emptyUserAgent() {
            getMockRequest().addHeader("user-agent", "");
            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_noUserAgentHeader() {
            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_multipleDetections() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

                return executeType;
            }
    
            public void setExecuteType(String executeType) {
                this.executeType = executeType;
            }
    
            public void setExecuteResult(String executeResult) {
                this.executeResult = executeResult;
            }
    
            public void setThrowException(boolean throwException) {
                this.throwException = throwException;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                assertEquals("validate should return void", void.class, validateMethod.getReturnType());
    
            } catch (NoSuchMethodException e) {
                fail("All expected public methods should exist: " + e.getMessage());
            }
        }
    
        public void test_constant_WEB_API_EXCEPTION() {
            // Test that the constant WEB_API_EXCEPTION is used correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/FileNotifyInformationTest.java

        @Mock
        private FileNotifyInformation mockFileNotifyInfo;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Nested
        @DisplayName("Filter Flags Constants Tests")
        class FilterFlagsTests {
    
            @Test
            @DisplayName("Verify FILE_NOTIFY_CHANGE_FILE_NAME constant value")
            void testFileNotifyChangeFileName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportPoolTest.java

        private static final int LOCAL_PORT = 12345;
    
        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
        @DisplayName("GetSmbTransport Methods")
        class GetSmbTransportTests {
    
            @Test
            @DisplayName("Should get transport by name with default parameters")
            void testGetSmbTransportByName() throws UnknownHostException, IOException {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top