From scm-return-18320-apmail-geronimo-scm-archive=geronimo.apache.org@geronimo.apache.org Sat Mar 03 06:14:30 2007 Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 13032 invoked from network); 3 Mar 2007 06:14:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2007 06:14:25 -0000 Received: (qmail 99952 invoked by uid 500); 3 Mar 2007 06:14:33 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 99796 invoked by uid 500); 3 Mar 2007 06:14:32 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 99770 invoked by uid 99); 3 Mar 2007 06:14:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 22:14:32 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 22:14:18 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id AC4041A981D; Fri, 2 Mar 2007 22:13:57 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r514087 [2/4] - in /geronimo/server/trunk: testsuite/console-testsuite/basic/ testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ testsuite/console-testsuite/basic/src/test/resources/ testsuite/console-tes... Date: Sat, 03 Mar 2007 06:13:51 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070303061357.AC4041A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Web server connector portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class ConnectorPortletTest - extends ConsoleTestSupport -{ - @Test - public void testConnectorLink() throws Exception { - login(); - - selenium.click("link=Web Server"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Network Listeners", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("The Connector Manager displays connections of all types"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Web server connector portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class ConnectorPortletTest + extends ConsoleTestSupport +{ + @Test + public void testConnectorLink() throws Exception { + login(); + + selenium.click("link=Web Server"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Network Listeners", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("The Connector Manager displays connections of all types"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ConnectorPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Database viewer portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class DBViewerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testDBViewerLink() throws Exception { - login(); - - selenium.click("link=DB Manager"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("DB Viewer", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("Displays all the available databases and their tables"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Database viewer portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class DBViewerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testDBViewerLink() throws Exception { + login(); + + selenium.click("link=DB Manager"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("DB Viewer", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("Displays all the available databases and their tables"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DBViewerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,45 +1,45 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Database pool portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class DatabasePoolPortletTest - extends ConsoleTestSupport -{ - @Test - public void testDatabasePoolLink() throws Exception { - login(); - - selenium.click("link=Database Pools"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Database Pools", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Database pool portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class DatabasePoolPortletTest + extends ConsoleTestSupport +{ + @Test + public void testDatabasePoolLink() throws Exception { + login(); + + selenium.click("link=Database Pools"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Database Pools", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DatabasePoolPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Deployment portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class DeploymentPortletTest - extends ConsoleTestSupport -{ - @Test - public void testDeploymentLink() throws Exception { - login(); - - selenium.click("link=Deploy New"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Install New Applications", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("link=help"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This portlet allows the user to deploy new applications on Geronimo."); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Deployment portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class DeploymentPortletTest + extends ConsoleTestSupport +{ + @Test + public void testDeploymentLink() throws Exception { + login(); + + selenium.click("link=Deploy New"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Install New Applications", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("link=help"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This portlet allows the user to deploy new applications on Geronimo."); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DeploymentPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Derby log viewer portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class DerbyLogViewerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testDerbyLogViewerLink() throws Exception { - login(); - - selenium.click("link=Server Logs"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Derby Log Viewer", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[5]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//tr[5]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This portlet views the log file for Geronimo's internal database, Derby."); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Derby log viewer portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class DerbyLogViewerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testDerbyLogViewerLink() throws Exception { + login(); + + selenium.click("link=Server Logs"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Derby Log Viewer", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[5]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//tr[5]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This portlet views the log file for Geronimo's internal database, Derby."); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/DerbyLogViewerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,45 +1,45 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Import/export plugin portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class ImportExportPortletTest - extends ConsoleTestSupport -{ - @Test - public void testImportExportLink() throws Exception { - login(); - - selenium.click("link=Plugins"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Create and Install Plugins", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Import/export plugin portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class ImportExportPortletTest + extends ConsoleTestSupport +{ + @Test + public void testImportExportLink() throws Exception { + login(); + + selenium.click("link=Plugins"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Create and Install Plugins", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/ImportExportPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Internal DB portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class InternalDBPortletTest - extends ConsoleTestSupport -{ - @Test - public void testInternalDBLink() throws Exception { - login(); - - selenium.click("link=DB Info"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("DB Info", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("link=help"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This page provides information about the internal database"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Internal DB portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class InternalDBPortletTest + extends ConsoleTestSupport +{ + @Test + public void testInternalDBLink() throws Exception { + login(); + + selenium.click("link=DB Info"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("DB Info", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("link=help"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This page provides information about the internal database"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/InternalDBPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * JMS broker portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class JMSBrokerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testJMSBrokerLink() throws Exception { - login(); - - selenium.click("link=JMS Server"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("JMS Server Manager", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("Shows the available JMS brokers"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * JMS broker portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class JMSBrokerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testJMSBrokerLink() throws Exception { + login(); + + selenium.click("link=JMS Server"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("JMS Server Manager", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("Shows the available JMS brokers"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSBrokerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * JMS connector portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class JMSConnectorPortletTest - extends ConsoleTestSupport -{ - @Test - public void testJMSConnectorLink() throws Exception { - login(); - - selenium.click("link=JMS Server"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("JMS Network Listeners", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("Shows all the network connectors configured for the currently available JMS brokers."); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * JMS connector portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class JMSConnectorPortletTest + extends ConsoleTestSupport +{ + @Test + public void testJMSConnectorLink() throws Exception { + login(); + + selenium.click("link=JMS Server"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("JMS Network Listeners", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("Shows all the network connectors configured for the currently available JMS brokers."); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSConnectorPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,45 +1,45 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * JMS resource portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class JMSResourcePortletTest - extends ConsoleTestSupport -{ - @Test - public void testJMSResourceLink() throws Exception { - login(); - - selenium.click("link=JMS Resources"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("JMS Resources", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * JMS resource portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class JMSResourcePortletTest + extends ConsoleTestSupport +{ + @Test + public void testJMSResourceLink() throws Exception { + login(); + + selenium.click("link=JMS Resources"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("JMS Resources", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcePortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * JMX manager portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class JMXManagerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testJMXManagerLink() throws Exception { - login(); - - selenium.click("link=JMX Viewer"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("JMX Viewer", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("link=help"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("JMX Viewer Portlet Help"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * JMX manager portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class JMXManagerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testJMXManagerLink() throws Exception { + login(); + + selenium.click("link=JMX Viewer"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("JMX Viewer", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("link=help"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("JMX Viewer Portlet Help"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JMXManagerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Java system information portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class JavaSystemInfoPortletTest - extends ConsoleTestSupport -{ - @Test - public void testJavaSystemInfoLink() throws Exception { - login(); - - selenium.click("link=JVM"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("System Property values for the Server JVM", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("link=help"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This page displays the values of the system properties available to the server process."); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Java system information portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class JavaSystemInfoPortletTest + extends ConsoleTestSupport +{ + @Test + public void testJavaSystemInfoLink() throws Exception { + login(); + + selenium.click("link=JVM"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("System Property values for the Server JVM", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("link=help"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This page displays the values of the system properties available to the server process."); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/JavaSystemInfoPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,45 +1,45 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Keystore configuration portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class KeystoresPortletTest - extends ConsoleTestSupport -{ - @Test - public void testKeystoresLink() throws Exception { - login(); - - selenium.click("link=Keystores"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Keystore Configuration", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Keystore configuration portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class KeystoresPortletTest + extends ConsoleTestSupport +{ + @Test + public void testKeystoresLink() throws Exception { + login(); + + selenium.click("link=Keystores"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Keystore Configuration", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/KeystoresPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,51 +1,51 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * LDAP manager portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class LDAPManagerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testLDAPManagerLink() throws Exception { - login(); - - // TODO: Add a way to close problem connecting to server alert message. - - // selenium.click("link=LDAP Viewer"); - // selenium.waitForPageToLoad("30000"); - // assertEquals("Geronimo Console", selenium.getTitle()); - // assertEquals("LDAP Viewer", selenium.getText( - // "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - // selenium.click("link=help"); - // selenium.waitForPageToLoad("30000"); - // selenium.isTextPresent("The LDAP viewer portlet can be used to do the following"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * LDAP manager portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class LDAPManagerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testLDAPManagerLink() throws Exception { + login(); + + // TODO: Add a way to close problem connecting to server alert message. + + // selenium.click("link=LDAP Viewer"); + // selenium.waitForPageToLoad("30000"); + // assertEquals("Geronimo Console", selenium.getTitle()); + // assertEquals("LDAP Viewer", selenium.getText( + // "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + // selenium.click("link=help"); + // selenium.waitForPageToLoad("30000"); + // selenium.isTextPresent("The LDAP viewer portlet can be used to do the following"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LDAPManagerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Log manager portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class LogManagerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testLogManagerLink() throws Exception { - login(); - - selenium.click("link=Server Logs"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Log Manager", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This portlet allows the user to select a configuration file for logging"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Log manager portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class LogManagerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testLogManagerLink() throws Exception { + login(); + + selenium.click("link=Server Logs"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Log Manager", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This portlet allows the user to select a configuration file for logging"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogManagerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Log viewer portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class LogViewerPortletTest - extends ConsoleTestSupport -{ - @Test - public void testLogViewerLink() throws Exception { - login(); - - selenium.click("link=Server Logs"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Server Log Viewer", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This portlet displays the Geronimo server log"); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Log viewer portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class LogViewerPortletTest + extends ConsoleTestSupport +{ + @Test + public void testLogViewerLink() throws Exception { + login(); + + selenium.click("link=Server Logs"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Server Log Viewer", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("//tr[3]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[2]/a[1]"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This portlet displays the Geronimo server log"); + + logout(); + } +} Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Propchange: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/LogViewerPortletTest.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/RepositoryViewPortletTest.java URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/RepositoryViewPortletTest.java?view=diff&rev=514087&r1=514086&r2=514087 ============================================================================== --- geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/RepositoryViewPortletTest.java (original) +++ geronimo/server/trunk/testsuite/console-testsuite/basic/src/test/java/org/apache/geronimo/testsuite/console/RepositoryViewPortletTest.java Fri Mar 2 22:13:40 2007 @@ -1,49 +1,49 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you 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.geronimo.testsuite.console; - -import org.testng.annotations.Test; - -/** - * Repository viewer portlet tests - * - * @version $Rev: 479803 $ $Date: 2006-11-27 15:26:54 -0800 (Mon, 27 Nov 2006) $ - */ -@Test -public class RepositoryViewPortletTest - extends ConsoleTestSupport -{ - @Test - public void testRepositoryViewLink() throws Exception { - login(); - - selenium.click("link=Common Libs"); - selenium.waitForPageToLoad("30000"); - assertEquals("Geronimo Console", selenium.getTitle()); - assertEquals("Repository Viewer", selenium.getText( - "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); - // Test help link - selenium.click("link=help"); - selenium.waitForPageToLoad("30000"); - selenium.isTextPresent("This page displays the artifacts installed in the server's repository."); - - logout(); - } -} +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.geronimo.testsuite.console; + +import org.testng.annotations.Test; + +/** + * Repository viewer portlet tests + * + * @version $Rev$ $Date$ + */ +@Test +public class RepositoryViewPortletTest + extends ConsoleTestSupport +{ + @Test + public void testRepositoryViewLink() throws Exception { + login(); + + selenium.click("link=Common Libs"); + selenium.waitForPageToLoad("30000"); + assertEquals("Geronimo Console", selenium.getTitle()); + assertEquals("Repository Viewer", selenium.getText( + "xpath=/html/body/table[@id='rootfragment']/tbody/tr[2]/td/table/tbody/tr[2]/td[4]/table/tbody/tr[1]/td/table/tbody/tr[1]/td/div/table/tbody/tr/td[2]/table/tbody/tr/td[1]/strong")); + // Test help link + selenium.click("link=help"); + selenium.waitForPageToLoad("30000"); + selenium.isTextPresent("This page displays the artifacts installed in the server's repository."); + + logout(); + } +}