@@ -93,7 +93,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptor_When_Timesta
9393 string expectedContentType = HttpContentType . PlainText ;
9494 string expectedContentEncoding = Encoding . UTF8 . WebName ;
9595 string expectedFilePath = this . mockFile . Object . FullName ;
96- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
96+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
9797 string expectedBlobPath = string . Join ( '/' , ( new string [ ] { expectedAgentId , expectedToolName , expectedRole , expectedScenario } )
9898 . Where ( i => i != null ) )
9999 . ToLowerInvariant ( ) ;
@@ -139,7 +139,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptorWithDefaultCo
139139 string expectedContentType = HttpContentType . PlainText ;
140140 string expectedContentEncoding = Encoding . UTF8 . WebName ;
141141 string expectedFilePath = this . mockFile . Object . FullName ;
142- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
142+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
143143 string expectedBlobPath = string . Join ( '/' , ( new string [ ]
144144 {
145145 expectedAgentId ,
@@ -186,7 +186,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptorWithDefaultCo
186186 string expectedContentType = HttpContentType . PlainText ;
187187 string expectedContentEncoding = Encoding . UTF8 . WebName ;
188188 string expectedFilePath = this . mockFile . Object . FullName ;
189- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
189+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
190190 string expectedBlobPath = string . Join ( '/' , ( new string [ ]
191191 {
192192 expectedAgentId ,
@@ -272,7 +272,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptorWithCustomCon
272272 string expectedContentType = HttpContentType . PlainText ;
273273 string expectedContentEncoding = Encoding . UTF8 . WebName ;
274274 string expectedFilePath = this . mockFile . Object . FullName ;
275- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
275+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
276276
277277 // The blob path itself is lower-cased. However, the file name casing is NOT modified.
278278 expectedBlobPath = $ "{ expectedBlobPath . ToLowerInvariant ( ) . TrimEnd ( '/' ) } /{ expectedFileName } ";
@@ -339,7 +339,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptorWithCustomCon
339339 string expectedContentType = HttpContentType . PlainText ;
340340 string expectedContentEncoding = Encoding . UTF8 . WebName ;
341341 string expectedFilePath = this . mockFile . Object . FullName ;
342- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
342+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
343343
344344 // The blob path itself is lower-cased. However, the file name casing is NOT modified.
345345 expectedBlobPath = $ "{ expectedBlobPath . ToLowerInvariant ( ) . TrimEnd ( '/' ) } /{ expectedFileName } ";
@@ -394,7 +394,7 @@ public void FileUploadDescriptorFactoryIsNotCaseSensitiveOnContentPathTemplatesD
394394 string expectedContentType = HttpContentType . PlainText ;
395395 string expectedContentEncoding = Encoding . UTF8 . WebName ;
396396 string expectedFilePath = this . mockFile . Object . FullName ;
397- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
397+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
398398
399399 // The blob path itself is lower-cased. However, the file name casing is NOT modified.
400400 string expectedContainer = "customcontainer" ;
@@ -463,7 +463,7 @@ public void FileUploadDescriptorFactoryCreatesTheExpectedDescriptorWithCustomCon
463463 string expectedContentType = HttpContentType . PlainText ;
464464 string expectedContentEncoding = Encoding . UTF8 . WebName ;
465465 string expectedFilePath = this . mockFile . Object . FullName ;
466- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
466+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
467467
468468 // The blob path itself is lower-cased. However, the file name casing is NOT modified.
469469 expectedBlobPath = $ "{ expectedBlobPath . ToLowerInvariant ( ) . TrimEnd ( '/' ) } /{ expectedFileName } ";
@@ -517,7 +517,7 @@ public void FileUploadDescriptorFactoryCreatesBlobPathsWithTheExpectedCasing(str
517517 string expectedContentType = HttpContentType . PlainText ;
518518 string expectedContentEncoding = Encoding . UTF8 . WebName ;
519519 string expectedFilePath = this . mockFile . Object . FullName ;
520- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
520+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
521521
522522 // The blob path itself is lower-cased. However, the file name casing is NOT modified.
523523 expectedBlobPath = $ "{ expectedBlobPath . ToLowerInvariant ( ) . TrimEnd ( '/' ) } /{ expectedFileName } ";
@@ -582,7 +582,7 @@ public void FileUploadDescriptorFactorySupportsEitherOrPathTemplateDefinitions_1
582582 string expectedContentType = HttpContentType . PlainText ;
583583 string expectedContentEncoding = Encoding . UTF8 . WebName ;
584584 string expectedFilePath = this . mockFile . Object . FullName ;
585- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
585+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
586586
587587 string contentPathTemplate = "customcontainer/{experimentDefinitionId}/{experimentName}/{experimentId},{revision}/{toolkitCommand|scenario}" ;
588588
@@ -637,7 +637,7 @@ public void FileUploadDescriptorFactorySupportsEitherOrPathTemplateDefinitions_2
637637 string expectedContentType = HttpContentType . PlainText ;
638638 string expectedContentEncoding = Encoding . UTF8 . WebName ;
639639 string expectedFilePath = this . mockFile . Object . FullName ;
640- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
640+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
641641
642642 // A parameter "toolkitCommand" does not exist. The template should use the "scenario" parameter instead.
643643 string contentPathTemplate = "customcontainer/{experimentDefinitionId}/{experimentName}/{experimentId},{revision}/{toolkitCommand|scenario}" ;
@@ -691,7 +691,7 @@ public void FileUploadDescriptorFactoryHandlesCasesWhereTheTemplateReferencesAPa
691691 string expectedContentType = HttpContentType . PlainText ;
692692 string expectedContentEncoding = Encoding . UTF8 . WebName ;
693693 string expectedFilePath = this . mockFile . Object . FullName ;
694- string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-fffffZ " ) } -{ this . mockFile . Object . Name } ";
694+ string expectedFileName = $ "{ this . mockFile . Object . CreationTimeUtc . ToString ( "yyyy-MM-ddTHH-mm-ss-ffffffZ " ) } -{ this . mockFile . Object . Name } ";
695695
696696 // A parameter "toolkitCommand" does not exist. The factory should just remove the parameter in the
697697 // final blob path.
0 commit comments