01: // Copyright (c) 2005 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
02: package org.bouncycastle.cms.test;
03:
04: import junit.extensions.TestSetup;
05: import junit.framework.Test;
06:
07: import java.security.Security;
08:
09: class CMSTestSetup extends TestSetup {
10: public CMSTestSetup(Test test) {
11: super (test);
12: }
13:
14: protected void setUp() {
15: Security
16: .addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
17: }
18:
19: protected void tearDown() {
20: Security.removeProvider("BC");
21: }
22:
23: }
|