ceki 02/04/25 07:09:01 Modified: tests/input patternLayout14.properties tests/src/java/org/apache/log4j LoggerTestCase.java tests/src/java/org/apache/log4j/customLogger XLogger.java Added: tests/src/java/org/apache/log4j StressCategory.java stressCategory stressCategory.pl Log: - Moved StressCategory.java and co. to tests/ also adapting source code to changes in 1.2 - Removed dependencies in test/ to classes in examples/. tests/ now depend only on log4j.jar and tests/. Revision Changes Path 1.3 +1 -1 jakarta-log4j/tests/input/patternLayout14.properties Index: patternLayout14.properties =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/input/patternLayout14.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- patternLayout14.properties 16 Apr 2002 08:52:34 -0000 1.2 +++ patternLayout14.properties 25 Apr 2002 14:09:01 -0000 1.3 @@ -2,5 +2,5 @@ log4j.appender.testAppender=org.apache.log4j.FileAppender log4j.appender.testAppender.File= output/temp log4j.appender.testAppender.Append=false -log4j.appender.testAppender.layout=examples.MyPatternLayout +log4j.appender.testAppender.layout=org.apache.log4j.MyPatternLayout log4j.appender.testAppender.layout.ConversionPattern=%5p %-4# - %m%n 1.4 +4 -4 jakarta-log4j/tests/src/java/org/apache/log4j/LoggerTestCase.java Index: LoggerTestCase.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/LoggerTestCase.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LoggerTestCase.java 12 Apr 2002 15:11:49 -0000 1.3 +++ LoggerTestCase.java 25 Apr 2002 14:09:01 -0000 1.4 @@ -301,10 +301,10 @@ Logger a_b_c = Logger.getLogger("a.b.c"); Logger t; - t = Logger.exists("xx"); assertNull(t); - t = Logger.exists("a"); assertSame(a, t); - t = Logger.exists("a.b"); assertSame(a_b, t); - t = Logger.exists("a.b.c"); assertSame(a_b_c, t); + t = LogManager.exists("xx"); assertNull(t); + t = LogManager.exists("a"); assertSame(a, t); + t = LogManager.exists("a.b"); assertSame(a_b, t); + t = LogManager.exists("a.b.c"); assertSame(a_b_c, t); } public 1.1 jakarta-log4j/tests/src/java/org/apache/log4j/StressCategory.java Index: StressCategory.java =================================================================== /* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software * License version 1.1, a copy of which has been included with this * distribution in the LICENSE.txt file. */ package org.apache.log4j; import org.apache.log4j.Level; import org.apache.log4j.Category; import java.util.Random; /* Stress test the Category class. */ class StressCategory { static Level[] level = new Level[] {Level.DEBUG, Level.INFO, Level.WARN, Level.ERROR, Level.FATAL}; static Level defaultLevel = Category.getRoot().getLevel(); static int LENGTH; static String[] names; static Category[] cat; static CT[] ct; static Random random = new Random(10); public static void main(String[] args) { LENGTH = args.length; if(LENGTH == 0) { System.err.println( "Usage: java " + StressCategory.class.getName() + " name1 ... nameN\n."); System.exit(1); } if(LENGTH >= 7) { System.err.println( "This stress test suffers from combinatorial explosion.\n"+ "Invoking with seven arguments takes about 90 minutes even on fast machines"); } names = new String[LENGTH]; for(int i=0; i < LENGTH; i++) { names[i] = args[i]; } cat = new Category[LENGTH]; ct = new CT[LENGTH]; permute(0); // If did not exit, then passed all tests. } // Loop through all permutations of names[]. // On each possible permutation call createLoop static void permute(int n) { if(n == LENGTH) createLoop(0); else for(int i = n; i < LENGTH; i++) { swap(names, n, i); permute(n+1); swap(names, n, i); } } static void swap(String[] names, int i, int j) { String t = names[i]; names[i] = names[j]; names[j] = t; } public static void permutationDump() { System.out.print("Current permutation is - "); for(int i = 0; i < LENGTH; i++) { System.out.print(names[i] + " "); } System.out.println(); } // Loop through all possible 3^n combinations of not instantiating, // instantiating and setting/not setting a level. static void createLoop(int n) { if(n == LENGTH) { //System.out.println("..............Creating cat[]..........."); for(int i = 0; i < LENGTH; i++) { if(ct[i] == null) cat[i] = null; else { cat[i] = Category.getInstance(ct[i].catstr); cat[i].setLevel(ct[i].level); } } test(); // Clear hash table for next round Hierarchy h = (Hierarchy) LogManager.getLoggerRepository(); h.clear(); } else { ct[n] = null; createLoop(n+1); ct[n] = new CT(names[n], null); createLoop(n+1); int r = random.nextInt(); if(r < 0) r = -r; ct[n] = new CT(names[n], level[r%5]); createLoop(n+1); } } static void test() { //System.out.println("++++++++++++TEST called+++++++++++++"); //permutationDump(); //catDump(); for(int i = 0; i < LENGTH; i++) { if(!checkCorrectness(i)) { System.out.println("Failed stress test."); permutationDump(); //Hierarchy._default.fullDump(); ctDump(); catDump(); System.exit(1); } } } static void ctDump() { for(int j = 0; j < LENGTH; j++) { if(ct[j] != null) System.out.println("ct [" + j + "] = ("+ct[j].catstr+"," + ct[j].level + ")"); else System.out.println("ct [" + j + "] = undefined"); } } static void catDump() { for(int j = 0; j < LENGTH; j++) { if(cat[j] != null) System.out.println("cat[" + j + "] = (" + cat[j].name + "," + cat[j].getLevel() + ")"); else System.out.println("cat[" + j + "] = undefined"); } } // static //void provisionNodesDump() { //for (Enumeration e = CategoryFactory.ht.keys(); e.hasMoreElements() ;) { // CategoryKey key = (CategoryKey) e.nextElement(); // Object c = CategoryFactory.ht.get(key); // if(c instanceof ProvisionNode) //((ProvisionNode) c).dump(key.name); //} //} static boolean checkCorrectness(int i) { CT localCT = ct[i]; // Can't perform test if category is not instantiated if(localCT == null) return true; // find expected level Level expected = getExpectedPrioriy(localCT); Level purported = cat[i].getEffectiveLevel(); if(expected != purported) { System.out.println("Expected level for " + localCT.catstr + " is " + expected); System.out.println("Purported level for "+ cat[i].name + " is "+purported); return false; } return true; } static Level getExpectedPrioriy(CT ctParam) { Level level = ctParam.level; if(level != null) return level; String catstr = ctParam.catstr; for(int i = catstr.lastIndexOf('.', catstr.length()-1); i >= 0; i = catstr.lastIndexOf('.', i-1)) { String substr = catstr.substring(0, i); // find the level of ct corresponding to substr for(int j = 0; j < LENGTH; j++) { if(ct[j] != null && substr.equals(ct[j].catstr)) { Level p = ct[j].level; if(p != null) return p; } } } return defaultLevel; } static class CT { public String catstr; public Level level; CT(String catstr, Level level) { this.catstr = catstr; this.level = level; } } } 1.1 jakarta-log4j/tests/src/java/org/apache/log4j/stressCategory Index: stressCategory =================================================================== # ==================================================== function stressTest { java org.apache.log4j.StressCategory $* if [ "$?" = "0" ] then echo "Passed category stress test $index." index=$index+1 else echo "Failed stress test with arguments [$*]" exit fi } # ==================================================== declare -i index index=1 stressTest a b stressTest a a.b # stressTest a b c stressTest a b a.c stressTest a b b.c stressTest a a.b c stressTest a a.b a.c stressTest a a.b a.b.c # stressTest a b c d stressTest a b c a.d stressTest a b c b.d stressTest a b c c.d stressTest a b a.c d stressTest a b a.c a.d stressTest a b a.c b.d stressTest a b a.c a.c.d stressTest a b b.c d stressTest a b b.c a.d stressTest a b b.c b.d stressTest a b b.c b.c.d stressTest a a.b c d stressTest a a.b c a.d stressTest a a.b c a.b.d stressTest a a.b c c.d stressTest a a.b a.c d stressTest a a.b a.c a.d stressTest a a.b a.c a.b.d stressTest a a.b a.c a.c.d stressTest a a.b a.b.c d stressTest a a.b a.b.c a.d stressTest a a.b a.b.c a.b.d stressTest a a.b a.b.c a.b.c.d # stressTest a b c d e stressTest a b c d a.e stressTest a b c d b.e stressTest a b c d c.e stressTest a b c d d.e stressTest a b c a.d e stressTest a b c a.d a.e stressTest a b c a.d b.e stressTest a b c a.d c.e stressTest a b c a.d a.d.e stressTest a b c b.d e stressTest a b c b.d a.e stressTest a b c b.d b.e stressTest a b c b.d c.e stressTest a b c b.d b.d.e stressTest a b c c.d e stressTest a b c c.d a.e stressTest a b c c.d b.e stressTest a b c c.d c.e stressTest a b c c.d c.d.e stressTest a b a.c d e stressTest a b a.c d a.e stressTest a b a.c d b.e stressTest a b a.c d a.c.e stressTest a b a.c d d.e stressTest a b a.c a.d e stressTest a b a.c a.d a.e stressTest a b a.c a.d b.e stressTest a b a.c a.d a.c.e stressTest a b a.c a.d a.d.e stressTest a b a.c b.d e stressTest a b a.c b.d a.e stressTest a b a.c b.d b.e stressTest a b a.c b.d a.c.e stressTest a b a.c b.d b.d.e stressTest a b a.c a.c.d e stressTest a b a.c a.c.d a.e stressTest a b a.c a.c.d b.e stressTest a b a.c a.c.d a.c.e stressTest a b a.c a.c.d a.c.d.e stressTest a b b.c d e stressTest a b b.c d a.e stressTest a b b.c d b.e stressTest a b b.c d b.c.e stressTest a b b.c d d.e stressTest a b b.c a.d e stressTest a b b.c a.d a.e stressTest a b b.c a.d b.e stressTest a b b.c a.d b.c.e stressTest a b b.c a.d a.d.e stressTest a b b.c b.d e stressTest a b b.c b.d a.e stressTest a b b.c b.d b.e stressTest a b b.c b.d b.c.e stressTest a b b.c b.d b.d.e stressTest a b b.c b.c.d e stressTest a b b.c b.c.d a.e stressTest a b b.c b.c.d b.e stressTest a b b.c b.c.d b.c.e stressTest a b b.c b.c.d b.c.d.e stressTest a a.b c d e stressTest a a.b c d a.e stressTest a a.b c d a.b.e stressTest a a.b c d c.e stressTest a a.b c d d.e stressTest a a.b c a.d e stressTest a a.b c a.d a.e stressTest a a.b c a.d a.b.e stressTest a a.b c a.d c.e stressTest a a.b c a.d a.d.e stressTest a a.b c a.b.d e stressTest a a.b c a.b.d a.e stressTest a a.b c a.b.d a.b.e stressTest a a.b c a.b.d c.e stressTest a a.b c a.b.d a.b.d.e stressTest a a.b c c.d e stressTest a a.b c c.d a.e stressTest a a.b c c.d a.b.e stressTest a a.b c c.d c.e stressTest a a.b c c.d c.d.e stressTest a a.b a.c d e stressTest a a.b a.c d a.e stressTest a a.b a.c d a.b.e stressTest a a.b a.c d a.c.e stressTest a a.b a.c d d.e stressTest a a.b a.c a.d e stressTest a a.b a.c a.d a.e stressTest a a.b a.c a.d a.b.e stressTest a a.b a.c a.d a.c.e stressTest a a.b a.c a.d a.d.e stressTest a a.b a.c a.b.d e stressTest a a.b a.c a.b.d a.e stressTest a a.b a.c a.b.d a.b.e stressTest a a.b a.c a.b.d a.c.e stressTest a a.b a.c a.b.d a.b.d.e stressTest a a.b a.c a.c.d e stressTest a a.b a.c a.c.d a.e stressTest a a.b a.c a.c.d a.b.e stressTest a a.b a.c a.c.d a.c.e stressTest a a.b a.c a.c.d a.c.d.e stressTest a a.b a.b.c d e stressTest a a.b a.b.c d a.e stressTest a a.b a.b.c d a.b.e stressTest a a.b a.b.c d a.b.c.e stressTest a a.b a.b.c d d.e stressTest a a.b a.b.c a.d e stressTest a a.b a.b.c a.d a.e stressTest a a.b a.b.c a.d a.b.e stressTest a a.b a.b.c a.d a.b.c.e stressTest a a.b a.b.c a.d a.d.e stressTest a a.b a.b.c a.b.d e stressTest a a.b a.b.c a.b.d a.e stressTest a a.b a.b.c a.b.d a.b.e stressTest a a.b a.b.c a.b.d a.b.c.e stressTest a a.b a.b.c a.b.d a.b.d.e stressTest a a.b a.b.c a.b.c.d e stressTest a a.b a.b.c a.b.c.d a.e stressTest a a.b a.b.c a.b.c.d a.b.e stressTest a a.b a.b.c a.b.c.d a.b.c.e stressTest a a.b a.b.c a.b.c.d a.b.c.d.e # stressTest a b c d e f stressTest a b c d e a.f stressTest a b c d e b.f stressTest a b c d e c.f stressTest a b c d e d.f stressTest a b c d e e.f stressTest a b c d a.e f stressTest a b c d a.e a.f stressTest a b c d a.e b.f stressTest a b c d a.e c.f stressTest a b c d a.e d.f stressTest a b c d a.e a.e.f stressTest a b c d b.e f stressTest a b c d b.e a.f stressTest a b c d b.e b.f stressTest a b c d b.e c.f stressTest a b c d b.e d.f stressTest a b c d b.e b.e.f stressTest a b c d c.e f stressTest a b c d c.e a.f stressTest a b c d c.e b.f stressTest a b c d c.e c.f stressTest a b c d c.e d.f stressTest a b c d c.e c.e.f stressTest a b c d d.e f stressTest a b c d d.e a.f stressTest a b c d d.e b.f stressTest a b c d d.e c.f stressTest a b c d d.e d.f stressTest a b c d d.e d.e.f stressTest a b c a.d e f stressTest a b c a.d e a.f stressTest a b c a.d e b.f stressTest a b c a.d e c.f stressTest a b c a.d e a.d.f stressTest a b c a.d e e.f stressTest a b c a.d a.e f stressTest a b c a.d a.e a.f stressTest a b c a.d a.e b.f stressTest a b c a.d a.e c.f stressTest a b c a.d a.e a.d.f stressTest a b c a.d a.e a.e.f stressTest a b c a.d b.e f stressTest a b c a.d b.e a.f stressTest a b c a.d b.e b.f stressTest a b c a.d b.e c.f stressTest a b c a.d b.e a.d.f stressTest a b c a.d b.e b.e.f stressTest a b c a.d c.e f stressTest a b c a.d c.e a.f stressTest a b c a.d c.e b.f stressTest a b c a.d c.e c.f stressTest a b c a.d c.e a.d.f stressTest a b c a.d c.e c.e.f stressTest a b c a.d a.d.e f stressTest a b c a.d a.d.e a.f stressTest a b c a.d a.d.e b.f stressTest a b c a.d a.d.e c.f stressTest a b c a.d a.d.e a.d.f stressTest a b c a.d a.d.e a.d.e.f stressTest a b c b.d e f stressTest a b c b.d e a.f stressTest a b c b.d e b.f stressTest a b c b.d e c.f stressTest a b c b.d e b.d.f stressTest a b c b.d e e.f stressTest a b c b.d a.e f stressTest a b c b.d a.e a.f stressTest a b c b.d a.e b.f stressTest a b c b.d a.e c.f stressTest a b c b.d a.e b.d.f stressTest a b c b.d a.e a.e.f stressTest a b c b.d b.e f stressTest a b c b.d b.e a.f stressTest a b c b.d b.e b.f stressTest a b c b.d b.e c.f stressTest a b c b.d b.e b.d.f stressTest a b c b.d b.e b.e.f stressTest a b c b.d c.e f stressTest a b c b.d c.e a.f stressTest a b c b.d c.e b.f stressTest a b c b.d c.e c.f stressTest a b c b.d c.e b.d.f stressTest a b c b.d c.e c.e.f stressTest a b c b.d b.d.e f stressTest a b c b.d b.d.e a.f stressTest a b c b.d b.d.e b.f stressTest a b c b.d b.d.e c.f stressTest a b c b.d b.d.e b.d.f stressTest a b c b.d b.d.e b.d.e.f stressTest a b c c.d e f stressTest a b c c.d e a.f stressTest a b c c.d e b.f stressTest a b c c.d e c.f stressTest a b c c.d e c.d.f stressTest a b c c.d e e.f stressTest a b c c.d a.e f stressTest a b c c.d a.e a.f stressTest a b c c.d a.e b.f stressTest a b c c.d a.e c.f stressTest a b c c.d a.e c.d.f stressTest a b c c.d a.e a.e.f stressTest a b c c.d b.e f stressTest a b c c.d b.e a.f stressTest a b c c.d b.e b.f stressTest a b c c.d b.e c.f stressTest a b c c.d b.e c.d.f stressTest a b c c.d b.e b.e.f stressTest a b c c.d c.e f stressTest a b c c.d c.e a.f stressTest a b c c.d c.e b.f stressTest a b c c.d c.e c.f stressTest a b c c.d c.e c.d.f stressTest a b c c.d c.e c.e.f stressTest a b c c.d c.d.e f stressTest a b c c.d c.d.e a.f stressTest a b c c.d c.d.e b.f stressTest a b c c.d c.d.e c.f stressTest a b c c.d c.d.e c.d.f stressTest a b c c.d c.d.e c.d.e.f stressTest a b a.c d e f stressTest a b a.c d e a.f stressTest a b a.c d e b.f stressTest a b a.c d e a.c.f stressTest a b a.c d e d.f stressTest a b a.c d e e.f stressTest a b a.c d a.e f stressTest a b a.c d a.e a.f stressTest a b a.c d a.e b.f stressTest a b a.c d a.e a.c.f stressTest a b a.c d a.e d.f stressTest a b a.c d a.e a.e.f stressTest a b a.c d b.e f stressTest a b a.c d b.e a.f stressTest a b a.c d b.e b.f stressTest a b a.c d b.e a.c.f stressTest a b a.c d b.e d.f stressTest a b a.c d b.e b.e.f stressTest a b a.c d a.c.e f stressTest a b a.c d a.c.e a.f stressTest a b a.c d a.c.e b.f stressTest a b a.c d a.c.e a.c.f stressTest a b a.c d a.c.e d.f stressTest a b a.c d a.c.e a.c.e.f stressTest a b a.c d d.e f stressTest a b a.c d d.e a.f stressTest a b a.c d d.e b.f stressTest a b a.c d d.e a.c.f stressTest a b a.c d d.e d.f stressTest a b a.c d d.e d.e.f stressTest a b a.c a.d e f stressTest a b a.c a.d e a.f stressTest a b a.c a.d e b.f stressTest a b a.c a.d e a.c.f stressTest a b a.c a.d e a.d.f stressTest a b a.c a.d e e.f stressTest a b a.c a.d a.e f stressTest a b a.c a.d a.e a.f stressTest a b a.c a.d a.e b.f stressTest a b a.c a.d a.e a.c.f stressTest a b a.c a.d a.e a.d.f stressTest a b a.c a.d a.e a.e.f stressTest a b a.c a.d b.e f stressTest a b a.c a.d b.e a.f stressTest a b a.c a.d b.e b.f stressTest a b a.c a.d b.e a.c.f stressTest a b a.c a.d b.e a.d.f stressTest a b a.c a.d b.e b.e.f stressTest a b a.c a.d a.c.e f stressTest a b a.c a.d a.c.e a.f stressTest a b a.c a.d a.c.e b.f stressTest a b a.c a.d a.c.e a.c.f stressTest a b a.c a.d a.c.e a.d.f stressTest a b a.c a.d a.c.e a.c.e.f stressTest a b a.c a.d a.d.e f stressTest a b a.c a.d a.d.e a.f stressTest a b a.c a.d a.d.e b.f stressTest a b a.c a.d a.d.e a.c.f stressTest a b a.c a.d a.d.e a.d.f stressTest a b a.c a.d a.d.e a.d.e.f stressTest a b a.c b.d e f stressTest a b a.c b.d e a.f stressTest a b a.c b.d e b.f stressTest a b a.c b.d e a.c.f stressTest a b a.c b.d e b.d.f stressTest a b a.c b.d e e.f stressTest a b a.c b.d a.e f stressTest a b a.c b.d a.e a.f stressTest a b a.c b.d a.e b.f stressTest a b a.c b.d a.e a.c.f stressTest a b a.c b.d a.e b.d.f stressTest a b a.c b.d a.e a.e.f stressTest a b a.c b.d b.e f stressTest a b a.c b.d b.e a.f stressTest a b a.c b.d b.e b.f stressTest a b a.c b.d b.e a.c.f stressTest a b a.c b.d b.e b.d.f stressTest a b a.c b.d b.e b.e.f stressTest a b a.c b.d a.c.e f stressTest a b a.c b.d a.c.e a.f stressTest a b a.c b.d a.c.e b.f stressTest a b a.c b.d a.c.e a.c.f stressTest a b a.c b.d a.c.e b.d.f stressTest a b a.c b.d a.c.e a.c.e.f stressTest a b a.c b.d b.d.e f stressTest a b a.c b.d b.d.e a.f stressTest a b a.c b.d b.d.e b.f stressTest a b a.c b.d b.d.e a.c.f stressTest a b a.c b.d b.d.e b.d.f stressTest a b a.c b.d b.d.e b.d.e.f stressTest a b a.c a.c.d e f stressTest a b a.c a.c.d e a.f stressTest a b a.c a.c.d e b.f stressTest a b a.c a.c.d e a.c.f stressTest a b a.c a.c.d e a.c.d.f stressTest a b a.c a.c.d e e.f stressTest a b a.c a.c.d a.e f stressTest a b a.c a.c.d a.e a.f stressTest a b a.c a.c.d a.e b.f stressTest a b a.c a.c.d a.e a.c.f stressTest a b a.c a.c.d a.e a.c.d.f stressTest a b a.c a.c.d a.e a.e.f stressTest a b a.c a.c.d b.e f stressTest a b a.c a.c.d b.e a.f stressTest a b a.c a.c.d b.e b.f stressTest a b a.c a.c.d b.e a.c.f stressTest a b a.c a.c.d b.e a.c.d.f stressTest a b a.c a.c.d b.e b.e.f stressTest a b a.c a.c.d a.c.e f stressTest a b a.c a.c.d a.c.e a.f stressTest a b a.c a.c.d a.c.e b.f stressTest a b a.c a.c.d a.c.e a.c.f stressTest a b a.c a.c.d a.c.e a.c.d.f stressTest a b a.c a.c.d a.c.e a.c.e.f stressTest a b a.c a.c.d a.c.d.e f stressTest a b a.c a.c.d a.c.d.e a.f stressTest a b a.c a.c.d a.c.d.e b.f stressTest a b a.c a.c.d a.c.d.e a.c.f stressTest a b a.c a.c.d a.c.d.e a.c.d.f stressTest a b a.c a.c.d a.c.d.e a.c.d.e.f stressTest a b b.c d e f stressTest a b b.c d e a.f stressTest a b b.c d e b.f stressTest a b b.c d e b.c.f stressTest a b b.c d e d.f stressTest a b b.c d e e.f stressTest a b b.c d a.e f stressTest a b b.c d a.e a.f stressTest a b b.c d a.e b.f stressTest a b b.c d a.e b.c.f stressTest a b b.c d a.e d.f stressTest a b b.c d a.e a.e.f stressTest a b b.c d b.e f stressTest a b b.c d b.e a.f stressTest a b b.c d b.e b.f stressTest a b b.c d b.e b.c.f stressTest a b b.c d b.e d.f stressTest a b b.c d b.e b.e.f stressTest a b b.c d b.c.e f stressTest a b b.c d b.c.e a.f stressTest a b b.c d b.c.e b.f stressTest a b b.c d b.c.e b.c.f stressTest a b b.c d b.c.e d.f stressTest a b b.c d b.c.e b.c.e.f stressTest a b b.c d d.e f stressTest a b b.c d d.e a.f stressTest a b b.c d d.e b.f stressTest a b b.c d d.e b.c.f stressTest a b b.c d d.e d.f stressTest a b b.c d d.e d.e.f stressTest a b b.c a.d e f stressTest a b b.c a.d e a.f stressTest a b b.c a.d e b.f stressTest a b b.c a.d e b.c.f stressTest a b b.c a.d e a.d.f stressTest a b b.c a.d e e.f stressTest a b b.c a.d a.e f stressTest a b b.c a.d a.e a.f stressTest a b b.c a.d a.e b.f stressTest a b b.c a.d a.e b.c.f stressTest a b b.c a.d a.e a.d.f stressTest a b b.c a.d a.e a.e.f stressTest a b b.c a.d b.e f stressTest a b b.c a.d b.e a.f stressTest a b b.c a.d b.e b.f stressTest a b b.c a.d b.e b.c.f stressTest a b b.c a.d b.e a.d.f stressTest a b b.c a.d b.e b.e.f stressTest a b b.c a.d b.c.e f stressTest a b b.c a.d b.c.e a.f stressTest a b b.c a.d b.c.e b.f stressTest a b b.c a.d b.c.e b.c.f stressTest a b b.c a.d b.c.e a.d.f stressTest a b b.c a.d b.c.e b.c.e.f stressTest a b b.c a.d a.d.e f stressTest a b b.c a.d a.d.e a.f stressTest a b b.c a.d a.d.e b.f stressTest a b b.c a.d a.d.e b.c.f stressTest a b b.c a.d a.d.e a.d.f stressTest a b b.c a.d a.d.e a.d.e.f stressTest a b b.c b.d e f stressTest a b b.c b.d e a.f stressTest a b b.c b.d e b.f stressTest a b b.c b.d e b.c.f stressTest a b b.c b.d e b.d.f stressTest a b b.c b.d e e.f stressTest a b b.c b.d a.e f stressTest a b b.c b.d a.e a.f stressTest a b b.c b.d a.e b.f stressTest a b b.c b.d a.e b.c.f stressTest a b b.c b.d a.e b.d.f stressTest a b b.c b.d a.e a.e.f stressTest a b b.c b.d b.e f stressTest a b b.c b.d b.e a.f stressTest a b b.c b.d b.e b.f stressTest a b b.c b.d b.e b.c.f stressTest a b b.c b.d b.e b.d.f stressTest a b b.c b.d b.e b.e.f stressTest a b b.c b.d b.c.e f stressTest a b b.c b.d b.c.e a.f stressTest a b b.c b.d b.c.e b.f stressTest a b b.c b.d b.c.e b.c.f stressTest a b b.c b.d b.c.e b.d.f stressTest a b b.c b.d b.c.e b.c.e.f stressTest a b b.c b.d b.d.e f stressTest a b b.c b.d b.d.e a.f stressTest a b b.c b.d b.d.e b.f stressTest a b b.c b.d b.d.e b.c.f stressTest a b b.c b.d b.d.e b.d.f stressTest a b b.c b.d b.d.e b.d.e.f stressTest a b b.c b.c.d e f stressTest a b b.c b.c.d e a.f stressTest a b b.c b.c.d e b.f stressTest a b b.c b.c.d e b.c.f stressTest a b b.c b.c.d e b.c.d.f stressTest a b b.c b.c.d e e.f stressTest a b b.c b.c.d a.e f stressTest a b b.c b.c.d a.e a.f stressTest a b b.c b.c.d a.e b.f stressTest a b b.c b.c.d a.e b.c.f stressTest a b b.c b.c.d a.e b.c.d.f stressTest a b b.c b.c.d a.e a.e.f stressTest a b b.c b.c.d b.e f stressTest a b b.c b.c.d b.e a.f stressTest a b b.c b.c.d b.e b.f stressTest a b b.c b.c.d b.e b.c.f stressTest a b b.c b.c.d b.e b.c.d.f stressTest a b b.c b.c.d b.e b.e.f stressTest a b b.c b.c.d b.c.e f stressTest a b b.c b.c.d b.c.e a.f stressTest a b b.c b.c.d b.c.e b.f stressTest a b b.c b.c.d b.c.e b.c.f stressTest a b b.c b.c.d b.c.e b.c.d.f stressTest a b b.c b.c.d b.c.e b.c.e.f stressTest a b b.c b.c.d b.c.d.e f stressTest a b b.c b.c.d b.c.d.e a.f stressTest a b b.c b.c.d b.c.d.e b.f stressTest a b b.c b.c.d b.c.d.e b.c.f stressTest a b b.c b.c.d b.c.d.e b.c.d.f stressTest a b b.c b.c.d b.c.d.e b.c.d.e.f stressTest a a.b c d e f stressTest a a.b c d e a.f stressTest a a.b c d e a.b.f stressTest a a.b c d e c.f stressTest a a.b c d e d.f stressTest a a.b c d e e.f stressTest a a.b c d a.e f stressTest a a.b c d a.e a.f stressTest a a.b c d a.e a.b.f stressTest a a.b c d a.e c.f stressTest a a.b c d a.e d.f stressTest a a.b c d a.e a.e.f stressTest a a.b c d a.b.e f stressTest a a.b c d a.b.e a.f stressTest a a.b c d a.b.e a.b.f stressTest a a.b c d a.b.e c.f stressTest a a.b c d a.b.e d.f stressTest a a.b c d a.b.e a.b.e.f stressTest a a.b c d c.e f stressTest a a.b c d c.e a.f stressTest a a.b c d c.e a.b.f stressTest a a.b c d c.e c.f stressTest a a.b c d c.e d.f stressTest a a.b c d c.e c.e.f stressTest a a.b c d d.e f stressTest a a.b c d d.e a.f stressTest a a.b c d d.e a.b.f stressTest a a.b c d d.e c.f stressTest a a.b c d d.e d.f stressTest a a.b c d d.e d.e.f stressTest a a.b c a.d e f stressTest a a.b c a.d e a.f stressTest a a.b c a.d e a.b.f stressTest a a.b c a.d e c.f stressTest a a.b c a.d e a.d.f stressTest a a.b c a.d e e.f stressTest a a.b c a.d a.e f stressTest a a.b c a.d a.e a.f stressTest a a.b c a.d a.e a.b.f stressTest a a.b c a.d a.e c.f stressTest a a.b c a.d a.e a.d.f stressTest a a.b c a.d a.e a.e.f stressTest a a.b c a.d a.b.e f stressTest a a.b c a.d a.b.e a.f stressTest a a.b c a.d a.b.e a.b.f stressTest a a.b c a.d a.b.e c.f stressTest a a.b c a.d a.b.e a.d.f stressTest a a.b c a.d a.b.e a.b.e.f stressTest a a.b c a.d c.e f stressTest a a.b c a.d c.e a.f stressTest a a.b c a.d c.e a.b.f stressTest a a.b c a.d c.e c.f stressTest a a.b c a.d c.e a.d.f stressTest a a.b c a.d c.e c.e.f stressTest a a.b c a.d a.d.e f stressTest a a.b c a.d a.d.e a.f stressTest a a.b c a.d a.d.e a.b.f stressTest a a.b c a.d a.d.e c.f stressTest a a.b c a.d a.d.e a.d.f stressTest a a.b c a.d a.d.e a.d.e.f stressTest a a.b c a.b.d e f stressTest a a.b c a.b.d e a.f stressTest a a.b c a.b.d e a.b.f stressTest a a.b c a.b.d e c.f stressTest a a.b c a.b.d e a.b.d.f stressTest a a.b c a.b.d e e.f stressTest a a.b c a.b.d a.e f stressTest a a.b c a.b.d a.e a.f stressTest a a.b c a.b.d a.e a.b.f stressTest a a.b c a.b.d a.e c.f stressTest a a.b c a.b.d a.e a.b.d.f stressTest a a.b c a.b.d a.e a.e.f stressTest a a.b c a.b.d a.b.e f stressTest a a.b c a.b.d a.b.e a.f stressTest a a.b c a.b.d a.b.e a.b.f stressTest a a.b c a.b.d a.b.e c.f stressTest a a.b c a.b.d a.b.e a.b.d.f stressTest a a.b c a.b.d a.b.e a.b.e.f stressTest a a.b c a.b.d c.e f stressTest a a.b c a.b.d c.e a.f stressTest a a.b c a.b.d c.e a.b.f stressTest a a.b c a.b.d c.e c.f stressTest a a.b c a.b.d c.e a.b.d.f stressTest a a.b c a.b.d c.e c.e.f stressTest a a.b c a.b.d a.b.d.e f stressTest a a.b c a.b.d a.b.d.e a.f stressTest a a.b c a.b.d a.b.d.e a.b.f stressTest a a.b c a.b.d a.b.d.e c.f stressTest a a.b c a.b.d a.b.d.e a.b.d.f stressTest a a.b c a.b.d a.b.d.e a.b.d.e.f stressTest a a.b c c.d e f stressTest a a.b c c.d e a.f stressTest a a.b c c.d e a.b.f stressTest a a.b c c.d e c.f stressTest a a.b c c.d e c.d.f stressTest a a.b c c.d e e.f stressTest a a.b c c.d a.e f stressTest a a.b c c.d a.e a.f stressTest a a.b c c.d a.e a.b.f stressTest a a.b c c.d a.e c.f stressTest a a.b c c.d a.e c.d.f stressTest a a.b c c.d a.e a.e.f stressTest a a.b c c.d a.b.e f stressTest a a.b c c.d a.b.e a.f stressTest a a.b c c.d a.b.e a.b.f stressTest a a.b c c.d a.b.e c.f stressTest a a.b c c.d a.b.e c.d.f stressTest a a.b c c.d a.b.e a.b.e.f stressTest a a.b c c.d c.e f stressTest a a.b c c.d c.e a.f stressTest a a.b c c.d c.e a.b.f stressTest a a.b c c.d c.e c.f stressTest a a.b c c.d c.e c.d.f stressTest a a.b c c.d c.e c.e.f stressTest a a.b c c.d c.d.e f stressTest a a.b c c.d c.d.e a.f stressTest a a.b c c.d c.d.e a.b.f stressTest a a.b c c.d c.d.e c.f stressTest a a.b c c.d c.d.e c.d.f stressTest a a.b c c.d c.d.e c.d.e.f stressTest a a.b a.c d e f stressTest a a.b a.c d e a.f stressTest a a.b a.c d e a.b.f stressTest a a.b a.c d e a.c.f stressTest a a.b a.c d e d.f stressTest a a.b a.c d e e.f stressTest a a.b a.c d a.e f stressTest a a.b a.c d a.e a.f stressTest a a.b a.c d a.e a.b.f stressTest a a.b a.c d a.e a.c.f stressTest a a.b a.c d a.e d.f stressTest a a.b a.c d a.e a.e.f stressTest a a.b a.c d a.b.e f stressTest a a.b a.c d a.b.e a.f stressTest a a.b a.c d a.b.e a.b.f stressTest a a.b a.c d a.b.e a.c.f stressTest a a.b a.c d a.b.e d.f stressTest a a.b a.c d a.b.e a.b.e.f stressTest a a.b a.c d a.c.e f stressTest a a.b a.c d a.c.e a.f stressTest a a.b a.c d a.c.e a.b.f stressTest a a.b a.c d a.c.e a.c.f stressTest a a.b a.c d a.c.e d.f stressTest a a.b a.c d a.c.e a.c.e.f stressTest a a.b a.c d d.e f stressTest a a.b a.c d d.e a.f stressTest a a.b a.c d d.e a.b.f stressTest a a.b a.c d d.e a.c.f stressTest a a.b a.c d d.e d.f stressTest a a.b a.c d d.e d.e.f stressTest a a.b a.c a.d e f stressTest a a.b a.c a.d e a.f stressTest a a.b a.c a.d e a.b.f stressTest a a.b a.c a.d e a.c.f stressTest a a.b a.c a.d e a.d.f stressTest a a.b a.c a.d e e.f stressTest a a.b a.c a.d a.e f stressTest a a.b a.c a.d a.e a.f stressTest a a.b a.c a.d a.e a.b.f stressTest a a.b a.c a.d a.e a.c.f stressTest a a.b a.c a.d a.e a.d.f stressTest a a.b a.c a.d a.e a.e.f stressTest a a.b a.c a.d a.b.e f stressTest a a.b a.c a.d a.b.e a.f stressTest a a.b a.c a.d a.b.e a.b.f stressTest a a.b a.c a.d a.b.e a.c.f stressTest a a.b a.c a.d a.b.e a.d.f stressTest a a.b a.c a.d a.b.e a.b.e.f stressTest a a.b a.c a.d a.c.e f stressTest a a.b a.c a.d a.c.e a.f stressTest a a.b a.c a.d a.c.e a.b.f stressTest a a.b a.c a.d a.c.e a.c.f stressTest a a.b a.c a.d a.c.e a.d.f stressTest a a.b a.c a.d a.c.e a.c.e.f stressTest a a.b a.c a.d a.d.e f stressTest a a.b a.c a.d a.d.e a.f stressTest a a.b a.c a.d a.d.e a.b.f stressTest a a.b a.c a.d a.d.e a.c.f stressTest a a.b a.c a.d a.d.e a.d.f stressTest a a.b a.c a.d a.d.e a.d.e.f stressTest a a.b a.c a.b.d e f stressTest a a.b a.c a.b.d e a.f stressTest a a.b a.c a.b.d e a.b.f stressTest a a.b a.c a.b.d e a.c.f stressTest a a.b a.c a.b.d e a.b.d.f stressTest a a.b a.c a.b.d e e.f stressTest a a.b a.c a.b.d a.e f stressTest a a.b a.c a.b.d a.e a.f stressTest a a.b a.c a.b.d a.e a.b.f stressTest a a.b a.c a.b.d a.e a.c.f stressTest a a.b a.c a.b.d a.e a.b.d.f stressTest a a.b a.c a.b.d a.e a.e.f stressTest a a.b a.c a.b.d a.b.e f stressTest a a.b a.c a.b.d a.b.e a.f stressTest a a.b a.c a.b.d a.b.e a.b.f stressTest a a.b a.c a.b.d a.b.e a.c.f stressTest a a.b a.c a.b.d a.b.e a.b.d.f stressTest a a.b a.c a.b.d a.b.e a.b.e.f stressTest a a.b a.c a.b.d a.c.e f stressTest a a.b a.c a.b.d a.c.e a.f stressTest a a.b a.c a.b.d a.c.e a.b.f stressTest a a.b a.c a.b.d a.c.e a.c.f stressTest a a.b a.c a.b.d a.c.e a.b.d.f stressTest a a.b a.c a.b.d a.c.e a.c.e.f stressTest a a.b a.c a.b.d a.b.d.e f stressTest a a.b a.c a.b.d a.b.d.e a.f stressTest a a.b a.c a.b.d a.b.d.e a.b.f stressTest a a.b a.c a.b.d a.b.d.e a.c.f stressTest a a.b a.c a.b.d a.b.d.e a.b.d.f stressTest a a.b a.c a.b.d a.b.d.e a.b.d.e.f stressTest a a.b a.c a.c.d e f stressTest a a.b a.c a.c.d e a.f stressTest a a.b a.c a.c.d e a.b.f stressTest a a.b a.c a.c.d e a.c.f stressTest a a.b a.c a.c.d e a.c.d.f stressTest a a.b a.c a.c.d e e.f stressTest a a.b a.c a.c.d a.e f stressTest a a.b a.c a.c.d a.e a.f stressTest a a.b a.c a.c.d a.e a.b.f stressTest a a.b a.c a.c.d a.e a.c.f stressTest a a.b a.c a.c.d a.e a.c.d.f stressTest a a.b a.c a.c.d a.e a.e.f stressTest a a.b a.c a.c.d a.b.e f stressTest a a.b a.c a.c.d a.b.e a.f stressTest a a.b a.c a.c.d a.b.e a.b.f stressTest a a.b a.c a.c.d a.b.e a.c.f stressTest a a.b a.c a.c.d a.b.e a.c.d.f stressTest a a.b a.c a.c.d a.b.e a.b.e.f stressTest a a.b a.c a.c.d a.c.e f stressTest a a.b a.c a.c.d a.c.e a.f stressTest a a.b a.c a.c.d a.c.e a.b.f stressTest a a.b a.c a.c.d a.c.e a.c.f stressTest a a.b a.c a.c.d a.c.e a.c.d.f stressTest a a.b a.c a.c.d a.c.e a.c.e.f stressTest a a.b a.c a.c.d a.c.d.e f stressTest a a.b a.c a.c.d a.c.d.e a.f stressTest a a.b a.c a.c.d a.c.d.e a.b.f stressTest a a.b a.c a.c.d a.c.d.e a.c.f stressTest a a.b a.c a.c.d a.c.d.e a.c.d.f stressTest a a.b a.c a.c.d a.c.d.e a.c.d.e.f stressTest a a.b a.b.c d e f stressTest a a.b a.b.c d e a.f stressTest a a.b a.b.c d e a.b.f stressTest a a.b a.b.c d e a.b.c.f stressTest a a.b a.b.c d e d.f stressTest a a.b a.b.c d e e.f stressTest a a.b a.b.c d a.e f stressTest a a.b a.b.c d a.e a.f stressTest a a.b a.b.c d a.e a.b.f stressTest a a.b a.b.c d a.e a.b.c.f stressTest a a.b a.b.c d a.e d.f stressTest a a.b a.b.c d a.e a.e.f stressTest a a.b a.b.c d a.b.e f stressTest a a.b a.b.c d a.b.e a.f stressTest a a.b a.b.c d a.b.e a.b.f stressTest a a.b a.b.c d a.b.e a.b.c.f stressTest a a.b a.b.c d a.b.e d.f stressTest a a.b a.b.c d a.b.e a.b.e.f stressTest a a.b a.b.c d a.b.c.e f stressTest a a.b a.b.c d a.b.c.e a.f stressTest a a.b a.b.c d a.b.c.e a.b.f stressTest a a.b a.b.c d a.b.c.e a.b.c.f stressTest a a.b a.b.c d a.b.c.e d.f stressTest a a.b a.b.c d a.b.c.e a.b.c.e.f stressTest a a.b a.b.c d d.e f stressTest a a.b a.b.c d d.e a.f stressTest a a.b a.b.c d d.e a.b.f stressTest a a.b a.b.c d d.e a.b.c.f stressTest a a.b a.b.c d d.e d.f stressTest a a.b a.b.c d d.e d.e.f stressTest a a.b a.b.c a.d e f stressTest a a.b a.b.c a.d e a.f stressTest a a.b a.b.c a.d e a.b.f stressTest a a.b a.b.c a.d e a.b.c.f stressTest a a.b a.b.c a.d e a.d.f stressTest a a.b a.b.c a.d e e.f stressTest a a.b a.b.c a.d a.e f stressTest a a.b a.b.c a.d a.e a.f stressTest a a.b a.b.c a.d a.e a.b.f stressTest a a.b a.b.c a.d a.e a.b.c.f stressTest a a.b a.b.c a.d a.e a.d.f stressTest a a.b a.b.c a.d a.e a.e.f stressTest a a.b a.b.c a.d a.b.e f stressTest a a.b a.b.c a.d a.b.e a.f stressTest a a.b a.b.c a.d a.b.e a.b.f stressTest a a.b a.b.c a.d a.b.e a.b.c.f stressTest a a.b a.b.c a.d a.b.e a.d.f stressTest a a.b a.b.c a.d a.b.e a.b.e.f stressTest a a.b a.b.c a.d a.b.c.e f stressTest a a.b a.b.c a.d a.b.c.e a.f stressTest a a.b a.b.c a.d a.b.c.e a.b.f stressTest a a.b a.b.c a.d a.b.c.e a.b.c.f stressTest a a.b a.b.c a.d a.b.c.e a.d.f stressTest a a.b a.b.c a.d a.b.c.e a.b.c.e.f stressTest a a.b a.b.c a.d a.d.e f stressTest a a.b a.b.c a.d a.d.e a.f stressTest a a.b a.b.c a.d a.d.e a.b.f stressTest a a.b a.b.c a.d a.d.e a.b.c.f stressTest a a.b a.b.c a.d a.d.e a.d.f stressTest a a.b a.b.c a.d a.d.e a.d.e.f stressTest a a.b a.b.c a.b.d e f stressTest a a.b a.b.c a.b.d e a.f stressTest a a.b a.b.c a.b.d e a.b.f stressTest a a.b a.b.c a.b.d e a.b.c.f stressTest a a.b a.b.c a.b.d e a.b.d.f stressTest a a.b a.b.c a.b.d e e.f stressTest a a.b a.b.c a.b.d a.e f stressTest a a.b a.b.c a.b.d a.e a.f stressTest a a.b a.b.c a.b.d a.e a.b.f stressTest a a.b a.b.c a.b.d a.e a.b.c.f stressTest a a.b a.b.c a.b.d a.e a.b.d.f stressTest a a.b a.b.c a.b.d a.e a.e.f stressTest a a.b a.b.c a.b.d a.b.e f stressTest a a.b a.b.c a.b.d a.b.e a.f stressTest a a.b a.b.c a.b.d a.b.e a.b.f stressTest a a.b a.b.c a.b.d a.b.e a.b.c.f stressTest a a.b a.b.c a.b.d a.b.e a.b.d.f stressTest a a.b a.b.c a.b.d a.b.e a.b.e.f stressTest a a.b a.b.c a.b.d a.b.c.e f stressTest a a.b a.b.c a.b.d a.b.c.e a.f stressTest a a.b a.b.c a.b.d a.b.c.e a.b.f stressTest a a.b a.b.c a.b.d a.b.c.e a.b.c.f stressTest a a.b a.b.c a.b.d a.b.c.e a.b.d.f stressTest a a.b a.b.c a.b.d a.b.c.e a.b.c.e.f stressTest a a.b a.b.c a.b.d a.b.d.e f stressTest a a.b a.b.c a.b.d a.b.d.e a.f stressTest a a.b a.b.c a.b.d a.b.d.e a.b.f stressTest a a.b a.b.c a.b.d a.b.d.e a.b.c.f stressTest a a.b a.b.c a.b.d a.b.d.e a.b.d.f stressTest a a.b a.b.c a.b.d a.b.d.e a.b.d.e.f stressTest a a.b a.b.c a.b.c.d e f stressTest a a.b a.b.c a.b.c.d e a.f stressTest a a.b a.b.c a.b.c.d e a.b.f stressTest a a.b a.b.c a.b.c.d e a.b.c.f stressTest a a.b a.b.c a.b.c.d e a.b.c.d.f stressTest a a.b a.b.c a.b.c.d e e.f stressTest a a.b a.b.c a.b.c.d a.e f stressTest a a.b a.b.c a.b.c.d a.e a.f stressTest a a.b a.b.c a.b.c.d a.e a.b.f stressTest a a.b a.b.c a.b.c.d a.e a.b.c.f stressTest a a.b a.b.c a.b.c.d a.e a.b.c.d.f stressTest a a.b a.b.c a.b.c.d a.e a.e.f stressTest a a.b a.b.c a.b.c.d a.b.e f stressTest a a.b a.b.c a.b.c.d a.b.e a.f stressTest a a.b a.b.c a.b.c.d a.b.e a.b.f stressTest a a.b a.b.c a.b.c.d a.b.e a.b.c.f stressTest a a.b a.b.c a.b.c.d a.b.e a.b.c.d.f stressTest a a.b a.b.c a.b.c.d a.b.e a.b.e.f stressTest a a.b a.b.c a.b.c.d a.b.c.e f stressTest a a.b a.b.c a.b.c.d a.b.c.e a.f stressTest a a.b a.b.c a.b.c.d a.b.c.e a.b.f stressTest a a.b a.b.c a.b.c.d a.b.c.e a.b.c.f stressTest a a.b a.b.c a.b.c.d a.b.c.e a.b.c.d.f stressTest a a.b a.b.c a.b.c.d a.b.c.e a.b.c.e.f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.b.f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.b.c.f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.b.c.d.f stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.b.c.d.e.f # stressTest a a.b a.b.c1 a.b.c1.d1 a.b.c1.d2 a.b.c1.d3 a.b.c2 stressTest a a.b a.b.c a.b.c.d a.b.c.d.e a.b.c.d.e.f a.b.c.d.e.f.g 1.1 jakarta-log4j/tests/src/java/org/apache/log4j/stressCategory.pl Index: stressCategory.pl =================================================================== # This perl script all combinations of tree structures based on the "args" # array. # For example, if args = ("a", "b", "c"), it will output: # # stressTest a b c # stressTest a b a.c # stressTest a b b.c # stressTest a a.b c # stressTest a a.b a.c # stressTest a a.b a.b.c $prefix = "stressTest"; @tree = (""); @args = ("a", "b"); permute(0, @tree); @args = ("a", "b", "c"); permute(0, @tree); @args = ("a", "b", "c", "d"); permute(0, @tree); @args = ("a", "b", "c", "d", "e"); permute(0, @tree); @args = ("a", "b", "c", "d", "e", "f"); permute(0, @tree); sub permute() { my ($i, @t) = @_; #print "Tree is @t\n"; #print "i is $i \n"; if($i == $#args + 1) { print "$prefix @t\n"; return; } foreach $j (@t) { #print "J is $j \n"; #print "args[$i]=$args[$i]\n"; if($j eq "") { $next = "$args[$i]"; } else { $next = "$j.$args[$i]"; } permute($i+1, (@t, $next)); } } 1.3 +1 -2 jakarta-log4j/tests/src/java/org/apache/log4j/customLogger/XLogger.java Index: XLogger.java =================================================================== RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/customLogger/XLogger.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- XLogger.java 11 Mar 2002 23:43:46 -0000 1.2 +++ XLogger.java 25 Apr 2002 14:09:01 -0000 1.3 @@ -13,8 +13,7 @@ import org.apache.log4j.spi.LoggingEvent; import org.apache.log4j.spi.LoggerFactory; import org.apache.log4j.helpers.LogLog; - -import examples.customLevel.XLevel; +import org.apache.log4j.xml.XLevel; /** A simple example showing Logger sub-classing. It shows the
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>