Skip to content

Commit

Permalink
removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
purnimavenkatasubbu committed Oct 19, 2022
1 parent 4b93b98 commit 9761a95
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions at_commons/test/at_exception_stack_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ void main() {
Intent.syncData, ExceptionScenario.invalidKeyFormed, 'sync issue');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to syncData caused by'));
Expand All @@ -35,7 +34,6 @@ void main() {
ExceptionScenario.noNamespaceProvided, 'name space is not provided');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to validateKey caused by'));
Expand All @@ -46,7 +44,6 @@ void main() {
ExceptionScenario.atSignDoesNotExist, 'atsign does not exist');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to shareData caused by'));
Expand All @@ -57,7 +54,6 @@ void main() {
ExceptionScenario.decryptionFailed, 'Decryption failed');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to decryptData caused by'));
Expand All @@ -70,7 +66,6 @@ void main() {
'Encryption keys not found');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to fetchEncryptionPrivateKey caused by'));
Expand All @@ -83,7 +78,6 @@ void main() {
'Secondary server not reachable');
final exceptionStack = AtExceptionStack();
exceptionStack.add(atChainedException);
print(exceptionStack.getTraceMessage());
expect(exceptionStack.getTraceMessage(), isNotEmpty);
expect(exceptionStack.getTraceMessage(),
startsWith('Failed to notifyData caused by'));
Expand Down

0 comments on commit 9761a95

Please sign in to comment.