From 34b2fecd28a90e84209df9a72e989cbe147bd25d Mon Sep 17 00:00:00 2001 From: Jonathan Boulle Date: Fri, 31 Oct 2014 14:25:26 -0700 Subject: [PATCH] integration: clean up licenses and docs --- integration/cluster_test.go | 16 ++++++++++++++ integration/doc.go | 42 +++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/integration/cluster_test.go b/integration/cluster_test.go index 8694dc456..b590d09c2 100644 --- a/integration/cluster_test.go +++ b/integration/cluster_test.go @@ -1,3 +1,19 @@ +/* + Copyright 2014 CoreOS, Inc. + + Licensed 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 integration import ( diff --git a/integration/doc.go b/integration/doc.go index c410d0842..f6fd3582e 100644 --- a/integration/doc.go +++ b/integration/doc.go @@ -1,25 +1,27 @@ -// Copyright 2014 CoreOS Inc. -// -// Licensed 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. +/* + Copyright 2014 CoreOS, Inc. + + Licensed 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. +*/ /* -functional tests are built upon embeded etcd, and focus on etcd functional -correctness. +Package integration implements tests built upon embedded etcd, and focus on +etcd correctness. -Its goal: -1. it tests the whole code base except the command line parse. -2. it is able to check internal data, including raft, store and etc. -3. it is based on goroutine, which is faster than process. -4. it mainly tests user behavior and user-facing API. +Features/goals of the integration tests: +1. test the whole code base except command-line parsing. +2. check internal data, including raft, store and etc. +3. based on goroutines, which is faster than process. +4. mainly tests user behavior and user-facing API. */ package integration