jmitchell 2003/02/04 21:55:35
Modified: src/test/org/apache/struts/taglib/logic TestPresentTag.java
Log:
Oops....Parameter.......Property.......hey, at least they start with the same letter.
Revision Changes Path
1.10 +8 -8
jakarta-struts/src/test/org/apache/struts/taglib/logic/TestPresentTag.java
Index: TestPresentTag.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/test/org/apache/struts/taglib/logic/TestPresentTag.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- TestPresentTag.java 5 Feb 2003 05:41:29 -0000 1.9
+++ TestPresentTag.java 5 Feb 2003 05:55:35 -0000 1.10
@@ -227,10 +227,10 @@
* Verify that there is a LabelValueBean in application scope
* and test to see if it has a getValue() using the <code>PresentTag</code>.
*/
- public void testApplicationScopeParameterPresent()
+ public void testApplicationScopePropertyPresent()
throws ServletException, JspException {
PresentTag pt = new PresentTag();
- String testKey = "testApplicationScopeParameterPresent";
+ String testKey = "testApplicationScopePropertyPresent";
String testStringValue = "The Value";
LabelValueBean lvb = new LabelValueBean("The Key", testStringValue);
@@ -243,17 +243,17 @@
pt.setName(testKey);
pt.setScope("application");
- pt.setParameter("value");
- assertEquals("Parameter Value present (not null)", true,
pt.condition(true));
+ pt.setProperty("value");
+ assertEquals("Property Value present (not null)", true,
pt.condition(true));
}
/**
* Verify that there is an application scope object is not in scope using the
<code>PresentTag</code>.
*/
- public void testApplicationScopeParameterNotPresent()
+ public void testApplicationScopePropertyNotPresent()
throws ServletException, JspException {
PresentTag pt = new PresentTag();
- String testKey = "testApplicationScopeParameterNotPresent";
+ String testKey = "testApplicationScopePropertyNotPresent";
String testStringValue = null; //"The Value";
LabelValueBean lvb = new LabelValueBean("The Key", testStringValue);
@@ -266,8 +266,8 @@
pt.setName(testKey);
pt.setScope("application");
- pt.setParameter("value");
- assertEquals("Parameter Value not present (null)", true,
pt.condition(true));
+ pt.setProperty("value");
+ assertEquals("Property Value not present (null)", true,
pt.condition(true));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]