@@ -21,7 +21,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
2121 import JsonConfig
2222 import ENC = AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorTypes
2323 import KeyVectors
24- import OsLang
2524
2625 method OnePositiveTest (name : string , config : JSON , encrypted : JSON , plaintext : JSON , keys : KeyVectors .KeyVectorsClient)
2726 returns (output : Result< bool , string > )
@@ -111,14 +110,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
111110 }
112111 }
113112
114- function LogFileName () : string
115- {
116- if OsLang. GetOsShort () == "Windows" && OsLang. GetLanguageShort () == "Dotnet" then
117- ".. \\.. \\PerfLog. txt"
118- else
119- ".. / .. / PerfLog. txt"
120- }
121-
122113 method Decrypt (inFile : string , keyVectors: KeyVectors .KeyVectorsClient)
123114 returns (output : Result< bool , string > )
124115 requires keyVectors. ValidState ()
@@ -177,13 +168,11 @@ module {:options "-functionSyntax:4"} DecryptManifest {
177168 }
178169 }
179170
180- var time := Time. GetAbsoluteTime ();
181171 for i := 0 to |tests. value| {
182172 var obj := tests. value[i];
183173 :- Need (obj.1.Object?, "Value of test '" + obj.0 + "' must be an Object.");
184174 var _ :- OneTest (obj.0, obj.1, keyVectors);
185175 }
186- Time. PrintTimeSinceLong (time, "DB-ESDK-TV-Decrypt " + inFile, Some(LogFileName()));
187176
188177 timeStamp :- expect Time. GetCurrentTimeStamp ();
189178 print timeStamp + " Tests Complete. \n";
0 commit comments