Repository: beam Updated Branches: refs/heads/master ed3ef11fa -> 2596d46a1
Add UsesMapState and UsesSetState JUnit categories Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/674bead8 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/674bead8 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/674bead8 Branch: refs/heads/master Commit: 674bead8c346421ebfadc3e0b2e13eb79e0280aa Parents: bea101a Author: JingsongLi <lzljs3620...@aliyun.com> Authored: Tue Feb 14 14:52:05 2017 +0800 Committer: Kenneth Knowles <k...@google.com> Committed: Tue Feb 14 11:02:48 2017 -0800 ---------------------------------------------------------------------- .../apache/beam/sdk/testing/UsesMapState.java | 25 ++++++++++++++++++++ .../apache/beam/sdk/testing/UsesSetState.java | 25 ++++++++++++++++++++ 2 files changed, 50 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/674bead8/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesMapState.java ---------------------------------------------------------------------- diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesMapState.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesMapState.java new file mode 100644 index 0000000..9bced41 --- /dev/null +++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesMapState.java @@ -0,0 +1,25 @@ +/* + * 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.beam.sdk.testing; + +import org.apache.beam.sdk.util.state.MapState; + +/** + * Category tag for validation tests which utilize {@link MapState}. + */ +public interface UsesMapState {} http://git-wip-us.apache.org/repos/asf/beam/blob/674bead8/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesSetState.java ---------------------------------------------------------------------- diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesSetState.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesSetState.java new file mode 100644 index 0000000..6fd74bd --- /dev/null +++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/testing/UsesSetState.java @@ -0,0 +1,25 @@ +/* + * 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.beam.sdk.testing; + +import org.apache.beam.sdk.util.state.SetState; + +/** + * Category tag for validation tests which utilize {@link SetState}. + */ +public interface UsesSetState {}