You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ca...@apache.org on 2009/07/18 02:42:38 UTC

svn commit: r795288 - in /continuum/trunk/continuum-webapp-test: ./ src/site/apt/ src/test/java/org/apache/continuum/web/test/ src/test/resources/ src/test/selenium-ide/ src/test/testng/config/ src/test/testng/org/apache/continuum/web/test/ src/test/te...

Author: carlos
Date: Sat Jul 18 00:42:36 2009
New Revision: 795288

URL: http://svn.apache.org/viewvc?rev=795288&view=rev
Log:
Set svn properties

Modified:
    continuum/trunk/continuum-webapp-test/pom.xml   (props changed)
    continuum/trunk/continuum-webapp-test/src/site/apt/index.apt   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/resources/it.properties   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_build_project.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_local_repo.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_project_group.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_user.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_edit_project_level_build_definition.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_duplicate_project_group.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/check_menu_options.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_online_test_suite.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_test_suite.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/create_admin_user_and_general_configuration.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/edit_project_group.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_release_plugin_configuration.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_shell_project.html   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/config/testng.xml   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AboutTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildAgentsTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/UserRolesManagementTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/XPathExpressionUtil.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java   (contents, props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractUserRolesManagementTest.java   (props changed)
    continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy   (contents, props changed)
    continuum/trunk/continuum-webapp-test/src/test/tomcat5x/context.xml   (props changed)

Propchange: continuum/trunk/continuum-webapp-test/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/site/apt/index.apt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/site/apt/index.apt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/java/org/apache/continuum/web/test/AboutTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/resources/it.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/resources/it.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/resources/testng.properties
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_build_project.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_build_project.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_local_repo.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_project_group.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_delete_user.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_edit_project_level_build_definition.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_and_edit_project_level_build_definition.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/add_duplicate_project_group.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/check_menu_options.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_failing_test_suite.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_online_test_suite.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_online_test_suite.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/continuum_test_suite.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/create_admin_user_and_general_configuration.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/edit_project_group.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_build_definition_templates.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_project_group_homepage_url.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_release_plugin_configuration.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_release_plugin_configuration.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_shell_project.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/selenium-ide/test_shell_project.html
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/config/testng.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/config/testng.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AboutTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/AboutTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildAgentsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildAgentsTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/BuildDefinitionTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ConfigurationTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LocalRepositoriesTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/LoginTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MavenTwoProjectTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/MyAccountTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/NotifierTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ProjectGroupTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/QueueTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ScheduleTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/UserRolesManagementTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/UserRolesManagementTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/XPathExpressionUtil.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/XPathExpressionUtil.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java?rev=795288&r1=795287&r2=795288&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java (original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java Sat Jul 18 00:42:36 2009
@@ -1,232 +1,232 @@
-package org.apache.continuum.web.test.parent;
-
-//import org.testng.Assert;
-import org.apache.continuum.web.test.ConfigurationTest;
-
-/*
- * 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.
- */
-
-public abstract class AbstractBuildAgentsTest
-    extends AbstractContinuumTest
-{
-    public void enableDistributedBuilds()
-    {
-		ConfigurationTest config = new ConfigurationTest();
-	    config.goToConfigurationPage();
-        setFieldValue( "numberOfAllowedBuildsinParallel", "2" );
-        if ( !isChecked( "configuration_distributedBuildEnabled" ) )
-        {
-            checkField( "configuration_distributedBuildEnabled" );
-        }
-        clickAndWait( "configuration_" );
-        assertTextPresent( "true" );
-        assertTextPresent( "Distributed Builds" );
-        assertElementPresent( "link=Build Agents" );
-    }
-
-    public void disableDistributedBuilds()
-    {
-        ConfigurationTest config = new ConfigurationTest();
-        config.goToConfigurationPage();
-        setFieldValue( "numberOfAllowedBuildsinParallel", "2" );
-        if ( isChecked( "configuration_distributedBuildEnabled" ) )
-        {
-            uncheckField( "configuration_distributedBuildEnabled" );
-        }
-        submit();
-        assertTextPresent( "false" );
-        assertElementNotPresent( "link=Build Agents" );
-    }
-
-	public void goToBuildAgentPage()
-    {
-		clickAndWait("link=Build Agents");
-		assertPage("Continuum - Build Agents");
-	}
-
-	public void assertBuildAgentPage()
-    {
-		assertPage("Continuum - Build Agents");
-		assertTextPresent("Build Agents");
-		assertTextPresent("Build Agent Groups");
-		assertButtonWithValuePresent( "Add" );
-
-    }
-
-	public void goToAddBuildAgent()
-    {
-		goToBuildAgentPage();
-		assertBuildAgentPage();
-		clickAndWait("editBuildAgent_0"); //add button
-		assertAddEditBuildAgentPage();
-    }
-
-	public void assertAddEditBuildAgentPage()
-    {
-		assertPage( "Continuum - Add/Edit Build Agent" );
-        assertTextPresent( "Add/Edit Build Agent" );
-        assertTextPresent( "Build Agent URL*:" );
-		assertTextPresent( "Description:" );
-		assertTextPresent( "Enabled" );
-        assertElementPresent( "saveBuildAgent_buildAgent_url" );
-		assertElementPresent( "saveBuildAgent_buildAgent_description");
-        assertButtonWithValuePresent( "Save" );
-        assertButtonWithValuePresent( "Cancel" );
-    }
-
-	public void removeBuildAgent( String agentName )
-	{
-        clickLinkWithXPath( "(//a[contains(@href,'deleteBuildAgent.action') and contains(@href, '" + agentName + "')])//img" );
-		assertPage("Continuum - Delete Build Agent");
-        assertTextPresent( "Delete Build Agent" );
-        assertTextPresent( "Are you sure you want to delete build agent " + agentName + " ?" );
-        assertButtonWithValuePresent( "Delete" );
-        assertButtonWithValuePresent( "Cancel" );
-        clickButtonWithValue( "Delete" );
-        assertBuildAgentPage();
-    }
-
-	public void addBuildAgent( String agentURL, String description, boolean success )
-	{
-		setFieldValue( "saveBuildAgent_buildAgent_url", agentURL );
-	    setFieldValue("saveBuildAgent_buildAgent_description", description );
-	    checkField("saveBuildAgent_buildAgent_enabled");
-		submit();
-	    if ( success )
-	    {
-	        assertBuildAgentPage();
-	        assertElementPresent( "link=" + agentURL );
-
-	    }
-	    else
-	    {
-	        assertAddEditBuildAgentPage();
-	    }
-
-	}
-
-	public void goToEditBuildAgent( String name, String description )
-	{
-	   goToBuildAgentPage();
-	   clickImgWithAlt( "Edit" );
-	   assertAddEditBuildAgentPage();
-	   assertFieldValue( name, "saveBuildAgent_buildAgent_url" );
-	   assertFieldValue( description, "saveBuildAgent_buildAgent_description" );
-
-	}
-
-	public void addEditBuildAgent( String agentName, String newDesc )
-	{
-		assertFieldValue( agentName, "saveBuildAgent_buildAgent_url" );
-		setFieldValue( "saveBuildAgent_buildAgent_description", newDesc );
-		submit();
-		assertBuildAgentPage();
-		assertTextPresent( newDesc );
-
-	}
-
-
-	public void goToAddBuildAgentGroup()
-    {
-		goToBuildAgentPage();
-		clickAndWait("editBuildAgentGroup_0"); //add button
-        String[] options =
-            new String[] { "--- Available Build Agents ---", "Agent_url_name", "Second_Agent" };
-        assertAddEditBuildAgentGroupPage( options, null );
-    }
-
-
-	public void addEditBuildAgentGroup( String name, String[] addBuildAgents, String[] removeBuildAgents,
-            boolean success ) throws Exception
-	{
-		setFieldValue( "saveBuildAgentGroup_buildAgentGroup_name", name );
-		if ( addBuildAgents != null && addBuildAgents.length > 0 )
-		{
-			for ( String ba : addBuildAgents )
-			{
-				selectValue( "buildAgentIds", ba );
-				clickButtonWithValue( "->", false );
-			}
-		}
-		if ( removeBuildAgents != null && removeBuildAgents.length > 0 )
-		{
-			for ( String ba : removeBuildAgents )
-			{
-				selectValue( "selectedBuildAgentIds", ba );
-				clickButtonWithValue( "<-", false );
-			}
-		}
-		submit();
-		if ( success )
-		{
-			assertBuildAgentPage();
-		}
-		else
-		{
-			assertAddEditBuildAgentGroupPage( null, null );
-		}
-
-
-	}
-
-	public void assertAddEditBuildAgentGroupPage( String[] availableBuildAgents, String[] usedBuildAgents )
-    {
-		assertPage( "Continuum - Add/Edit Build Agent Group" );
-        assertTextPresent( "Add/Edit Build Agent Group" );
-        assertTextPresent( "Name*:" );
-		assertTextPresent( "Configure the used Build Agents:" );
-		assertElementPresent( "buildAgentGroup.name" );
-		if ( availableBuildAgents != null && availableBuildAgents.length > 0 )
-        {
-            assertOptionPresent( "buildAgentIds", availableBuildAgents );
-        }
-        if ( usedBuildAgents != null && usedBuildAgents.length > 0 )
-        {
-            assertOptionPresent( "selectedBuildAgentIds", usedBuildAgents );
-        }
-
-		assertButtonWithValuePresent( "Save" );
-        assertButtonWithValuePresent( "Cancel" );
-    }
-
-	public void goToEditBuildAgentGroup( String name, String[] buildAgents )
-    {
-		goToBuildAgentPage();
-        String xPath = "//preceding::td[text()='" + name + "']//following::img[@alt='Edit']";
-        clickLinkWithXPath( xPath );
-        assertAddEditBuildAgentGroupPage( null, buildAgents );
-        assertFieldValue( name, "buildAgentGroup.name" );
-    }
-
-
-	public void removeBuildAgentGroup( String name )
-	{
-		goToBuildAgentPage();
-		clickLinkWithXPath( "(//a[contains(@href,'deleteBuildAgentGroup.action') and contains(@href, '" + name + "')])//img" );
-		assertPage("Continuum - Delete Build Agent Group");
-		assertTextPresent( "Delete Build Agent" );
-        assertTextPresent( "Are you sure you want to delete build agent group " + name + " ?" );
-        assertButtonWithValuePresent( "Delete" );
-        assertButtonWithValuePresent( "Cancel" );
-        clickButtonWithValue( "Delete" );
-        assertBuildAgentPage();
-    }
-
-
-}
+package org.apache.continuum.web.test.parent;
+
+//import org.testng.Assert;
+import org.apache.continuum.web.test.ConfigurationTest;
+
+/*
+ * 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.
+ */
+
+public abstract class AbstractBuildAgentsTest
+    extends AbstractContinuumTest
+{
+    public void enableDistributedBuilds()
+    {
+		ConfigurationTest config = new ConfigurationTest();
+	    config.goToConfigurationPage();
+        setFieldValue( "numberOfAllowedBuildsinParallel", "2" );
+        if ( !isChecked( "configuration_distributedBuildEnabled" ) )
+        {
+            checkField( "configuration_distributedBuildEnabled" );
+        }
+        clickAndWait( "configuration_" );
+        assertTextPresent( "true" );
+        assertTextPresent( "Distributed Builds" );
+        assertElementPresent( "link=Build Agents" );
+    }
+
+    public void disableDistributedBuilds()
+    {
+        ConfigurationTest config = new ConfigurationTest();
+        config.goToConfigurationPage();
+        setFieldValue( "numberOfAllowedBuildsinParallel", "2" );
+        if ( isChecked( "configuration_distributedBuildEnabled" ) )
+        {
+            uncheckField( "configuration_distributedBuildEnabled" );
+        }
+        submit();
+        assertTextPresent( "false" );
+        assertElementNotPresent( "link=Build Agents" );
+    }
+
+	public void goToBuildAgentPage()
+    {
+		clickAndWait("link=Build Agents");
+		assertPage("Continuum - Build Agents");
+	}
+
+	public void assertBuildAgentPage()
+    {
+		assertPage("Continuum - Build Agents");
+		assertTextPresent("Build Agents");
+		assertTextPresent("Build Agent Groups");
+		assertButtonWithValuePresent( "Add" );
+
+    }
+
+	public void goToAddBuildAgent()
+    {
+		goToBuildAgentPage();
+		assertBuildAgentPage();
+		clickAndWait("editBuildAgent_0"); //add button
+		assertAddEditBuildAgentPage();
+    }
+
+	public void assertAddEditBuildAgentPage()
+    {
+		assertPage( "Continuum - Add/Edit Build Agent" );
+        assertTextPresent( "Add/Edit Build Agent" );
+        assertTextPresent( "Build Agent URL*:" );
+		assertTextPresent( "Description:" );
+		assertTextPresent( "Enabled" );
+        assertElementPresent( "saveBuildAgent_buildAgent_url" );
+		assertElementPresent( "saveBuildAgent_buildAgent_description");
+        assertButtonWithValuePresent( "Save" );
+        assertButtonWithValuePresent( "Cancel" );
+    }
+
+	public void removeBuildAgent( String agentName )
+	{
+        clickLinkWithXPath( "(//a[contains(@href,'deleteBuildAgent.action') and contains(@href, '" + agentName + "')])//img" );
+		assertPage("Continuum - Delete Build Agent");
+        assertTextPresent( "Delete Build Agent" );
+        assertTextPresent( "Are you sure you want to delete build agent " + agentName + " ?" );
+        assertButtonWithValuePresent( "Delete" );
+        assertButtonWithValuePresent( "Cancel" );
+        clickButtonWithValue( "Delete" );
+        assertBuildAgentPage();
+    }
+
+	public void addBuildAgent( String agentURL, String description, boolean success )
+	{
+		setFieldValue( "saveBuildAgent_buildAgent_url", agentURL );
+	    setFieldValue("saveBuildAgent_buildAgent_description", description );
+	    checkField("saveBuildAgent_buildAgent_enabled");
+		submit();
+	    if ( success )
+	    {
+	        assertBuildAgentPage();
+	        assertElementPresent( "link=" + agentURL );
+
+	    }
+	    else
+	    {
+	        assertAddEditBuildAgentPage();
+	    }
+
+	}
+
+	public void goToEditBuildAgent( String name, String description )
+	{
+	   goToBuildAgentPage();
+	   clickImgWithAlt( "Edit" );
+	   assertAddEditBuildAgentPage();
+	   assertFieldValue( name, "saveBuildAgent_buildAgent_url" );
+	   assertFieldValue( description, "saveBuildAgent_buildAgent_description" );
+
+	}
+
+	public void addEditBuildAgent( String agentName, String newDesc )
+	{
+		assertFieldValue( agentName, "saveBuildAgent_buildAgent_url" );
+		setFieldValue( "saveBuildAgent_buildAgent_description", newDesc );
+		submit();
+		assertBuildAgentPage();
+		assertTextPresent( newDesc );
+
+	}
+
+
+	public void goToAddBuildAgentGroup()
+    {
+		goToBuildAgentPage();
+		clickAndWait("editBuildAgentGroup_0"); //add button
+        String[] options =
+            new String[] { "--- Available Build Agents ---", "Agent_url_name", "Second_Agent" };
+        assertAddEditBuildAgentGroupPage( options, null );
+    }
+
+
+	public void addEditBuildAgentGroup( String name, String[] addBuildAgents, String[] removeBuildAgents,
+            boolean success ) throws Exception
+	{
+		setFieldValue( "saveBuildAgentGroup_buildAgentGroup_name", name );
+		if ( addBuildAgents != null && addBuildAgents.length > 0 )
+		{
+			for ( String ba : addBuildAgents )
+			{
+				selectValue( "buildAgentIds", ba );
+				clickButtonWithValue( "->", false );
+			}
+		}
+		if ( removeBuildAgents != null && removeBuildAgents.length > 0 )
+		{
+			for ( String ba : removeBuildAgents )
+			{
+				selectValue( "selectedBuildAgentIds", ba );
+				clickButtonWithValue( "<-", false );
+			}
+		}
+		submit();
+		if ( success )
+		{
+			assertBuildAgentPage();
+		}
+		else
+		{
+			assertAddEditBuildAgentGroupPage( null, null );
+		}
+
+
+	}
+
+	public void assertAddEditBuildAgentGroupPage( String[] availableBuildAgents, String[] usedBuildAgents )
+    {
+		assertPage( "Continuum - Add/Edit Build Agent Group" );
+        assertTextPresent( "Add/Edit Build Agent Group" );
+        assertTextPresent( "Name*:" );
+		assertTextPresent( "Configure the used Build Agents:" );
+		assertElementPresent( "buildAgentGroup.name" );
+		if ( availableBuildAgents != null && availableBuildAgents.length > 0 )
+        {
+            assertOptionPresent( "buildAgentIds", availableBuildAgents );
+        }
+        if ( usedBuildAgents != null && usedBuildAgents.length > 0 )
+        {
+            assertOptionPresent( "selectedBuildAgentIds", usedBuildAgents );
+        }
+
+		assertButtonWithValuePresent( "Save" );
+        assertButtonWithValuePresent( "Cancel" );
+    }
+
+	public void goToEditBuildAgentGroup( String name, String[] buildAgents )
+    {
+		goToBuildAgentPage();
+        String xPath = "//preceding::td[text()='" + name + "']//following::img[@alt='Edit']";
+        clickLinkWithXPath( xPath );
+        assertAddEditBuildAgentGroupPage( null, buildAgents );
+        assertFieldValue( name, "buildAgentGroup.name" );
+    }
+
+
+	public void removeBuildAgentGroup( String name )
+	{
+		goToBuildAgentPage();
+		clickLinkWithXPath( "(//a[contains(@href,'deleteBuildAgentGroup.action') and contains(@href, '" + name + "')])//img" );
+		assertPage("Continuum - Delete Build Agent Group");
+		assertTextPresent( "Delete Build Agent" );
+        assertTextPresent( "Are you sure you want to delete build agent group " + name + " ?" );
+        assertButtonWithValuePresent( "Delete" );
+        assertButtonWithValuePresent( "Cancel" );
+        clickButtonWithValue( "Delete" );
+        assertBuildAgentPage();
+    }
+
+
+}

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractBuildAgentsTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractContinuumTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractSeleniumTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractUserRolesManagementTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractUserRolesManagementTest.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy?rev=795288&r1=795287&r2=795288&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy (original)
+++ continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy Sat Jul 18 00:42:36 2009
@@ -1,172 +1,172 @@
-// ============================================================================
-// catalina.corepolicy - Security Policy Permissions for Tomcat 5
-//
-// This file contains a default set of security policies to be enforced (by the
-// JVM) when Catalina is executed with the "-security" option.  In addition
-// to the permissions granted here, the following additional permissions are
-// granted to the codebase specific to each web application:
-//
-// * Read access to the document root directory
-//
-// $Id: catalina.policy 393732 2006-04-13 06:32:25Z pero $
-// ============================================================================
-
-
-// ========== SYSTEM CODE PERMISSIONS =========================================
-
-
-// These permissions apply to javac
-grant codeBase "file:${java.home}/lib/-" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to all shared system extensions
-grant codeBase "file:${java.home}/jre/lib/ext/-" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
-grant codeBase "file:${java.home}/../lib/-" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to all shared system extensions when
-// ${java.home} points at $JAVA_HOME/jre
-grant codeBase "file:${java.home}/lib/ext/-" {
-        permission java.security.AllPermission;
-};
-
-
-// ========== CATALINA CODE PERMISSIONS =======================================
-
-
-// These permissions apply to the launcher code
-grant codeBase "file:${catalina.home}/bin/commons-launcher.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the daemon code
-grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the commons-logging API
-grant codeBase "file:${catalina.home}/bin/commons-logging-api.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the server startup code
-grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the JMX server
-grant codeBase "file:${catalina.home}/bin/jmx.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to JULI
-grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the servlet API classes
-// and those that are shared across all class loaders
-// located in the "common" directory
-grant codeBase "file:${catalina.home}/common/-" {
-        permission java.security.AllPermission;
-};
-
-// These permissions apply to the container's core code, plus any additional
-// libraries installed in the "server" directory
-grant codeBase "file:${catalina.home}/server/-" {
-        permission java.security.AllPermission;
-};
-
-// The permissions granted to the balancer WEB-INF/classes and WEB-INF/lib directory
-grant codeBase "file:${catalina.home}/webapps/balancer/-" {
-        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester";
-        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester.*";
-};
-// ========== WEB APPLICATION PERMISSIONS =====================================
-
-
-// These permissions are granted by default to all web applications
-// In addition, a web application will be given a read FilePermission
-// and JndiPermission for all files and directories in its document root.
-grant { 
-    // Required for JNDI lookup of named JDBC DataSource's and
-    // javamail named MimePart DataSource used to send mail
-    permission java.util.PropertyPermission "java.home", "read";
-    permission java.util.PropertyPermission "java.naming.*", "read";
-    permission java.util.PropertyPermission "javax.sql.*", "read";
-
-    // OS Specific properties to allow read access
-    permission java.util.PropertyPermission "os.name", "read";
-    permission java.util.PropertyPermission "os.version", "read";
-    permission java.util.PropertyPermission "os.arch", "read";
-    permission java.util.PropertyPermission "file.separator", "read";
-    permission java.util.PropertyPermission "path.separator", "read";
-    permission java.util.PropertyPermission "line.separator", "read";
-
-    // JVM properties to allow read access
-    permission java.util.PropertyPermission "java.version", "read";
-    permission java.util.PropertyPermission "java.vendor", "read";
-    permission java.util.PropertyPermission "java.vendor.url", "read";
-    permission java.util.PropertyPermission "java.class.version", "read";
-	permission java.util.PropertyPermission "java.specification.version", "read";
-	permission java.util.PropertyPermission "java.specification.vendor", "read";
-	permission java.util.PropertyPermission "java.specification.name", "read";
-
-	permission java.util.PropertyPermission "java.vm.specification.version", "read";
-	permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
-	permission java.util.PropertyPermission "java.vm.specification.name", "read";
-	permission java.util.PropertyPermission "java.vm.version", "read";
-	permission java.util.PropertyPermission "java.vm.vendor", "read";
-	permission java.util.PropertyPermission "java.vm.name", "read";
-
-    // Required for OpenJMX
-    permission java.lang.RuntimePermission "getAttribute";
-
-	// Allow read of JAXP compliant XML parser debug
-	permission java.util.PropertyPermission "jaxp.debug", "read";
-
-    // Precompiled JSPs need access to this package.
-    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
-    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
-    
-};
-
-
-// You can assign additional permissions to particular web applications by
-// adding additional "grant" entries here, based on the code base for that
-// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
-//
-// Different permissions can be granted to JSP pages, classes loaded from
-// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
-// directory, or even to individual jar files in the /WEB-INF/lib/ directory.
-//
-// For instance, assume that the standard "examples" application
-// included a JDBC driver that needed to establish a network connection to the
-// corresponding database and used the scrape taglib to get the weather from
-// the NOAA web server.  You might create a "grant" entries like this:
-//
-// The permissions granted to the context root directory apply to JSP pages.
-// grant codeBase "file:${catalina.home}/webapps/examples/-" {
-//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
-//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
-// };
-//
-// The permissions granted to the context WEB-INF/classes directory
-// grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
-// };
-//
-// The permission granted to your JDBC driver
-// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
-//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
-// };
-// The permission granted to the scrape taglib
-// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
-//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
-// };
-
+// ============================================================================
+// catalina.corepolicy - Security Policy Permissions for Tomcat 5
+//
+// This file contains a default set of security policies to be enforced (by the
+// JVM) when Catalina is executed with the "-security" option.  In addition
+// to the permissions granted here, the following additional permissions are
+// granted to the codebase specific to each web application:
+//
+// * Read access to the document root directory
+//
+// $Id$
+// ============================================================================
+
+
+// ========== SYSTEM CODE PERMISSIONS =========================================
+
+
+// These permissions apply to javac
+grant codeBase "file:${java.home}/lib/-" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to all shared system extensions
+grant codeBase "file:${java.home}/jre/lib/ext/-" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre
+grant codeBase "file:${java.home}/../lib/-" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to all shared system extensions when
+// ${java.home} points at $JAVA_HOME/jre
+grant codeBase "file:${java.home}/lib/ext/-" {
+        permission java.security.AllPermission;
+};
+
+
+// ========== CATALINA CODE PERMISSIONS =======================================
+
+
+// These permissions apply to the launcher code
+grant codeBase "file:${catalina.home}/bin/commons-launcher.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the daemon code
+grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the commons-logging API
+grant codeBase "file:${catalina.home}/bin/commons-logging-api.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the server startup code
+grant codeBase "file:${catalina.home}/bin/bootstrap.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the JMX server
+grant codeBase "file:${catalina.home}/bin/jmx.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to JULI
+grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the servlet API classes
+// and those that are shared across all class loaders
+// located in the "common" directory
+grant codeBase "file:${catalina.home}/common/-" {
+        permission java.security.AllPermission;
+};
+
+// These permissions apply to the container's core code, plus any additional
+// libraries installed in the "server" directory
+grant codeBase "file:${catalina.home}/server/-" {
+        permission java.security.AllPermission;
+};
+
+// The permissions granted to the balancer WEB-INF/classes and WEB-INF/lib directory
+grant codeBase "file:${catalina.home}/webapps/balancer/-" {
+        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester";
+        permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.util.digester.*";
+};
+// ========== WEB APPLICATION PERMISSIONS =====================================
+
+
+// These permissions are granted by default to all web applications
+// In addition, a web application will be given a read FilePermission
+// and JndiPermission for all files and directories in its document root.
+grant { 
+    // Required for JNDI lookup of named JDBC DataSource's and
+    // javamail named MimePart DataSource used to send mail
+    permission java.util.PropertyPermission "java.home", "read";
+    permission java.util.PropertyPermission "java.naming.*", "read";
+    permission java.util.PropertyPermission "javax.sql.*", "read";
+
+    // OS Specific properties to allow read access
+    permission java.util.PropertyPermission "os.name", "read";
+    permission java.util.PropertyPermission "os.version", "read";
+    permission java.util.PropertyPermission "os.arch", "read";
+    permission java.util.PropertyPermission "file.separator", "read";
+    permission java.util.PropertyPermission "path.separator", "read";
+    permission java.util.PropertyPermission "line.separator", "read";
+
+    // JVM properties to allow read access
+    permission java.util.PropertyPermission "java.version", "read";
+    permission java.util.PropertyPermission "java.vendor", "read";
+    permission java.util.PropertyPermission "java.vendor.url", "read";
+    permission java.util.PropertyPermission "java.class.version", "read";
+	permission java.util.PropertyPermission "java.specification.version", "read";
+	permission java.util.PropertyPermission "java.specification.vendor", "read";
+	permission java.util.PropertyPermission "java.specification.name", "read";
+
+	permission java.util.PropertyPermission "java.vm.specification.version", "read";
+	permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
+	permission java.util.PropertyPermission "java.vm.specification.name", "read";
+	permission java.util.PropertyPermission "java.vm.version", "read";
+	permission java.util.PropertyPermission "java.vm.vendor", "read";
+	permission java.util.PropertyPermission "java.vm.name", "read";
+
+    // Required for OpenJMX
+    permission java.lang.RuntimePermission "getAttribute";
+
+	// Allow read of JAXP compliant XML parser debug
+	permission java.util.PropertyPermission "jaxp.debug", "read";
+
+    // Precompiled JSPs need access to this package.
+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime";
+    permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime.*";
+    
+};
+
+
+// You can assign additional permissions to particular web applications by
+// adding additional "grant" entries here, based on the code base for that
+// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files.
+//
+// Different permissions can be granted to JSP pages, classes loaded from
+// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/
+// directory, or even to individual jar files in the /WEB-INF/lib/ directory.
+//
+// For instance, assume that the standard "examples" application
+// included a JDBC driver that needed to establish a network connection to the
+// corresponding database and used the scrape taglib to get the weather from
+// the NOAA web server.  You might create a "grant" entries like this:
+//
+// The permissions granted to the context root directory apply to JSP pages.
+// grant codeBase "file:${catalina.home}/webapps/examples/-" {
+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
+// };
+//
+// The permissions granted to the context WEB-INF/classes directory
+// grant codeBase "file:${catalina.home}/webapps/examples/WEB-INF/classes/-" {
+// };
+//
+// The permission granted to your JDBC driver
+// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/driver.jar!/-" {
+//      permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect";
+// };
+// The permission granted to the scrape taglib
+// grant codeBase "jar:file:${catalina.home}/webapps/examples/WEB-INF/lib/scrape.jar!/-" {
+//      permission java.net.SocketPermission "*.noaa.gov:80", "connect";
+// };
+

Propchange: continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/catalina.policy
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Propchange: continuum/trunk/continuum-webapp-test/src/test/tomcat5x/context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp-test/src/test/tomcat5x/context.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"