Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 3,202 for throwIt (0.03 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(FileSystemInformation.SMB_INFO_ALLOCATION, smbInfoAllocation.getFileSystemInformationClass());
        }
    
        @Test
        @DisplayName("Test decode with typical values")
        void testDecodeWithTypicalValues() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            int idFileSystem = 0x12345678;
            int sectPerAlloc = 8;
            long alloc = 1000000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacTest.java

            byte[] pacData = baos.toByteArray();
    
            // This currently throws ArrayIndexOutOfBoundsException
            // but should be wrapped in PACDecodingException
            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
            // Test PAC with zero buffers (missing required buffers)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException {
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(smb2);
            return new SmbPipeInputStream(handle, tree);
        }
    
        @Test
        @DisplayName("available() on SMB2 returns peeked byte count and interacts with tree")
        void available_smb2_happyPath() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
      public void testWriteErrorAfterClose() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

    /**
     * @author shinsuke
     *
     */
    public class BinaryTransformerTest extends PlainTestCase {
        public BinaryTransformer binaryTransformer;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            binaryTransformer = new BinaryTransformer();
            binaryTransformer.setName("binaryTransformer");
        }
    
        public void test_name() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

     */
    class MavenExecutionPlanTest {
    
        @Test
        void testFindLastInPhase() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem expected = plan.findLastInPhase("package");
            assertNotNull(expected);
        }
    
        @Test
        void testThreadSafeMojos() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

         * @return The version result, never {@code null}.
         * @throws VersionResolverException If the metaversion could not be resolved.
         */
        @Nonnull
        default VersionResolverResult resolve(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates)
                throws VersionResolverException {
            return resolve(VersionResolverRequest.build(session, artifactCoordinates));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CompoundProjectExecutionListener.java

        }
    
        @Override
        public void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException {
            for (ProjectExecutionListener listener : listeners) {
                listener.beforeProjectExecution(event);
            }
        }
    
        @Override
        public void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException {
            for (ProjectExecutionListener listener : listeners) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Test RDMA configuration properties
     */
    public class RdmaConfigurationTest {
    
        @Test
        public void testDefaultRdmaConfiguration() throws CIFSException {
            Properties props = new Properties();
            PropertyConfiguration config = new PropertyConfiguration(props);
    
            // Test default values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/PluginDependenciesResolver.java

         * @return The resolved plugin artifact, never {@code null}.
         * @throws PluginResolutionException If the plugin artifact could not be resolved.
         */
        Artifact resolve(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
                throws PluginResolutionException;
    
        /**
         * Resolves the runtime dependencies of the specified plugin.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top