Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 3,054 for throws (0.1 sec)

  1. src/test/java/jcifs/NameServiceClientTest.java

            assertNotNull(actualName);
            assertEquals(expectedName, actualName);
            verify(nameServiceClient, times(1)).getUnknownName();
        }
    
        @Test
        void testGetNbtAllByAddress_NetbiosAddress() throws UnknownHostException {
            // Arrange
            NetbiosAddress inputAddress = mock(NetbiosAddress.class);
            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class), mock(NetbiosAddress.class) };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

      public void testToString() throws IOException {
        assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT)));
      }
    
      public void testReadLines() throws IOException {
        List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc"));
        assertEquals(ImmutableList.of("a", "b", "c"), lines);
      }
    
      public void testReadLines_withLineProcessor() throws IOException {
        String text = "a\nb\nc";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       *     completed.
       * @throws RejectedExecutionException {@inheritDoc}
       * @throws NullPointerException if any task is null
       */
      @Override
      <T extends @Nullable Object> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
          throws InterruptedException;
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

        @Test
        void testInitializationWithoutMultiChannelSupport() throws IOException {
            when(mockConfig.isUseMultiChannel()).thenReturn(false);
            ChannelManager manager = new ChannelManager(mockContext, mockSession);
    
            manager.initializeMultiChannel();
    
            assertFalse(manager.isUseMultiChannel());
        }
    
        @Test
        void testGetHealthyChannels() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

      }
    
      private void assertGood(String spec) throws ParseException {
        // Throws exception if not working correctly
        HostSpecifier unused = HostSpecifier.fromValid(spec);
        unused = HostSpecifier.from(spec);
        assertTrue(HostSpecifier.isValid(spec));
      }
    
      private void assertBad(String spec) {
        try {
          HostSpecifier.fromValid(spec);
          fail("Should have thrown IllegalArgumentException: " + spec);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

        }
    
        public void test_loginPaths() throws Exception {
            // Test login-related paths
            assertEquals("/login/index.jsp", FessHtmlPath.path_Login_IndexJsp.getRoutingPath());
            assertEquals("/login/newpassword.jsp", FessHtmlPath.path_Login_NewpasswordJsp.getRoutingPath());
        }
    
        public void test_configPaths() throws Exception {
            // Test configuration paths
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInternalInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x123456789ABCDEF0L;
    
            // Encode test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsTest.java

            @Override
            public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled || auth.domain == "?")
                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
                    return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top