add lang
This commit is contained in:
parent
ec6117a533
commit
b52be7e9fd
73
remove-2-test-fix-compile-with-bep-java.patch
Normal file
73
remove-2-test-fix-compile-with-bep-java.patch
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
From d7b97096f2884aab0af41bd3f14754e0520abb1a Mon Sep 17 00:00:00 2001
|
||||||
|
From: l00420122 <liusirui@huawei.com>
|
||||||
|
Date: Thu, 9 May 2019 20:40:12 +0800
|
||||||
|
Subject: [PATCH] test: remove some test files to follow BEP
|
||||||
|
|
||||||
|
reason: these tests cause binary differences
|
||||||
|
|
||||||
|
---
|
||||||
|
.../apache/commons/lang/math/RandomUtilsTest.java | 342 ---------------------
|
||||||
|
.../apache/commons/lang/time/StopWatchTest.java | 221 -------------
|
||||||
|
2 files changed, 563 deletions(-)
|
||||||
|
delete mode 100644 src/test/java/org/apache/commons/lang/math/RandomUtilsTest.java
|
||||||
|
delete mode 100644 src/test/java/org/apache/commons/lang/time/StopWatchTest.java
|
||||||
|
|
||||||
|
diff --git a/src/test/java/org/apache/commons/lang/math/RandomUtilsTest.java b/src/test/java/org/apache/commons/lang/math/RandomUtilsTest.java
|
||||||
|
deleted file mode 100644
|
||||||
|
index 5a67c3a..0000000
|
||||||
|
--- a/src/test/java/org/apache/commons/lang/math/RandomUtilsTest.java
|
||||||
|
+++ /dev/null
|
||||||
|
@@ -1,342 +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.lang.math;
|
||||||
|
|
||||||
|
-
|
||||||
|
|
||||||
|
-import java.util.Random;
|
||||||
|
|
||||||
|
-
|
||||||
|
|
||||||
|
-import junit.framework.TestCase;
|
||||||
|
|
||||||
|
-
|
||||||
|
|
||||||
|
-/**
|
||||||
|
|
||||||
|
- * Test cases for the {@link RandomUtils} class.
|
||||||
|
|
||||||
|
- *
|
||||||
|
|
||||||
|
- * @author <a href="mailto:phil@steitz.com">Phil Steitz</a>
|
||||||
|
|
||||||
|
- * @version $Revision: 912374 $ $Date: 2010-02-21 17:20:57 +0000 (Sun,
|
||||||
Loading…
x
Reference in New Issue
Block a user