Author: gonzalo Date: 2005-04-27 23:56:38 -0400 (Wed, 27 Apr 2005) New Revision: 43704
Added: trunk/mcs/class/System.Web/Test/System.Web.Caching/Makefile trunk/mcs/class/System.Web/Test/System.Web.Caching/README Removed: trunk/mcs/class/System.Web/Test/System.Web.Caching/readme.txt Modified: trunk/mcs/class/System.Web/Test/System.Web.Caching/CacheStress.cs Log: updates Modified: trunk/mcs/class/System.Web/Test/System.Web.Caching/CacheStress.cs =================================================================== --- trunk/mcs/class/System.Web/Test/System.Web.Caching/CacheStress.cs 2005-04-28 03:42:24 UTC (rev 43703) +++ trunk/mcs/class/System.Web/Test/System.Web.Caching/CacheStress.cs 2005-04-28 03:56:38 UTC (rev 43704) @@ -1,3 +1,33 @@ +// +// CacheStress +// +// Authors: +// Eyal Alayuf (Mainsoft) +// +// (c) 2005 Mainsoft, Inc. (http://www.mainsoft.com) +// + +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + using System; using System.Web.Caching; using System.Threading; @@ -2,5 +32,2 @@ -/// <summary> -/// Summary description for Class1. -/// </summary> public class CacheStress @@ -15,9 +42,6 @@ static Cache c; static SafeSum Sum = new SafeSum(); - /// <summary> - /// The main entry point for the application. - /// </summary> static void Main(string[] args) { if (args.Length < 2) { Added: trunk/mcs/class/System.Web/Test/System.Web.Caching/Makefile =================================================================== --- trunk/mcs/class/System.Web/Test/System.Web.Caching/Makefile 2005-04-28 03:42:24 UTC (rev 43703) +++ trunk/mcs/class/System.Web/Test/System.Web.Caching/Makefile 2005-04-28 03:56:38 UTC (rev 43704) @@ -0,0 +1,8 @@ +thisdir = class/System.Web/Test/System.Web.Caching +SUBDIRS = +include ../../../../build/rules.make + +all-local install-local clean-local test-local run-test-local run-test-ondotnet-local uninstall-local: + +DISTFILES = CacheStress.cs + Copied: trunk/mcs/class/System.Web/Test/System.Web.Caching/README (from rev 43703, trunk/mcs/class/System.Web/Test/System.Web.Caching/readme.txt) Deleted: trunk/mcs/class/System.Web/Test/System.Web.Caching/readme.txt =================================================================== --- trunk/mcs/class/System.Web/Test/System.Web.Caching/readme.txt 2005-04-28 03:42:24 UTC (rev 43703) +++ trunk/mcs/class/System.Web/Test/System.Web.Caching/readme.txt 2005-04-28 03:56:38 UTC (rev 43704) @@ -1,10 +0,0 @@ -The CacheStress.cs test is a standalone test that should be compiled and run -as a console application. -In normal mode the test prints every 10 seconds the number of transactions it -committed. -In case of an exception the test prints the exception and continues. In case -of a deadlock the transaction count will remain constant. -Note that the test does not run in .Net on Windows since the System.Web.Caching -of .Net cannot be used from a console application. Mono's implementation does -not currently have this dependency. When (and if) it does this test should -be made into a Web application. _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
