diff options
author | 2016-01-28 19:53:32 +0000 | |
---|---|---|
committer | 2016-01-29 14:41:13 +0000 | |
commit | 478bf1d5b9ec5f23f75de1ad30fd9571991e37f1 (patch) | |
tree | aff8bc847c6597fae9607552699a63fb338789ee /src | |
parent | c0a8c58b9230a1f5d76269eb7dc6b11e18f19686 (diff) |
Remove AllTests from third_party/bazel/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace, and use regular java_test instead.
I argue that these targets don't add anything, but require code and maintenance.
Hudson just runs all JUnit tests it can find.
--
MOS_MIGRATED_REVID=113286294
Diffstat (limited to 'src')
2 files changed, 1 insertions, 25 deletions
diff --git a/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/AllTests.java b/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/AllTests.java deleted file mode 100644 index 305e5b35d7..0000000000 --- a/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/AllTests.java +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2014 The Bazel Authors. All rights reserved. -// -// Licensed 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 com.google.devtools.build.workspace; - -import com.google.devtools.build.lib.testutil.ClasspathSuite; -import org.junit.runner.RunWith; - -/** - * Test suite for options parsing framework. - */ -@RunWith(ClasspathSuite.class) -public class AllTests { -} diff --git a/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/BUILD b/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/BUILD index f9778ecdf5..327a12dc8f 100644 --- a/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/BUILD +++ b/src/tools/generate_workspace/src/test/java/com/google/devtools/build/workspace/BUILD @@ -1,7 +1,7 @@ licenses(["notice"]) # Apache 2.0 java_test( - name = "WorkspaceTest", + name = "WorkspaceFileGeneratorTest", srcs = ["WorkspaceFileGeneratorTest.java"], # This test connects to the network on OS X (the sandbox prevents it from doing so on Linux), # so disable it for now. |