diff options
author | 2017-09-13 20:14:18 +0200 | |
---|---|---|
committer | 2017-09-14 18:46:14 +0200 | |
commit | a615d288b008c36c659fdc17965207bb62d95d8d (patch) | |
tree | 3711bb50fa16d46ce8c572d380448b7ea58df09c /src/test/java/com/google/devtools/build/lib/skylark | |
parent | 73bd3fd2383d90165a53366f11ed059afb3f97a0 (diff) |
Rollback context.actions.args() functionality.
This will be rolled forward with a different API.
PiperOrigin-RevId: 168566666
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/skylark')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java b/src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java index 1a443a17f5..2db09cc216 100644 --- a/src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java +++ b/src/test/java/com/google/devtools/build/lib/skylark/SkylarkRuleImplementationFunctionsTest.java @@ -58,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.regex.Pattern; import org.junit.Before; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -1736,6 +1737,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { getConfiguredTarget("//test:silly"); } + @Ignore @Test public void testLazyArgs() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1790,6 +1792,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { .inOrder(); } + @Ignore @Test public void testScalarJoinWithErrorMessage() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1799,6 +1802,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { "args = ruleContext.actions.args()\n" + "args.add(1, join_with=':')"); } + @Ignore @Test public void testScalarBeforeEachErrorMessage() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1808,6 +1812,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { "args = ruleContext.actions.args()\n" + "args.add(1, before_each='illegal')"); } + @Ignore @Test public void testLazyArgIllegalFormatString() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1833,6 +1838,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { } } + @Ignore @Test public void testLazyArgBadMapFn() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1859,6 +1865,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { } } + @Ignore @Test public void testLazyArgMapFnReturnsWrongType() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); @@ -1885,6 +1892,7 @@ public class SkylarkRuleImplementationFunctionsTest extends SkylarkTestCase { } } + @Ignore @Test public void createShellWithLazyArgs() throws Exception { SkylarkRuleContext ruleContext = createRuleContext("//foo:foo"); |