Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 151 for testConstructor (0.64 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.getSendBufferSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructor() {
            // When
            Smb2NegotiateResponse resp = new Smb2NegotiateResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testPrivateClass() {
        NullPointerTester tester = new NullPointerTester();
        for (Constructor<?> constructor :
            PrivateClassWithPrivateConstructor.class.getDeclaredConstructors()) {
          tester.testConstructor(constructor);
        }
      }
    
      private interface Foo<T> {
        void doSomething(T bar, Integer baz);
      }
    
      private static class StringFoo implements Foo<String> {
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            encryptionContext = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
        }
    
        @Test
        @DisplayName("Should create encryption context with valid parameters")
        void testConstructor() {
            // When
            Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        // Show that dir is ignored
        assertTrue(filter.accept(null, "a"));
      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        private CustomSizeValidator validator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            validator = new CustomSizeValidator();
        }
    
        public void test_constructor() {
            assertNotNull(validator);
        }
    
        public void test_isValid_nullValue() {
            final CustomSize annotation = createBasicAnnotation();
            validator.initialize(annotation);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("HotThreadMonitorTarget should implement TimeoutTarget",
                    TimeoutTarget.class.isAssignableFrom(HotThreadMonitorTarget.class));
        }
    
        public void test_constructor() {
            assertNotNull("Constructor should create instance", target);
            assertTrue("Instance should be of correct type", target instanceof HotThreadMonitorTarget);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

    import org.lastaflute.web.servlet.request.RequestManager;
    import org.lastaflute.web.validation.ActionValidator;
    
    public class FessActionValidatorTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test basic class structure without complex mocking
            assertEquals("FessActionValidator should be in correct package", "org.codelibs.fess.validation.FessActionValidator",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.app.web.RootAction;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UserRoleLoginExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with RootAction class
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

        private SuppressErrorReportValve valve;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            valve = new SuppressErrorReportValve();
        }
    
        public void test_constructor() {
            assertNotNull(valve);
        }
    
        public void test_showReportDisabled() {
            assertFalse(valve.isShowReport());
        }
    
        public void test_showServerInfoDisabled() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
            TestDictionaryItem newItem = new TestDictionaryItem();
            assertNotNull(newItem);
            assertEquals(0L, newItem.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top