|
20 | 20 | import jakarta.json.JsonObject;
|
21 | 21 |
|
22 | 22 | public class ResourcesConfigAdapterTest {
|
23 |
| - @Test |
24 |
| - public void testGetSupportedResourceTypes() throws Exception { |
25 |
| - JsonObject json = Json.createObjectBuilder().build(); |
26 |
| - PropertyGroup pg = new PropertyGroup(json); |
27 |
| - ResourcesConfigAdapter resourcesConfigAdapter = new ResourcesConfigAdapter(pg); |
28 |
| - |
29 |
| - Set<String> supportedResourceTypes = resourcesConfigAdapter.getSupportedResourceTypes(); |
30 |
| - assertEquals(supportedResourceTypes.size(), 141); |
31 |
| - |
32 |
| - System.out.println(supportedResourceTypes); |
33 |
| - |
34 |
| - for (Interaction interaction : Interaction.values()) { |
35 |
| - supportedResourceTypes = resourcesConfigAdapter.getSupportedResourceTypes(interaction); |
36 |
| - assertEquals(supportedResourceTypes.size(), 141); |
37 |
| - } |
38 |
| - } |
| 23 | + @Test |
| 24 | + public void testGetSupportedResourceTypes() throws Exception { |
| 25 | + JsonObject json = Json.createObjectBuilder().build(); |
| 26 | + PropertyGroup pg = new PropertyGroup(json); |
| 27 | + ResourcesConfigAdapter resourcesConfigAdapter = new ResourcesConfigAdapter(pg); |
| 28 | + |
| 29 | + Set<String> supportedResourceTypes = resourcesConfigAdapter.getSupportedResourceTypes(); |
| 30 | + assertEquals(supportedResourceTypes.size(), 146); |
| 31 | + |
| 32 | + System.out.println(supportedResourceTypes); |
| 33 | + |
| 34 | + for (Interaction interaction : Interaction.values()) { |
| 35 | + supportedResourceTypes = resourcesConfigAdapter.getSupportedResourceTypes(interaction); |
| 36 | + assertEquals(supportedResourceTypes.size(), 146); |
| 37 | + } |
| 38 | + } |
39 | 39 | }
|
0 commit comments