Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for DOM (0.13 sec)

  1. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertEquals("user@DOM", nc.getName());
            // Password should be set
            assertEquals("pass", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: sets only provided callbacks (name-only)")
        void testHandleNameOnly() throws Exception {
            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "secret");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/xml/DomUtilTest.java

     */
    package org.codelibs.core.xml;
    
    import javax.xml.parsers.DocumentBuilder;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.io.ResourceUtil;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    /**
     * @author higa
     *
     */
    public class DomUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            void getUserDomain_fallbackToSuper() {
                Kerb5Authenticator auth = new Kerb5Authenticator(null, "DOM", "u", "p");
                // No explicit realm or subject -> returns super.getUserDomain()
                assertEquals("DOM", auth.getUserDomain());
            }
        }
    
        @Test
        @DisplayName("Protected setSubject: updates subject used by getters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

                }
    
                jtc.addProvideToken(key, matcher);
            }
    
            // populate the configuration section
            Xpp3Dom dom = (Xpp3Dom) model.getConfiguration();
            Xpp3Dom javahome = dom != null ? dom.getChild(JavaToolchainImpl.KEY_JAVAHOME) : null;
            if (javahome == null) {
                throw new MisconfiguredToolchainException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
            assertEquals("user1", s1.getAccountName());
            assertEquals("DOM", s2.getDomainName());
            assertEquals("user2", s2.getAccountName());
            assertEquals("DOM", s3.getDomainName());
            assertEquals("userX", s3.getAccountName());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    import org.w3c.dom.Attr;
    import org.w3c.dom.CDATASection;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.EntityReference;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    
    /**
     * Utility class for DOM operations.
     *
     * @author higa
     */
    public abstract class DomUtil {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/PrunedTag.java

        public PrunedTag(final String tag) {
            this.tag = tag;
        }
    
        /**
         * Checks if this pruned tag configuration matches the given DOM node.
         * The matching is based on tag name, and optionally ID, CSS class, or custom attributes.
         *
         * @param node the DOM node to check against this pruned tag configuration
         * @return true if the node matches this pruned tag configuration, false otherwise
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SIDTest.java

            @DisplayName("Relative constructor with RID appends last subauthority")
            void testRelativeConstructorWithRid() throws Exception {
                // Arrange
                SID dom = new SID("S-1-5-21-1-2-3");
    
                // Act
                SID sid = new SID(dom, 1029);
    
                // Assert
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                assertEquals(1029, sid.getRid());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(auth.isAnonymous()).thenReturn(true);
            when(auth.isGuest()).thenReturn(true);
            when(auth.getUsername()).thenReturn("guest");
            when(auth.getUserDomain()).thenReturn("dom");
    
            // Construct
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, auth);
            String accountName = (String) getField(obj, "accountName");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

    package org.codelibs.fess.util;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    
    public class PrunedTagTest extends UnitFessTestCase {
    
        public void test_hashCode() {
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.hashCode() >= 0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top