[Httpunit-commit] CVS: httpunit/src/com/meterware/httpunit HTMLElement.java,1.1,1.2 HTMLElementBase.
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-06-17 11:16:19
|
Update of /cvsroot/httpunit/httpunit/src/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv15393/src/com/meterware/httpunit
Modified Files:
HTMLElement.java HTMLElementBase.java TableCell.java
WebRequestSource.java
Log Message:
Support className property
Index: HTMLElement.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/HTMLElement.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HTMLElement.java 26 Dec 2002 04:59:35 -0000 1.1
+++ HTMLElement.java 17 Jun 2003 11:16:15 -0000 1.2
@@ -37,6 +37,12 @@
/**
+ * Returns the class associated with this element.
+ **/
+ String getClassName();
+
+
+ /**
* Returns the name associated with this element.
**/
String getName();
Index: HTMLElementBase.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/HTMLElementBase.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HTMLElementBase.java 30 Dec 2002 21:46:54 -0000 1.2
+++ HTMLElementBase.java 17 Jun 2003 11:16:15 -0000 1.3
@@ -41,6 +41,11 @@
}
+ public String getClassName() {
+ return getAttribute( "class" );
+ }
+
+
public String getTitle() {
return getAttribute( "title" );
}
Index: TableCell.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/TableCell.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- TableCell.java 24 Mar 2003 03:22:09 -0000 1.12
+++ TableCell.java 17 Jun 2003 11:16:15 -0000 1.13
@@ -78,6 +78,11 @@
}
+ public String getClassName() {
+ return getAttribute( "class" );
+ }
+
+
/**
* Returns the name associated with this element.
**/
Index: WebRequestSource.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/src/com/meterware/httpunit/WebRequestSource.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- WebRequestSource.java 23 May 2003 03:24:50 -0000 1.30
+++ WebRequestSource.java 17 Jun 2003 11:16:15 -0000 1.31
@@ -41,6 +41,14 @@
/**
+ * Returns the class associated with this request source.
+ **/
+ public String getClassName() {
+ return getAttribute( "class" );
+ }
+
+
+ /**
* Returns the name associated with this request source.
**/
public String getName() {
|