Author: ehillenius
Date: Fri Oct 19 22:42:54 2007
New Revision: 586669

URL: http://svn.apache.org/viewvc?rev=586669&view=rev
Log:
removed code rot

Modified:
    
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java

Modified: 
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java?rev=586669&r1=586668&r2=586669&view=diff
==============================================================================
--- 
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java
 (original)
+++ 
wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/resource/ComponentStringResourceLoaderTest.java
 Fri Oct 19 22:42:54 2007
@@ -81,39 +81,6 @@
        /**
         * 
         */
-// public void testNonPageComponent()
-// {
-// Component c = new DummyComponent("hello", application)
-// {
-// private static final long serialVersionUID = 1L;
-// };
-// IStringResourceLoader loader = new 
ComponentStringResourceLoader(tester.getApplication());
-// try
-// {
-// loader.loadStringResource(c.getClass(), "test.string", Locale.getDefault(), 
null);
-// Assert.fail("IllegalStateException should be thrown");
-// }
-// catch (IllegalStateException e)
-// {
-// // Expected result since component is not attached to a Page
-// }
-// }
-// /**
-// *
-// */
-// public void testPageEmbeddedComponentLoadFromPage()
-// {
-// DummyPage p = new DummyPage();
-// DummyComponent c = new DummyComponent("hello", application);
-// p.add(c);
-// IStringResourceLoader loader = new 
ComponentStringResourceLoader(tester.getApplication());
-// Assert.assertEquals("Valid resourse string should be found", "Another 
string",
-// loader.loadStringResource(
-// c.getClass(), "another.test.string", Locale.getDefault(), null));
-// }
-       /**
-        * 
-        */
        public void testMultiLevelEmbeddedComponentLoadFromComponent()
        {
                DummyPage p = new DummyPage();


Reply via email to