Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1511 - 1520 of 3,282 for throwIt (0.17 seconds)

  1. src/test/java/jcifs/smb1/smb1/InfoTest.java

        @BeforeEach
        void setUp() {
            transactionMock = mock(SmbComTransactionResponse.class);
        }
    
        @Test
        void testSmbComQueryInformationResponseGetters() throws Exception {
            // The constructor is package‑private; use an anonymous subclass
            SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) {
            };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class MavenProjectTest extends AbstractMavenProjectTestCase {
    
        @Test
        void testShouldInterpretChildPathAdjustmentBasedOnModulePaths() throws IOException {
            Model parentModel = new Model();
            parentModel.addModule("../child");
    
            MavenProject parentProject = new MavenProject(parentModel);
    
            Model childModel = new Model();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/SmbWatchHandle.java

         *
         * @return changes since the last invocation
         * @throws CIFSException if an error occurs retrieving file notifications
         */
        List<FileNotifyInformation> watch() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @return the authenticated NtlmPasswordAuthentication object
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)
                throws IOException, ServletException {
            return authenticate(req, resp, challenge);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        void connectLogon_withNull_isInvoked() throws Exception {
            // Act
            tree.connectLogon(null);
    
            // Assert - even null should be passed through to implementation
            verify(tree).connectLogon(null);
        }
    
        @Test
        @DisplayName("connectLogon propagates SmbException from implementation")
        void connectLogon_throws_propagates() throws Exception {
            // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

         *
         * @param projects The projects to create the dependency graph with
         * @throws DuplicateProjectException
         * @throws CycleDetectedException
         */
        public DefaultProjectDependencyGraph(Collection<MavenProject> projects)
                throws CycleDetectedException, DuplicateProjectException {
            this(projects, projects);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

        // separate.
        protected MavenSession createMavenSession(File pom) throws Exception {
            return createMavenSession(pom, new Properties());
        }
    
        protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception {
            return createMavenSession(pom, executionProperties, false);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/MultiInputStream.java

       *
       * @param it an iterator of I/O suppliers that will provide each substream
       */
      public MultiInputStream(Iterator<? extends ByteSource> it) throws IOException {
        this.it = checkNotNull(it);
        advance();
      }
    
      @Override
      public void close() throws IOException {
        if (in != null) {
          try {
            in.close();
          } finally {
            in = null;
          }
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top