BIGTOP-685. provide a way to specify the parameters expected by a test (Wing Yew Poon via rvs)
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/1078257d Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/1078257d Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/1078257d Branch: refs/heads/branch-0.5 Commit: 1078257d2cc7bea79d1a629405d5ef0ae64c5dab Parents: a7eb46c Author: Roman Shaposhnik <[email protected]> Authored: Mon Dec 10 12:57:33 2012 -0800 Committer: Roman Shaposhnik <[email protected]> Committed: Mon Dec 10 12:57:33 2012 -0800 ---------------------------------------------------------------------- .../apache/bigtop/itest/TestContractGroovy.groovy | 18 +++++++++++++ .../org/apache/bigtop/itest/TestContractJava.java | 20 ++++++++++++++- .../apache/bigtop/itest/TestContractJavaProc.java | 18 +++++++++++++ 3 files changed, 55 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/1078257d/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractGroovy.groovy ---------------------------------------------------------------------- diff --git a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractGroovy.groovy b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractGroovy.groovy index 98211d2..9cfc06c 100644 --- a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractGroovy.groovy +++ b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractGroovy.groovy @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.itest; import org.junit.BeforeClass; http://git-wip-us.apache.org/repos/asf/bigtop/blob/1078257d/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJava.java ---------------------------------------------------------------------- diff --git a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJava.java b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJava.java index 6d3fb8d..6210835 100644 --- a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJava.java +++ b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJava.java @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.itest; import org.junit.BeforeClass; @@ -66,4 +84,4 @@ public class TestContractJava { assertEquals("checking the value of $BIGTOP_UNLIKELY_FOO_ENV", null, BIGTOP_UNLIKELY_FOO_ENV); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/bigtop/blob/1078257d/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJavaProc.java ---------------------------------------------------------------------- diff --git a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJavaProc.java b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJavaProc.java index 875af1e..557266b 100644 --- a/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJavaProc.java +++ b/bigtop-test-framework/src/test/groovy/org/apache/bigtop/itest/TestContractJavaProc.java @@ -1,3 +1,21 @@ +/** + * 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 + * <p/> + * http://www.apache.org/licenses/LICENSE-2.0 + * <p/> + * 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.bigtop.itest; import org.junit.BeforeClass;
