Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Gorenkov2012-04-17 23:50:07 -0400
committerMarc-Andre Laperle2012-04-17 23:50:07 -0400
commitf16f0dbe483fd8fe1b2c5ab343d03201bfcccbf9 (patch)
treef4c19f2733b05d642eeb14ec90a79065640ae23e /testsrunner/org.eclipse.cdt.testsrunner/schema
parent83cf5dc8303da5df560bde6ebb602b1e5cc59fb8 (diff)
downloadorg.eclipse.cdt-f16f0dbe483fd8fe1b2c5ab343d03201bfcccbf9.tar.gz
org.eclipse.cdt-f16f0dbe483fd8fe1b2c5ab343d03201bfcccbf9.tar.xz
org.eclipse.cdt-f16f0dbe483fd8fe1b2c5ab343d03201bfcccbf9.zip
Bug 210366 - CDT should have Unit Testing and Component Testing like JDT
Diffstat (limited to 'testsrunner/org.eclipse.cdt.testsrunner/schema')
-rw-r--r--testsrunner/org.eclipse.cdt.testsrunner/schema/TestsRunner.exsd178
1 files changed, 178 insertions, 0 deletions
diff --git a/testsrunner/org.eclipse.cdt.testsrunner/schema/TestsRunner.exsd b/testsrunner/org.eclipse.cdt.testsrunner/schema/TestsRunner.exsd
new file mode 100644
index 0000000000..ca160a18d0
--- /dev/null
+++ b/testsrunner/org.eclipse.cdt.testsrunner/schema/TestsRunner.exsd
@@ -0,0 +1,178 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.eclipse.cdt.testsrunner" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appInfo>
+ <meta.schema plugin="org.eclipse.cdt.testsrunner" id="TestsRunnerProvider" name="Tests Runner Provider"/>
+ </appInfo>
+ <documentation>
+ Defines an extestion point for the Tests Runner provider plug-in.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="1" maxOccurs="unbounded">
+ <element ref="runner"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="runner">
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="1">
+ <element ref="features"/>
+ </sequence>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ Name of the tests runner that will be shown to user.
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ Class implementing test runner functionality (org.eclipse.cdt.testsrunner.launcher.ITestsRunnerProvider)
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.testsrunner.launcher.ITestsRunner"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="description" type="string">
+ <annotation>
+ <documentation>
+ Short description of the tests runner that will be shown to user
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ Internal unique name of the tests runner
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="features">
+ <complexType>
+ <attribute name="multipleTestFilter" type="boolean">
+ <annotation>
+ <documentation>
+ Should be True if Tests Runner can generate a multiple tests filter for single test module launch. In this case rerun of multiple tests or test suites will be available and a few test items may be passed to configureLaunchParameters(). It is False by default.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="testingTimeMeasurement" type="boolean">
+ <annotation>
+ <documentation>
+ Defines whether tests execution time are provided by testing framework. Otherwise turns on time measurement in Tests Runner Core. It is less accurate, but useful if testing framework does not provide time measurement.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="dataStream">
+ <annotation>
+ <documentation>
+ Defines what stream (output or error) should be used to read the data from the testing process. Output is used by default.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <enumeration value="error">
+ </enumeration>
+ <enumeration value="output">
+ </enumeration>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ [Enter the first release in which this extension point appears.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="examples"/>
+ </appInfo>
+ <documentation>
+ [Enter extension point usage example here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="apiinfo"/>
+ </appInfo>
+ <documentation>
+ [Enter API information here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ [Enter information about supplied implementation of this extension point.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2011 Anton Gorenkov.
+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
+ </documentation>
+ </annotation>
+
+</schema>

Back to the top