blob: 7a13561ab2c64c5db6448453e23629edaba7b234 [file] [log] [blame]
// Copyright (c) 2005 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
package org.bouncycastle.pkcs.test;
import java.security.Security;
import junit.extensions.TestSetup;
import junit.framework.Test;
class BCTestSetup
extends TestSetup
{
public BCTestSetup(Test test)
{
super(test);
}
protected void setUp()
{
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
}
protected void tearDown()
{
Security.removeProvider("BC");
}
}