Package org.apache.log4j.util

Examples of org.apache.log4j.util.LineNumberFilter


    MDC.remove("key2");

    Transformer.transform(
      TEMP, FILTERED,
      new Filter[] {
        new LineNumberFilter(), new SunReflectFilter(),
        new JunitTestRunnerFilter(),
        new MDCOrderFilter()
      });
    assertTrue(compare(FILTERED, "witness/pattern/enhancedPatternLayout.mdc.1"));
  }
View Full Code Here


      ControlFilter cf1 = new ControlFilter(new String[]{PAT14, EXCEPTION1,
                                 EXCEPTION2, EXCEPTION3, EXCEPTION4});
      Transformer.transform(
        TEMP, FILTERED,
        new Filter[] {
          cf1, new LineNumberFilter(), new SunReflectFilter(),
          new JunitTestRunnerFilter()
        });
      assertTrue(compare(FILTERED, "witness/pattern/enhancedPatternLayout.15"));
    }
View Full Code Here

   
    ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});
   

    Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
        new LineNumberFilter(),
        new SunReflectFilter(),
        new JunitTestRunnerFilter()});

     assertTrue(Compare.compare(SimpleFilterTest.class,
             FILTERED,
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.6"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.7"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST8_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.8"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.1"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.6"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST1_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.11"));
    }
View Full Code Here

      ControlFilter cf = new ControlFilter(new String[]{TEST8_PAT, EXCEPTION1, EXCEPTION2, EXCEPTION3});


      Transformer.transform(TEMP, FILTERED, new Filter[] {cf,
          new LineNumberFilter(),
          new SunReflectFilter(),
          new JunitTestRunnerFilter()});

       assertTrue(Compare.compare(SimpleFilterTest.class, FILTERED, "witness/filter/simpleFilter.8"));
    }
View Full Code Here

TOP

Related Classes of org.apache.log4j.util.LineNumberFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.