Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,176 @@
//
// System.Web.Hosting.HostingEnvironmentTest
//
// Author:
// Gert Driesen (drieseng@users.sourceforge.net)
//
//
// Copyright (C) 2007 Gert Driesen
//
// 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.
//
#if NET_2_0
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Web;
using System.Web.Caching;
using NUnit.Framework;
namespace MonoTests.System.Web.Caching
{
[TestFixture]
public class AggregateCacheDependencyTest
{
private string _tempFolder;
[SetUp]
public void SetUp ()
{
_tempFolder = Path.Combine (Path.GetTempPath (),
"MonoTests.System.Web.Caching.AggregateCacheDependencyTest");
if (Directory.Exists (_tempFolder))
Directory.Delete (_tempFolder, true);
Directory.CreateDirectory (_tempFolder);
}
[TearDown]
public void TearDown ()
{
if (Directory.Exists (_tempFolder))
Directory.Delete (_tempFolder, true);
}
[Test] // bug #82419
[Ignore ("The test is not written in reproducible way and hence keeps build looks as if it regressed incorrectly")]
public void SingleDependency ()
{
string depFile = Path.Combine (_tempFolder, "dep.tmp");
AggregateCacheDependency aggregate = new AggregateCacheDependency ();
aggregate.Add (new CacheDependency (depFile));
DateTime absoluteExpiration = DateTime.Now.AddSeconds (4);
TimeSpan slidingExpiration = TimeSpan.Zero;
CacheItemPriority priority = CacheItemPriority.Default;
string original = "MONO";
HttpRuntime.Cache.Insert ("key", original, aggregate,
absoluteExpiration, slidingExpiration, priority,
null);
string cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#A1");
Assert.AreEqual ("MONO", cachedValue, "#A2");
Assert.IsFalse (aggregate.HasChanged, "#A3");
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#B1");
Assert.AreEqual ("MONO", cachedValue, "#B2");
Assert.IsFalse (aggregate.HasChanged, "#B3");
File.WriteAllText (depFile, "OK", Encoding.UTF8);
Thread.Sleep (500);
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNull (cachedValue, "#C1");
Assert.IsTrue (aggregate.HasChanged, "#C2");
}
[Test]
[Ignore ("This test is racy, it fails from time to time.")]
public void AbsoluteExpiration ()
{
string depFile = Path.Combine (_tempFolder, "dep.tmp");
AggregateCacheDependency aggregate = new AggregateCacheDependency ();
aggregate.Add (new CacheDependency (depFile));
DateTime absoluteExpiration = DateTime.Now.AddMilliseconds (100);
TimeSpan slidingExpiration = TimeSpan.Zero;
CacheItemPriority priority = CacheItemPriority.Default;
string original = "MONO";
HttpRuntime.Cache.Insert ("key", original, aggregate,
absoluteExpiration, slidingExpiration, priority,
null);
string cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#A1");
Assert.AreEqual ("MONO", cachedValue, "#A2");
Assert.IsFalse (aggregate.HasChanged, "#A3");
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#B1");
Assert.AreEqual ("MONO", cachedValue, "#B2");
Assert.IsFalse (aggregate.HasChanged, "#B3");
Thread.Sleep (500);
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNull (cachedValue, "#C1");
Assert.IsFalse (aggregate.HasChanged, "#C2");
}
[Test]
[Category ("NotWorking")]
public void SlidingExpiration ()
{
string depFile = Path.Combine (_tempFolder, "dep.tmp");
AggregateCacheDependency aggregate = new AggregateCacheDependency ();
aggregate.Add (new CacheDependency (depFile));
DateTime absoluteExpiration = Cache.NoAbsoluteExpiration;
TimeSpan slidingExpiration = new TimeSpan (0, 0, 0, 0, 100);
CacheItemPriority priority = CacheItemPriority.Default;
string original = "MONO";
HttpRuntime.Cache.Insert ("key", original, aggregate,
absoluteExpiration, slidingExpiration, priority,
null);
string cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#A1");
Assert.AreEqual ("MONO", cachedValue, "#A2");
Assert.IsFalse (aggregate.HasChanged, "#A3");
Thread.Sleep (50);
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNotNull (cachedValue, "#B1");
Assert.AreEqual ("MONO", cachedValue, "#B2");
Assert.IsFalse (aggregate.HasChanged, "#B3");
Thread.Sleep (120);
cachedValue = HttpRuntime.Cache.Get ("key") as string;
Assert.IsNull (cachedValue, "#C1");
Assert.IsFalse (aggregate.HasChanged, "#C2");
}
}
}
#endif

View File

@@ -0,0 +1,63 @@
//
// CacheCas.cs - CAS unit tests for System.Web.Caching.Cache
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.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 NUnit.Framework;
using System;
using System.Security;
using System.Security.Permissions;
using System.Web;
using System.Web.Caching;
namespace MonoCasTests.System.Web.Caching {
[TestFixture]
[Category ("CAS")]
public class CacheCas : AspNetHostingMinimal {
// LAMESPEC: using Cache also requires permission for UnmanagedCode
// this shows up only for PermitOnly (expected) unless Level is None
[SecurityPermission (SecurityAction.Assert, UnmanagedCode = true)]
private object UnmanagedCreateControl (SecurityAction action, AspNetHostingPermissionLevel level)
{
return base.CreateControl (action, level);
}
public override object CreateControl (SecurityAction action, AspNetHostingPermissionLevel level)
{
if ((level != AspNetHostingPermissionLevel.None) && (action == SecurityAction.PermitOnly))
return UnmanagedCreateControl (action, level);
else
return base.CreateControl (action, level);
}
public override Type Type {
get { return typeof (Cache); }
}
}
}

View File

@@ -0,0 +1,98 @@
//
// CacheDependencyCas.cs
// - CAS unit tests for System.Web.Caching.CacheDependency
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.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 NUnit.Framework;
using System;
using System.IO;
using System.Reflection;
using System.Security.Permissions;
using System.Web;
using System.Web.Caching;
namespace MonoCasTests.System.Web.Caching {
[TestFixture]
[Category ("CAS")]
public class CacheDependencyCas : AspNetHostingMinimal {
private string tempFile;
[TestFixtureSetUp]
public void FixtureSetUp ()
{
// that requires both FileIOPermission and EnvironmentPermission
// so we do it before setting the stack with PermitOnly and Deny
tempFile = Path.GetTempFileName ();
}
// note: CacheDependency still requires some file access
[FileIOPermission (SecurityAction.Assert, Unrestricted = true)]
#if ONLY_1_1
[SecurityPermission (SecurityAction.Assert, UnmanagedCode = true)]
#endif
private object FileIOPermissionCreateControl (SecurityAction action, AspNetHostingPermissionLevel level)
{
return CreateControlStringCtor (action, level);
}
public override object CreateControl (SecurityAction action, AspNetHostingPermissionLevel level)
{
if ((level != AspNetHostingPermissionLevel.None) && (action == SecurityAction.PermitOnly)) {
try {
return FileIOPermissionCreateControl (action, level);
}
catch (TargetInvocationException tie) {
#if ONLY_1_1
// hide this error (occurs with ms 1.x)
if ((tie.InnerException is NullReferenceException) &&
(level == AspNetHostingPermissionLevel.Unrestricted)) {
return String.Empty;
}
#endif
throw tie;
}
}
else
return CreateControlStringCtor (action, level);
}
private object CreateControlStringCtor (SecurityAction action, AspNetHostingPermissionLevel level)
{
// not public empty (default) ctor - at least not before 2.0
ConstructorInfo ci = this.Type.GetConstructor (new Type[1] { typeof (string) });
Assert.IsNotNull (ci, ".ctor(string)");
return ci.Invoke (new object[1] { tempFile });
}
public override Type Type {
get { return typeof (CacheDependency); }
}
}
}

View File

@@ -0,0 +1,199 @@
// Authors:
// Marek Habersack <mhabersack@novell.com>
//
// Copyright (C) 2010 Novell Inc. http://novell.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.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Text;
using System.Web.Caching;
using NUnit.Framework;
namespace MonoTests.System.Web.Caching
{
[TestFixture]
public partial class CacheItemPriorityQueueTest
{
const string DATA_DIR = "CacheItemPriorityQueueTestData";
static readonly string dataDir;
sealed class TestCacheItem : CacheItem
{
public Guid Guid;
public TestCacheItem (string dataLine)
{
string[] data = dataLine.Split (',');
int index = 0;
Key = LoadField <string> (index++, data);
AbsoluteExpiration = new DateTime (LoadField <long> (index++, data));
SlidingExpiration = new TimeSpan (LoadField <long> (index++, data));
Priority = LoadField <CacheItemPriority> (index++, data);
LastChange = new DateTime (LoadField <long> (index++, data));
ExpiresAt = LoadField <long> (index++, data);
Disabled = LoadField <bool> (index++, data);
Guid = new Guid (LoadField <string> (index++, data));
if (data.Length > index)
PriorityQueueIndex = LoadField <int> (index++, data);
else
PriorityQueueIndex = -1;
}
public override string ToString ()
{
return String.Format ("CacheItem [{0}]\n[{1}][{2}][{3}]", this.Guid, Key, Disabled, ExpiresAt > 0 ? new DateTime (ExpiresAt).ToString () : "0");
}
T LoadField <T> (int index, string[] data)
{
if (data == null || data.Length <= index)
throw new ArgumentOutOfRangeException ("index");
string s = data [index];
if (String.IsNullOrEmpty (s))
return default (T);
TypeConverter cvt = TypeDescriptor.GetConverter (typeof (T));
if (cvt == null)
throw new InvalidOperationException (String.Format ("Cannot find converter for type {0}, field {1}", typeof (T), index));
if (!cvt.CanConvertFrom (typeof (string)))
throw new InvalidOperationException (String.Format ("Converter for type {0} cannot convert from string, field {1}", typeof (T), index));
return (T)cvt.ConvertFromString (s);
}
}
static CacheItemPriorityQueueTest ()
{
dataDir =
Path.Combine (
Path.Combine (
Path.Combine (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location), "Test"),
"System.Web.Caching"),
DATA_DIR);
}
void RunTest (string testsFileName, string listFileName)
{
var queue = new CacheItemPriorityQueue ();
var cacheItems = new List <TestCacheItem> ();
string listPath = Path.Combine (dataDir, listFileName);
string testsPath = Path.Combine (dataDir, testsFileName);
string line;
using (var sr = new StreamReader (listPath, Encoding.UTF8)) {
while ((line = sr.ReadLine ()) != null) {
if (line [0] == '#')
continue;
cacheItems.Add (new TestCacheItem (line));
}
}
using (var sr = new StreamReader (testsPath, Encoding.UTF8)) {
int i = 0;
while ((line = sr.ReadLine ()) != null) {
if (line [0] == '#')
continue;
RunItem (new CacheItemPriorityQueueTestItem (line), queue, cacheItems, i++);
}
}
}
void RunItem (CacheItemPriorityQueueTestItem item, CacheItemPriorityQueue queue, List <TestCacheItem> list, int testNum)
{
TestCacheItem ci;
string messagePrefix = String.Format ("{0}-{1:00000}-{2:00000}-", item.Operation, item.OperationCount, testNum);
switch (item.Operation) {
case QueueOperation.Enqueue:
queue.Enqueue (list [item.ListIndex]);
Assert.AreEqual (item.QueueCount, queue.Count, messagePrefix + "1");
Assert.AreEqual (item.Guid, ((TestCacheItem)queue.Peek ()).Guid.ToString (), messagePrefix + "2");
break;
case QueueOperation.Dequeue:
ci = (TestCacheItem)queue.Dequeue ();
if (item.IsNull)
Assert.IsNull (ci, messagePrefix + "1");
else {
Assert.IsNotNull (ci, messagePrefix + "2");
Assert.AreEqual (item.Guid, ci.Guid.ToString (), messagePrefix + "3");
Assert.AreEqual (item.IsDisabled, ci.Disabled, messagePrefix + "4");
}
Assert.AreEqual (item.QueueCount, queue.Count, messagePrefix + "5");
break;
case QueueOperation.Disable:
ci = list [item.ListIndex];
if (item.IsNull)
Assert.IsNull (ci, messagePrefix + "1");
else {
Assert.IsNotNull (ci, messagePrefix + "2");
Assert.AreEqual (item.Guid, ci.Guid.ToString (), messagePrefix + "3");
Assert.AreEqual (item.IsDisabled, ci.Disabled, messagePrefix + "4");
ci.Disabled = item.Disable;
}
break;
case QueueOperation.Peek:
ci = (TestCacheItem)queue.Peek ();
if (item.IsNull)
Assert.IsNull (ci, messagePrefix + "1");
else {
Assert.IsNotNull (ci, messagePrefix + "2");
Assert.AreEqual (item.Guid, ci.Guid.ToString (), messagePrefix + "3");
Assert.AreEqual (item.IsDisabled, ci.Disabled, messagePrefix + "4");
}
Assert.AreEqual (item.QueueCount, queue.Count, messagePrefix + "5");
break;
case QueueOperation.QueueSize:
Assert.AreEqual (item.QueueCount, queue.Count, "Queue size after sequence");
break;
case QueueOperation.Update:
ci = list [item.ListIndex];
queue.Update (ci);
if (item.IsNull)
Assert.IsNull (ci, messagePrefix + "1");
else {
Assert.IsNotNull (ci, messagePrefix + "2");
Assert.AreEqual (item.Guid, ci.Guid.ToString (), messagePrefix + "3");
Assert.AreEqual (item.ExpiresAt, ci.ExpiresAt, messagePrefix + "4");
Assert.AreEqual (item.PriorityQueueIndex, ci.PriorityQueueIndex, messagePrefix + "5");
}
break;
default:
Assert.Fail ("Unknown QueueOperation: {0}", item.Operation);
break;
}
}
}
}

View File

@@ -0,0 +1,12 @@
# Each row contains TestCacheItem fields, one item per line, in the following order:
# Key, AbsoluteExpiration, SlidingExpiration, Priority, LastChange, ExpiresAt, Disabled, Guid, PriorityQueueIndex
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610181191660,0,3,634003610131192280,634003610181191660,false,b50f84e2-b96b-4183-ac6a-afeec88a258d,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131234770,12000000000,4,634003610131234800,634003622131234770,false,78f08aef-31b7-49e6-8ba9-2d7b09f5340e,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131252350,12000000000,4,634003610131252370,634003622131252350,false,ecd90b49-bb12-4524-818e-977356f8b9d2,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131299190,634003610216655680,false,38e7f821-d638-4f1d-89bd-41db556eb37a,-1
@prefix@_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131300370,634003610216655680,false,6e723bac-5e11-4cb3-933f-39923948371c,-1
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610312287880,0,3,634003610262288150,634003610312287880,false,93db96c7-eb5b-43b3-8524-e7d90cd159d7,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288710,12000000000,4,634003610262288720,634003622262288710,false,fc310ed6-2027-4d16-9343-a3e4b3487bd0,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288910,12000000000,4,634003610262288920,634003622262288910,false,de47322e-63c8-474f-8d2f-fb6a591075df,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290290,634003610362271610,false,f003a7ba-af48-4551-a206-1184fc83e621,-1
@prefix@_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290570,634003610362271610,false,5777ab80-078b-4f9a-81fb-f7872aceba99,-1

View File

@@ -0,0 +1,29 @@
0;1;0;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
1;2;0;f;f;f;1;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
1;2;2;f;f;t;0;78f08aef-31b7-49e6-8ba9-2d7b09f5340e;-1;0
2;3;0;f;f;f;2;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
3;4;0;f;f;f;3;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
4;5;0;f;f;f;4;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;4;1;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
0;4;2;f;f;t;1;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;3;1;f;f;f;1;6e723bac-5e11-4cb3-933f-39923948371c;-1;0
3;3;2;f;f;t;2;38e7f821-d638-4f1d-89bd-41db556eb37a;-1;0
-1;2;1;t;f;f;2;38e7f821-d638-4f1d-89bd-41db556eb37a;-1;0
4;2;2;f;f;t;3;6e723bac-5e11-4cb3-933f-39923948371c;-1;0
5;3;0;f;f;f;5;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
2;3;2;f;f;t;4;ecd90b49-bb12-4524-818e-977356f8b9d2;-1;0
6;4;0;f;f;f;6;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
6;4;2;f;f;t;5;fc310ed6-2027-4d16-9343-a3e4b3487bd0;-1;0
7;5;0;f;f;f;7;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
8;6;0;f;f;f;8;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
9;7;0;f;f;f;9;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
-1;6;1;f;f;f;3;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
5;6;2;f;f;t;6;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
-1;5;1;f;f;f;4;5777ab80-078b-4f9a-81fb-f7872aceba99;-1;0
8;5;2;f;f;t;7;f003a7ba-af48-4551-a206-1184fc83e621;-1;0
-1;5;4;f;f;f;-1;null;-1;0
-1;4;1;t;f;f;5;f003a7ba-af48-4551-a206-1184fc83e621;-1;0
-1;3;1;t;f;f;6;78f08aef-31b7-49e6-8ba9-2d7b09f5340e;-1;0
-1;2;1;t;f;f;7;ecd90b49-bb12-4524-818e-977356f8b9d2;-1;0
-1;1;1;t;f;f;8;fc310ed6-2027-4d16-9343-a3e4b3487bd0;-1;0
-1;0;1;f;f;f;9;de47322e-63c8-474f-8d2f-fb6a591075df;-1;0

View File

@@ -0,0 +1,12 @@
# Each row contains TestCacheItem fields, one item per line, in the following order:
# Key, AbsoluteExpiration, SlidingExpiration, Priority, LastChange, ExpiresAt, Disabled, Guid, PriorityQueueIndex
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610181191660,0,3,634003610131192280,634003610181191660,false,b50f84e2-b96b-4183-ac6a-afeec88a258d,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131234770,12000000000,4,634003610131234800,634003622131234770,false,78f08aef-31b7-49e6-8ba9-2d7b09f5340e,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131252350,12000000000,4,634003610131252370,634003622131252350,false,ecd90b49-bb12-4524-818e-977356f8b9d2,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131299190,634003610216655680,false,38e7f821-d638-4f1d-89bd-41db556eb37a,-1
@prefix@_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131300370,634003610216655680,false,6e723bac-5e11-4cb3-933f-39923948371c,-1
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610312287880,0,3,634003610262288150,634003610312287880,false,93db96c7-eb5b-43b3-8524-e7d90cd159d7,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288710,12000000000,4,634003610262288720,634003622262288710,false,fc310ed6-2027-4d16-9343-a3e4b3487bd0,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288910,12000000000,4,634003610262288920,634003622262288910,false,de47322e-63c8-474f-8d2f-fb6a591075df,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290290,634003610362271610,false,f003a7ba-af48-4551-a206-1184fc83e621,-1
@prefix@_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290570,634003610362271610,false,5777ab80-078b-4f9a-81fb-f7872aceba99,-1

View File

@@ -0,0 +1,21 @@
0;1;0;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
1;2;0;f;f;f;1;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
2;3;0;f;f;f;2;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
3;4;0;f;f;f;3;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
4;5;0;f;f;f;4;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
5;6;0;f;f;f;5;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
6;7;0;f;f;f;6;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
7;8;0;f;f;f;7;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
8;9;0;f;f;f;8;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
9;10;0;f;f;f;9;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;10;4;f;f;f;-1;null;-1;0
-1;9;1;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;8;1;f;f;f;1;38e7f821-d638-4f1d-89bd-41db556eb37a;-1;0
-1;7;1;f;f;f;2;6e723bac-5e11-4cb3-933f-39923948371c;-1;0
-1;6;1;f;f;f;3;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
-1;5;1;f;f;f;4;f003a7ba-af48-4551-a206-1184fc83e621;-1;0
-1;4;1;f;f;f;5;5777ab80-078b-4f9a-81fb-f7872aceba99;-1;0
-1;3;1;f;f;f;6;78f08aef-31b7-49e6-8ba9-2d7b09f5340e;-1;0
-1;2;1;f;f;f;7;ecd90b49-bb12-4524-818e-977356f8b9d2;-1;0
-1;1;1;f;f;f;8;fc310ed6-2027-4d16-9343-a3e4b3487bd0;-1;0
-1;0;1;f;f;f;9;de47322e-63c8-474f-8d2f-fb6a591075df;-1;0

View File

@@ -0,0 +1,12 @@
# Each row contains TestCacheItem fields, one item per line, in the following order:
# Key, AbsoluteExpiration, SlidingExpiration, Priority, LastChange, ExpiresAt, Disabled, Guid, PriorityQueueIndex
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610181191660,0,3,634003610131192280,634003610181191660,false,b50f84e2-b96b-4183-ac6a-afeec88a258d,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131234770,12000000000,4,634003610131234800,634003622131234770,false,78f08aef-31b7-49e6-8ba9-2d7b09f5340e,-1
@@@InProc@074DE5C88B2981727366B98C,634003622131252350,12000000000,4,634003610131252370,634003622131252350,false,ecd90b49-bb12-4524-818e-977356f8b9d2,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131299190,634003610216655680,false,38e7f821-d638-4f1d-89bd-41db556eb37a,-1
@prefix@_vbk/default.aspxGETWQFH,634003610216655680,0,3,634003610131300370,634003610216655680,false,6e723bac-5e11-4cb3-933f-39923948371c,-1
PartialCachingControl\nGUID: 0a543377-1bcc-4ec5-9096-616fa29ec3f5\n,634003610312287880,0,3,634003610262288150,634003610312287880,false,93db96c7-eb5b-43b3-8524-e7d90cd159d7,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288710,12000000000,4,634003610262288720,634003622262288710,false,fc310ed6-2027-4d16-9343-a3e4b3487bd0,-1
@@@InProc@074DE5C88B2981727366B98C,634003622262288910,12000000000,4,634003610262288920,634003622262288910,false,de47322e-63c8-474f-8d2f-fb6a591075df,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290290,634003610362271610,false,f003a7ba-af48-4551-a206-1184fc83e621,-1
@prefix@_vbk/default.aspxGETWQFH,634003610362271610,0,3,634003610262290570,634003610362271610,false,5777ab80-078b-4f9a-81fb-f7872aceba99,-1

View File

@@ -0,0 +1,21 @@
0;1;0;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
1;2;0;f;f;f;1;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
2;3;0;f;f;f;2;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
3;4;0;f;f;f;3;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
4;5;0;f;f;f;4;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;4;1;f;f;f;0;b50f84e2-b96b-4183-ac6a-afeec88a258d;-1;0
-1;3;1;f;f;f;1;6e723bac-5e11-4cb3-933f-39923948371c;-1;0
-1;2;1;f;f;f;2;38e7f821-d638-4f1d-89bd-41db556eb37a;-1;0
5;3;0;f;f;f;5;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
6;4;0;f;f;f;6;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
7;5;0;f;f;f;7;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
8;6;0;f;f;f;8;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
9;7;0;f;f;f;9;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
-1;6;1;f;f;f;3;93db96c7-eb5b-43b3-8524-e7d90cd159d7;-1;0
-1;5;1;f;f;f;4;5777ab80-078b-4f9a-81fb-f7872aceba99;-1;0
-1;5;4;f;f;f;-1;null;-1;0
-1;4;1;f;f;f;5;f003a7ba-af48-4551-a206-1184fc83e621;-1;0
-1;3;1;f;f;f;6;78f08aef-31b7-49e6-8ba9-2d7b09f5340e;-1;0
-1;2;1;f;f;f;7;ecd90b49-bb12-4524-818e-977356f8b9d2;-1;0
-1;1;1;f;f;f;8;fc310ed6-2027-4d16-9343-a3e4b3487bd0;-1;0
-1;0;1;f;f;f;9;de47322e-63c8-474f-8d2f-fb6a591075df;-1;0

View File

@@ -0,0 +1,30 @@
# Each row contains TestCacheItem fields, one item per line, in the following order:
# Key, AbsoluteExpiration, SlidingExpiration, Priority, LastChange, ExpiresAt, Disabled, Guid, PriorityQueueIndex
PartialCachingControl\nGUID: 19e19704-457b-4894-978c-63d6d022bf22\n,634003686315246510,0,3,634003686265247140,634003686315246510,false,3378afe8-5a2a-4f30-aedd-fa146880f93e,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698265290760,12000000000,4,634003686265290790,634003698265290760,false,33191cc7-c1b4-4726-b428-64efb69a6c46,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698265308270,12000000000,4,634003686265308280,634003698265308270,false,88bee6f1-09ac-4af2-9bc3-ebd619009377,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003686350855860,0,3,634003686265355160,634003686350855860,false,e290608d-7086-41a6-a87a-3f3051c14780,-1
@prefix@_vbk/default.aspxGETWQFH,634003686350855860,0,3,634003686265356080,634003686350855860,false,f374c3d0-06a5-4b0d-8fb5-f0e94a876847,-1
PartialCachingControl\nGUID: 19e19704-457b-4894-978c-63d6d022bf22\n,634003686370745960,0,3,634003686320746390,634003686370745960,false,94cc61f5-312e-4d03-8d56-4e8b400f8ca0,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698320747270,12000000000,4,634003686320747290,634003698320747270,false,986174eb-da85-4a7b-9919-cd0668db69bf,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698320747680,12000000000,4,634003686320747700,634003698320747680,false,3c5fd8ab-a611-4bfb-afb0-5acee9b45dda,-1
@InMemoryOCP_vbk/default.aspxGETWQNgVadmin_edituserNuV78FH,634003686420678320,0,3,634003686320750150,634003686420678320,false,2d354d5c-8996-4932-ba5f-cd3591fe95cb,-1
@prefix@_vbk/default.aspxGETWQNgVadmin_edituserNuV78FH,634003686420678320,0,3,634003686320750900,634003686420678320,false,93a0e663-0354-4301-ac27-9e782091f661,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698369030440,12000000000,4,634003686369030460,634003698369030440,false,feebc79b-1867-42c9-a966-bbb448d78a44,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698369035640,12000000000,4,634003686369035650,634003698369035640,false,474193d1-4fd9-4b06-873a-e575744957a4,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003686469024010,0,3,634003686369037670,634003686469024010,false,817d3f42-bf7b-4a13-90bc-1895cafe2d23,-1
@prefix@_vbk/default.aspxGETWQFH,634003686469024010,0,3,634003686369038110,634003686469024010,false,39402800-3c1e-478c-8bdc-571d902e32a7,-1
PartialCachingControl\nGUID: 19e19704-457b-4894-978c-63d6d022bf22\n,634003686509800050,0,3,634003686459800320,634003686509800050,false,b45b3bd3-d55d-4c41-b9da-150c19ec0856,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698459800810,12000000000,4,634003686459800810,634003698459800810,false,66bc962f-bf18-48a4-8164-722a5f53d211,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698459801130,12000000000,4,634003686459801140,634003698459801130,false,9096d210-ed15-4d38-9af2-26e59b0b8be0,-1
@InMemoryOCP_vbk/default.aspxGETWQNgVadmin_edituserNuV78FH,634003686559793540,0,3,634003686459802570,634003686559793540,false,f7e86ec2-dc06-484f-81ed-df4373fff95b,-1
@prefix@_vbk/default.aspxGETWQNgVadmin_edituserNuV78FH,634003686559793540,0,3,634003686459802840,634003686559793540,false,ad6319f5-27bc-4444-9eb8-1320009ab184,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698501880070,12000000000,4,634003686501880080,634003698501880070,false,4e49dc65-2c6a-4b2f-97e2-9cf09175c57a,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698501880320,12000000000,4,634003686501880320,634003698501880320,false,417fc6e2-b9ae-40eb-906b-6e41b306a908,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003686601873790,0,3,634003686501881840,634003686601873790,false,7b0fb8c1-9642-4854-b979-7e223a092a3d,-1
@prefix@_vbk/default.aspxGETWQFH,634003686601873790,0,3,634003686501882630,634003686601873790,false,414bdd0b-ab30-4d61-aef2-2d34fd929ed2,-1
PartialCachingControl\nGUID: 19e19704-457b-4894-978c-63d6d022bf22\n,634003686655460880,0,3,634003686605461330,634003686655460880,false,c210ae2b-0c3d-4257-848d-f21ee48c02cc,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698605462050,12000000000,4,634003686605462070,634003698605462050,false,ac9cefe3-3331-4ee2-b0f1-69aaca2a955d,-1
@@@InProc@A3D557581E229FAEA58A8D4F,634003698605462460,12000000000,4,634003686605462470,634003698605462460,false,ae852a56-e081-4ee7-b360-81d4ba1a2000,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634003686705453300,0,3,634003686605464710,634003686705453300,false,e8b43015-cc9b-4cad-a881-faead4f18aa3,-1
@prefix@_vbk/default.aspxGETWQFH,634003686705453300,0,3,634003686605465030,634003686705453300,false,3866994b-3be5-4408-9077-529fe701d3f3,-1

View File

@@ -0,0 +1,77 @@
0;1;0;f;f;f;0;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
1;2;0;f;f;f;1;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
1;2;2;f;f;t;0;33191cc7-c1b4-4726-b428-64efb69a6c46;-1;0
2;3;0;f;f;f;2;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
3;4;0;f;f;f;3;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
4;5;0;f;f;f;4;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
0;5;2;f;f;t;1;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
5;6;0;f;f;f;5;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
2;6;2;f;f;t;2;88bee6f1-09ac-4af2-9bc3-ebd619009377;-1;0
6;7;0;f;f;f;6;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
6;7;2;f;f;t;3;986174eb-da85-4a7b-9919-cd0668db69bf;-1;0
7;8;0;f;f;f;7;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
8;9;0;f;f;f;8;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
9;10;0;f;f;f;9;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
3;10;2;f;f;t;4;e290608d-7086-41a6-a87a-3f3051c14780;-1;0
7;10;2;f;f;t;5;3c5fd8ab-a611-4bfb-afb0-5acee9b45dda;-1;0
10;11;0;f;f;f;10;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
10;11;2;f;f;t;6;feebc79b-1867-42c9-a966-bbb448d78a44;-1;0
11;12;0;f;f;f;11;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
12;13;0;f;f;f;12;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
13;14;0;f;f;f;13;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
8;14;2;f;f;t;7;2d354d5c-8996-4932-ba5f-cd3591fe95cb;-1;0
5;14;2;f;f;t;8;94cc61f5-312e-4d03-8d56-4e8b400f8ca0;-1;0
14;15;0;f;f;f;14;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
11;15;2;f;f;t;9;474193d1-4fd9-4b06-873a-e575744957a4;-1;0
15;16;0;f;f;f;15;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
15;16;2;f;f;t;10;66bc962f-bf18-48a4-8164-722a5f53d211;-1;0
16;17;0;f;f;f;16;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
17;18;0;f;f;f;17;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
18;19;0;f;f;f;18;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
12;19;2;f;f;t;11;817d3f42-bf7b-4a13-90bc-1895cafe2d23;-1;0
16;19;2;f;f;t;12;9096d210-ed15-4d38-9af2-26e59b0b8be0;-1;0
19;20;0;f;f;f;19;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
19;20;2;f;f;t;13;4e49dc65-2c6a-4b2f-97e2-9cf09175c57a;-1;0
20;21;0;f;f;f;20;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
21;22;0;f;f;f;21;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
22;23;0;f;f;f;22;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
21;23;2;f;f;t;14;7b0fb8c1-9642-4854-b979-7e223a092a3d;-1;0
14;23;2;f;f;t;15;b45b3bd3-d55d-4c41-b9da-150c19ec0856;-1;0
23;24;0;f;f;f;23;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
20;24;2;f;f;t;16;417fc6e2-b9ae-40eb-906b-6e41b306a908;-1;0
24;25;0;f;f;f;24;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
24;25;2;f;f;t;17;ac9cefe3-3331-4ee2-b0f1-69aaca2a955d;-1;0
25;26;0;f;f;f;25;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
26;27;0;f;f;f;26;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
27;28;0;f;f;f;27;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
-1;27;1;t;f;f;0;3378afe8-5a2a-4f30-aedd-fa146880f93e;-1;0
23;27;2;f;f;t;18;c210ae2b-0c3d-4257-848d-f21ee48c02cc;-1;0
-1;26;1;t;f;f;1;e290608d-7086-41a6-a87a-3f3051c14780;-1;0
26;26;2;f;f;t;19;e8b43015-cc9b-4cad-a881-faead4f18aa3;-1;0
-1;26;4;f;f;f;-1;null;-1;0
-1;25;1;f;f;f;2;f374c3d0-06a5-4b0d-8fb5-f0e94a876847;-1;0
-1;24;1;t;f;f;3;94cc61f5-312e-4d03-8d56-4e8b400f8ca0;-1;0
-1;23;1;t;f;f;4;2d354d5c-8996-4932-ba5f-cd3591fe95cb;-1;0
-1;22;1;f;f;f;5;93a0e663-0354-4301-ac27-9e782091f661;-1;0
-1;21;1;t;f;f;6;817d3f42-bf7b-4a13-90bc-1895cafe2d23;-1;0
-1;20;1;f;f;f;7;39402800-3c1e-478c-8bdc-571d902e32a7;-1;0
-1;19;1;t;f;f;8;b45b3bd3-d55d-4c41-b9da-150c19ec0856;-1;0
-1;18;1;f;f;f;9;f7e86ec2-dc06-484f-81ed-df4373fff95b;-1;0
-1;17;1;f;f;f;10;ad6319f5-27bc-4444-9eb8-1320009ab184;-1;0
-1;16;1;t;f;f;11;7b0fb8c1-9642-4854-b979-7e223a092a3d;-1;0
-1;15;1;f;f;f;12;414bdd0b-ab30-4d61-aef2-2d34fd929ed2;-1;0
-1;14;1;t;f;f;13;c210ae2b-0c3d-4257-848d-f21ee48c02cc;-1;0
-1;13;1;t;f;f;14;e8b43015-cc9b-4cad-a881-faead4f18aa3;-1;0
-1;12;1;f;f;f;15;3866994b-3be5-4408-9077-529fe701d3f3;-1;0
-1;11;1;t;f;f;16;33191cc7-c1b4-4726-b428-64efb69a6c46;-1;0
-1;10;1;t;f;f;17;88bee6f1-09ac-4af2-9bc3-ebd619009377;-1;0
-1;9;1;t;f;f;18;986174eb-da85-4a7b-9919-cd0668db69bf;-1;0
-1;8;1;t;f;f;19;3c5fd8ab-a611-4bfb-afb0-5acee9b45dda;-1;0
-1;7;1;t;f;f;20;feebc79b-1867-42c9-a966-bbb448d78a44;-1;0
-1;6;1;t;f;f;21;474193d1-4fd9-4b06-873a-e575744957a4;-1;0
-1;5;1;t;f;f;22;66bc962f-bf18-48a4-8164-722a5f53d211;-1;0
-1;4;1;t;f;f;23;9096d210-ed15-4d38-9af2-26e59b0b8be0;-1;0
-1;3;1;t;f;f;24;4e49dc65-2c6a-4b2f-97e2-9cf09175c57a;-1;0
-1;2;1;t;f;f;25;417fc6e2-b9ae-40eb-906b-6e41b306a908;-1;0
-1;1;1;t;f;f;26;ac9cefe3-3331-4ee2-b0f1-69aaca2a955d;-1;0
-1;0;1;f;f;f;27;ae852a56-e081-4ee7-b360-81d4ba1a2000;-1;0

View File

@@ -0,0 +1,17 @@
# Each row contains TestCacheItem fields, one item per line, in the following order:
# Key, AbsoluteExpiration, SlidingExpiration, Priority, LastChange, ExpiresAt, Disabled, Guid, PriorityQueueIndex
PartialCachingControl\nGUID: f11febcc-d445-4036-bb93-aa3932ceb4ef\n,634007595994690560,0,3,634007595944691200,634007595994690560,false,757dc15a-3340-4704-9292-17f3004e2ee5,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007607944742000,12000000000,4,634007595944742030,634007607944742000,false,a4778103-c8e9-4304-90db-3f54b718e50a,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007607944758990,12000000000,4,634007595944759010,634007607944758990,false,246d4b59-6748-4bef-8f78-5b081b0686f1,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634007596029748620,0,3,634007595944806730,634007596029748620,false,46616129-bd8d-402b-954f-a05944535e23,-1
@prefix@_vbk/default.aspxGETWQFH,634007596029748620,0,3,634007595944808340,634007596029748620,false,f85a0942-6f20-4f71-ae57-3b2669052460,-1
PartialCachingControl\nGUID: f11febcc-d445-4036-bb93-aa3932ceb4ef\n,634007596187154840,0,3,634007596137155110,634007596187154840,false,e8b1f7d4-a874-4b56-84ce-1434a72f9d35,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007608137155850,12000000000,4,634007596137155860,634007608137155850,false,bc16a289-5ce4-436f-9791-1885f033bc6e,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007608137156090,12000000000,4,634007596137156090,634007608137156090,false,f6651f9b-36fd-481d-bb31-8abc3d110a45,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634007596237139120,0,3,634007596137157830,634007596237139120,false,226ef04f-1118-4225-abe1-43d6e228db95,-1
@prefix@_vbk/default.aspxGETWQFH,634007596237139120,0,3,634007596137158220,634007596237139120,false,9df2ed49-168b-4769-8d9e-7f963e62123c,-1
PartialCachingControl\nGUID: f11febcc-d445-4036-bb93-aa3932ceb4ef\n,634007596504393570,0,3,634007596454393850,634007596504393570,false,30952e54-d94b-450d-b1ff-5e74c66bb4f5,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007608454399100,12000000000,4,634007596454399110,634007608454399100,false,e50d5a73-7861-412b-b9ad-924c13c2e9c5,-1
@@@InProc@B748F7C2AA1F04BCF40EAB40,634007608454399320,12000000000,4,634007596454399330,634007608454399320,false,631452f5-a8e5-483e-a0ac-9c3f7abd37a1,-1
@InMemoryOCP_vbk/default.aspxGETWQFH,634007596554387900,0,3,634007596454400830,634007596554387900,false,01a63c0e-5963-4eac-8b0e-b1b2ea508098,-1
@prefix@_vbk/default.aspxGETWQFH,634007596554387900,0,3,634007596454401080,634007596554387900,false,9e38cf23-6785-49e8-9922-8e1c1d86a205,-1

View File

@@ -0,0 +1,59 @@
0;1;0;f;f;f;0;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
1;2;0;f;f;f;1;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
1;2;2;f;f;t;0;a4778103-c8e9-4304-90db-3f54b718e50a;-1;0
2;3;0;f;f;f;2;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
3;4;0;f;f;f;3;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
4;5;0;f;f;f;4;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
-1;5;3;f;f;f;0;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
-1;4;1;f;f;f;0;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
0;4;2;f;f;t;1;757dc15a-3340-4704-9292-17f3004e2ee5;-1;0
-1;4;3;f;f;f;1;f85a0942-6f20-4f71-ae57-3b2669052460;-1;0
-1;3;1;f;f;f;1;f85a0942-6f20-4f71-ae57-3b2669052460;-1;0
4;3;2;f;f;t;2;f85a0942-6f20-4f71-ae57-3b2669052460;-1;0
-1;3;3;f;f;f;2;46616129-bd8d-402b-954f-a05944535e23;-1;0
-1;2;1;f;f;f;2;46616129-bd8d-402b-954f-a05944535e23;-1;0
3;2;2;f;f;t;3;46616129-bd8d-402b-954f-a05944535e23;-1;0
-1;2;3;t;f;f;3;a4778103-c8e9-4304-90db-3f54b718e50a;-1;0
-1;1;1;t;f;f;3;a4778103-c8e9-4304-90db-3f54b718e50a;-1;0
-1;0;1;f;f;f;4;246d4b59-6748-4bef-8f78-5b081b0686f1;-1;0
5;1;0;f;f;f;5;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
2;1;2;f;f;t;4;246d4b59-6748-4bef-8f78-5b081b0686f1;-1;0
6;2;0;f;f;f;6;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
6;2;2;f;f;t;5;bc16a289-5ce4-436f-9791-1885f033bc6e;-1;0
7;3;0;f;f;f;7;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
8;4;0;f;f;f;8;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
9;5;0;f;f;f;9;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
-1;5;3;f;f;f;4;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
-1;4;1;f;f;f;5;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
5;4;2;f;f;t;6;e8b1f7d4-a874-4b56-84ce-1434a72f9d35;-1;0
-1;4;3;f;f;f;5;9df2ed49-168b-4769-8d9e-7f963e62123c;-1;0
-1;4;3;f;f;f;6;9df2ed49-168b-4769-8d9e-7f963e62123c;-1;0
-1;3;1;f;f;f;6;9df2ed49-168b-4769-8d9e-7f963e62123c;-1;0
9;3;2;f;f;t;7;9df2ed49-168b-4769-8d9e-7f963e62123c;-1;0
-1;3;3;f;f;f;7;226ef04f-1118-4225-abe1-43d6e228db95;-1;0
-1;2;1;f;f;f;7;226ef04f-1118-4225-abe1-43d6e228db95;-1;0
8;2;2;f;f;t;8;226ef04f-1118-4225-abe1-43d6e228db95;-1;0
-1;2;3;t;f;f;8;bc16a289-5ce4-436f-9791-1885f033bc6e;-1;0
-1;1;1;t;f;f;8;bc16a289-5ce4-436f-9791-1885f033bc6e;-1;0
-1;0;1;f;f;f;9;f6651f9b-36fd-481d-bb31-8abc3d110a45;-1;0
10;1;0;f;f;f;10;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
7;1;2;f;f;t;9;f6651f9b-36fd-481d-bb31-8abc3d110a45;-1;0
11;2;0;f;f;f;11;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
11;2;2;f;f;t;10;e50d5a73-7861-412b-b9ad-924c13c2e9c5;-1;0
12;3;0;f;f;f;12;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
13;4;0;f;f;f;13;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
14;5;0;f;f;f;14;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
-1;5;3;f;f;f;9;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
-1;4;1;f;f;f;10;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
10;4;2;f;f;t;11;30952e54-d94b-450d-b1ff-5e74c66bb4f5;-1;0
-1;4;3;f;f;f;10;9e38cf23-6785-49e8-9922-8e1c1d86a205;-1;0
-1;4;3;f;f;f;11;9e38cf23-6785-49e8-9922-8e1c1d86a205;-1;0
-1;3;1;f;f;f;11;9e38cf23-6785-49e8-9922-8e1c1d86a205;-1;0
14;3;2;f;f;t;12;9e38cf23-6785-49e8-9922-8e1c1d86a205;-1;0
-1;3;3;f;f;f;12;01a63c0e-5963-4eac-8b0e-b1b2ea508098;-1;0
-1;2;1;f;f;f;12;01a63c0e-5963-4eac-8b0e-b1b2ea508098;-1;0
13;2;2;f;f;t;13;01a63c0e-5963-4eac-8b0e-b1b2ea508098;-1;0
-1;2;3;t;f;f;13;e50d5a73-7861-412b-b9ad-924c13c2e9c5;-1;0
-1;1;1;t;f;f;13;e50d5a73-7861-412b-b9ad-924c13c2e9c5;-1;0
-1;0;1;f;f;f;14;631452f5-a8e5-483e-a0ac-9c3f7abd37a1;-1;0
-1;0;4;f;f;f;-1;null;-1;0

View File

@@ -0,0 +1 @@
14b2a0d040f564ae55dd69e8e423fdbc98e9343d

View File

@@ -0,0 +1 @@
53636d57ac2f4f734cf65a519c767a569f9d2a55

View File

@@ -0,0 +1 @@
e4476974fa870d7b9e0a01992278d1bddb37bed2

View File

@@ -0,0 +1 @@
f538f4ab4df0403c1323917f70e9cc0059b5b916

View File

@@ -0,0 +1,111 @@
// Authors:
// Marek Habersack <grendel@twistedcode.net>
//
// Copyright (C) 2010 Novell Inc. http://novell.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;
namespace MonoTests.System.Web.Caching
{
public enum QueueOperation
{
Enqueue,
Dequeue,
Disable,
Peek,
QueueSize,
Update
}
public sealed class CacheItemPriorityQueueTestItem
{
public int ListIndex = -1;
public int QueueCount = -1;
public QueueOperation Operation;
public bool IsDisabled;
public bool IsNull;
public bool Disable;
public int OperationCount = -1;
public string Guid;
public int PriorityQueueIndex = -1;
public long ExpiresAt = 0;
public CacheItemPriorityQueueTestItem ()
{}
public CacheItemPriorityQueueTestItem (string serialized)
{
if (String.IsNullOrEmpty (serialized))
throw new ArgumentException ("serialized");
string[] parts = serialized.Split (';');
if (parts.Length != 10)
throw new InvalidOperationException ("Invalid serialized data.");
ListIndex = Int32.Parse (parts [0]);
QueueCount = Int32.Parse (parts [1]);
int i = Int32.Parse (parts [2]);
if (i < (int)QueueOperation.Enqueue || i > (int)QueueOperation.Update)
throw new InvalidOperationException ("Invalid value for Operation in the serialized data.");
Operation = (QueueOperation)i;
IsDisabled = GetBool (parts [3]);
IsNull = GetBool (parts [4]);
Disable = GetBool (parts [5]);
OperationCount = Int32.Parse (parts [6]);
Guid = parts [7];
PriorityQueueIndex = Int32.Parse (parts [8]);
ExpiresAt = Int64.Parse (parts [9]);
if (Guid.Length == 0)
Guid = null;
}
bool GetBool (string s)
{
if (s == "t")
return true;
if (s == "f")
return false;
throw new InvalidOperationException ("Invalid bool string in serialized data.");
}
public string Serialize ()
{
return String.Format ("{0};{1};{2};{3};{4};{5};{6};{7};{8};{9}",
ListIndex,
QueueCount,
(int)Operation,
IsDisabled ? "t" : "f",
IsNull ? "t" : "f",
Disable ? "t" : "f",
OperationCount,
Guid == null ? "null" : Guid.ToString (),
PriorityQueueIndex,
ExpiresAt);
}
}
}

View File

@@ -0,0 +1,64 @@
//
// This source was autogenerated - do not modify it, changes may not be preserved
//
// Generated on: 4/11/2011 2:16:22 PM
//
// The test generator can be found in the ../tools/CachePQTestGenerator directory
//
#if !TARGET_DOTNET
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Caching;
using NUnit.Framework;
namespace MonoTests.System.Web.Caching
{
public partial class CacheItemPriorityQueueTest
{
[Test (Description="Generated from sequence file cache_pq_sequence_2010-01-29_10-24-08.seq")]
public void Sequence_0000 ()
{
RunTest ("Sequence_00000.tests", "Sequence_00000.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2010-01-29_10-24-08_001.seq")]
public void Sequence_0001 ()
{
RunTest ("Sequence_00001.tests", "Sequence_00001.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2010-01-29_10-24-08_002.seq")]
public void Sequence_0002 ()
{
RunTest ("Sequence_00002.tests", "Sequence_00002.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2010-01-29_12-31-31.seq")]
public void Sequence_0003 ()
{
RunTest ("Sequence_00003.tests", "Sequence_00003.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2010-02-03_01-07-55.seq")]
public void Sequence_0004 ()
{
RunTest ("Sequence_00004.tests", "Sequence_00004.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2010-11-18_01-38-13.seq")]
public void Sequence_0005 ()
{
RunTest ("Sequence_00005.tests", "Sequence_00005.list");
}
[Test (Description="Generated from sequence file cache_pq_sequence_2011-04-07_02-03-02_25377827.seq")]
public void Sequence_0006 ()
{
RunTest ("Sequence_00006.tests", "Sequence_00006.list");
}
}
}
#endif

Some files were not shown because too many files have changed in this diff Show More