Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 3,202 for throwIt (0.05 sec)

  1. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

        /**
         * @deprecated instead use {@link #getNumberOfExecutions(ProjectBuildList)}
         */
        @Deprecated
        public int getNumberOfExceutions(ProjectBuildList projectBuildList)
                throws InvalidPluginDescriptorException, PluginVersionResolutionException, PluginDescriptorParsingException,
                        NoPluginFoundForPrefixException, MojoNotFoundException, PluginNotFoundException,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/CryptoTest.java

            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

        /**
         * Test the extractProjectId method to ensure it properly falls back to rawModel or fileModel
         * when effectiveModel is null, addressing issue #11292.
         */
        @Test
        void testExtractProjectIdFallback() throws Exception {
            // Use reflection to access the private extractProjectId method
            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/AllocInfoTest.java

            @Override
            public byte getFileSystemInformationClass() {
                return fileSystemInformationClass;
            }
    
            @Override
            public int decode(byte[] buffer, int bufferIndex, int len) throws jcifs.internal.SMBProtocolDecodingException {
                // Simple test implementation - not used in these tests
                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

    import java.net.URLStreamHandler;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     */
    public class ZipFileUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() {
                @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        MetadataGraphVertex v2;
        MetadataGraphVertex v3;
        MetadataGraphVertex v4;
    
        // ------------------------------------------------------------------------------------------
        @BeforeEach
        void setUp() throws Exception {
            graph = new MetadataGraph(4, 3);
            /*
             *       v2
             *   v1<
             *       v3-v4
             *
             */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

        }
    
        String toXml(Model model) throws IOException, XMLStreamException {
            StringWriter sw = new StringWriter();
            MavenStaxWriter writer = new MavenStaxWriter();
            writer.setAddLocationInformation(false);
            writer.write(sw, model);
            return sw.toString();
        }
    
        Model fromXml(String xml) throws XMLStreamException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java

         * @param outgoing the buffer containing data to be wrapped
         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
         * Unwraps incoming DCERPC message data after security processing
         * @param incoming the buffer containing data to be unwrapped
         * @throws DcerpcException if the unwrapping operation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
    
            // When
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top