Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 137 for getTerm (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

            }
    
            MetadataGraphNode node = new MetadataGraphNode(md);
            addNode(node);
            return node;
        }
    
        /**
         * getter
         */
        public MetadataGraphNode getEntry() {
            return entry;
        }
    
        /**
         * getter
         */
        public Collection<MetadataGraphNode> getNodes() {
            return nodes;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplTest.java

            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("getters and basic state (happy path)")
        void testGettersAndState() {
            SmbSessionImpl session = newSession();
    
            // Basic getters
            assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext");
            assertEquals("EXAMPLE", session.getTargetDomain());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            if ((caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION) != 0)
                capCount++;
    
            assertEquals(expectedCapabilityCount, capCount);
        }
    
        @Test
        @DisplayName("Should handle all getters correctly")
        void testAllGetters() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

                throw new RuntimeException("Failed to access protected fields via reflection", e);
            }
    
            // Since SamrOpenAlias's constructor parameters are not directly exposed via getters in MsrpcSamrOpenAlias,
            // we cannot directly verify them here without reflection or extending SamrOpenAlias for testing.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            assertEquals(12, qos.length);
            assertEquals(2, qos.impersonation_level);
            assertEquals(1, qos.context_mode);
            assertEquals(0, qos.effective_only);
    
            // Assert ptype and flags using getters
            assertEquals(0, msrpcLsarOpenPolicy2.getPtype());
            assertEquals(MsrpcLsarOpenPolicy2.DCERPC_FIRST_FRAG | MsrpcLsarOpenPolicy2.DCERPC_LAST_FRAG, msrpcLsarOpenPolicy2.getFlags());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // Then
            assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null.");
            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

     * This class provides methods to handle authentication details such as
     * authentication scope, credentials, and authentication scheme.
     *
     * <p>
     * It includes constructors to initialize these details and getter and setter
     * methods to access and modify them.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     * <pre>
     * {@code
     * AuthScope authScope = new AuthScope("example.com", 80);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/NegTokenTargTest.java

            // Act – serialise and parse back
            byte[] bytes = original.toByteArray();
            NegTokenTarg roundTrip = new NegTokenTarg(bytes);
    
            // Assert – all getters match the original values
            assertEquals(NegTokenTarg.ACCEPT_COMPLETED, roundTrip.getResult(), "result should roundtrip");
            assertEquals(mech, roundTrip.getMechanism(), "mechanism should roundtrip");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
        // Getters and setters
    
        /**
         * Get the minimum SMB Direct protocol version
         *
         * @return minimum protocol version
         */
        public int getMinVersion() {
            return minVersion;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            // Test direct field access through inheritance
            TestDictionaryItem item = new TestDictionaryItem();
    
            // Direct field assignment
            item.id = 999L;
    
            // Verify through getter
            assertEquals(999L, item.getId());
    
            // Verify direct field access
            assertEquals(999L, item.id);
        }
    
        public void test_sequentialIdAssignment() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top