• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / httpunit / 755

14 Feb 2026 07:14PM UTC coverage: 80.526%. Remained the same
755

push

github

hazendaz
[ci] Fix badge

3213 of 4105 branches covered (78.27%)

Branch coverage included in aggregate %.

8245 of 10124 relevant lines covered (81.44%)

0.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/main/java/com/meterware/httpunit/dom/HTMLParagraphElementImpl.java
1
/*
2
 * SPDX-License-Identifier: MIT
3
 * See LICENSE file for details.
4
 *
5
 * Copyright 2000-2026 Russell Gold
6
 * Copyright 2021-2000 hazendaz
7
 */
8
package com.meterware.httpunit.dom;
9

10
import org.w3c.dom.html.HTMLCollection;
11
import org.w3c.dom.html.HTMLParagraphElement;
12

13
/**
14
 * The Class HTMLParagraphElementImpl.
15
 */
16
public class HTMLParagraphElementImpl extends HTMLElementImpl implements HTMLParagraphElement, HTMLContainerElement {
1✔
17

18
    /** The Constant serialVersionUID. */
19
    private static final long serialVersionUID = 1L;
20

21
    @Override
22
    ElementImpl create() {
23
        return new HTMLParagraphElementImpl();
1✔
24
    }
25

26
    // ------------------------------------------ HTMLContainerElement methods
27
    // ----------------------------------------------
28

29
    @Override
30
    public HTMLCollection getLinks() {
31
        return getHtmlDocument().getContainerDelegate().getLinks(this);
1✔
32
    }
33

34
    @Override
35
    public HTMLCollection getImages() {
36
        return getHtmlDocument().getContainerDelegate().getImages(this);
×
37
    }
38

39
    @Override
40
    public HTMLCollection getApplets() {
41
        return getHtmlDocument().getContainerDelegate().getApplets(this);
×
42
    }
43

44
    @Override
45
    public HTMLCollection getForms() {
46
        return getHtmlDocument().getContainerDelegate().getForms(this);
×
47
    }
48

49
    @Override
50
    public HTMLCollection getAnchors() {
51
        return getHtmlDocument().getContainerDelegate().getAnchors(this);
×
52
    }
53

54
    // ----------------------------------------- HTMLParagraphElement methods
55
    // -----------------------------------------------
56

57
    /**
58
     * Gets the align.
59
     *
60
     * @return the align
61
     */
62
    @Override
63
    public String getAlign() {
64
        return getAttributeWithNoDefault("align");
1✔
65
    }
66

67
    /**
68
     * Sets the align.
69
     *
70
     * @param align
71
     *            the new align
72
     */
73
    @Override
74
    public void setAlign(String align) {
75
        setAttribute("align", align);
1✔
76
    }
1✔
77

78
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc