You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommonsTraceTest.java 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*******************************************************************************
  2. * Copyright (c) 2006 IBM Corporation and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors:
  9. * Matthew Webster - initial implementation
  10. *******************************************************************************/
  11. package org.aspectj.weaver;
  12. import org.aspectj.weaver.tools.CommonsTrace;
  13. public class CommonsTraceTest extends AbstractTraceTest {
  14. protected void setUp() throws Exception {
  15. super.setUp();
  16. trace = new CommonsTrace(getClass());
  17. trace.setTraceEnabled(true);
  18. }
  19. public void testCommonsTrace() {
  20. // CommonsTrace trace =
  21. new CommonsTrace(getClass());
  22. }
  23. public void testSetTraceEnabled() {
  24. CommonsTrace trace = new CommonsTrace(getClass());
  25. trace.setTraceEnabled(true);
  26. /* XXX Need to find out how to turn tracing on */
  27. // assertTrue(trace.isTraceEnabled());
  28. }
  29. }