Skip to content

Commit

Permalink
Migrate test to JUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Dec 26, 2022
1 parent 8cb6bef commit 63452d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions appserver/persistence/entitybean-container/pom.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2022 Contributors to the Eclipse Foundation. All rights reserved.
Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -74,5 +75,10 @@
<artifactId>ejb-container</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Expand Up @@ -18,10 +18,12 @@

import java.util.ArrayList;

public class FIFOEJBObjectCacheTest
import org.junit.jupiter.api.Test;

class FIFOEJBObjectCacheTest
{
public void test_unitTest_1()
throws Exception {
@Test
void unitTest_1() throws Exception {

FIFOEJBObjectCache cache = new FIFOEJBObjectCache("UnitTestCache");
cache.init(512, 0, 0, (float)1.0, null);
Expand Down

0 comments on commit 63452d4

Please sign in to comment.