package org.lttng.ust.agent.integration.events;
-import static org.junit.Assume.assumeTrue;
+import static org.junit.Assert.assertTrue;
import java.io.IOException;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
+import org.junit.Test;
import org.lttng.tools.ILttngSession.Domain;
import org.lttng.tools.LttngToolsHelper;
-import org.lttng.ust.agent.integration.events.EnabledEventsITBase;
import org.lttng.ust.agent.log4j.LttngLogAppender;
import org.lttng.ust.agent.utils.Log4jTestUtils;
import org.lttng.ust.agent.utils.LttngUtils;
*/
@BeforeClass
public static void log4jClassSetup() {
- /* Skip tests if we can't find the JNI library or lttng-tools */
- assumeTrue(Log4jTestUtils.checkForLog4jLibrary());
- assumeTrue(LttngUtils.checkForLttngTools(Domain.LOG4J));
+ /* Make sure we can find the JNI library and lttng-tools */
+ assertTrue(Log4jTestUtils.checkForLog4jLibrary());
+ assertTrue(LttngUtils.checkForLttngTools(Domain.LOG4J));
LttngToolsHelper.destroyAllSessions();
}
Log4jTestUtils.send10Events(loggerC);
Log4jTestUtils.send10Events(loggerD);
}
+
+ @Override
+ protected void sendLocalizedEvent(String rawString, Object[] params) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ @Test
+ public void testLocalizedMessage() {
+ /* Does not apply to log4j 1.2.x */
+ }
}