JBoss Portal SVN: r12895 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-26 06:55:52 -0500 (Thu, 26 Feb 2009)
New Revision: 12895
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
Log:
search bar fix
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 15:05:56 UTC (rev 12894)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-26 11:55:52 UTC (rev 12895)
@@ -14,13 +14,17 @@
@Test(groups = { "admin_ui" }, enabled = true)
public class IdentityAdminTestCase extends JBossPortalSeleniumTestCase {
+
public String casePfx = "iden.man.";
+ private final String INP_USER_SEARCH_PREV = getProp(casePfx + "inp.user.search.prev", "//input[contains(@id,'search-user-form1:prev-page')]");
+ private final String INP_USER_SEARCH_NEXT = getProp(casePfx + "inp.user.search.next", "//input[contains(@id,'search-user-form1:next-page')]");
+
private final String SEL_SEARCHUSER_LIMIT = getProp(casePfx + "sel.searchuser.limit", "//select[contains(@id,'search-user-form:limit')]");
private final String SUB_EDIT_PROF = getProp(casePfx + "sub.edit.prof", "//input[contains(@id,'profile-form:submit')]");
- private final String SUB_PAGIN_LEFT = getProp(casePfx + "sub.pagin.left", "//input[contains(@id,'search-user-form1:prev-page')]");
- private final String SUB_PAGIN_RIGHT = getProp(casePfx + "sub.pagin.right", "//input[contains(@id,'search-user-form1:next-page')]");
+ private final String SUB_PAGIN_LEFT = getProp(casePfx + "sub.pagin.left", INP_USER_SEARCH_PREV);
+ private final String SUB_PAGIN_RIGHT = getProp(casePfx + "sub.pagin.right", INP_USER_SEARCH_NEXT);
private final String SUB_EDIT_USER_EMAIL_CANCEL = getProp(casePfx + "sub.edit.user.email.cancel", "//input[contains(@id,'profile-form:cancel')]");
private final String INP_EDIT_USER_EMAIL = getProp(casePfx + "inp.edit.user.email", "//input[contains(@id,'profile-form:email')]");
@@ -78,7 +82,7 @@
public final String CHK_ROLE = getProp(casePfx + "chk.role", "//input[contains(@name,''assign-roles-form:roles'') and @value=''{0}'']");
- public final long SEARCH_TIMEOUT = 5000;
+ public final long SEARCH_TIMEOUT = 10000;
private String butDelUsr_id(String userName) {
String table = TBL_USERLIST;
@@ -444,15 +448,17 @@
searchSimple("man", "50");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 50, "Wrong number of row in user table #2.");
- selenium.click("//input[contains(@id,'search-user-form1:next-page')]");
+ selenium.click(INP_USER_SEARCH_NEXT);
selenium.waitForPageToLoad(PAGE_LOAD);
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 45, "Wrong number of row in user table #3.");
- selenium.click("//input[contains(@id,'search-user-form1:prev-page')]");
+ selenium.click(INP_USER_SEARCH_PREV);
selenium.waitForPageToLoad(PAGE_LOAD);
-
+ Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 50, "Wrong number of row in user table #2.");
+
searchSimple("man", "100");
+ //selenium.setSpeed("60000");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 95, "Wrong number of row in user table #4.");
-
+ //selenium.setSpeed("0");
/*
* for(int i=0; i< 95; i++){ deleteUser("man"+i+"us",
* "man"+i+"us"+"@redhatqa.com"); }
@@ -739,7 +745,7 @@
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.select(SEL_SEARCHUSER_LIMIT, "label=" + count);
- waitFor(SEARCH_TIMEOUT);
+ //waitFor(SEARCH_TIMEOUT);
selenium.type(INP_SEARCH_USER, name);
selenium.click(SUB_SEARCH_USER);
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-02-25 15:05:56 UTC (rev 12894)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-02-26 11:55:52 UTC (rev 12895)
@@ -21,7 +21,8 @@
user.login.adr.portal=link=Login
# IdentityAdminTestCase
-
+inp.user.search.prev=//input[contains(@id,'search-user-form1:prev-page')]
+inp.user.search.next=//input[contains(@id,'search-user-form1:next-page')]
iden.man.sel.searchuser.limit=//select[contains(@id,'search-user-form:limit')]
iden.man.sub.edit.prof=//input[contains(@id,'profile-form:submit')]
iden.man.sub.pagin.left=//input[contains(@id,'search-user-form1:prev-page')]
15 years, 2 months
JBoss Portal SVN: r12894 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-25 10:05:56 -0500 (Wed, 25 Feb 2009)
New Revision: 12894
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
Log:
search users test fix
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 14:34:40 UTC (rev 12893)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 15:05:56 UTC (rev 12894)
@@ -63,7 +63,7 @@
public final String INP_PASSWORD = getProp(casePfx + "inp.password", "//input[contains(@id,'register-form:password')]");
public final String INP_USEREMAIL = getProp(casePfx + "inp.useremail", "//input[contains(@id,'register-form:email')]");
public final String INP_USERNAME = getProp(casePfx + "inp.username", "//input[contains(@id,'register-form:username')]");
- public final String SUB_SEARCH_USER = getProp(casePfx + "sub.search.user", "//input[contains(@id,'search-user-form:search')]");
+ public final String SUB_SEARCH_USER = getProp(casePfx + "sub.search.user", "//input[contains(@id,'search-user-form:search') and @type='submit']");
public final String INP_SEARCH_USER = getProp(casePfx + "inp.search.user", "//input[contains(@id,'search-user-form:searchString')]");
public final String LNK_SEARCH_USER = getProp(casePfx + "lnk.search.user", "//a[contains(@id,'user-form:search-user-link')]");
public final String LNK_USERTAB = getProp(casePfx + "lnk.usertab", "//a[contains(@id,'role-temp-form:manage-users')]");
@@ -444,10 +444,10 @@
searchSimple("man", "50");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 50, "Wrong number of row in user table #2.");
- selenium.click("search-user-form1:next-page");
+ selenium.click("//input[contains(@id,'search-user-form1:next-page')]");
selenium.waitForPageToLoad(PAGE_LOAD);
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 45, "Wrong number of row in user table #3.");
- selenium.click("search-user-form1:prev-page");
+ selenium.click("//input[contains(@id,'search-user-form1:prev-page')]");
selenium.waitForPageToLoad(PAGE_LOAD);
searchSimple("man", "100");
@@ -742,7 +742,7 @@
waitFor(SEARCH_TIMEOUT);
selenium.type(INP_SEARCH_USER, name);
selenium.click(SUB_SEARCH_USER);
- selenium.waitForPageToLoad(PAGE_LOAD);
+
waitFor(SEARCH_TIMEOUT);
}
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-02-25 14:34:40 UTC (rev 12893)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/locator.properties 2009-02-25 15:05:56 UTC (rev 12894)
@@ -62,7 +62,7 @@
iden.man.inp.password=//input[contains(@id,'register-form:password')]
iden.man.inp.useremail=//input[contains(@id,'register-form:email')]
iden.man.inp.username=//input[contains(@id,'register-form:username')]
-iden.man.sub.search.user=//input[contains(@id,'search-user-form:search')]
+iden.man.sub.search.user=//input[contains(@id,'search-user-form:search') and @type='submit']
iden.man.inp.search.user=//input[contains(@id,'search-user-form:searchString')]
iden.man.lnk.search.user=//a[contains(@id,'user-form:search-user-link')]
iden.man.lnk.usertab=//a[contains(@id,'role-temp-form:manage-users')]
15 years, 2 months
JBoss Portal SVN: r12893 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-25 09:34:40 -0500 (Wed, 25 Feb 2009)
New Revision: 12893
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
Log:
generating of users in search test
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 13:23:24 UTC (rev 12892)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 14:34:40 UTC (rev 12893)
@@ -434,11 +434,11 @@
@Test(enabled = true, description = "Altering the number of rows in user search")
public void testSearchUserCount() {
-/*
+
for (int i = 0; i < 95; i++) {
createUser("man" + i + "us", "man" + i + "pas", "man" + i + "us" + "@redhatqa.com");
}
-*/
+
searchSimple("man", "10");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 10, "Wrong number of row in user table #1.");
15 years, 2 months
JBoss Portal SVN: r12892 - in branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium: portal and 1 other directory.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-25 08:23:24 -0500 (Wed, 25 Feb 2009)
New Revision: 12892
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
Log:
[JBPORTAL-2317] - end2end bea portlet
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java 2009-02-25 11:16:58 UTC (rev 12891)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/EndToEndBeaPortlet.java 2009-02-25 13:23:24 UTC (rev 12892)
@@ -13,9 +13,9 @@
@Test(groups = {"end2end"}, enabled = true, description = "Creating of new portal with content.")
public class EndToEndBeaPortlet extends JBossPortalSeleniumTestCase {
- private static final String SUB_VIEW_PORTLETS = "_jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj:_viewRoot:definition-form:view-portlets";
+ private static final String SUB_VIEW_PORTLETS = "//input[contains(@id,'definition-form:view-portlets')]";
- private static final String SEL_CONS_TYPE = "_jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj:_viewRoot:definition-form:menu";
+ private static final String SEL_CONS_TYPE = "//select[contains(@id,'definition-form:menu')]";
public static String casePfx = "e2e.wsrp.";
@@ -52,7 +52,7 @@
///
- public final String SEL_PORTLET_TYPE = getProp(casePfx+"sel.portlet.type","_jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj:_viewRoot:windowForm:instanceId");
+ public final String SEL_PORTLET_TYPE = getProp(casePfx+"sel.portlet.type","//select[contains(@id,'windowForm:instanceId')]");
private final String SUB_LAYOUT_ADD_CENTER = getProp(casePfx+"sub.layout.add.center","//input[contains(@id,'layoutForm:a_center')]");
private final String INP_WINDOW_NAME = getProp(casePfx+"inp.window.name","//input[contains(@id,'windowForm:windowName')]");
private final String SUB_RENAME_PORTAL = getProp(casePfx+"sub.rename.portal","//input[contains(@id,'renameForm:rename')]");
@@ -121,12 +121,18 @@
String portalName = "default";
String pageName = "default";
String defName= "BEA: Hello World";
- String insName = "BeaPor";
+ String insName = "1BeaPor";
createConsumer(consName);
createInstance(defName, consName, insName);
- addPortlet(portalName, pageName, PORTLET, "portlet");
-
+ addPortlet(portalName, pageName, insName, "portlet");
+
+ selenium.open("/portal/");
+ selenium.waitForPageToLoad(PAGE_LOAD);
+
+ Assert.assertTrue(selenium.isTextPresent("1BeaPorWindow"));
+ Assert.assertTrue(selenium.isTextPresent("Welcome to WebLogic Portal WSRP Demo."));
+
}
private void createConsumer(String consumerName){
@@ -223,11 +229,12 @@
} catch (InterruptedException e) {
e.printStackTrace();
}
-
- selenium.click(portletName);
+
+ selenium.click("link=*"+portletName+"*");
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(SUB_LAYOUT_ADD_CENTER);
selenium.waitForPageToLoad(PAGE_LOAD);
+
}
}
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-02-25 11:16:58 UTC (rev 12891)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-02-25 13:23:24 UTC (rev 12892)
@@ -253,11 +253,12 @@
selenium.waitForPageToLoad(PAGE_LOAD);
portletName = links[1];
}
-
+
selenium.click("link=*" + portletName+"*");
selenium.waitForPageToLoad(PAGE_LOAD);
selenium.click(SUB_LAYOUT_ADD_CENTER);
selenium.waitForPageToLoad(PAGE_LOAD);
+
}
15 years, 2 months
JBoss Portal SVN: r12891 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-25 06:16:58 -0500 (Wed, 25 Feb 2009)
New Revision: 12891
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
Log:
many users creation fix
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-24 22:39:05 UTC (rev 12890)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25 11:16:58 UTC (rev 12891)
@@ -434,11 +434,11 @@
@Test(enabled = true, description = "Altering the number of rows in user search")
public void testSearchUserCount() {
-
+/*
for (int i = 0; i < 95; i++) {
createUser("man" + i + "us", "man" + i + "pas", "man" + i + "us" + "@redhatqa.com");
}
-
+*/
searchSimple("man", "10");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 10, "Wrong number of row in user table #1.");
@@ -738,10 +738,11 @@
selenium.click(LNK_SEARCH_USER);
selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.select(SEL_SEARCHUSER_LIMIT, "label=" + count);
+ waitFor(SEARCH_TIMEOUT);
selenium.type(INP_SEARCH_USER, name);
- selenium.select(SEL_SEARCHUSER_LIMIT, "label=" + count);
selenium.click(SUB_SEARCH_USER);
-
+ selenium.waitForPageToLoad(PAGE_LOAD);
waitFor(SEARCH_TIMEOUT);
}
15 years, 2 months
JBoss Portal SVN: r12890 - branches/JBoss_Portal_Branch_2_7/core-cms/src/main/org/jboss/portal/core/cms/ui/admin.
by portal-commits@lists.jboss.org
Author: chris.laprun(a)jboss.com
Date: 2009-02-24 17:39:05 -0500 (Tue, 24 Feb 2009)
New Revision: 12890
Modified:
branches/JBoss_Portal_Branch_2_7/core-cms/src/main/org/jboss/portal/core/cms/ui/admin/CMSAdminPortlet.java
Log:
- Should probably use the XSS detection regexp from ParameterValidation as it will probably evolve and be better tested.
Modified: branches/JBoss_Portal_Branch_2_7/core-cms/src/main/org/jboss/portal/core/cms/ui/admin/CMSAdminPortlet.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-cms/src/main/org/jboss/portal/core/cms/ui/admin/CMSAdminPortlet.java 2009-02-24 18:24:42 UTC (rev 12889)
+++ branches/JBoss_Portal_Branch_2_7/core-cms/src/main/org/jboss/portal/core/cms/ui/admin/CMSAdminPortlet.java 2009-02-24 22:39:05 UTC (rev 12890)
@@ -107,7 +107,7 @@
private ApprovePublish approvePublish;
private AuthorizationManager authorizationManager;
private ResourceBundle resources = null;
- private static final Pattern CHECK_FOR_XSS_PATTERN = Pattern.compile("[^<>\\(\\)=]*");
+ private static final Pattern CHECK_FOR_XSS_PATTERN = ParameterValidation.XSS_CHECK;
private static final String SLASH = "/";
15 years, 2 months
JBoss Portal SVN: r12889 - in branches/JBoss_Portal_Branch_2_7/core/src/resources: portal-core-war/WEB-INF/classes and 1 other directory.
by portal-commits@lists.jboss.org
Author: jpviragine
Date: 2009-02-24 13:24:42 -0500 (Tue, 24 Feb 2009)
New Revision: 12889
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-sar/conf/bundles/Resource_pt.properties
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_pt_BR.properties
Log:
minor changes
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-sar/conf/bundles/Resource_pt.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-sar/conf/bundles/Resource_pt.properties 2009-02-24 18:20:21 UTC (rev 12888)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-sar/conf/bundles/Resource_pt.properties 2009-02-24 18:24:42 UTC (rev 12889)
@@ -21,5 +21,4 @@
# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
################################################################################
-org.jboss.portal.object.name.admin.default=Administra\u00e7\u00e3o
-org.jboss.portal.object.name.admin.Members=Membros
\ No newline at end of file
+org.jboss.portal.object.name.admin.default=Administra\u00E7\u00E3o
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-core-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 18:24:42 UTC (rev 12889)
@@ -21,17 +21,17 @@
# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
################################################################################
-POWERED_BY=Powered by
+POWERED_BY=Desenvolvido com
THEME_BY=Tema por
-LOGIN=Login
-LOGOUT=Logout
-PORTLET_INSTANCE_ASSOCIATED=Inst\u00e2ncia de portlet associada \u00e0 esta janela
+LOGIN=Entrar
+LOGOUT=Sair
+PORTLET_INSTANCE_ASSOCIATED=Inst\u00E2ncia de portlet associada a esta janela
PORTLET_NAME=Nome do Portlet
-PORTLET_DESCRIPTION=Descri\u00e7\u00e3o do Portlet
-DASHBOARD=Painel
-CONFIGURE_DASHBOARD=Configurar painel
-COPY_TO_DASHBOARD=Copiar para meu painel
+PORTLET_DESCRIPTION=Descri\u00E7\u00E3o do Portlet
+DASHBOARD=Meu Portal
+CONFIGURE_DASHBOARD=Configurar Meu Portal
+COPY_TO_DASHBOARD=Copiar para o Meu Portal
PORTAL=Portal
-ADMIN=Admin
+ADMIN=Administra\u00E7\u00E3o
MEMBERS=Membros
-LOGGED=Logado como
\ No newline at end of file
+LOGGED=Conectado como
15 years, 2 months
JBoss Portal SVN: r12888 - in branches/JBoss_Portal_Branch_2_7: core-samples/src/resources/portal-news-samples-war/WEB-INF/classes and 3 other directories.
by portal-commits@lists.jboss.org
Author: jpviragine
Date: 2009-02-24 13:20:21 -0500 (Tue, 24 Feb 2009)
New Revision: 12888
Added:
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_pt_BR.properties
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-news-samples-war/WEB-INF/classes/NewsResource_pt_BR.properties
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_pt_BR.properties
branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-weather-samples-war/WEB-INF/classes/WeatherResource_pt_BR.properties
branches/JBoss_Portal_Branch_2_7/core-search/src/resources/portal-search-war/WEB-INF/classes/Search_pt_BR.properties
Log:
translation of properties files for Brazilian Portuguese
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_pt_BR.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-jsp-samples-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
@@ -0,0 +1,2 @@
+javax.portlet.title=Sauda\u00E7\u00F5es\!
+javax.portlet.keywords=sample,test
\ No newline at end of file
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-news-samples-war/WEB-INF/classes/NewsResource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-news-samples-war/WEB-INF/classes/NewsResource_pt_BR.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-news-samples-war/WEB-INF/classes/NewsResource_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
@@ -0,0 +1,26 @@
+################################################################################
+# JBoss, a division of Red Hat #
+# Copyright 2006, Red Hat Middleware, LLC, and individual #
+# contributors as indicated by the @authors tag. See the #
+# copyright.txt in the distribution for a full listing of #
+# individual contributors. #
+# #
+# This is free software; you can redistribute it and/or modify it #
+# under the terms of the GNU Lesser General Public License as #
+# published by the Free Software Foundation; either version 2.1 of #
+# the License, or (at your option) any later version. #
+# #
+# This software is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. #
+# #
+# You should have received a copy of the GNU Lesser General Public #
+# License along with this software; if not, write to the Free #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
+################################################################################
+
+javax.portlet.preference.name.RssXml=URL do RSS
+javax.portlet.preference.name.expires=Tempo de expira\u00E7\u00E3o
+org.jboss.portal.object.name.default.News=Not\u00EDcias
\ No newline at end of file
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_pt_BR.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-users-samples-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
@@ -0,0 +1,34 @@
+################################################################################
+# JBoss, a division of Red Hat #
+# Copyright 2006, Red Hat Middleware, LLC, and individual #
+# contributors as indicated by the @authors tag. See the #
+# copyright.txt in the distribution for a full listing of #
+# individual contributors. #
+# #
+# This is free software; you can redistribute it and/or modify it #
+# under the terms of the GNU Lesser General Public License as #
+# published by the Free Software Foundation; either version 2.1 of #
+# the License, or (at your option) any later version. #
+# #
+# This software is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. #
+# #
+# You should have received a copy of the GNU Lesser General Public #
+# License along with this software; if not, write to the Free #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
+################################################################################
+javax.portlet.title=Usu\u00e1rios atuais
+javax.portlet.keywords=sample,test
+
+NO_USER_ONLINE=Nenhum usu\u00e1rio on-line
+ONE_USER_ONLINE=Voc\u00ea \u00e9 o \u00fanico usu\u00e1rio on-line
+USERS_ONLINE_0=Existem <b>
+USERS_ONLINE_1=</b> usu\u00e1rios on-line
+USERS_ARE_0=<b>
+USERS_ARE_1=</b>
+USERS_WHICH_0=Entre eles: <b>
+USERS_WHICH_1=</b> est\u00e1 conectado:
+USERS_WHICH_2=</b> est\u00e1 conectado:
Added: branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-weather-samples-war/WEB-INF/classes/WeatherResource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-weather-samples-war/WEB-INF/classes/WeatherResource_pt_BR.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-samples/src/resources/portal-weather-samples-war/WEB-INF/classes/WeatherResource_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
@@ -0,0 +1,28 @@
+################################################################################
+# JBoss, a division of Red Hat #
+# Copyright 2006, Red Hat Middleware, LLC, and individual #
+# contributors as indicated by the @authors tag. See the #
+# copyright.txt in the distribution for a full listing of #
+# individual contributors. #
+# #
+# This is free software; you can redistribute it and/or modify it #
+# under the terms of the GNU Lesser General Public License as #
+# published by the Free Software Foundation; either version 2.1 of #
+# the License, or (at your option) any later version. #
+# #
+# This software is distributed in the hope that it will be useful, #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. #
+# #
+# You should have received a copy of the GNU Lesser General Public #
+# License along with this software; if not, write to the Free #
+# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA #
+# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
+################################################################################
+
+javax.portlet.preference.name.RssXml=URL do feed RSS
+javax.portlet.preference.name.expires=Tempo de expira\u00e7\u00e3o
+org.jboss.portal.object.name.Weather=Tempo
+
+org.jboss.portal.instance.name.WeatherPortletInstance=Tempo Portlet
Added: branches/JBoss_Portal_Branch_2_7/core-search/src/resources/portal-search-war/WEB-INF/classes/Search_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core-search/src/resources/portal-search-war/WEB-INF/classes/Search_pt_BR.properties (rev 0)
+++ branches/JBoss_Portal_Branch_2_7/core-search/src/resources/portal-search-war/WEB-INF/classes/Search_pt_BR.properties 2009-02-24 18:20:21 UTC (rev 12888)
@@ -0,0 +1,5 @@
+advancedSearch=Pesquisa Avan\u00e7ada
+search=Pesquisar
+noResult=Nenhum resultado foi encontrado
+oneResult=Foi encontrado um \u00fanico resultado
+nbResults=foram encontrados {0} resultados
\ No newline at end of file
15 years, 2 months
JBoss Portal SVN: r12887 - branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium.
by portal-commits@lists.jboss.org
Author: vrockai
Date: 2009-02-24 11:10:28 -0500 (Tue, 24 Feb 2009)
New Revision: 12887
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
Log:
security cms test fix
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-24 15:57:49 UTC (rev 12886)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-24 16:10:28 UTC (rev 12887)
@@ -425,7 +425,7 @@
deleteRole(roleName);
}
- @Test(enabled = true)
+ @Test(enabled = false)
public void testManyUsers() {
for (int i = 0; i < 25; i++) {
createUser("user0" + i + "", "useruser", "user0" + i + "" + "@portal.com");
15 years, 2 months
JBoss Portal SVN: r12886 - branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes.
by portal-commits@lists.jboss.org
Author: jpviragine
Date: 2009-02-24 10:57:49 -0500 (Tue, 24 Feb 2009)
New Revision: 12886
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_pt_BR.properties
Log:
minor changes
Modified: branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_pt_BR.properties
===================================================================
--- branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 15:55:12 UTC (rev 12885)
+++ branches/JBoss_Portal_Branch_2_7/core/src/resources/portal-server-war/WEB-INF/classes/Resource_pt_BR.properties 2009-02-24 15:57:49 UTC (rev 12886)
@@ -21,12 +21,12 @@
# 02110-1301 USA, or see the FSF site: http://www.fsf.org. #
################################################################################
-ACCOUNT_DISABLED=Sua conta est\u00e1 desabilitada
-ACCOUNT_INEXISTING_OR_WRONG_PASSWORD=O usu\u00e1rio n\u00e3o existe ou a senha est\u00e1 incorreta
-ACCOUNT_NOTASSIGNEDTOROLE=O usu\u00e1rio n\u00e3o tem o papel correto
+ACCOUNT_DISABLED=Sua conta est\u00E1 desativada
+ACCOUNT_INEXISTING_OR_WRONG_PASSWORD=O usu\u00E1rio n\u00E3o existe ou a senha est\u00E1 incorreta
+ACCOUNT_NOTASSIGNEDTOROLE=O usu\u00E1rio n\u00E3o tem a permiss\u00E3o correta
-LOGIN_TITLE=Login JBoss Portal
-LOGIN_USERNAME=Nome do Usu\u00e1rio
+LOGIN_TITLE=Login do JBoss Portal
+LOGIN_USERNAME=Usu\u00E1rio
LOGIN_PASSWORD=Senha
LOGIN_CANCEL=Cancelar
-LOGIN_SUBMIT=Enviar
\ No newline at end of file
+LOGIN_SUBMIT=Enviar
15 years, 2 months