| /******************************************************************************* |
| * Copyright (c) 2000, 2003 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ant.tests.core.support.testloggers; |
| |
| |
| import org.apache.tools.ant.BuildEvent; |
| import org.apache.tools.ant.BuildListener; |
| import org.eclipse.ant.tests.core.testplugin.AntTestChecker; |
| |
| |
| public class TestBuildListener implements BuildListener { |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#buildFinished(org.apache.tools.ant.BuildEvent) |
| */ |
| public void buildFinished(BuildEvent event) { |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#buildStarted(org.apache.tools.ant.BuildEvent) |
| */ |
| public void buildStarted(BuildEvent event) { |
| AntTestChecker.getDefault().addNameOfListener(this.getClass().getName()); |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#messageLogged(org.apache.tools.ant.BuildEvent) |
| */ |
| public void messageLogged(BuildEvent event) { |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#targetFinished(org.apache.tools.ant.BuildEvent) |
| */ |
| public void targetFinished(BuildEvent event) { |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#targetStarted(org.apache.tools.ant.BuildEvent) |
| */ |
| public void targetStarted(BuildEvent event) { |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#taskFinished(org.apache.tools.ant.BuildEvent) |
| */ |
| public void taskFinished(BuildEvent event) { |
| } |
| |
| /** |
| * @see org.apache.tools.ant.BuildListener#taskStarted(org.apache.tools.ant.BuildEvent) |
| */ |
| public void taskStarted(BuildEvent event) { |
| } |
| |
| } |