Repository: logging-log4j2 Updated Branches: refs/heads/master a139b97a0 -> 79df7d14c
Better test class name. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/79df7d14 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/79df7d14 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/79df7d14 Branch: refs/heads/master Commit: 79df7d14cd212b1c5b10f0bcef491bc40e564a40 Parents: a139b97 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Tue Sep 9 12:20:11 2014 -0400 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Tue Sep 9 12:20:11 2014 -0400 ---------------------------------------------------------------------- .../status/StatusLoggerSerializationTest.java | 39 ++++++++++++++++++++ .../logging/log4j/status/StatusLoggerTest.java | 39 -------------------- .../util/KeyValuePairSerializationTest.java | 23 ++++++++++++ .../log4j/core/util/KeyValuePairTest.java | 23 ------------ 4 files changed, 62 insertions(+), 62 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/79df7d14/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerSerializationTest.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerSerializationTest.java b/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerSerializationTest.java new file mode 100644 index 0000000..3e1a0f7 --- /dev/null +++ b/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerSerializationTest.java @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache license, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the license for the specific language governing permissions and + * limitations under the license. + */ +package org.apache.logging.log4j.status; + +import java.io.Serializable; +import java.util.Arrays; +import java.util.Collection; + +import org.apache.logging.log4j.AbstractSerializationTest; +import org.junit.Ignore; +import org.junit.runners.Parameterized.Parameters; + +@Ignore +public class StatusLoggerSerializationTest extends AbstractSerializationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { { StatusLogger.getLogger() } }); + } + + public StatusLoggerSerializationTest(Serializable serializable) { + super(serializable); + } + +} http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/79df7d14/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerTest.java ---------------------------------------------------------------------- diff --git a/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerTest.java b/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerTest.java deleted file mode 100644 index cf8de58..0000000 --- a/log4j-api/src/test/java/org/apache/logging/log4j/status/StatusLoggerTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache license, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the license for the specific language governing permissions and - * limitations under the license. - */ -package org.apache.logging.log4j.status; - -import java.io.Serializable; -import java.util.Arrays; -import java.util.Collection; - -import org.apache.logging.log4j.AbstractSerializationTest; -import org.junit.Ignore; -import org.junit.runners.Parameterized.Parameters; - -@Ignore -public class StatusLoggerTest extends AbstractSerializationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { { StatusLogger.getLogger() } }); - } - - public StatusLoggerTest(Serializable serializable) { - super(serializable); - } - -} http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/79df7d14/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairSerializationTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairSerializationTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairSerializationTest.java new file mode 100644 index 0000000..0953416 --- /dev/null +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairSerializationTest.java @@ -0,0 +1,23 @@ +package org.apache.logging.log4j.core.util; + +import java.io.Serializable; +import java.util.Arrays; +import java.util.Collection; + +import org.apache.logging.log4j.AbstractSerializationTest; +import org.junit.runners.Parameterized.Parameters; + +public class KeyValuePairSerializationTest extends AbstractSerializationTest { + + @Parameters + public static Collection<Object[]> data() { + return Arrays.asList(new Object[][] { + { new KeyValuePair("testuser", "DEBUG") }, + { new KeyValuePair("JohnDoe", "warn") } }); + } + + public KeyValuePairSerializationTest(Serializable serializable) { + super(serializable); + } + +} http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/79df7d14/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairTest.java deleted file mode 100644 index 9fe0c6a..0000000 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/util/KeyValuePairTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.apache.logging.log4j.core.util; - -import java.io.Serializable; -import java.util.Arrays; -import java.util.Collection; - -import org.apache.logging.log4j.AbstractSerializationTest; -import org.junit.runners.Parameterized.Parameters; - -public class KeyValuePairTest extends AbstractSerializationTest { - - @Parameters - public static Collection<Object[]> data() { - return Arrays.asList(new Object[][] { - { new KeyValuePair("testuser", "DEBUG") }, - { new KeyValuePair("JohnDoe", "warn") } }); - } - - public KeyValuePairTest(Serializable serializable) { - super(serializable); - } - -}