mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-08 21:55:52 +02:00
31 lines
1.0 KiB
Java
31 lines
1.0 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2006 IBM Corporation and others.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
*
|
|
* Contributors:
|
|
* Matthew Webster - initial implementation
|
|
*******************************************************************************/
|
|
package org.aspectj.weaver;
|
|
|
|
import junit.framework.TestCase;
|
|
|
|
import org.aspectj.weaver.tools.Jdk14TraceFactory;
|
|
import org.aspectj.weaver.tools.Trace;
|
|
|
|
public class Jdk14TraceFactoryTest extends TestCase {
|
|
|
|
public void testJdk14TraceFactory() {
|
|
Jdk14TraceFactory factory = new Jdk14TraceFactory();
|
|
}
|
|
|
|
public void testGetTrace() {
|
|
Jdk14TraceFactory factory = new Jdk14TraceFactory();
|
|
Trace trace = factory.getTrace(getClass());
|
|
assertFalse("Tracing should be disbled by default",trace.isTraceEnabled());
|
|
}
|
|
|
|
}
|