NIFI-9686: Renamed SNMP integration tests correctly

This closes #5769

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Lehel 2022-02-15 16:15:20 +01:00 committed by exceptionfactory
parent 4815df29db
commit 51202d7c2d
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
4 changed files with 9 additions and 9 deletions

View File

@ -56,7 +56,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;
@RunWith(Parameterized.class)
public class SNMPRequestTest {
public class SNMPRequestIT {
private static final String LOCALHOST = "127.0.0.1";
private static final String INVALID_HOST = "127.0.0.2";
@ -131,9 +131,9 @@ public class SNMPRequestTest {
private final String getInvalidOidStatusMessage;
private final String setInvalidOidStatusMessage;
public SNMPRequestTest(final int version, final SNMPConfigurationFactory snmpConfigurationFactory, final TestAgent agent,
final String cannotSetReadOnlyOidStatusMessage, final String cannotModifyOidStatusMessage,
final String getInvalidOidStatusMessage, final String setInvalidOidStatusMessage) {
public SNMPRequestIT(final int version, final SNMPConfigurationFactory snmpConfigurationFactory, final TestAgent agent,
final String cannotSetReadOnlyOidStatusMessage, final String cannotModifyOidStatusMessage,
final String getInvalidOidStatusMessage, final String setInvalidOidStatusMessage) {
this.version = version;
this.snmpConfigurationFactory = snmpConfigurationFactory;
this.agent = agent;

View File

@ -47,7 +47,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@RunWith(Parameterized.class)
public class GetSNMPIntegrationTest {
public class GetSNMPIT {
private static final String LOCALHOST = "127.0.0.1";
private static final String READ_ONLY_OID_1 = "1.3.6.1.4.1.32437.1.5.1.4.2.0";
@ -85,7 +85,7 @@ public class GetSNMPIntegrationTest {
private final TestAgent testAgent;
private final SNMPTestRunnerFactory testRunnerFactory;
public GetSNMPIntegrationTest(final TestAgent testAgent, final SNMPTestRunnerFactory testRunnerFactory) {
public GetSNMPIT(final TestAgent testAgent, final SNMPTestRunnerFactory testRunnerFactory) {
this.testAgent = testAgent;
this.testRunnerFactory = testRunnerFactory;
}

View File

@ -45,7 +45,7 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@RunWith(Parameterized.class)
public class SetSNMPIntegrationTest {
public class SetSNMPIT {
private static final String LOCALHOST = "127.0.0.1";
private static final String TEST_OID = "1.3.6.1.4.1.32437.1.5.1.4.2.0";
@ -77,7 +77,7 @@ public class SetSNMPIntegrationTest {
private final TestAgent testAgent;
private final SNMPTestRunnerFactory testRunnerFactory;
public SetSNMPIntegrationTest(final TestAgent testAgent, final SNMPTestRunnerFactory testRunnerFactory) {
public SetSNMPIT(final TestAgent testAgent, final SNMPTestRunnerFactory testRunnerFactory) {
this.testAgent = testAgent;
this.testRunnerFactory = testRunnerFactory;
}

View File

@ -33,7 +33,7 @@ import org.snmp4j.mp.SnmpConstants;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
public class TrapSNMPIntegrationTest {
public class TrapSNMPIT {
protected static final String SYSTEM_DESCRIPTION_OID = "1.3.6.1.2.1.1.1.0";
protected static final String SYSTEM_DESCRIPTION_OID_VALUE = "optionalTrapOidTestValue";