Skip to content

Commit

Permalink
Merge branch 'tf-02b-remove-split-transition-provide' into tf-02z-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
katre committed Mar 26, 2019
2 parents 84e3098 + 5702061 commit b304d2c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ public SplitTransition create(RuleTransitionData data) {
starlarkDefinedConfigTransition, (ConfiguredAttributeMapper) attributeMap);
}

@Override
public boolean isSplit() {
return true;
}

@Override
public void repr(SkylarkPrinter printer) {
printer.append("<transition object>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ public SplitTransition create(RuleTransitionData data) {
return ImmutableList.of(newOptions);
};
}

@Override
public boolean isSplit() {
return true;
}
}));

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ private static class TestSplitTransitionProvider
public SplitTransition create(RuleTransitionData data) {
return new TestSplitTransition();
}

@Override
public boolean isSplit() {
return true;
}
}

@Test
Expand Down

0 comments on commit b304d2c

Please sign in to comment.