Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 5,228 for avoid (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

       */
    
      public void testSize() {
        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  2. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
            void testConstructorWithValidParameters() {
                long offset = 1024L;
                long length = 2048L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      public void testGoodForwarder() {
        tester.testForwarding(Arithmetic.class, ForwardingArithmetic::new);
        tester.testForwarding(ParameterTypesDifferent.class, ParameterTypesDifferentForwarder::new);
      }
    
      public void testVoidMethodForwarding() {
        tester.testForwarding(Runnable.class, ForwardingRunnable::new);
      }
    
      public void testToStringForwarding() {
        tester.testForwarding(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        private static final int TEST_TYPE = 0x00000000; // Standard share type
    
        @BeforeEach
        void setUp() {
            shareInfo = new SmbShareInfo();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            // Verify default values
            assertNull(shareInfo.getName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            }
        }
    
        @Test
        public void test_inheritance() {
            // Verify that SystemUtil extends org.codelibs.core.lang.SystemUtil
            Class<?> superClass = SystemUtil.class.getSuperclass();
            assertEquals("Should extend org.codelibs.core.lang.SystemUtil", "org.codelibs.core.lang.SystemUtil", superClass.getName());
        }
    
        @Test
        public void test_constants_reference() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  7. 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();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testInterfaceImplementation() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                assertNotNull(response);
                assertTrue(response instanceof CreateContextResponse);
            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFailureUrlCQ.java

        public void setId_Equal(String id) {
            setId_Term(id, null);
        }
    
        public void setId_Equal(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setId_Term(id, opLambda);
        }
    
        public void setId_Term(String id) {
            setId_Term(id, null);
        }
    
        public void setId_Term(String id, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 57.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SIDTest.java

            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
                assertThrows(NullPointerException.class, () -> new SID((String) null));
            }
    
            @Test
            @DisplayName("Binary constructor happy path and round-trip via toByteArray")
            void testBinaryConstructorAndToByteArray() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top