summaryrefslogtreecommitdiff
path: root/repackaged/bcprov/src
diff options
context:
space:
mode:
Diffstat (limited to 'repackaged/bcprov/src')
-rw-r--r--repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECAlgorithmsTest.java4
-rw-r--r--repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECPointTest.java3
2 files changed, 7 insertions, 0 deletions
diff --git a/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECAlgorithmsTest.java b/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECAlgorithmsTest.java
index cf10fe45..ba944d77 100644
--- a/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECAlgorithmsTest.java
+++ b/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECAlgorithmsTest.java
@@ -20,6 +20,8 @@ import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
+import android.platform.test.annotations.LargeTest;
+
/**
* @hide This class is not part of the Android public SDK API
*/
@@ -36,6 +38,7 @@ public class ECAlgorithmsTest extends TestCase
}
// TODO Ideally, mark this test not to run by default
+ @LargeTest
public void testSumOfMultipliesComplete()
{
ArrayList x9s = getTestCurves();
@@ -55,6 +58,7 @@ public class ECAlgorithmsTest extends TestCase
}
// TODO Ideally, mark this test not to run by default
+ @LargeTest
public void testSumOfTwoMultipliesComplete()
{
ArrayList x9s = getTestCurves();
diff --git a/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECPointTest.java b/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECPointTest.java
index 02dcebf2..0978d2ef 100644
--- a/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECPointTest.java
+++ b/repackaged/bcprov/src/test/java/com/android/org/bouncycastle/math/ec/test/ECPointTest.java
@@ -29,6 +29,8 @@ import com.android.org.bouncycastle.util.BigIntegers;
import com.android.org.bouncycastle.util.Integers;
import com.android.org.bouncycastle.util.encoders.Hex;
+import android.platform.test.annotations.LargeTest;
+
/**
* Test class for {@link com.android.org.bouncycastle.math.ec.ECPoint ECPoint}. All
* literature values are taken from "Guide to elliptic curve cryptography",
@@ -555,6 +557,7 @@ public class ECPointTest extends TestCase
* <code>implTestMultiply</code> and <code>implTestEncoding</code> for
* the standard elliptic curves as given in <code>SECNamedCurves</code>.
*/
+ @LargeTest
public void testAddSubtractMultiplyTwiceEncoding()
{
Set names = new HashSet(enumToList(ECNamedCurveTable.getNames()));