Skip to content

Commit 64634e3

Browse files
committed
JavaDoc + impl + test checkpoint. Returned to 100% code coverage
1 parent ea18d48 commit 64634e3

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

impl/src/test/groovy/io/jsonwebtoken/impl/security/TestPrivateKey.groovy

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1+
/*
2+
* Copyright © 2023 jsonwebtoken.io
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package io.jsonwebtoken.impl.security
217

318
import javax.security.auth.DestroyFailedException
19+
import javax.security.auth.Destroyable
420
import java.security.PrivateKey
521

6-
class TestPrivateKey extends TestKey implements PrivateKey {
22+
class TestPrivateKey extends TestKey implements PrivateKey, Destroyable {
723

824
boolean destroyed
925

impl/src/test/groovy/io/jsonwebtoken/impl/security/TestPublicKey.groovy

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright © 2023 jsonwebtoken.io
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package io.jsonwebtoken.impl.security
217

318
import java.security.PublicKey

0 commit comments

Comments
 (0)