You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/08/01 19:44:01 UTC
svn commit: r427657 [5/42] - in /myfaces:
core/trunk/api/src/main/java/javax/faces/component/
core/trunk/api/src/test/java/javax/faces/
core/trunk/api/src/test/java/javax/faces/application/
core/trunk/api/src/test/java/javax/faces/component/ core/trunk...
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsAES_CBCTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsBlowfish_ECBTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsBlowfish_ECBTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsBlowfish_ECBTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsBlowfish_ECBTest.java Tue Aug 1 10:43:28 2006
@@ -1,49 +1,49 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class CachedStateUtilsBlowfish_ECBTest extends AbstractStateUtilsTest
-{
-
- public CachedStateUtilsBlowfish_ECBTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "Blowfish");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
- StateUtils.initSecret(servletContext);
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class CachedStateUtilsBlowfish_ECBTest extends AbstractStateUtilsTest
+{
+
+ public CachedStateUtilsBlowfish_ECBTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "Blowfish");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
+ StateUtils.initSecret(servletContext);
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsBlowfish_ECBTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsDefaultTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsDefaultTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsDefaultTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsDefaultTest.java Tue Aug 1 10:43:28 2006
@@ -1,49 +1,49 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class CachedStateUtilsDefaultTest extends AbstractStateUtilsTest
-{
-
- public CachedStateUtilsDefaultTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_8);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, StateUtils.DEFAULT_ALGORITHM);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, StateUtils.DEFAULT_ALGORITHM_PARAMS);
- StateUtils.initSecret(servletContext);
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class CachedStateUtilsDefaultTest extends AbstractStateUtilsTest
+{
+
+ public CachedStateUtilsDefaultTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_8);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, StateUtils.DEFAULT_ALGORITHM);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, StateUtils.DEFAULT_ALGORITHM_PARAMS);
+ StateUtils.initSecret(servletContext);
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsDefaultTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsTripleDES_ECBTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsTripleDES_ECBTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsTripleDES_ECBTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsTripleDES_ECBTest.java Tue Aug 1 10:43:28 2006
@@ -1,48 +1,48 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class CachedStateUtilsTripleDES_ECBTest extends AbstractStateUtilsTest
-{
-
- public CachedStateUtilsTripleDES_ECBTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "DESede");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
- StateUtils.initSecret(servletContext);
-
- }
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class CachedStateUtilsTripleDES_ECBTest extends AbstractStateUtilsTest
+{
+
+ public CachedStateUtilsTripleDES_ECBTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "DESede");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
+ StateUtils.initSecret(servletContext);
+
+ }
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/CachedStateUtilsTripleDES_ECBTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/InitVector_CBCTestCase.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/InitVector_CBCTestCase.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/InitVector_CBCTestCase.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/InitVector_CBCTestCase.java Tue Aug 1 10:43:28 2006
@@ -1,99 +1,99 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import javax.faces.FacesException;
-
-import junit.framework.Test;
-
-import org.apache.shale.test.base.AbstractJsfTestCase;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class InitVector_CBCTestCase extends AbstractJsfTestCase {
-
- public InitVector_CBCTestCase(String name) {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp(){
-
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, "shouldn't matter");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "shouldn't matter either");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- // DO NOT UNCOMMENT THIS ! we are simulating a bad conf
- //servletContext.addInitParameter(org.apache.myfaces.shared.util.StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);
-
- }
-
- public void testDecryption() {
-
- byte[] sensitiveBytes = "bound to fail".getBytes();
-
- boolean exeptionThrown = false;
-
- try{
-
- byte[] secure = StateUtils.decrypt(sensitiveBytes, externalContext);
-
- }catch(FacesException fe){
-
- exeptionThrown = true;
-
- }
-
- assertTrue("MyFaces should throw a meaningful " +
- "exception when users opt for CBC mode " +
- "encryption w/out an initialization vector.",
- exeptionThrown);
-
- }
-
- public void testEncryption() {
-
- byte[] sensitiveBytes = "bound to fail".getBytes();
-
- boolean exeptionThrown = false;
-
- try{
-
- byte[] secure = StateUtils.encrypt(sensitiveBytes, externalContext);
-
- }catch(FacesException fe){
-
- exeptionThrown = true;
-
- }
-
- assertTrue("MyFaces should throw a meaningful " +
- "exception when users opt for CBC mode " +
- "encryption w/out an initialization vector.",
- exeptionThrown);
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import javax.faces.FacesException;
+
+import junit.framework.Test;
+
+import org.apache.shale.test.base.AbstractJsfTestCase;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class InitVector_CBCTestCase extends AbstractJsfTestCase {
+
+ public InitVector_CBCTestCase(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp(){
+
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, "shouldn't matter");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "shouldn't matter either");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ // DO NOT UNCOMMENT THIS ! we are simulating a bad conf
+ //servletContext.addInitParameter(org.apache.myfaces.shared.util.StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);
+
+ }
+
+ public void testDecryption() {
+
+ byte[] sensitiveBytes = "bound to fail".getBytes();
+
+ boolean exeptionThrown = false;
+
+ try{
+
+ byte[] secure = StateUtils.decrypt(sensitiveBytes, externalContext);
+
+ }catch(FacesException fe){
+
+ exeptionThrown = true;
+
+ }
+
+ assertTrue("MyFaces should throw a meaningful " +
+ "exception when users opt for CBC mode " +
+ "encryption w/out an initialization vector.",
+ exeptionThrown);
+
+ }
+
+ public void testEncryption() {
+
+ byte[] sensitiveBytes = "bound to fail".getBytes();
+
+ boolean exeptionThrown = false;
+
+ try{
+
+ byte[] secure = StateUtils.encrypt(sensitiveBytes, externalContext);
+
+ }catch(FacesException fe){
+
+ exeptionThrown = true;
+
+ }
+
+ assertTrue("MyFaces should throw a meaningful " +
+ "exception when users opt for CBC mode " +
+ "encryption w/out an initialization vector.",
+ exeptionThrown);
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/InitVector_CBCTestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/MessageUtilsTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/MessageUtilsTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/MessageUtilsTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/MessageUtilsTest.java Tue Aug 1 10:43:28 2006
@@ -1,194 +1,194 @@
-/*
- * Copyright 2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.shared.util;
-
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import javax.faces.application.FacesMessage;
-
-import junit.framework.Test;
-import org.apache.myfaces.shared.util.MessageUtils;
-import org.apache.shale.test.base.AbstractJsfTestCase;
-
-/**
- * TestCase for MessageUtils
- *
- * @author Stephan Strittmatter
- */
-public class MessageUtilsTest extends AbstractJsfTestCase
-{
-
- private static final String DEFAULT_BUNDLE = "javax.faces.Messages";
-
- public MessageUtilsTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object)'
- */
- public void testGetMessageSeverityStringObject()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Conversion Error", msg.getSummary());
-
- facesContext.getViewRoot().setLocale(Locale.GERMAN);
-
- msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION",
- "blubb");
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object[])'
- */
- public void testGetMessageSeverityStringObjectArray()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Conversion Error", msg.getSummary());
-
- facesContext.getViewRoot().setLocale(Locale.GERMAN);
-
- msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object[], FacesContext)'
- */
- public void testGetMessageSeverityStringObjectArrayFacesContext()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION", null, facesContext);
- assertEquals("Conversion Error", msg.getSummary());
-
- facesContext.getViewRoot().setLocale(Locale.GERMAN);
-
- msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
- "javax.faces.component.UIInput.CONVERSION", null,
- facesContext);
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Locale, String, Object[])'
- */
- public void testGetMessageLocaleStringObjectArray()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = org.apache.myfaces.shared.util.MessageUtils.getMessage(Locale.ENGLISH,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Conversion Error", msg.getSummary());
-
- msg = MessageUtils.getMessage(Locale.GERMAN,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Konvertierungsfehler", msg.getSummary());
-
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(FacesContext, String)'
- */
- public void testGetMessageFacesContextString()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(facesContext,
- "javax.faces.component.UIInput.CONVERSION");
- assertEquals("Conversion Error", msg.getSummary());
-
- facesContext.getViewRoot().setLocale(Locale.GERMAN);
-
- msg = MessageUtils.getMessage(facesContext,
- "javax.faces.component.UIInput.CONVERSION");
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
- /**
- * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(FacesContext, String, Object[])'
- */
- public void testGetMessageFacesContextStringObjectArray()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(facesContext,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Conversion Error", msg.getSummary());
-
- facesContext.getViewRoot().setLocale(Locale.GERMAN);
-
- msg = MessageUtils.getMessage(facesContext,
- "javax.faces.component.UIInput.CONVERSION", null);
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
- /**
- * testGetMessageWithBundle
- */
- public void testGetMessageWithBundle()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- ResourceBundle bundle = ResourceBundle.getBundle(DEFAULT_BUNDLE,
- Locale.ENGLISH);
- FacesMessage msg = MessageUtils.getMessage(bundle,
- "javax.faces.component.UIInput.CONVERSION", null);
-
- assertEquals("Conversion Error", msg.getSummary());
- }
-
- /**
- * testGetMessageWithBundleName
- */
- public void testGetMessageWithBundleName()
- {
- facesContext.getViewRoot().setLocale(Locale.ENGLISH);
-
- FacesMessage msg = MessageUtils.getMessage(DEFAULT_BUNDLE,
- "javax.faces.component.UIInput.CONVERSION", null);
-
- assertEquals("Conversion Error", msg.getSummary());
- }
-
- /**
- * testGetMessageWithBundleNameLocale
- */
- public void testGetMessageWithBundleNameLocale()
- {
- FacesMessage msg = MessageUtils.getMessage(DEFAULT_BUNDLE,
- Locale.GERMAN, "javax.faces.component.UIInput.CONVERSION", null);
-
- assertEquals("Konvertierungsfehler", msg.getSummary());
- }
-
-}
+/*
+ * Copyright 2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.shared.util;
+
+import java.util.Locale;
+import java.util.ResourceBundle;
+
+import javax.faces.application.FacesMessage;
+
+import junit.framework.Test;
+import org.apache.myfaces.shared.util.MessageUtils;
+import org.apache.shale.test.base.AbstractJsfTestCase;
+
+/**
+ * TestCase for MessageUtils
+ *
+ * @author Stephan Strittmatter
+ */
+public class MessageUtilsTest extends AbstractJsfTestCase
+{
+
+ private static final String DEFAULT_BUNDLE = "javax.faces.Messages";
+
+ public MessageUtilsTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object)'
+ */
+ public void testGetMessageSeverityStringObject()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Conversion Error", msg.getSummary());
+
+ facesContext.getViewRoot().setLocale(Locale.GERMAN);
+
+ msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION",
+ "blubb");
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object[])'
+ */
+ public void testGetMessageSeverityStringObjectArray()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Conversion Error", msg.getSummary());
+
+ facesContext.getViewRoot().setLocale(Locale.GERMAN);
+
+ msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Severity, String, Object[], FacesContext)'
+ */
+ public void testGetMessageSeverityStringObjectArrayFacesContext()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION", null, facesContext);
+ assertEquals("Conversion Error", msg.getSummary());
+
+ facesContext.getViewRoot().setLocale(Locale.GERMAN);
+
+ msg = MessageUtils.getMessage(FacesMessage.SEVERITY_ERROR,
+ "javax.faces.component.UIInput.CONVERSION", null,
+ facesContext);
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(Locale, String, Object[])'
+ */
+ public void testGetMessageLocaleStringObjectArray()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = org.apache.myfaces.shared.util.MessageUtils.getMessage(Locale.ENGLISH,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Conversion Error", msg.getSummary());
+
+ msg = MessageUtils.getMessage(Locale.GERMAN,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(FacesContext, String)'
+ */
+ public void testGetMessageFacesContextString()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(facesContext,
+ "javax.faces.component.UIInput.CONVERSION");
+ assertEquals("Conversion Error", msg.getSummary());
+
+ facesContext.getViewRoot().setLocale(Locale.GERMAN);
+
+ msg = MessageUtils.getMessage(facesContext,
+ "javax.faces.component.UIInput.CONVERSION");
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+ /**
+ * Test method for 'org.apache.myfaces.shared.util.MessageUtils.getMessage(FacesContext, String, Object[])'
+ */
+ public void testGetMessageFacesContextStringObjectArray()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(facesContext,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Conversion Error", msg.getSummary());
+
+ facesContext.getViewRoot().setLocale(Locale.GERMAN);
+
+ msg = MessageUtils.getMessage(facesContext,
+ "javax.faces.component.UIInput.CONVERSION", null);
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+ /**
+ * testGetMessageWithBundle
+ */
+ public void testGetMessageWithBundle()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ ResourceBundle bundle = ResourceBundle.getBundle(DEFAULT_BUNDLE,
+ Locale.ENGLISH);
+ FacesMessage msg = MessageUtils.getMessage(bundle,
+ "javax.faces.component.UIInput.CONVERSION", null);
+
+ assertEquals("Conversion Error", msg.getSummary());
+ }
+
+ /**
+ * testGetMessageWithBundleName
+ */
+ public void testGetMessageWithBundleName()
+ {
+ facesContext.getViewRoot().setLocale(Locale.ENGLISH);
+
+ FacesMessage msg = MessageUtils.getMessage(DEFAULT_BUNDLE,
+ "javax.faces.component.UIInput.CONVERSION", null);
+
+ assertEquals("Conversion Error", msg.getSummary());
+ }
+
+ /**
+ * testGetMessageWithBundleNameLocale
+ */
+ public void testGetMessageWithBundleNameLocale()
+ {
+ FacesMessage msg = MessageUtils.getMessage(DEFAULT_BUNDLE,
+ Locale.GERMAN, "javax.faces.component.UIInput.CONVERSION", null);
+
+ assertEquals("Konvertierungsfehler", msg.getSummary());
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/MessageUtilsTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyCacheTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyCacheTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyCacheTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyCacheTest.java Tue Aug 1 10:43:28 2006
@@ -1,89 +1,89 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import javax.crypto.SecretKey;
-
-import junit.framework.Test;
-
-import org.apache.shale.test.base.AbstractJsfTestCase;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class SecretKeyCacheTest extends AbstractJsfTestCase
-{
-
- public SecretKeyCacheTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET,
- AbstractStateUtilsTest.BASE64_KEY_SIZE_8);
-
- }
-
- public void testDefaultAlgorithmUse(){
-
- StateUtils.initSecret(servletContext);
-
- SecretKey secretKey = (SecretKey) servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
-
- assertTrue("Making sure MyFaces uses the " +
- "default algorithm when one is not specified",
- StateUtils.DEFAULT_ALGORITHM.equals(secretKey.getAlgorithm()));
-
- }
-
- public void testInitFacesWithoutCache(){
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
-
- StateUtils.initSecret(servletContext);
-
- Object object = servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
-
- assertNull("Making sure StateUtils.initSecret does not create a SecretKey", object);
-
- }
-
- public void testInitFacesWithCache(){
-
- StateUtils.initSecret(servletContext);
-
- Object object = servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
-
- assertFalse("Making sure StateUtils.initSecret() puts an object in application scope",
- object == null);
-
- assertTrue("Making sure StateUtils.initSecret() is creating a SecretKey",
- object instanceof SecretKey);
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import javax.crypto.SecretKey;
+
+import junit.framework.Test;
+
+import org.apache.shale.test.base.AbstractJsfTestCase;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class SecretKeyCacheTest extends AbstractJsfTestCase
+{
+
+ public SecretKeyCacheTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET,
+ AbstractStateUtilsTest.BASE64_KEY_SIZE_8);
+
+ }
+
+ public void testDefaultAlgorithmUse(){
+
+ StateUtils.initSecret(servletContext);
+
+ SecretKey secretKey = (SecretKey) servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
+
+ assertTrue("Making sure MyFaces uses the " +
+ "default algorithm when one is not specified",
+ StateUtils.DEFAULT_ALGORITHM.equals(secretKey.getAlgorithm()));
+
+ }
+
+ public void testInitFacesWithoutCache(){
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+
+ StateUtils.initSecret(servletContext);
+
+ Object object = servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
+
+ assertNull("Making sure StateUtils.initSecret does not create a SecretKey", object);
+
+ }
+
+ public void testInitFacesWithCache(){
+
+ StateUtils.initSecret(servletContext);
+
+ Object object = servletContext.getAttribute(StateUtils.INIT_SECRET_KEY_CACHE);
+
+ assertFalse("Making sure StateUtils.initSecret() puts an object in application scope",
+ object == null);
+
+ assertTrue("Making sure StateUtils.initSecret() is creating a SecretKey",
+ object instanceof SecretKey);
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyCacheTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyConfigurationTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyConfigurationTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyConfigurationTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyConfigurationTest.java Tue Aug 1 10:43:28 2006
@@ -1,119 +1,119 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-
-import org.apache.shale.test.base.AbstractJsfTestCase;
-
-/**
- * @author Dennis C. Byrne
- */
-
-public class SecretKeyConfigurationTest extends AbstractJsfTestCase
-{
-
- public SecretKeyConfigurationTest(String name)
- {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
- // DO NOT UNCOMMENT THIS
- //servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- servletContext.addInitParameter(StateUtils.INIT_SECRET, "shouldn't matter");
-
- }
-
- public void testMissingSecretKeyEncrypt(){
-
- boolean npeThrown = false;
-
- try{
- StateUtils.encrypt("serialized objects".getBytes(), externalContext);
- }catch(NullPointerException e){
- npeThrown = true;
- }
-
- assertTrue("An exception should be thrown if there" +
- " is no SecretKey in application scope and cacheing is enabled ", npeThrown);
- }
-
- public void testNonSecretKeyEncrypt(){
-
- boolean cceThrown = false;
-
- servletContext.setAttribute(StateUtils.INIT_SECRET_KEY_CACHE, new Integer(8));
-
- try{
-
- StateUtils.encrypt("serialized objects".getBytes(), externalContext);
-
- }catch(ClassCastException cce){
-
- cceThrown = true;
-
- }
-
- assertTrue("An exception should be thrown if there" +
- " is no SecretKey in application scope and cacheing is enabled ", cceThrown);
-
- }
-
- public void testMissingSecretKeyDecrypt(){
-
- boolean npeThrown = false;
-
- try{
- StateUtils.decrypt("serialized objects".getBytes(), externalContext);
- }catch(NullPointerException e){
- npeThrown = true;
- }
-
- assertTrue("An exception should be thrown if there" +
- " is no SecretKey in application scope and cacheing is enabled ", npeThrown);
- }
-
- public void testNonSecretKeyDecrypt(){
-
- boolean cceThrown = false;
-
- servletContext.setAttribute(StateUtils.INIT_SECRET_KEY_CACHE, new Integer(8));
-
- try{
-
- StateUtils.decrypt("serialized objects".getBytes(), externalContext);
-
- }catch(ClassCastException cce){
-
- cceThrown = true;
-
- }
-
- assertTrue("An exception should be thrown if there" +
- " is no SecretKey in application scope and cacheing is enabled ", cceThrown);
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+
+import org.apache.shale.test.base.AbstractJsfTestCase;
+
+/**
+ * @author Dennis C. Byrne
+ */
+
+public class SecretKeyConfigurationTest extends AbstractJsfTestCase
+{
+
+ public SecretKeyConfigurationTest(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+ // DO NOT UNCOMMENT THIS
+ //servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, "shouldn't matter");
+
+ }
+
+ public void testMissingSecretKeyEncrypt(){
+
+ boolean npeThrown = false;
+
+ try{
+ StateUtils.encrypt("serialized objects".getBytes(), externalContext);
+ }catch(NullPointerException e){
+ npeThrown = true;
+ }
+
+ assertTrue("An exception should be thrown if there" +
+ " is no SecretKey in application scope and cacheing is enabled ", npeThrown);
+ }
+
+ public void testNonSecretKeyEncrypt(){
+
+ boolean cceThrown = false;
+
+ servletContext.setAttribute(StateUtils.INIT_SECRET_KEY_CACHE, new Integer(8));
+
+ try{
+
+ StateUtils.encrypt("serialized objects".getBytes(), externalContext);
+
+ }catch(ClassCastException cce){
+
+ cceThrown = true;
+
+ }
+
+ assertTrue("An exception should be thrown if there" +
+ " is no SecretKey in application scope and cacheing is enabled ", cceThrown);
+
+ }
+
+ public void testMissingSecretKeyDecrypt(){
+
+ boolean npeThrown = false;
+
+ try{
+ StateUtils.decrypt("serialized objects".getBytes(), externalContext);
+ }catch(NullPointerException e){
+ npeThrown = true;
+ }
+
+ assertTrue("An exception should be thrown if there" +
+ " is no SecretKey in application scope and cacheing is enabled ", npeThrown);
+ }
+
+ public void testNonSecretKeyDecrypt(){
+
+ boolean cceThrown = false;
+
+ servletContext.setAttribute(StateUtils.INIT_SECRET_KEY_CACHE, new Integer(8));
+
+ try{
+
+ StateUtils.decrypt("serialized objects".getBytes(), externalContext);
+
+ }catch(ClassCastException cce){
+
+ cceThrown = true;
+
+ }
+
+ assertTrue("An exception should be thrown if there" +
+ " is no SecretKey in application scope and cacheing is enabled ", cceThrown);
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/SecretKeyConfigurationTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java Tue Aug 1 10:43:28 2006
@@ -1,60 +1,60 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-import org.apache.myfaces.shared.util.StateUtils;
-import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
-
-/**
- * <p>This TestCase uses the Advanced Encryption Standard with
- * Cipher Block Chaining mode and PKCS5 padding.</p>
- * <p/>
- * <p/>
- * If you are getting a SecurityException complaining about keysize,
- * you most likely need to get the unlimited strength jurisdiction
- * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
- * </p>
- *
- * @see pom.xml <excludes>
- * @author Dennis C. Byrne
- */
-
-public class StateUtilsAES_CBCTest extends AbstractStateUtilsTest
-{
-
- public StateUtilsAES_CBCTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "AES");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- StateUtils.initSecret(servletContext);// should do nothing
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+import org.apache.myfaces.shared.util.StateUtils;
+import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
+
+/**
+ * <p>This TestCase uses the Advanced Encryption Standard with
+ * Cipher Block Chaining mode and PKCS5 padding.</p>
+ * <p/>
+ * <p/>
+ * If you are getting a SecurityException complaining about keysize,
+ * you most likely need to get the unlimited strength jurisdiction
+ * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
+ * </p>
+ *
+ * @see pom.xml <excludes>
+ * @author Dennis C. Byrne
+ */
+
+public class StateUtilsAES_CBCTest extends AbstractStateUtilsTest
+{
+
+ public StateUtilsAES_CBCTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "AES");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "CBC/PKCS5Padding");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_IV, BASE64_KEY_SIZE_16);
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ StateUtils.initSecret(servletContext);// should do nothing
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsAES_CBCTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsBlowfish_ECBTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsBlowfish_ECBTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsBlowfish_ECBTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsBlowfish_ECBTest.java Tue Aug 1 10:43:28 2006
@@ -1,58 +1,58 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-import org.apache.myfaces.shared.util.StateUtils;
-import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
-
-/**
- * This TestCase uses Blowfish in Electronic CodeBook mode
- * with PKCS5 padding.
- * <p/>
- * <p/>
- * If you are getting a SecurityException complaining about keysize,
- * you most likely need to get the unlimited strength jurisdiction
- * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
- * </p>
- *
- * @author Dennis C. Byrne
- */
-
-public class StateUtilsBlowfish_ECBTest extends AbstractStateUtilsTest
-{
-
- public StateUtilsBlowfish_ECBTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "Blowfish");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- StateUtils.initSecret(servletContext);// should do nothing
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+import org.apache.myfaces.shared.util.StateUtils;
+import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
+
+/**
+ * This TestCase uses Blowfish in Electronic CodeBook mode
+ * with PKCS5 padding.
+ * <p/>
+ * <p/>
+ * If you are getting a SecurityException complaining about keysize,
+ * you most likely need to get the unlimited strength jurisdiction
+ * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
+ * </p>
+ *
+ * @author Dennis C. Byrne
+ */
+
+public class StateUtilsBlowfish_ECBTest extends AbstractStateUtilsTest
+{
+
+ public StateUtilsBlowfish_ECBTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_16);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "Blowfish");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ StateUtils.initSecret(servletContext);// should do nothing
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsBlowfish_ECBTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsDefaultTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsDefaultTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsDefaultTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsDefaultTest.java Tue Aug 1 10:43:28 2006
@@ -1,51 +1,51 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-import org.apache.myfaces.shared.util.StateUtils;
-import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
-
-/**
- * This TestCase uses the the default algorithm/mode/padding of
- * StateUtils.
- *
- * @author Dennis C. Byrne
- */
-
-public class StateUtilsDefaultTest extends AbstractStateUtilsTest
-{
-
- public StateUtilsDefaultTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_8);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, StateUtils.DEFAULT_ALGORITHM);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, StateUtils.DEFAULT_ALGORITHM_PARAMS);
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- StateUtils.initSecret(servletContext);// should do nothing
-
- }
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+import org.apache.myfaces.shared.util.StateUtils;
+import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
+
+/**
+ * This TestCase uses the the default algorithm/mode/padding of
+ * StateUtils.
+ *
+ * @author Dennis C. Byrne
+ */
+
+public class StateUtilsDefaultTest extends AbstractStateUtilsTest
+{
+
+ public StateUtilsDefaultTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_8);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, StateUtils.DEFAULT_ALGORITHM);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, StateUtils.DEFAULT_ALGORITHM_PARAMS);
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ StateUtils.initSecret(servletContext);// should do nothing
+
+ }
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsDefaultTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsTripleDES_ECBTest.java
URL: http://svn.apache.org/viewvc/myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsTripleDES_ECBTest.java?rev=427657&r1=427656&r2=427657&view=diff
==============================================================================
--- myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsTripleDES_ECBTest.java (original)
+++ myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsTripleDES_ECBTest.java Tue Aug 1 10:43:28 2006
@@ -1,58 +1,58 @@
-/*
- * Copyright 2004-2006 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.myfaces.shared.util;
-
-import junit.framework.Test;
-import org.apache.myfaces.shared.util.StateUtils;
-import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
-
-/**
- * This TestCase uses the 3DES algorithm in Electronic CodeBook mode
- * with PKCS5 padding.
- * <p/>
- * <p/>
- * If you are getting a SecurityException complaining about keysize,
- * you most likely need to get the unlimited strength jurisdiction
- * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
- * </p>
- *
- * @author Dennis C. Byrne
- */
-
-public class StateUtilsTripleDES_ECBTest extends AbstractStateUtilsTest
-{
-
- public StateUtilsTripleDES_ECBTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return null; // keep this method or maven won't run it
- }
-
- public void setUp()
- {
- super.setUp();
-
- servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "DESede");
- servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
- servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
- StateUtils.initSecret(servletContext); // should do nothing
-
- }
-
-}
+/*
+ * Copyright 2004-2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.myfaces.shared.util;
+
+import junit.framework.Test;
+import org.apache.myfaces.shared.util.StateUtils;
+import org.apache.myfaces.shared.util.AbstractStateUtilsTest;
+
+/**
+ * This TestCase uses the 3DES algorithm in Electronic CodeBook mode
+ * with PKCS5 padding.
+ * <p/>
+ * <p/>
+ * If you are getting a SecurityException complaining about keysize,
+ * you most likely need to get the unlimited strength jurisdiction
+ * policy files from a place like http://java.sun.com/j2se/1.4.2/download.html .
+ * </p>
+ *
+ * @author Dennis C. Byrne
+ */
+
+public class StateUtilsTripleDES_ECBTest extends AbstractStateUtilsTest
+{
+
+ public StateUtilsTripleDES_ECBTest(String name) {
+ super(name);
+ }
+
+ public static Test suite() {
+ return null; // keep this method or maven won't run it
+ }
+
+ public void setUp()
+ {
+ super.setUp();
+
+ servletContext.addInitParameter(StateUtils.INIT_SECRET, BASE64_KEY_SIZE_24);
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM, "DESede");
+ servletContext.addInitParameter(StateUtils.INIT_ALGORITHM_PARAM, "ECB/PKCS5Padding");
+ servletContext.addInitParameter(StateUtils.INIT_SECRET_KEY_CACHE, "false");
+ StateUtils.initSecret(servletContext); // should do nothing
+
+ }
+
+}
Propchange: myfaces/shared/trunk/core/src/test/java/org/apache/myfaces/shared/util/StateUtilsTripleDES_ECBTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AbstractTobagoTagLibrary.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/AttributeHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/FixCharacterEncodingFilter.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/LoadBundleHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/SheetStateChangeSourceRule.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/SortActionSourceRule.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/TabChangeListenerHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/TabChangeSourceRule.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/facelets/src/main/java/org/apache/myfaces/tobago/facelets/TobagoComponentHandler.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/contrib/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoVersion.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutProvider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIFileInput.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSelectOne.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java
------------------------------------------------------------------------------
svn:eol-style = native