Author: davenewton
Date: Mon Dec  1 17:56:24 2008
New Revision: 722328

URL: http://svn.apache.org/viewvc?rev=722328&view=rev
Log:
Includes test update; changing struts.properties requires non-intuitive test 
change :/

Modified:
    
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
    
struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/SettingsTest.java
    struts/struts2/trunk/core/src/test/resources/struts.properties

Modified: 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties?rev=722328&r1=722327&r2=722328&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
 (original)
+++ 
struts/struts2/trunk/core/src/main/resources/org/apache/struts2/default.properties
 Mon Dec  1 17:56:24 2008
@@ -24,7 +24,7 @@
 ###(can be overridden by a struts.properties file in the root of the classpath)
 ###
 
-### Specifies the Configuration used to configure Struts 
+### Specifies the Configuration used to configure Struts
 ### one could extend org.apache.struts2.config.Configuration
 ### to build one's customize way of getting the configurations parameters into 
Struts
 # struts.configuration=org.apache.struts2.config.DefaultConfiguration
@@ -35,7 +35,7 @@
 
 ### if specified, the default object factory can be overridden here
 ### Note: short-hand notation is supported in some cases, such as "spring"
-###       Alternatively, you can provide a 
com.opensymphony.xwork2.ObjectFactory subclass name here  
+###       Alternatively, you can provide a 
com.opensymphony.xwork2.ObjectFactory subclass name here
 # struts.objectFactory = spring
 
 ### specifies the autoWiring logic when using the SpringObjectFactory.
@@ -83,13 +83,13 @@
 struts.action.extension=action,,
 
 ### Used by FilterDispatcher
-### If true then Struts serves static content from inside its jar. 
+### If true then Struts serves static content from inside its jar.
 ### If false then the static content must be available at <context_path>/struts
 struts.serve.static=true
 
 ### Used by FilterDispatcher
 ### This is good for development where one wants changes to the static content 
be
-### fetch on each request. 
+### fetch on each request.
 ### NOTE: This will only have effect if struts.serve.static=true
 ### If true -> Struts will write out header for static contents such that they 
will
 ###             be cached by web browsers (using Date, Cache-Content, Pragma, 
Expires)
@@ -101,8 +101,8 @@
 
 ### Set this to false if you wish to disable implicit dynamic method invocation
 ### via the URL request. This includes URLs like foo!bar.action, as well as 
params
-### like method:bar (but not action:foo). 
-### An alternative to implicit dynamic method invocation is to use wildcard 
+### like method:bar (but not action:foo).
+### An alternative to implicit dynamic method invocation is to use wildcard
 ### mappings, such as <action name="*/*" method="{2}" class="actions.{1}">
 struts.enable.DynamicMethodInvocation = true
 
@@ -110,8 +110,8 @@
 ### Actions names cannot have slashes, and will be accessible via any directory
 ### prefix.  This is the traditional behavior expected of WebWork applications.
 ### Setting to true is useful when you want to use wildcards and store values
-### in the URL, to be extracted by wildcard patterns, such as 
-### <action name="*/*" method="{2}" class="actions.{1}"> to match "/foo/edit" 
or 
+### in the URL, to be extracted by wildcard patterns, such as
+### <action name="*/*" method="{2}" class="actions.{1}"> to match "/foo/edit" 
or
 ### "/foo/save".
 struts.enable.SlashesInActionNames = false
 
@@ -159,7 +159,7 @@
 struts.url.http.port = 80
 struts.url.https.port = 443
 ### possible values are: none, get or all
-struts.url.includeParams = get
+struts.url.includeParams = none
 
 ### Load custom default resource bundles
 # struts.custom.i18n.resources=testmessages,testmessages2

Modified: 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/SettingsTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/SettingsTest.java?rev=722328&r1=722327&r2=722328&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/SettingsTest.java
 (original)
+++ 
struts/struts2/trunk/core/src/test/java/org/apache/struts2/config/SettingsTest.java
 Mon Dec  1 17:56:24 2008
@@ -45,7 +45,7 @@
         assertEquals("othertestvalue", Settings.get("othertestkey"));
 
         int count = getKeyCount();
-        assertEquals(11, count);
+        assertEquals(12, count);
     }
 
     public void testDefaultResourceBundlesLoaded() {

Modified: struts/struts2/trunk/core/src/test/resources/struts.properties
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/test/resources/struts.properties?rev=722328&r1=722327&r2=722328&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/test/resources/struts.properties (original)
+++ struts/struts2/trunk/core/src/test/resources/struts.properties Mon Dec  1 
17:56:24 2008
@@ -18,6 +18,12 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+
+# NOTE: Changing the number of properties in this file requires
+# a modification to /org/apache/struts2/config/SettingsTest to
+# update the number of expected properties... which is different
+# than the number of properties in this file.
+
 struts.i18n.encoding=ISO-8859-1
 struts.locale=de_DE
 struts.multipart.saveDir=\temp
@@ -36,3 +42,6 @@
 
 ### XSLT Cache
 struts.xslt.nocache = true
+
+### URL tag includeParams default
+struts.url.includeParams=get


Reply via email to