<!ELEMENT extension (testRunListener)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
目标扩展点的标准标识
<!ELEMENT testRunListener EMPTY>
<!ATTLIST testRunListener
class CDATA #REQUIRED>
<extension point=
"org.eclipse.jdt.junit.testRunListeners"
>
<testRunListener class=
"com.example.SampleTestRunListener"
/>
</extension>
Copyright (c) 2004, 2005 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