summaryrefslogtreecommitdiffstats
path: root/weaver5/java5-testsrc/org/aspectj/weaver/Jdk14TraceFactoryTest.java
blob: cec4d6a3d3d6e300183ab2d59a02d83dad0fca6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*******************************************************************************
 * 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() {
		new Jdk14TraceFactory();
	}

	public void testGetTrace() {
		Jdk14TraceFactory factory = new Jdk14TraceFactory();
		Trace trace = factory.getTrace(getClass());
		assertFalse("Tracing should be disbled by default",trace.isTraceEnabled());
	}

}