diff options
| author | Joseph Richey <joerichey94@gmail.com> | 2018-02-11 20:19:36 -0800 |
|---|---|---|
| committer | Joseph Richey <joerichey94@gmail.com> | 2018-02-11 20:19:36 -0800 |
| commit | de002a9585d9fe06422db01629ff117f0150630f (patch) | |
| tree | edebb101e6752ce61f6e6914c495aea06ced8b4d | |
| parent | 924b8d09db66868af7a6cf174d5346ace13dfa8a (diff) | |
test: all packages should have tests
The tests added in this change are trivial, but they make sure that
every package has a non-zero number of tests. This is important for
eventually increasing test coverage.
| -rw-r--r-- | pam/pam_test.go | 24 | ||||
| -rw-r--r-- | security/security_test.go | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/pam/pam_test.go b/pam/pam_test.go new file mode 100644 index 0000000..97cc792 --- /dev/null +++ b/pam/pam_test.go @@ -0,0 +1,24 @@ +/* + * pam_test.go - Stub test file that has one test that always passes. + * + * Copyright 2018 Google Inc. + * Author: Joe Richey (joerichey@google.com) + * + * 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 pam + +import "testing" + +func TestTrivial(t *testing.T) {} diff --git a/security/security_test.go b/security/security_test.go new file mode 100644 index 0000000..45e4f63 --- /dev/null +++ b/security/security_test.go @@ -0,0 +1,24 @@ +/* + * security_test.go - Stub test file that has one test that always passes. + * + * Copyright 2018 Google Inc. + * Author: Joe Richey (joerichey@google.com) + * + * 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 security + +import "testing" + +func TestTrivial(t *testing.T) {} |