Exemple #1
0
 public void Test_0007_IsValidBucketName_len1_under()
 {
     Assert.IsFalse(KiiBucket.IsValidBucketName("_"));
 }
Exemple #2
0
 public void Test_0005_IsValidBucketName_len51()
 {
     Assert.IsFalse(KiiBucket.IsValidBucketName(NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + "12345"));
 }
Exemple #3
0
 public void Test_0006_IsValidBucketName_len1()
 {
     Assert.IsFalse(KiiBucket.IsValidBucketName("a"));
 }
Exemple #4
0
 public void Test_0004_IsValidBucketName_len50()
 {
     Assert.IsTrue(KiiBucket.IsValidBucketName(NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + NUMBER_10 + "1234"));
 }
Exemple #5
0
 public void Test_0003_IsValidBucketName_len2_under()
 {
     Assert.IsTrue(KiiBucket.IsValidBucketName("__"));
 }
Exemple #6
0
 public void Test_0002_IsValidBucketName_len2()
 {
     Assert.IsTrue(KiiBucket.IsValidBucketName("aa"));
 }
Exemple #7
0
 public void Test_0001_IsValidBucketName_null()
 {
     Assert.IsFalse(KiiBucket.IsValidBucketName(null));
 }
Exemple #8
0
 public void Test_0000_IsValidBucketName_OK()
 {
     Assert.IsTrue(KiiBucket.IsValidBucketName("bucket"));
 }