Skip to content

Commit 733d4ef

Browse files
committed
Updated TestContainers, fixed imports in some of TCK modules
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
1 parent bf6d3ce commit 733d4ef

File tree

11 files changed

+28
-5
lines changed

11 files changed

+28
-5
lines changed

appserver/tests/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
<dependency>
4040
<groupId>org.testcontainers</groupId>
4141
<artifactId>testcontainers</artifactId>
42-
<version>1.20.3</version>
42+
<version>1.20.4</version>
4343
<scope>test</scope>
4444
</dependency>
4545
<dependency>
4646
<groupId>org.testcontainers</groupId>
4747
<artifactId>junit-jupiter</artifactId>
48-
<version>1.20.3</version>
48+
<version>1.20.4</version>
4949
<scope>test</scope>
5050
</dependency>
5151
</dependencies>

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/lib/harness/EETest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -16,6 +17,7 @@
1617

1718
package com.sun.ts.lib.harness;
1819

20+
import com.sun.javatest.Status;
1921
import com.sun.ts.lib.util.TestUtil;
2022

2123
import java.io.File;

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/lib/harness/ServiceEETest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2023 Contributors to the Eclipse Foundation.
2+
* Copyright (c) 2023, 2025 Contributors to the Eclipse Foundation.
33
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved.
44
*
55
* This program and the accompanying materials are made available under the
@@ -17,6 +17,7 @@
1717

1818
package com.sun.ts.lib.harness;
1919

20+
import com.sun.javatest.Status;
2021
import com.sun.ts.lib.util.TestUtil;
2122
import com.sun.ts.tests.common.vehicle.VehicleRunnable;
2223
import com.sun.ts.tests.common.vehicle.VehicleRunnerFactory;

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/tests/common/vehicle/EmptyVehicleRunner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -20,6 +21,7 @@
2021

2122
package com.sun.ts.tests.common.vehicle;
2223

24+
import com.sun.javatest.Status;
2325
import com.sun.ts.lib.harness.ServiceEETest;
2426
import com.sun.ts.lib.util.TestUtil;
2527

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/tests/common/vehicle/VehicleRunnable.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2007, 2020 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -20,6 +21,8 @@
2021

2122
package com.sun.ts.tests.common.vehicle;
2223

24+
import com.sun.javatest.Status;
25+
2326
import java.util.Properties;
2427

2528
public interface VehicleRunnable {

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/tests/common/vehicle/ejbembed/EJBEmbedRunner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -20,6 +21,7 @@
2021

2122
package com.sun.ts.tests.common.vehicle.ejbembed;
2223

24+
import com.sun.javatest.Status;
2325
import com.sun.ts.lib.util.TestUtil;
2426
import com.sun.ts.tests.common.vehicle.VehicleRunnable;
2527
import com.sun.ts.tests.common.vehicle.ejbliteshare.EJBLiteClientIF;

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/tests/common/vehicle/ejbliteshare/EJBLiteSecuredWebVehicleRunner.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2008, 2020 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -16,6 +17,7 @@
1617

1718
package com.sun.ts.tests.common.vehicle.ejbliteshare;
1819

20+
import com.sun.javatest.Status;
1921
import com.sun.ts.lib.porting.TSURL;
2022
import com.sun.ts.lib.util.BASE64Encoder;
2123
import com.sun.ts.lib.util.TestUtil;

appserver/tests/tck/embedded_ejb_smoke/ejb_lite_basic/src/main/java/com/sun/ts/tests/common/vehicle/ejbliteshare/EJBLiteWebVehicleRunner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
* Copyright (c) 2025 Contributors to the Eclipse Foundation
23
* Copyright (c) 2008, 2018 Oracle and/or its affiliates. All rights reserved.
34
*
45
* This program and the accompanying materials are made available under the
@@ -17,8 +18,10 @@
1718
/*
1819
* $Id$
1920
*/
21+
2022
package com.sun.ts.tests.common.vehicle.ejbliteshare;
2123

24+
import com.sun.javatest.Status;
2225
import com.sun.ts.lib.porting.TSURL;
2326
import com.sun.ts.lib.util.TestUtil;
2427
import com.sun.ts.tests.common.vehicle.VehicleRunnable;

appserver/tests/tck/embedded_ejb_smoke/runner/src/test/java/com/sun/ts/run/EmbeddedRunnerITest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021 Contributors to the Eclipse Foundation. All rights reserved.
2+
* Copyright (c) 2021, 2025 Contributors to the Eclipse Foundation
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
@@ -15,6 +15,7 @@
1515
*/
1616
package com.sun.ts.run;
1717

18+
import com.sun.javatest.Status;
1819
import com.sun.ts.lib.harness.ExecTSTestCmd;
1920

2021
import java.io.IOException;

appserver/tests/tck/expression_language/src/test/java/com/sun/ts/run/StandaloneRunnerITest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, 2022 Contributors to the Eclipse Foundation. All rights reserved.
2+
* Copyright (c) 2022, 2025 Contributors to the Eclipse Foundation
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
@@ -13,8 +13,10 @@
1313
*
1414
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
1515
*/
16+
1617
package com.sun.ts.run;
1718

19+
import com.sun.javatest.Status;
1820
import com.sun.ts.lib.harness.ExecTSTestCmd;
1921

2022
import java.io.IOException;

appserver/tests/tck/platform-tck-runner/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@
7575
<artifactId>jakarta.annotation-api</artifactId>
7676
</dependency>
7777

78+
<dependency>
79+
<groupId>org.glassfish.main</groupId>
80+
<artifactId>glassfish-jul-extension</artifactId>
81+
</dependency>
7882
<dependency>
7983
<groupId>jakarta.inject</groupId>
8084
<artifactId>jakarta.inject-api</artifactId>
@@ -87,6 +91,7 @@
8791
<dependency>
8892
<groupId>org.testcontainers</groupId>
8993
<artifactId>testcontainers</artifactId>
94+
<scope>compile</scope>
9095
</dependency>
9196
</dependencies>
9297

0 commit comments

Comments
 (0)