Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 576 for originalId (0.05 sec)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                String originalMessage = "Original error";
                TransportException original = new TransportException(originalMessage);
    
                // Wrap in another exception
                TransportException wrapper = new TransportException("Wrapper", original);
    
                assertEquals("Wrapper", wrapper.getMessage());
                assertEquals(original, wrapper.getRootCause());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        }
    
        public void test_toLineString() {
            // Test toLineString method
            StopwordsItem item = new StopwordsItem(1, "original");
            assertEquals("original", item.toLineString());
    
            // When updated, should return newInput
            item.setNewInput("updated");
            assertEquals("updated", item.toLineString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/testing-dependencies.md

    Você não quer que a dependência original execute (e nenhuma das subdependências que você possa ter).
    
    Em vez disso, você deseja fornecer uma dependência diferente que será usada somente durante os testes (possivelmente apenas para alguns testes específicos) e fornecerá um valor que pode ser usado onde o valor da dependência original foi usado.
    
    ### Casos de uso: serviço externo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

        }
    
        @Test
        void testEncodeDecode() {
            NetworkInterfaceInfo original = new NetworkInterfaceInfo(testAddress, 1000);
            original.setInterfaceIndex(1);
            original.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS);
    
            byte[] encoded = original.encode();
            assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testEqualsMultimapWithNullKey() {
        Multimap<K, V> original = multimap();
        initMultimapWithNullKey();
        Multimap<K, V> withNull = multimap();
        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
                withNull, getSubjectGenerator().create((Object[]) createArrayWithNullKey()))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

         *
         * @param original the original exception
         * @param attemptNumber the current attempt number
         * @return new exception with updated attempt information
         */
        public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) {
            SmbOperationException retry = new SmbOperationException(original.errorCode, original.originalMessage, original.getCause(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            String fileName = "roundtrip_test.txt";
            boolean replaceIfExists = true;
    
            FileRenameInformation2 original = new FileRenameInformation2(fileName, replaceIfExists);
    
            // Encode
            byte[] buffer = new byte[200];
            int bytesWritten = original.encode(buffer, 0);
    
            // Decode
            FileRenameInformation2 decoded = new FileRenameInformation2();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Returns the original project being built when the input project is a forked project.
         * During certain lifecycle phases, particularly for aggregator mojos, Maven may create
         * a forked project (a copy of the original project) to execute a subset of the lifecycle.
         * This method allows retrieving the original project that initiated the build.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

        }
    
        // Test getServletPath method with SAStruts.method in query string
        public void test_getServletPath_withSAStrutsMethodAtBeginning_returnsSuperPath() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
            mockRequest.setServletPath(originalPath);
            mockRequest.setQueryString("SAStruts.method=execute&query=test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

    public class NdrHyperTest {
    
        /**
         * Tests a simple round‑trip encode → decode retains the original value.
         */
        @Test
        @DisplayName("Basic round‑trip for a fixed value")
        public void testEncodeRoundTrip() throws NdrException {
            final long original = 0x1122334455667788L;
            NdrHyper hyper = new NdrHyper(original);
            // Create buffer with extra space for alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top