org.objectweb.kilim.repository
Class MonoFeatureTests

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.kilim.repository.MonoFeatureTests

public class MonoFeatureTests
extends TestCase

Author:
delpiano To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
See Also:
Serialized Form

Field Summary
private  ResourceRepository rep
           
private  ResourceRepository rep1
           
 
Constructor Summary
MonoFeatureTests(java.lang.String arg0)
          Constructor for TemplateParserTest.
 
Method Summary
 void testBindingProvider1()
          Tests the triggering of transformers in cycle prone templates.
 void testBindingValue1()
          Tests the triggering of transformers in cycle prone templates.
 void testContainmentAndStart()
          Tests the containment behaviour, respect to star ports.
 void testCycleAndTriggers()
          Tests the triggering of transformers in cycle prone templates.
 void testDynamicPlug()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testDynamicPlugOnNAryPort()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testExternalReference()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testForkOfPlugged1()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testForkOfPlugged2()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testForkOfPlugged3()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testForkOfPlugged4()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testForkOfPlugged5()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testMultipleBindingsDetection()
          Teste si le binding multiple lève bien une exception.
 void testMultipleTypesOfOverloading()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testNullMapper()
          Method testNullParser
 void testOrderOnCompositionOfMultiplePort()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testOtherMapper1()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testPropertiesArrays()
          Teste les tableaux de properties, nommées et non nommées.
 void testPropertiesInterfaceAndProvidersBindings()
          Teste les bindings de property à interface, de provider à interface.
 void testPropertiesOverloading()
          Teste le mécanisme de surcharge des valeurs de properties par des fichiers .prop.
 void testSimpleFork1()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testSimpleFork1A()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testSimpleFork2()
          Tests the overloading of properties by providers/ports, and ports by properties.
 void testSuperAndSuperSuper()
          Teste la surcharge d'instances par super.
 void testTriggersOnTHIS()
          Tests the triggering of transformers on THIS.
 void testTriggersOrder()
          Teste l'ordre dans lequel les triggers sont exécutés.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rep

private ResourceRepository rep

rep1

private ResourceRepository rep1
Constructor Detail

MonoFeatureTests

public MonoFeatureTests(java.lang.String arg0)
                 throws org.xml.sax.SAXException,
                        javax.xml.parsers.ParserConfigurationException
Constructor for TemplateParserTest.

Parameters:
arg0 - for junit
Throws:
org.xml.sax.SAXException - should not happen
javax.xml.parsers.ParserConfigurationException - should not happen
Method Detail

testPropertiesArrays

public void testPropertiesArrays()
                          throws ResourceNotFoundException,
                                 org.xml.sax.SAXException,
                                 javax.xml.parsers.ParserConfigurationException
Teste les tableaux de properties, nommées et non nommées.

Throws:
ResourceNotFoundException - :
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :

testPropertiesOverloading

public void testPropertiesOverloading()
                               throws ResourceNotFoundException,
                                      org.xml.sax.SAXException,
                                      javax.xml.parsers.ParserConfigurationException
Teste le mécanisme de surcharge des valeurs de properties par des fichiers .prop.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :

testTriggersOrder

public void testTriggersOrder()
                       throws ResourceNotFoundException,
                              org.xml.sax.SAXException,
                              javax.xml.parsers.ParserConfigurationException
Teste l'ordre dans lequel les triggers sont exécutés.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :

testPropertiesInterfaceAndProvidersBindings

public void testPropertiesInterfaceAndProvidersBindings()
                                                 throws ResourceNotFoundException,
                                                        org.xml.sax.SAXException,
                                                        javax.xml.parsers.ParserConfigurationException
Teste les bindings de property à interface, de provider à interface.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :

testSuperAndSuperSuper

public void testSuperAndSuperSuper()
                            throws ResourceNotFoundException,
                                   org.xml.sax.SAXException,
                                   javax.xml.parsers.ParserConfigurationException
Teste la surcharge d'instances par super.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :

testExternalReference

public void testExternalReference()
                           throws ResourceNotFoundException,
                                  org.xml.sax.SAXException,
                                  javax.xml.parsers.ParserConfigurationException,
                                  KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testMultipleBindingsDetection

public void testMultipleBindingsDetection()
                                   throws ResourceNotFoundException,
                                          org.xml.sax.SAXException,
                                          javax.xml.parsers.ParserConfigurationException
Teste si le binding multiple lève bien une exception.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :

testMultipleTypesOfOverloading

public void testMultipleTypesOfOverloading()
                                    throws ResourceNotFoundException,
                                           org.xml.sax.SAXException,
                                           javax.xml.parsers.ParserConfigurationException,
                                           KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testOrderOnCompositionOfMultiplePort

public void testOrderOnCompositionOfMultiplePort()
                                          throws ResourceNotFoundException,
                                                 org.xml.sax.SAXException,
                                                 javax.xml.parsers.ParserConfigurationException,
                                                 KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testDynamicPlugOnNAryPort

public void testDynamicPlugOnNAryPort()
                               throws ResourceNotFoundException,
                                      org.xml.sax.SAXException,
                                      javax.xml.parsers.ParserConfigurationException,
                                      KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testDynamicPlug

public void testDynamicPlug()
                     throws ResourceNotFoundException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException,
                            KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testSimpleFork1

public void testSimpleFork1()
                     throws ResourceNotFoundException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException,
                            KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testSimpleFork1A

public void testSimpleFork1A()
                      throws ResourceNotFoundException,
                             org.xml.sax.SAXException,
                             javax.xml.parsers.ParserConfigurationException,
                             KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testSimpleFork2

public void testSimpleFork2()
                     throws ResourceNotFoundException,
                            org.xml.sax.SAXException,
                            javax.xml.parsers.ParserConfigurationException,
                            KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testForkOfPlugged1

public void testForkOfPlugged1()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testForkOfPlugged2

public void testForkOfPlugged2()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testForkOfPlugged3

public void testForkOfPlugged3()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testForkOfPlugged4

public void testForkOfPlugged4()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testForkOfPlugged5

public void testForkOfPlugged5()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testCycleAndTriggers

public void testCycleAndTriggers()
                          throws ResourceNotFoundException,
                                 org.xml.sax.SAXException,
                                 javax.xml.parsers.ParserConfigurationException,
                                 KilimException
Tests the triggering of transformers in cycle prone templates.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testTriggersOnTHIS

public void testTriggersOnTHIS()
                        throws ResourceNotFoundException,
                               org.xml.sax.SAXException,
                               javax.xml.parsers.ParserConfigurationException,
                               KilimException
Tests the triggering of transformers on THIS.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testContainmentAndStart

public void testContainmentAndStart()
                             throws ResourceNotFoundException,
                                    org.xml.sax.SAXException,
                                    javax.xml.parsers.ParserConfigurationException,
                                    KilimException
Tests the containment behaviour, respect to star ports.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testBindingValue1

public void testBindingValue1()
                       throws ResourceNotFoundException,
                              org.xml.sax.SAXException,
                              javax.xml.parsers.ParserConfigurationException,
                              KilimException
Tests the triggering of transformers in cycle prone templates.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testBindingProvider1

public void testBindingProvider1()
                          throws ResourceNotFoundException,
                                 org.xml.sax.SAXException,
                                 javax.xml.parsers.ParserConfigurationException,
                                 KilimException
Tests the triggering of transformers in cycle prone templates.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :

testNullMapper

public void testNullMapper()
                    throws ResourceNotFoundException,
                           org.xml.sax.SAXException,
                           javax.xml.parsers.ParserConfigurationException,
                           KilimException
Method testNullParser

Throws:
ResourceNotFoundException - :
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
KilimException - :

testOtherMapper1

public void testOtherMapper1()
                      throws ResourceNotFoundException,
                             org.xml.sax.SAXException,
                             javax.xml.parsers.ParserConfigurationException,
                             KilimException
Tests the overloading of properties by providers/ports, and ports by properties.

Throws:
org.xml.sax.SAXException - :
javax.xml.parsers.ParserConfigurationException - :
ResourceNotFoundException - :
KilimException - :