aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt <joakime@apache.org>2007-05-17 16:26:23 +0000
committerJoakim Erdfelt <joakime@apache.org>2007-05-17 16:26:23 +0000
commit45ab16622e24b784e597d77cdff9cd99bec575f9 (patch)
tree8c992a0b1957de7aea51545da3d71bd1fb7d071d
parentdff1462392da32bf95cf7dc207d25b7e1ec61f4c (diff)
downloadarchiva-45ab16622e24b784e597d77cdff9cd99bec575f9.tar.gz
archiva-45ab16622e24b784e597d77cdff9cd99bec575f9.zip
Attempting to fix a win32 test error.
Test was attempting to use a JPOX/JDO RbacManager, and not the memory version that was declared in the test scope descriptor. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539003 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-web/archiva-security/src/test/resources/log4j.properties10
-rw-r--r--archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml (renamed from archiva-web/archiva-security/src/test/resources/META-INF/plexus/components.xml)0
2 files changed, 10 insertions, 0 deletions
diff --git a/archiva-web/archiva-security/src/test/resources/log4j.properties b/archiva-web/archiva-security/src/test/resources/log4j.properties
new file mode 100644
index 000000000..6d107570b
--- /dev/null
+++ b/archiva-web/archiva-security/src/test/resources/log4j.properties
@@ -0,0 +1,10 @@
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=INFO, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
diff --git a/archiva-web/archiva-security/src/test/resources/META-INF/plexus/components.xml b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml
index 65ede8171..65ede8171 100644
--- a/archiva-web/archiva-security/src/test/resources/META-INF/plexus/components.xml
+++ b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml