10
10
using Microsoft . WindowsAzure . Management . Storage . Test . Common ;
11
11
using Microsoft . WindowsAzure . Storage . DataMovement ;
12
12
using Microsoft . WindowsAzure . Storage . File ;
13
+ using Microsoft . WindowsAzure . Commands . Utilities . Common ;
13
14
using PSHFile = Microsoft . WindowsAzure . Commands . Storage . File ;
14
15
15
16
namespace Microsoft . WindowsAzure . Management . Storage . Test . File . Cmdlet
@@ -45,6 +46,7 @@ public void DownloadCleanup()
45
46
[ TestMethod ]
46
47
public void DownloadFileUsingShareNameAndPathToLocalFileTest ( )
47
48
{
49
+ this . CmdletInstance . DisableDataCollection ( ) ;
48
50
DownloadFileInternal (
49
51
"share" ,
50
52
"remoteFile" ,
@@ -59,6 +61,7 @@ public void DownloadFileUsingShareNameAndPathToLocalFileTest()
59
61
[ TestMethod ]
60
62
public void DownloadFileUsingShareObjectAndPathToLocalFileTest ( )
61
63
{
64
+ this . CmdletInstance . DisableDataCollection ( ) ;
62
65
DownloadFileInternal (
63
66
"share" ,
64
67
"remoteFile" ,
@@ -73,6 +76,7 @@ public void DownloadFileUsingShareObjectAndPathToLocalFileTest()
73
76
[ TestMethod ]
74
77
public void DownloadFileUsingDirectoryAndPathToLocalFileTest ( )
75
78
{
79
+ this . CmdletInstance . DisableDataCollection ( ) ;
76
80
DownloadFileInternal (
77
81
"share" ,
78
82
"remoteFile" ,
@@ -87,6 +91,7 @@ public void DownloadFileUsingDirectoryAndPathToLocalFileTest()
87
91
[ TestMethod ]
88
92
public void DownloadFileUsingFileObjectToLocalFileTest ( )
89
93
{
94
+ this . CmdletInstance . DisableDataCollection ( ) ;
90
95
DownloadFileInternal (
91
96
"share" ,
92
97
"remoteFile" ,
@@ -100,6 +105,7 @@ public void DownloadFileUsingFileObjectToLocalFileTest()
100
105
[ TestMethod ]
101
106
public void DownloadFileUsingFileObjectToLocalDirectoryTest ( )
102
107
{
108
+ this . CmdletInstance . DisableDataCollection ( ) ;
103
109
this . destinationFilePath = Path . Combine ( this . destinationPath , "remoteFile" ) ;
104
110
DownloadFileInternal (
105
111
"share" ,
0 commit comments