Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,812 for new3 (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            }
        }
    
        public void test_multipleExceptionInstances() {
            // Test multiple instances are independent
            InvalidAccessTokenException exception1 = new InvalidAccessTokenException("Type1", "Message1");
            InvalidAccessTokenException exception2 = new InvalidAccessTokenException("Type2", "Message2");
    
            assertEquals("Type1", exception1.getType());
            assertEquals("Message1", exception1.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            byte[] buffer = new byte[100];
            int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100);
    
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns 0")
        void testReadDataWireFormat() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNotNull(exception);
            assertEquals("User is not found: ******@****.***", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withLongUsername() {
            // Test with a very long username
            String username = "verylongusername".repeat(10);
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
      }
    
      public void testBridgeMethodIgnored() {
        new NullPointerTester().testAllPublicInstanceMethods(new StringFoo());
      }
    
      private abstract static class DefaultValueChecker {
    
        private final Map<Integer, Object> arguments = new HashMap<>();
    
        @CanIgnoreReturnValue
        final DefaultValueChecker runTester() {
          new NullPointerTester().testInstanceMethods(this, Visibility.PACKAGE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/HMACT64Test.java

        private static final byte[] TEST_KEY = "testkey".getBytes();
        private static final byte[] LONG_TEST_KEY = new byte[80]; // Longer than 64 bytes
        private static final byte[] SHORT_TEST_KEY = "short".getBytes();
        private static final byte[] TEST_DATA = "testdata".getBytes();
        private static final byte[] EMPTY_DATA = new byte[0];
    
        static {
            // Initialize long key with predictable data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test getMessage behavior with complex cause structure
            final Exception innerCause = new NullPointerException("NPE occurred");
            final Exception outerCause = new IllegalStateException("State error", innerCause);
            final JobProcessingException exception = new JobProcessingException(outerCause);
    
            assertNotNull(exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SidResolverTest.java

            doThrow(new CIFSException("Context cannot be null")).when(sidResolver).resolveSids(eq(null), anyString(), any(SID[].class));
    
            assertThrows(CIFSException.class, () -> sidResolver.resolveSids(null, testServerName, testSids));
        }
    
        @Test
        void testResolveSids_WithNullServerName() throws CIFSException {
            doThrow(new CIFSException("Server name cannot be null")).when(sidResolver)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassLoaderIteratorTest.java

        @Test
        public void test() throws Exception {
            final ClassLoader cl1 = new URLClassLoader(new URL[] { new URL("file:/foo") }, null);
            final ClassLoader cl2 = new URLClassLoader(new URL[] { new URL("file:/bar") }, cl1);
            final ClassLoader cl3 = new URLClassLoader(new URL[] { new URL("file:/baz") }, cl2);
    
            final ClassLoaderIterator it = new ClassLoaderIterator(cl3);
            assertThat(it.hasNext(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
            this.timestamp = System.currentTimeMillis();
            this.newIPAddresses = new ArrayList<>();
            this.oldIPAddresses = new ArrayList<>();
            this.flags = WITNESS_RESOURCE_STATE_UNKNOWN;
        }
    
        /**
         * Creates a new witness notification.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top