Skip to content

Commit 11cb74c

Browse files
committed
package rename and final changes
update copyright rename packages again Use central ContextServiceDefinitionServlet
1 parent b75689b commit 11cb74c

File tree

186 files changed

+1759
-1549
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+1759
-1549
lines changed

tck/pom.xml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
4-
This program and the accompanying materials are made available under the
5-
terms of the Eclipse Public License v. 2.0, which is available at
6-
http://www.eclipse.org/legal/epl-2.0.
7-
This Source Code may also be made available under the following Secondary
8-
Licenses when the conditions for such availability set forth in the
9-
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
10-
version 2 with the GNU Classpath Exception, which is available at
11-
https://www.gnu.org/software/classpath/license.html.
12-
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
3+
/*
4+
* Copyright (c) 2022 Contributors to the Eclipse Foundation
5+
*
6+
* This program and the accompanying materials are made available under the
7+
* terms of the Eclipse Public License v. 2.0, which is available at
8+
* http://www.eclipse.org/legal/epl-2.0.
9+
*
10+
* This Source Code may also be made available under the following Secondary
11+
* Licenses when the conditions for such availability set forth in the
12+
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
13+
* version 2 with the GNU Classpath Exception, which is available at
14+
* https://www.gnu.org/software/classpath/license.html.
15+
*
16+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
17+
*/
1318
-->
1419
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1520
<modelVersion>4.0.0</modelVersion>
@@ -22,7 +27,7 @@
2227

2328
<groupId>jakarta.enterprise.concurrent</groupId>
2429
<artifactId>jakarta.enterprise.concurrent-tck</artifactId>
25-
<version>2.0-SNAPSHOT</version>
30+
<version>3.0.0-RC1</version>
2631
<packaging>jar</packaging>
2732

2833
<name>Jakarta Concurrency TCK</name>
@@ -46,9 +51,15 @@
4651
<maven.compiler.target>1.8</maven.compiler.target>
4752
<maven.compiler.source>1.8</maven.compiler.source>
4853

49-
<jakarta.concurrent.version>2.0.0</jakarta.concurrent.version>
54+
<jakarta.concurrent.version.ga>3.0.0</jakarta.concurrent.version.ga>
55+
<jakarta.concurrent.version.dev>3.0.0-SNAPSHOT</jakarta.concurrent.version.dev>
56+
57+
<!-- TODO update to 6.0.0 -->
5058
<jakarta.servlet.version>5.0.0</jakarta.servlet.version>
59+
60+
<!-- TODO update to 5.0.0 -->
5161
<jakarta.ejb.version>4.0.0</jakarta.ejb.version>
62+
5263
<jakarta.annotation.version>2.0.0</jakarta.annotation.version>
5364

5465
<testng.version>6.14.3</testng.version>
@@ -58,7 +69,7 @@
5869
<dependency>
5970
<groupId>jakarta.enterprise.concurrent</groupId>
6071
<artifactId>jakarta.enterprise.concurrent-api</artifactId>
61-
<version>${jakarta.concurrent.version}</version>
72+
<version>${jakarta.concurrent.version.dev}</version>
6273
<scope>provided</scope>
6374
</dependency>
6475
<dependency>

tck/src/main/java/ee/jakarta/tck/concurrent/api/AbortedException/AbortedExceptionTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,23 +14,23 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.AbortedException;
17+
package ee.jakarta.tck.concurrent.api.AbortedException;
1818

1919
import org.jboss.arquillian.container.test.api.Deployment;
2020
import org.jboss.shrinkwrap.api.ShrinkWrap;
2121
import org.jboss.shrinkwrap.api.spec.WebArchive;
2222
import org.testng.annotations.Test;
2323

24+
import ee.jakarta.tck.concurrent.framework.ArquillianTests;
25+
import ee.jakarta.tck.concurrent.framework.TestLogger;
2426
import jakarta.enterprise.concurrent.AbortedException;
25-
import jakarta.enterprise.concurrent.tck.framework.ArquillianTests;
26-
import jakarta.enterprise.concurrent.tck.framework.TestLogger;
2727

2828
public class AbortedExceptionTests extends ArquillianTests {
2929

3030
private static final TestLogger log = TestLogger.get(AbortedExceptionTests.class);
3131

3232
//TODO deploy as EJB and JSP artifacts
33-
@Deployment(name="AbortedException")
33+
@Deployment(name="AbortedExceptionTests")
3434
public static WebArchive createDeployment() {
3535
return ShrinkWrap.create(WebArchive.class)
3636
.addPackages(true, getFrameworkPackage(), AbortedExceptionTests.class.getPackage());

tck/src/main/java/ee/jakarta/tck/concurrent/api/ContextService/ContextServiceTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ContextService;
17+
package ee.jakarta.tck.concurrent.api.ContextService;
1818

1919
import java.util.HashMap;
2020
import java.util.Map;
@@ -24,17 +24,17 @@
2424
import org.jboss.shrinkwrap.api.spec.WebArchive;
2525
import org.testng.annotations.Test;
2626

27+
import ee.jakarta.tck.concurrent.framework.ArquillianTests;
28+
import ee.jakarta.tck.concurrent.framework.TestLogger;
29+
import ee.jakarta.tck.concurrent.framework.TestUtil;
2730
import jakarta.enterprise.concurrent.ManagedTaskListener;
28-
import jakarta.enterprise.concurrent.tck.framework.ArquillianTests;
29-
import jakarta.enterprise.concurrent.tck.framework.TestLogger;
30-
import jakarta.enterprise.concurrent.tck.framework.TestUtil;
3131

3232
public class ContextServiceTests extends ArquillianTests {
3333

3434
private static final TestLogger log = TestLogger.get(ContextServiceTests.class);
3535

3636
//TODO deploy as EJB and JSP artifacts
37-
@Deployment(name="ContextService")
37+
@Deployment(name="ContextServiceTests")
3838
public static WebArchive createDeployment() {
3939
return ShrinkWrap.create(WebArchive.class)
4040
.addPackages(true, getFrameworkPackage(), ContextServiceTests.class.getPackage());

tck/src/main/java/ee/jakarta/tck/concurrent/api/ContextService/TestRunnableWork.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ContextService;
17+
package ee.jakarta.tck.concurrent.api.ContextService;
1818

1919
public class TestRunnableWork implements Runnable, TestWorkInterface {
2020

tck/src/main/java/ee/jakarta/tck/concurrent/api/ContextService/TestRunnableWorkNoDefaultConstructor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ContextService;
17+
package ee.jakarta.tck.concurrent.api.ContextService;
1818

1919
public class TestRunnableWorkNoDefaultConstructor implements Runnable, TestWorkInterface {
2020

tck/src/main/java/ee/jakarta/tck/concurrent/api/ContextService/TestWorkInterface.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ContextService;
17+
package ee.jakarta.tck.concurrent.api.ContextService;
1818

1919
public interface TestWorkInterface {
2020
public String doSomeWork();

tck/src/main/java/ee/jakarta/tck/concurrent/api/LastExecution/LastExecutionTests.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.LastExecution;
17+
package ee.jakarta.tck.concurrent.api.LastExecution;
1818

1919
import java.util.HashMap;
2020
import java.util.Map;
@@ -26,24 +26,24 @@
2626
import org.testng.annotations.BeforeMethod;
2727
import org.testng.annotations.Test;
2828

29+
import ee.jakarta.tck.concurrent.common.fixed.counter.CounterCallableTask;
30+
import ee.jakarta.tck.concurrent.common.fixed.counter.CounterRunnableTask;
31+
import ee.jakarta.tck.concurrent.common.fixed.counter.StaticCounter;
32+
import ee.jakarta.tck.concurrent.framework.ArquillianTests;
33+
import ee.jakarta.tck.concurrent.framework.TestConstants;
34+
import ee.jakarta.tck.concurrent.framework.TestUtil;
2935
import jakarta.enterprise.concurrent.ManagedExecutors;
3036
import jakarta.enterprise.concurrent.ManagedTask;
31-
import jakarta.enterprise.concurrent.common.counter.CounterCallableTask;
32-
import jakarta.enterprise.concurrent.common.counter.CounterRunnableTask;
33-
import jakarta.enterprise.concurrent.common.counter.StaticCounter;
34-
import jakarta.enterprise.concurrent.tck.framework.ArquillianTests;
35-
import jakarta.enterprise.concurrent.tck.framework.TestConstants;
36-
import jakarta.enterprise.concurrent.tck.framework.TestUtil;
3737

3838
public class LastExecutionTests extends ArquillianTests {
3939

4040
public static final String IDENTITY_NAME_TEST_ID = "lastExecutionGetIdentityNameTest";
4141

4242
//TODO deploy as EJB and JSP artifacts
43-
@Deployment(name="LastExecution")
43+
@Deployment(name="LastExecutionTests")
4444
public static WebArchive createDeployment() {
4545
return ShrinkWrap.create(WebArchive.class)
46-
.addPackages(true, getFrameworkPackage(), getCommonCounterPackage() ,LastExecutionTests.class.getPackage());
46+
.addPackages(true, getFrameworkPackage(), getCommonFixedCounterPackage() ,LastExecutionTests.class.getPackage());
4747
}
4848

4949
@BeforeMethod

tck/src/main/java/ee/jakarta/tck/concurrent/api/LastExecution/LogicDrivenTrigger.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,15 +14,15 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.LastExecution;
17+
package ee.jakarta.tck.concurrent.api.LastExecution;
1818

1919
import java.lang.reflect.Method;
2020
import java.util.Date;
2121

22+
import ee.jakarta.tck.concurrent.framework.TestConstants;
23+
import ee.jakarta.tck.concurrent.framework.TestLogger;
2224
import jakarta.enterprise.concurrent.LastExecution;
2325
import jakarta.enterprise.concurrent.Trigger;
24-
import jakarta.enterprise.concurrent.tck.framework.TestConstants;
25-
import jakarta.enterprise.concurrent.tck.framework.TestLogger;
2626

2727
/**
2828
* A trigger that driven by test logic. This trigger is used for test the logic

tck/src/main/java/ee/jakarta/tck/concurrent/api/ManageableThread/ManageableThreadTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2021 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,24 +14,24 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ManageableThread;
17+
package ee.jakarta.tck.concurrent.api.ManageableThread;
1818

1919
import org.jboss.arquillian.container.test.api.Deployment;
2020
import org.jboss.shrinkwrap.api.ShrinkWrap;
2121
import org.jboss.shrinkwrap.api.spec.WebArchive;
2222
import org.testng.annotations.Test;
2323

24+
import ee.jakarta.tck.concurrent.framework.ArquillianTests;
25+
import ee.jakarta.tck.concurrent.framework.TestLogger;
26+
import ee.jakarta.tck.concurrent.framework.TestUtil;
2427
import jakarta.enterprise.concurrent.ManageableThread;
25-
import jakarta.enterprise.concurrent.tck.framework.ArquillianTests;
26-
import jakarta.enterprise.concurrent.tck.framework.TestLogger;
27-
import jakarta.enterprise.concurrent.tck.framework.TestUtil;
2828

2929
public class ManageableThreadTests extends ArquillianTests {
3030

3131
private static final TestLogger log = TestLogger.get(ManageableThreadTests.class);
3232

3333
//TODO deploy as EJB and JSP artifacts
34-
@Deployment(name="ManageableThread")
34+
@Deployment(name="ManageableThreadTests")
3535
public static WebArchive createDeployment() {
3636
return ShrinkWrap.create(WebArchive.class)
3737
.addPackages(true, getFrameworkPackage(), ManageableThreadTests.class.getPackage());

tck/src/main/java/ee/jakarta/tck/concurrent/api/ManageableThread/TestRunnableWork.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved.
33
*
44
* This program and the accompanying materials are made available under the
55
* terms of the Eclipse Public License v. 2.0, which is available at
@@ -14,7 +14,7 @@
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
1616

17-
package jakarta.enterprise.concurrent.api.ManageableThread;
17+
package ee.jakarta.tck.concurrent.api.ManageableThread;
1818

1919
public class TestRunnableWork implements Runnable {
2020

0 commit comments

Comments
 (0)