Skip to content

Commit

Permalink
Minor javax-to-jakarta renames
Browse files Browse the repository at this point in the history
Signed-off-by: David Blevins <david.blevins@gmail.com>
  • Loading branch information
dblevins committed Aug 29, 2020
1 parent 78489bc commit 5d1d0e8
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -56,7 +56,7 @@ public static WebArchive createTestArchive() {
* @assertion_ids: JSONB:JAVADOC:25
*
* @test_Strategy: Assert that JsonbBuilder.build returns a new instance of
* javax.json.bind.Jsonb
* jakarta.json.bind.Jsonb
*/
@Test
public void testBuild() {
Expand All @@ -75,7 +75,7 @@ public void testBuild() {
* @assertion_ids: JSONB:JAVADOC:26
*
* @test_Strategy: Assert that JsonbBuilder.create returns a new instance of
* javax.json.bind.Jsonb
* jakarta.json.bind.Jsonb
*/
@Test
public void testCreate() {
Expand All @@ -92,7 +92,7 @@ public void testCreate() {
* @assertion_ids: JSONB:JAVADOC:27
*
* @test_Strategy: Assert that JsonbBuilder.create method with Config argument
* returns a new instance of javax.json.bind.Jsonb configured with provided
* returns a new instance of jakarta.json.bind.Jsonb configured with provided
* configuration
*/
@Test
Expand All @@ -118,15 +118,15 @@ public void testCreateConfig() {
*
* @test_Strategy: Assert that JsonbBuilder.newBuilder returns a new
* JsonbBuilder instance as returned by
* javax.json.bind.spi.JsonbProvider#provider method
* jakarta.json.bind.spi.JsonbProvider#provider method
*/
@Test
public void testNewBuilder() {
JsonbBuilder jsonbBuilder = JsonbBuilder.newBuilder();
if (jsonbBuilder == null || !jsonbBuilder.getClass()
.equals(JsonbProvider.provider().create().getClass())) {
fail(
"Failed to create a new Jsonb instance as returned by javax.json.bind.spi.JsonbProvider#provider method using JsonBuilder.newBuilder method.");
"Failed to create a new Jsonb instance as returned by jakarta.json.bind.spi.JsonbProvider#provider method using JsonBuilder.newBuilder method.");
}
}

Expand All @@ -137,7 +137,7 @@ public void testNewBuilder() {
*
* @test_Strategy: Assert that JsonbBuilder.newBuilder method with String
* argument returns a new JsonbBuilder instance as returned by
* javax.json.bind.spi.JsonbProvider#provider(String) method
* jakarta.json.bind.spi.JsonbProvider#provider(String) method
*/
@Test
public void testNewBuilderString() {
Expand All @@ -148,7 +148,7 @@ public void testNewBuilderString() {
.provider(JsonbProvider.provider().getClass().getName()).create()
.getClass())) {
fail(
"Failed to create a new Jsonb instance as returned by javax.json.bind.spi.JsonbProvider#provider(String) method using JsonBuilder.newBuilder method with String argument.");
"Failed to create a new Jsonb instance as returned by jakarta.json.bind.spi.JsonbProvider#provider(String) method using JsonBuilder.newBuilder method with String argument.");
}
}

Expand Down

0 comments on commit 5d1d0e8

Please sign in to comment.