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

hazendaz / httpunit / 241

03 Jan 2025 10:41PM UTC coverage: 80.53%. Remained the same
241

push

github

hazendaz
Add comment back for getContentDocument

This was in original code then removed.  Something with change on jdk seems to require it at java 11.  the jakarta branch doesn't care either way.  There is some overlap there with java but it compiles now so keep in both cases.

3232 of 4121 branches covered (78.43%)

Branch coverage included in aggregate %.

0 of 1 new or added line in 1 file covered. (0.0%)

8287 of 10183 relevant lines covered (81.38%)

0.81 hits per line

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

32.0
/src/main/java/com/meterware/httpunit/dom/HTMLIFrameElementImpl.java
1
/*
2
 * MIT License
3
 *
4
 * Copyright 2011-2025 Russell Gold
5
 *
6
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
7
 * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
8
 * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
9
 * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10
 *
11
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions
12
 * of the Software.
13
 *
14
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
15
 * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
17
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18
 * DEALINGS IN THE SOFTWARE.
19
 */
20
package com.meterware.httpunit.dom;
21

22
import org.w3c.dom.Document;
23
import org.w3c.dom.html.HTMLIFrameElement;
24

25
/**
26
 * @author <a href="mailto:russgold@httpunit.org">Russell Gold</a>
27
 */
28
public class HTMLIFrameElementImpl extends HTMLElementImpl implements HTMLIFrameElement {
1✔
29

30
    private static final long serialVersionUID = 1L;
31

32
    @Override
33
    ElementImpl create() {
34
        return new HTMLIFrameElementImpl();
1✔
35
    }
36

37
    @Override
38
    public String getAlign() {
39
        return getAttributeWithNoDefault("align");
1✔
40
    }
41

42
    @Override
43
    public void setAlign(String align) {
44
        setAttribute("align", align);
1✔
45
    }
1✔
46

47
    @Override
48
    public String getFrameBorder() {
49
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
50
    }
51

52
    @Override
53
    public void setFrameBorder(String frameBorder) {
54
        // To change body of implemented methods use File | Settings | File Templates.
55
    }
×
56

57
    @Override
58
    public String getHeight() {
59
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
60
    }
61

62
    @Override
63
    public void setHeight(String height) {
64
        // To change body of implemented methods use File | Settings | File Templates.
65
    }
×
66

67
    @Override
68
    public String getLongDesc() {
69
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
70
    }
71

72
    @Override
73
    public void setLongDesc(String longDesc) {
74
        // To change body of implemented methods use File | Settings | File Templates.
75
    }
×
76

77
    @Override
78
    public String getMarginHeight() {
79
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
80
    }
81

82
    @Override
83
    public void setMarginHeight(String marginHeight) {
84
        // To change body of implemented methods use File | Settings | File Templates.
85
    }
×
86

87
    @Override
88
    public String getMarginWidth() {
89
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
90
    }
91

92
    @Override
93
    public void setMarginWidth(String marginWidth) {
94
        // To change body of implemented methods use File | Settings | File Templates.
95
    }
×
96

97
    @Override
98
    public String getName() {
99
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
100
    }
101

102
    @Override
103
    public void setName(String name) {
104
        // To change body of implemented methods use File | Settings | File Templates.
105
    }
×
106

107
    @Override
108
    public String getScrolling() {
109
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
110
    }
111

112
    @Override
113
    public void setScrolling(String scrolling) {
114
        // To change body of implemented methods use File | Settings | File Templates.
115
    }
×
116

117
    @Override
118
    public String getSrc() {
119
        return getAttributeWithNoDefault("src");
1✔
120
    }
121

122
    @Override
123
    public void setSrc(String src) {
124
        setAttribute("src", src);
1✔
125
    }
1✔
126

127
    @Override
128
    public String getWidth() {
129
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
130
    }
131

132
    @Override
133
    public void setWidth(String width) {
134
        // To change body of implemented methods use File | Settings | File Templates.
135
    }
×
136

137
    @Override
138
    public Document getContentDocument() {
NEW
139
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
140
    }
141
}
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