Skip to content

Commit 9856798

Browse files
committed
Proper license
1 parent 9f1df2d commit 9856798

File tree

6 files changed

+1
-106
lines changed

6 files changed

+1
-106
lines changed

mockito-kotlin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bintray {
4949
name = "Mockito-Kotlin"
5050
desc = "Using Mockito with Kotlin"
5151

52-
licenses = ['Apache-2.0']
52+
licenses = ['MIT']
5353
vcsUrl = 'https://github.com/bintray/gradle-bintray-plugin.git'
5454

5555
version {

mockito-kotlin/src/test/kotlin/AnyTest.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,6 @@ import org.junit.Before
3232
import org.junit.Test
3333
import org.mockito.Mockito
3434

35-
/*
36-
* Copyright 2016 Niek Haarman
37-
*
38-
* Licensed under the Apache License, Version 2.0 (the "License");
39-
* you may not use this file except in compliance with the License.
40-
* You may obtain a copy of the License at
41-
*
42-
* http://www.apache.org/licenses/LICENSE-2.0
43-
*
44-
* Unless required by applicable law or agreed to in writing, software
45-
* distributed under the License is distributed on an "AS IS" BASIS,
46-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
47-
* See the License for the specific language governing permissions and
48-
* limitations under the License.
49-
*/
50-
5135
class AnyTest {
5236

5337
private lateinit var doAnswer: Fake

mockito-kotlin/src/test/kotlin/EqTest.kt

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,6 @@
2323
* THE SOFTWARE.
2424
*/
2525

26-
/*
27-
* The MIT License
28-
*
29-
* Copyright (c) 2016 Niek Haarman
30-
* Copyright (c) 2007 Mockito contributors
31-
*
32-
* Permission is hereby granted, free of charge, to any person obtaining a copy
33-
* of this software and associated documentation files (the "Software"), to deal
34-
* in the Software without restriction, including without limitation the rights
35-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36-
* copies of the Software, and to permit persons to whom the Software is
37-
* furnished to do so, subject to the following conditions:
38-
*
39-
* The above copyright notice and this permission notice shall be included in
40-
* all copies or substantial portions of the Software.
41-
*
42-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48-
* THE SOFTWARE.
49-
*/
50-
51-
/*
52-
* Copyright 2016 Niek Haarman
53-
*
54-
* Licensed under the Apache License, Version 2.0 (the "License");
55-
* you may not use this file except in compliance with the License.
56-
* You may obtain a copy of the License at
57-
*
58-
* http://www.apache.org/licenses/LICENSE-2.0
59-
*
60-
* Unless required by applicable law or agreed to in writing, software
61-
* distributed under the License is distributed on an "AS IS" BASIS,
62-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63-
* See the License for the specific language governing permissions and
64-
* limitations under the License.
65-
*/
66-
6726
import com.nhaarman.expect.expect
6827
import com.nhaarman.mockito_kotlin.eq
6928
import com.nhaarman.mockito_kotlin.mock

mockito-kotlin/src/test/kotlin/MatcherTest.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@ import com.nhaarman.mockito_kotlin.mock
2828
import com.nhaarman.mockito_kotlin.verify
2929
import org.junit.Test
3030

31-
/*
32-
* Copyright 2016 Niek Haarman
33-
*
34-
* Licensed under the Apache License, Version 2.0 (the "License");
35-
* you may not use this file except in compliance with the License.
36-
* You may obtain a copy of the License at
37-
*
38-
* http://www.apache.org/licenses/LICENSE-2.0
39-
*
40-
* Unless required by applicable law or agreed to in writing, software
41-
* distributed under the License is distributed on an "AS IS" BASIS,
42-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43-
* See the License for the specific language governing permissions and
44-
* limitations under the License.
45-
*/
46-
4731
class MatcherTest {
4832

4933
@Test

mockito-kotlin/src/test/kotlin/MockTest.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,6 @@ import com.nhaarman.mockito_kotlin.mock
2828
import org.junit.Test
2929
import org.mockito.exceptions.base.MockitoException
3030

31-
/*
32-
* Copyright 2016 Niek Haarman
33-
*
34-
* Licensed under the Apache License, Version 2.0 (the "License");
35-
* you may not use this file except in compliance with the License.
36-
* You may obtain a copy of the License at
37-
*
38-
* http://www.apache.org/licenses/LICENSE-2.0
39-
*
40-
* Unless required by applicable law or agreed to in writing, software
41-
* distributed under the License is distributed on an "AS IS" BASIS,
42-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
43-
* See the License for the specific language governing permissions and
44-
* limitations under the License.
45-
*/
46-
4731
class MockTest {
4832

4933
private lateinit var propertyInterfaceVariable: MyInterface

mockito-kotlin/src/test/kotlin/SpyTest.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,6 @@
2323
* THE SOFTWARE.
2424
*/
2525

26-
/*
27-
* Copyright 2016 Niek Haarman
28-
*
29-
* Licensed under the Apache License, Version 2.0 (the "License");
30-
* you may not use this file except in compliance with the License.
31-
* You may obtain a copy of the License at
32-
*
33-
* http://www.apache.org/licenses/LICENSE-2.0
34-
*
35-
* Unless required by applicable law or agreed to in writing, software
36-
* distributed under the License is distributed on an "AS IS" BASIS,
37-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38-
* See the License for the specific language governing permissions and
39-
* limitations under the License.
40-
*/
41-
4226
import com.nhaarman.expect.expect
4327
import com.nhaarman.mockito_kotlin.spy
4428
import org.junit.Test

0 commit comments

Comments
 (0)