<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation

Licensed 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.
-->
<portlet-app  
    xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">    


<portlet>
    <description>Small memory footprint test suite portlet.</description>
    <portlet-name>MemoryContentSmall</portlet-name>
    <display-name>Memory Content Small (32 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>32</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Memory Content Small</title>
      <short-title>MemorySmall</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Medium memory footprint test suite portlet.</description>
    <portlet-name>MemoryContentMedium</portlet-name>
    <display-name>Memory Content Medium (1024 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>1024</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Memory Content Medium</title>
      <short-title>MemoryMedium</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Large memory footprint test suite portlet.</description>
    <portlet-name>MemoryContentLarge</portlet-name>
    <display-name>Memory Content Large (8192 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>8192</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Memory Content Large</title>
      <short-title>MemoryLarge</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Small text file footprint test suite portlet.</description>
    <portlet-name>FileContentSmall</portlet-name>
    <display-name>File Content Small (32 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/small.html</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>File Content Small</title>
      <short-title>FileSmall</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Medium text file footprint test suite portlet.</description>
    <portlet-name>FileContentMedium</portlet-name>
    <display-name>File Content Medium (1024 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/medium.html</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>File Content Medium</title>
      <short-title>FileMedium</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>
    
 <portlet>
    <description>Large text file footprint test suite portlet.</description>
    <portlet-name>FileContentLarge</portlet-name>
    <display-name>File Content Large (8192 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/large.html</value>
    </init-param>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>File Content Large</title>
      <short-title>FileLarge</short-title>
      <keywords>load,test,performance,testsuite,metrics</keywords>
    </portlet-info>
</portlet>

<!-- Cached Versions -->
<portlet>
    <description>Cached Small memory footprint test suite portlet.</description>
    <portlet-name>CachedMemoryContentSmall</portlet-name>
    <display-name>Cached Memory Content Small (32 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>32</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Cached Memory Content Small</title>
      <short-title>CachedMemorySmall</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Cached Medium memory footprint test suite portlet.</description>
    <portlet-name>CachedMemoryContentMedium</portlet-name>
    <display-name>Cached Memory Content Medium (1024 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>1024</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Cached Memory Content Medium</title>
      <short-title>CachedMemoryMedium</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Cached Large memory footprint test suite portlet.</description>
    <portlet-name>CachedMemoryContentLarge</portlet-name>
    <display-name>Cached Memory Content Large (8192 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.MemoryContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the size of the memory content buffer.</description>
       <name>MemorySize</name>
       <value>8192</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Memory Content Large</title>
      <short-title>MemoryLarge</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Cached Small text file footprint test suite portlet.</description>
    <portlet-name>CachedFileContentSmall</portlet-name>
    <display-name>Cached File Content Small (32 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/small.html</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Cached File Content Small</title>
      <short-title>CachedFileSmall</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>

<portlet>
    <description>Cached Medium text file footprint test suite portlet.</description>
    <portlet-name>CachedFileContentMedium</portlet-name>
    <display-name>Cached File Content Medium (1024 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/medium.html</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Cached File Content Medium</title>
      <short-title>CachedFileMedium</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>
    
 <portlet>
    <description>Cached Large text file footprint test suite portlet.</description>
    <portlet-name>CachedFileContentLarge</portlet-name>
    <display-name>Cached File Content Large (8192 char)</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.FileContentPortlet</portlet-class>
    <init-param>
       <description>This parameter sets the location of the file relative to the webapp.</description>
       <name>ViewPage</name>
       <value>/WEB-INF/content/large.html</value>
    </init-param>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>File Content Large</title>
      <short-title>FileLarge</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache</keywords>
    </portlet-info>
</portlet>

 <portlet>
    <description>Preferences Test</description>
    <portlet-name>PreferencesTest</portlet-name>
    <display-name>PreferencesTest</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.PrefsTestPortlet</portlet-class>
    <init-param>
       <description>The number of preference values to create per test.</description>
       <name>PrefsCount</name>
       <value>24</value>
    </init-param>
    <init-param>
       <description>The size of the preference string value.</description>
       <name>PrefSize</name>
       <value>20</value>
    </init-param>
    <init-param>
       <description>The prefix of the preference name.</description>
       <name>PrefixName</name>
       <value>preference-</value>
    </init-param>
    <expiration-cache>0</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Preferences Test</title>
      <short-title>PrefsTest</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache,prefs</keywords>
    </portlet-info>
</portlet>

 <portlet>
    <description>Preferences Test 2</description>
    <portlet-name>PreferencesTest2</portlet-name>
    <display-name>PreferencesTest2</display-name>
    <portlet-class>org.apache.jetspeed.performance.suite.PrefsTestPortlet2</portlet-class>
    <expiration-cache>0</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <portlet-info>
      <title>Preferences Test 2</title>
      <short-title>PrefsTest2</short-title>
      <keywords>load,test,performance,testsuite,metrics,cache,prefs</keywords>
    </portlet-info>
</portlet>
 
</portlet-app>
