blob: 0e6387d047ea8a4d01ae5453550b470bcbb8b939 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.openecomp.sdc.impl;
import org.testng.annotations.Test;
import org.openecomp.sdc.tosca.parser.config.Configuration;
import org.openecomp.sdc.tosca.parser.config.ConfigurationManager;
import java.io.IOException;
import static org.testng.Assert.assertNotNull;
public class ToscaParserConfigurationTest extends BasicTest {
@Test
public void testConfigurationConformanceLevel() throws IOException {
Configuration config = ConfigurationManager.getInstance().getConfiguration();
assertNotNull(config);
assertNotNull(config.getConformanceLevel());
assertNotNull(config.getConformanceLevel().getMaxVersion());
assertNotNull(config.getConformanceLevel().getMinVersion());
}
}
|