public void EnsureCustomCacheStorageNodePropertyCatoriesAndDescriptions()
        {
            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CustomCacheStorageNode), "Attributes", Resources.CustomCacheStorageExtensionsDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CustomCacheStorageNode), "Attributes"));

            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CustomCacheStorageNode), "Type", Resources.CustomCacheStorageNodeTypeDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CustomCacheStorageNode), "Type"));
        }
Beispiel #2
0
        public void EnsureDataCacheStorageNodePropertyCatoriesAndDescriptions()
        {
            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(DataCacheStorageNode), "DatabaseInstance", Resources.DatabaseNameDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(DataCacheStorageNode), "DatabaseInstance"));

            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(DataCacheStorageNode), "PartitionName", Resources.DatabasePartitionNameDesciption));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(DataCacheStorageNode), "PartitionName"));
        }
        public void EnsureCacheManagerPropertyCatoriesAndDescriptions()
        {
            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CacheManagerNode), "ExpirationPollFrequencyInSeconds", Resources.ExpirationPollFrequencyInSecondsDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CacheManagerNode), "ExpirationPollFrequencyInSeconds"));

            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CacheManagerNode), "MaximumElementsInCacheBeforeScavenging", Resources.MaximumElementsInCacheBeforeScavengingDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CacheManagerNode), "MaximumElementsInCacheBeforeScavenging"));

            Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CacheManagerNode), "NumberToRemoveWhenScavenging", Resources.NumberToRemoveWhenScavengingDescription));
            Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CacheManagerNode), "NumberToRemoveWhenScavenging"));
        }
Beispiel #4
0
 public void EnsureCacheManagerSettingsNodePropertyCatoriesAndDescriptions()
 {
     Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(CacheManagerSettingsNode), "DefaultCacheManager", Resources.DefaultCacheManagerDescription));
     Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(CacheManagerSettingsNode), "DefaultCacheManager"));
 }
 public void EnsureIsolatedStorageCacheStorageNodePropertyCatoriesAndDescriptions()
 {
     Assert.IsTrue(SRAttributesHelper.AssertSRDescription(typeof(IsolatedStorageCacheStorageNode), "PartitionName", Resources.IsolatedStorageAreaNameDescription));
     Assert.IsTrue(SRAttributesHelper.AssertSRCategory(typeof(IsolatedStorageCacheStorageNode), "PartitionName"));
 }