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

hazendaz / httpunit / 636

05 Dec 2025 03:27AM UTC coverage: 80.509%. Remained the same
636

push

github

hazendaz
Cleanup more old since tags

you guessed it, at this point going to jautodoc the rest so the warnings on builds go away ;)

3213 of 4105 branches covered (78.27%)

Branch coverage included in aggregate %.

8249 of 10132 relevant lines covered (81.42%)

0.81 hits per line

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

66.67
/src/main/java/com/meterware/httpunit/dom/HTMLTableElementImpl.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.DOMException;
23
import org.w3c.dom.html.HTMLCollection;
24
import org.w3c.dom.html.HTMLElement;
25
import org.w3c.dom.html.HTMLTableCaptionElement;
26
import org.w3c.dom.html.HTMLTableElement;
27
import org.w3c.dom.html.HTMLTableSectionElement;
28

29
public class HTMLTableElementImpl extends HTMLElementImpl implements HTMLTableElement {
1✔
30

31
    private static final long serialVersionUID = 1L;
32

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

38
    @Override
39
    public String getAlign() {
40
        return getAttributeWithDefault("align", "center");
1✔
41
    }
42

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

48
    @Override
49
    public String getBgColor() {
50
        return getAttributeWithNoDefault("bgColor");
1✔
51
    }
52

53
    @Override
54
    public void setBgColor(String bgColor) {
55
        setAttribute("bgColor", bgColor);
1✔
56
    }
1✔
57

58
    @Override
59
    public String getBorder() {
60
        return getAttributeWithNoDefault("border");
1✔
61
    }
62

63
    @Override
64
    public void setBorder(String border) {
65
        setAttribute("border", border);
1✔
66
    }
1✔
67

68
    @Override
69
    public String getCellPadding() {
70
        return getAttributeWithNoDefault("cellpadding");
1✔
71
    }
72

73
    @Override
74
    public void setCellPadding(String cellPadding) {
75
        setAttribute("cellpadding", cellPadding);
1✔
76
    }
1✔
77

78
    @Override
79
    public String getCellSpacing() {
80
        return getAttributeWithNoDefault("cellspacing");
1✔
81
    }
82

83
    @Override
84
    public void setCellSpacing(String cellSpacing) {
85
        setAttribute("cellspacing", cellSpacing);
1✔
86
    }
1✔
87

88
    @Override
89
    public String getFrame() {
90
        return getAttributeWithDefault("frame", "void");
1✔
91
    }
92

93
    @Override
94
    public void setFrame(String frame) {
95
        setAttribute("frame", frame);
1✔
96
    }
1✔
97

98
    @Override
99
    public String getRules() {
100
        return getAttributeWithDefault("rules", "none");
1✔
101
    }
102

103
    @Override
104
    public void setRules(String rules) {
105
        setAttribute("rules", rules);
1✔
106
    }
1✔
107

108
    @Override
109
    public String getSummary() {
110
        return getAttributeWithNoDefault("summary");
1✔
111
    }
112

113
    @Override
114
    public void setSummary(String summary) {
115
        setAttribute("summary", summary);
1✔
116
    }
1✔
117

118
    @Override
119
    public String getWidth() {
120
        return getAttributeWithNoDefault("width");
1✔
121
    }
122

123
    @Override
124
    public void setWidth(String width) {
125
        setAttribute("width", width);
1✔
126
    }
1✔
127

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

133
    @Override
134
    public HTMLElement createTFoot() {
135
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
136
    }
137

138
    @Override
139
    public HTMLElement createTHead() {
140
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
141
    }
142

143
    @Override
144
    public void deleteCaption() {
145
        // To change body of implemented methods use File | Settings | File Templates.
146
    }
×
147

148
    @Override
149
    public void deleteRow(int index) throws DOMException {
150
        // To change body of implemented methods use File | Settings | File Templates.
151
    }
×
152

153
    @Override
154
    public void deleteTFoot() {
155
        // To change body of implemented methods use File | Settings | File Templates.
156
    }
×
157

158
    @Override
159
    public void deleteTHead() {
160
        // To change body of implemented methods use File | Settings | File Templates.
161
    }
×
162

163
    @Override
164
    public HTMLTableCaptionElement getCaption() {
165
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
166
    }
167

168
    @Override
169
    public HTMLCollection getRows() {
170
        return HTMLCollectionImpl.createHTMLCollectionImpl(getElementsByTagName("tr"));
1✔
171
    }
172

173
    @Override
174
    public HTMLCollection getTBodies() {
175
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
176
    }
177

178
    @Override
179
    public HTMLTableSectionElement getTFoot() {
180
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
181
    }
182

183
    @Override
184
    public HTMLTableSectionElement getTHead() {
185
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
186
    }
187

188
    @Override
189
    public HTMLElement insertRow(int index) throws DOMException {
190
        return null; // To change body of implemented methods use File | Settings | File Templates.
×
191
    }
192

193
    @Override
194
    public void setCaption(HTMLTableCaptionElement caption) {
195
        // To change body of implemented methods use File | Settings | File Templates.
196
    }
×
197

198
    @Override
199
    public void setTFoot(HTMLTableSectionElement tFoot) {
200
        // To change body of implemented methods use File | Settings | File Templates.
201
    }
×
202

203
    @Override
204
    public void setTHead(HTMLTableSectionElement tHead) {
205
        // To change body of implemented methods use File | Settings | File Templates.
206
    }
×
207
}
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