Commit e6222a91 authored by Lionel Seinturier's avatar Lionel Seinturier
Browse files

Moving tests to the example directory.

parent edccb06f
......@@ -60,19 +60,20 @@ See http://maven.apache.org for instructions on downloading and using Maven.
---------------
Tinfi is composed of 9 modules:
- all: the superset of all Tinfi Maven artifacts
- examples: sample applications
- examples: sample applications and tests
- metadata: API for storing and retrieving metadata
- mixins: control logic for SCA/Tinfi components
- opt: optimization level source code generators
- plugin: optional module (SCA Assembly Language EMF parser)
- runtime: runtime library
- tests-conf: conformance tests
- tinfi-mixed: pre-mixed control membranes
The examples module contains sample applications. Two groups of samples are
provided. A Hello World application is provided in both cases.
provided. A Hello World application is provided in both cases. In addition some
conformance tests for the SCA Specifications are also provided.
- fractal-adl: samples which use Fractal ADL
- sca-adl: samples which use the SCA Assembly Language
- test-confs: conformance test for the SCA Specifications
The examples/fractal-adl/advanced directory contains some advanced samples. See
the README.txt in the corresponding directories to obtain more information about
......@@ -87,7 +88,11 @@ The examples/sca-adl/advanced directory contains some advanced samples. See the
README.txt in the corresponding directories to obtain more information about
these samples.
- helloworld-composite: SCA composite implementation
- helloworld-no-intent: SCA components with the support for intents disabled
- helloworld-pojo: POJO component implementation
- osgi-equinox-jetty: OSGi component implementation type with Equinox
- osgi-felix-jetty: OSGi component implementation type with Felix
- ultra-merge-helloworld: ultra-merge optimization level
3. Compiling and installing Tinfi
......@@ -180,7 +185,7 @@ launches the HelloWorld component by invoking the interface named r.
6. Running conformance tests
----------------------------
To run the conformance tests, type:
cd tests-conf
cd examples/tests-conf
mvn test
......
......@@ -10,11 +10,12 @@
<groupId>org.ow2.frascati.tinfi.examples</groupId>
<artifactId>frascati-tinfi-parent</artifactId>
<packaging>pom</packaging>
<name>Tinfi Examples</name>
<name>Tinfi Examples and Tests</name>
<modules>
<module>sca-adl</module>
<module>fractal-adl</module>
<module>tests-conf</module>
</modules>
</project>
call mvn -Pno-intent clean test
cd ..\examples\sca-adl\advanced\osgi-equinox-jetty
cd ..\sca-adl\advanced\osgi-equinox-jetty
call mvn clean test
cd ..\osgi-felix-jetty
call mvn clean test
......
#!/bin/sh
mvn -Pno-intent clean test
cd ../examples/sca-adl/advanced/osgi-equinox-jetty
cd ../sca-adl/advanced/osgi-equinox-jetty
mvn clean test
cd ../osgi-felix-jetty
mvn clean test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment