Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 297 for getType (0.04 sec)

  1. api/maven-api-model/src/main/mdo/maven.mdo

        /**
         * @see java.lang.Object#toString()
         */
        public String toString() {
            return "Dependency {groupId=" + getGroupId() + ", artifactId=" + getArtifactId() + ", version=" + getVersion() + ", type=" + getType() + "}";
        }
                ]]>
              </code>
            </codeSegment>
            <codeSegment>
              <version>4.0.0+</version>
              <code>
                <![CDATA[
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

             */
            protected void buildHighlighter(final QueryHelper queryHelper, final QueryFieldConfig queryFieldConfig,
                    final FessConfig fessConfig) {
                final String highlighterType = highlightInfo.getType();
                final int fragmentSize = highlightInfo.getFragmentSize();
                final int numOfFragments = highlightInfo.getNumOfFragments();
                final int fragmentOffset = highlightInfo.getFragmentOffset();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper.getPipe(url, pipeType));
        }
    
        @Test
        void testGetPipe_MalformedURLException() {
            // Test getPipe(String url, int pipeType) with a malformed URL
            String malformedUrl = "invalid-pipe-url";
            int pipeType = 1;
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.getPipe(malformedUrl, pipeType);
            });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

            pluginDescriptor.setArtifactId("artifactId");
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
    
            Parameter parameter = new Parameter();
            parameter.setType("java.lang.String[]");
            parameter.setName("toAddresses");
    
            parameter.setRequired(true);
    
            PluginParameterException exception =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert
            assertNotNull(lookupSids);
            assertEquals(0, lookupSids.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, lookupSids.getFlags());
        }
    
        @Test
        void constructor_shouldHandleSingleSid() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

                assertNotNull(resource, "Should create resource for URL: " + url);
            }
        }
    
        @Test
        @DisplayName("getPipe method should create SmbPipeResource")
        void testGetPipeResource() throws CIFSException {
            // When
            SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", 0);
    
            // Then
            assertNotNull(pipe, "Should create pipe resource");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        @Mock
        SmbFileHandleImpl fileHandle;
    
        private SmbPipeOutputStream newStream() throws CIFSException {
            // Arrange common constructor collaborators to avoid touching network/state
            when(handle.getPipe()).thenReturn(pipe);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getSendBufferSize()).thenReturn(4096);
            // Act
            return new SmbPipeOutputStream(handle, tree);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Act
            queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Assert
            assertNotNull(queryPolicy);
            assertEquals(0, queryPolicy.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, queryPolicy.getFlags());
        }
    
        @Test
        void constructor_shouldSetHandleCorrectly() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CIFSContextTest.java

            int pipeType = 1;
            SmbPipeResource mockPipe = mock(SmbPipeResource.class);
            when(mockContext.getPipe(url, pipeType)).thenReturn(mockPipe);
    
            // When
            SmbPipeResource pipe = mockContext.getPipe(url, pipeType);
    
            // Then
            assertEquals(mockPipe, pipe);
            verify(mockContext).getPipe(url, pipeType);
        }
    
        @Test
        @DisplayName("Should close context")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbPipeHandleTest.java

         */
        @Test
        public void testGetPipe() {
            assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource.");
        }
    
        /**
         * Tests that the getter for the input stream returns the correct stream.
         * @throws CIFSException if an error occurs while getting the stream.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top