@@ -21,7 +21,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
21
21
import JsonConfig
22
22
import ENC = AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorTypes
23
23
import KeyVectors
24
- import OsLang
25
24
26
25
method OnePositiveTest (name : string , config : JSON , encrypted : JSON , plaintext : JSON , keys : KeyVectors .KeyVectorsClient)
27
26
returns (output : Result< bool , string > )
@@ -111,14 +110,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
111
110
}
112
111
}
113
112
114
- function LogFileName () : string
115
- {
116
- if OsLang. GetOsShort () == "Windows" && OsLang. GetLanguageShort () == "Dotnet" then
117
- ".. \\.. \\PerfLog. txt"
118
- else
119
- ".. / .. / PerfLog. txt"
120
- }
121
-
122
113
method Decrypt (inFile : string , keyVectors: KeyVectors .KeyVectorsClient)
123
114
returns (output : Result< bool , string > )
124
115
requires keyVectors. ValidState ()
@@ -177,13 +168,11 @@ module {:options "-functionSyntax:4"} DecryptManifest {
177
168
}
178
169
}
179
170
180
- var time := Time. GetAbsoluteTime ();
181
171
for i := 0 to |tests. value| {
182
172
var obj := tests. value[i];
183
173
:- Need (obj.1.Object?, "Value of test '" + obj.0 + "' must be an Object.");
184
174
var _ :- OneTest (obj.0, obj.1, keyVectors);
185
175
}
186
- Time. PrintTimeSinceLong (time, "DB-ESDK-TV-Decrypt " + inFile, Some(LogFileName()));
187
176
188
177
timeStamp :- expect Time. GetCurrentTimeStamp ();
189
178
print timeStamp + " Tests Complete. \n";
0 commit comments