@@ -27,7 +27,7 @@ public class NameUtilTest : StorageTestBase
27
27
[ TestMethod ]
28
28
public void IsValidContainerNameTest ( )
29
29
{
30
- string [ ] positives = { "$root" , "$logs" , "abc" , "abc987" , "abc2de" , "4abc" , "abc-def" , new String ( 'a' , 63 ) } ;
30
+ string [ ] positives = { "$root" , "$logs" , "$web" , " abc", "abc987" , "abc2de" , "4abc" , "abc-def" , new String ( 'a' , 63 ) } ;
31
31
NameValidateHelper ( positives , true , NameUtil . IsValidContainerName ) ;
32
32
33
33
string [ ] negatives =
@@ -51,7 +51,7 @@ public void IsValidContainerNameTest()
51
51
[ TestMethod ]
52
52
public void IsValidContainerPrefixTest ( )
53
53
{
54
- string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "ab" , "abc" , "$logs" , "abc" , "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 63 ) } ;
54
+ string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "ab" , "abc" , "$logs" , "$web" , " abc", "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 63 ) } ;
55
55
NameValidateHelper ( positives , true , NameUtil . IsValidContainerPrefix ) ;
56
56
57
57
string [ ] negatives =
@@ -74,7 +74,7 @@ public void IsValidContainerPrefixTest()
74
74
[ TestMethod ]
75
75
public void IsValidBlobNameTest ( )
76
76
{
77
- string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "*&(&^$^*" , "ab" , "abc" , "$logs" , "abc" , "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 1024 ) } ;
77
+ string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "*&(&^$^*" , "ab" , "abc" , "$logs" , "$web" , " abc", "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 1024 ) } ;
78
78
NameValidateHelper ( positives , true , NameUtil . IsValidBlobName ) ;
79
79
80
80
string [ ] negatives =
@@ -88,7 +88,7 @@ public void IsValidBlobNameTest()
88
88
[ TestMethod ]
89
89
public void IsValidBlobPrefixTest ( )
90
90
{
91
- string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "*&(&^$^*" , "ab" , "abc" , "$logs" , "abc" , "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 1024 ) } ;
91
+ string [ ] positives = { "$" , "$ro" , "$l" , "$root" , "a" , "*&(&^$^*" , "ab" , "abc" , "$logs" , "$web" , " abc", "abc987" , "abc2de" , "4abc" , "abc-def" , "a-c" , "ac-" , new String ( 'a' , 1024 ) } ;
92
92
NameValidateHelper ( positives , true , NameUtil . IsValidBlobPrefix ) ;
93
93
94
94
string [ ] negatives =
0 commit comments