[seam-commits] Seam SVN: r7198 - in trunk/examples/wiki: src/test/org/jboss/seam/wiki/test/preferences and 2 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jan 23 05:06:38 EST 2008
Author: christian.bauer at jboss.com
Date: 2008-01-23 05:06:38 -0500 (Wed, 23 Jan 2008)
New Revision: 7198
Added:
trunk/examples/wiki/view/themes/sfwkorg/img/powered_by_seam.png
Modified:
trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/EditMacros.java
trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/preferences/InstancePreferencesTests.java
trunk/examples/wiki/view/themes/sfwkorg/template.xhtml
Log:
Fix tests
Modified: trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/EditMacros.java
===================================================================
--- trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/EditMacros.java 2008-01-23 08:09:43 UTC (rev 7197)
+++ trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/editing/EditMacros.java 2008-01-23 10:06:38 UTC (rev 7198)
@@ -50,7 +50,7 @@
for (WikiMacro wikiMacro : docHome.getInstance().getContentMacros()) {
if (wikiMacro.getName().equals("lastModifiedDocuments")) {
assert wikiMacro.getParams().size()==2;
- assert wikiMacro.getParams().get("documentTitleLength").equals("10");
+ assert wikiMacro.getParams().get("documentTitleLength").equals("60");
assert wikiMacro.getParams().get("showUsernames").equals("true");
macroFound = true;
}
Modified: trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/preferences/InstancePreferencesTests.java
===================================================================
--- trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/preferences/InstancePreferencesTests.java 2008-01-23 08:09:43 UTC (rev 7197)
+++ trunk/examples/wiki/src/test/org/jboss/seam/wiki/test/preferences/InstancePreferencesTests.java 2008-01-23 10:06:38 UTC (rev 7198)
@@ -60,7 +60,7 @@
if (macro.getName().equals("lastModifiedDocuments")) {
LastModifiedDocumentsPreferences lmdPrefs =
(LastModifiedDocumentsPreferences)Preferences.getInstance("LastModifiedDocuments", "currentMacro");
- assert lmdPrefs.getDocumentTitleLength().equals(10l);
+ assert lmdPrefs.getDocumentTitleLength().equals(60l);
}
return null;
Added: trunk/examples/wiki/view/themes/sfwkorg/img/powered_by_seam.png
===================================================================
(Binary files differ)
Property changes on: trunk/examples/wiki/view/themes/sfwkorg/img/powered_by_seam.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/examples/wiki/view/themes/sfwkorg/template.xhtml
===================================================================
--- trunk/examples/wiki/view/themes/sfwkorg/template.xhtml 2008-01-23 08:09:43 UTC (rev 7197)
+++ trunk/examples/wiki/view/themes/sfwkorg/template.xhtml 2008-01-23 10:06:38 UTC (rev 7198)
@@ -373,6 +373,13 @@
</p>
</div>
+ <div style="margin-top: 25px; margin-left: 15px; margin-right: 15px; text-align:center;">
+ <h:outputLink value="http://seamframework.org">
+ <h:graphicImage value="/themes/#{preferences.get('Wiki').themeName}/img/powered_by_seam.png" width="120" height="60"
+ style="border: 1px solid #666"/>
+ </h:outputLink>
+ </div>
+
</div>
<!-- Main Content area -->
More information about the seam-commits
mailing list