Remove apple_basic_test - we should not be accessing apple_common (#264)
In a future bazel release, apple_common symbol will be accessible
only to certain blessed rule repos.
Fixes #262
diff --git a/test/BUILD b/test/BUILD
index 51d9509..15c103b 100644
--- a/test/BUILD
+++ b/test/BUILD
@@ -89,13 +89,6 @@
)
stardoc_test(
- name = "apple_basic_test",
- golden_file = "testdata/apple_basic_test/golden.md",
- input_file = "testdata/apple_basic_test/input.bzl",
- symbol_names = ["apple_related_rule"],
-)
-
-stardoc_test(
name = "cpp_basic_test",
golden_file = "testdata/cpp_basic_test/golden.md",
input_file = "testdata/cpp_basic_test/input.bzl",
diff --git a/test/testdata/apple_basic_test/golden.md b/test/testdata/apple_basic_test/golden.md
deleted file mode 100644
index 8dbe211..0000000
--- a/test/testdata/apple_basic_test/golden.md
+++ /dev/null
@@ -1,28 +0,0 @@
-<!-- Generated with Stardoc: http://skydoc.bazel.build -->
-
-
-
-<a id="apple_related_rule"></a>
-
-## apple_related_rule
-
-<pre>
-load("@stardoc//test:testdata/apple_basic_test/input.bzl", "apple_related_rule")
-
-apple_related_rule(<a href="#apple_related_rule-name">name</a>, <a href="#apple_related_rule-first">first</a>, <a href="#apple_related_rule-fourth">fourth</a>, <a href="#apple_related_rule-second">second</a>, <a href="#apple_related_rule-third">third</a>)
-</pre>
-
-This rule does apple-related things.
-
-**ATTRIBUTES**
-
-
-| Name | Description | Type | Mandatory | Default |
-| :------------- | :------------- | :------------- | :------------- | :------------- |
-| <a id="apple_related_rule-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
-| <a id="apple_related_rule-first"></a>first | - | <a href="https://bazel.build/concepts/labels">Label</a> | required | |
-| <a id="apple_related_rule-fourth"></a>fourth | - | Boolean | optional | `False` |
-| <a id="apple_related_rule-second"></a>second | - | <a href="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | required | |
-| <a id="apple_related_rule-third"></a>third | - | <a href="https://bazel.build/concepts/labels">Label</a> | required | |
-
-
diff --git a/test/testdata/apple_basic_test/input.bzl b/test/testdata/apple_basic_test/input.bzl
deleted file mode 100644
index 7dacfc6..0000000
--- a/test/testdata/apple_basic_test/input.bzl
+++ /dev/null
@@ -1,24 +0,0 @@
-# buildifier: disable=module-docstring
-# buildifier: disable=function-docstring
-def exercise_the_api():
- var1 = apple_common.platform_type # @unused
- var2 = apple_common.XcodeVersionConfig # @unused
-
-exercise_the_api()
-
-# buildifier: disable=rule-impl-return
-def my_rule_impl(ctx):
- _ignore = [ctx] # @unused
- return struct()
-
-# buildifier: disable=unsorted-dict-items
-apple_related_rule = rule(
- implementation = my_rule_impl,
- doc = "This rule does apple-related things.",
- attrs = {
- "first": attr.label(mandatory = True, allow_single_file = True),
- "second": attr.string_dict(mandatory = True),
- "third": attr.output(mandatory = True),
- "fourth": attr.bool(default = False, mandatory = False),
- },
-)