You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2017/04/04 15:40:48 UTC

[math] MATH-1407: Delete unit test class that fails too often.

Repository: commons-math
Updated Branches:
  refs/heads/master 19e0e2990 -> b645f5d08


MATH-1407: Delete unit test class that fails too often.

This unit test does not test any functionality of the main code.
Failures indicate that "SecureRandom" does not fulfill expectations,
or that the test itself is wrong (although it seems to behave as
expected for "Random").


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/b645f5d0
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/b645f5d0
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/b645f5d0

Branch: refs/heads/master
Commit: b645f5d085f121ae82e480491a58a8d7753a34d0
Parents: 19e0e29
Author: Gilles <er...@apache.org>
Authored: Tue Apr 4 17:32:22 2017 +0200
Committer: Gilles <er...@apache.org>
Committed: Tue Apr 4 17:32:22 2017 +0200

----------------------------------------------------------------------
 ...omUtilsDataGeneratorJDKSecureRandomTest.java | 35 --------------------
 1 file changed, 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/b645f5d0/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorJDKSecureRandomTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorJDKSecureRandomTest.java b/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorJDKSecureRandomTest.java
deleted file mode 100644
index beba117..0000000
--- a/src/test/java/org/apache/commons/math4/random/RandomUtilsDataGeneratorJDKSecureRandomTest.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.math4.random;
-
-import org.apache.commons.math4.RetryRunner;
-import org.junit.runner.RunWith;
-
-import java.security.SecureRandom;
-
-/**
- * Test cases for the {@link RandomUtils#DataGenerator} class, using
- * {@link SecureRandom} as the underlying source of randomness.
- */
-@RunWith(RetryRunner.class)
-public class RandomUtilsDataGeneratorJDKSecureRandomTest
-    extends RandomUtilsDataGeneratorAbstractTest {
-
-    public RandomUtilsDataGeneratorJDKSecureRandomTest() {
-        super(RandomUtils.asUniformRandomProvider(new SecureRandom(new byte[] {1, 2, 3, 4})));
-    }
-}