org.objectweb.fractal.cecilia.adl.test
Class BindingsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.objectweb.fractal.cecilia.adl.test.CeciliaAdlTestCase
              extended by org.objectweb.fractal.cecilia.adl.test.BindingsTest
All Implemented Interfaces:
junit.framework.Test

public class BindingsTest
extends CeciliaAdlTestCase

Test ADL in test.attributes package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.objectweb.fractal.cecilia.adl.test.CeciliaAdlTestCase
CeciliaAdlTestCase.FractalBackendLauncher, CeciliaAdlTestCase.StaticallyLoadedCeciliaAdlLauncher
 
Field Summary
 
Fields inherited from class org.objectweb.fractal.cecilia.adl.test.CeciliaAdlTestCase
BUILD_DIR_PROPERTY_NAME, C_FLAGS_PROPERTY_NAME, clearBuildDir, COMPILER_CMD_PROPERTY_NAME, DEFAULT_BUILD_DIR, DEFAULT_C_FLAGS, DEFAULT_LD_FLAGS, DEFAULT_SOURCE_PATH, LD_FLAGS_PROPERTY_NAME, LINKER_CMD_PROPERTY_NAME, SOURCE_PATH_PROPERTY_NAME, TEST_JOBS_PROPERTY_NAME
 
Constructor Summary
BindingsTest()
           
 
Method Summary
 void testCollectionBindingControllerMC()
           
 void testCollectionCompositeBindingControllerMC()
           
 void testCollectionFlattenedCompositeMC()
           
 void testCollectionFlattenedImportedMC()
           
 void testCollectionFlattenedMC()
           
 void testCollectionImportedBindingControllerMC()
           
 void testCollectionOptionalFlattenedCompositeMC()
           
 void testCustomBindingControllerMC()
           
 void testCustomImportedBindingControllerMC()
           
 void testIncompatibleSignatureForBinding()
          Test for Bug #307806 about binding incompatible signatures.
 void testInvalidCollectionFlattenedCompositeMC()
           
 void testMultipleServers()
           
 void testNoBinding()
           
 void testOptionalImportBinding()
           
 
Methods inherited from class org.objectweb.fractal.cecilia.adl.test.CeciliaAdlTestCase
compileADL, compileAndRun, deleteDirectory, getBuildDir, getLauncher, getLauncherOptions, runTest, runTestAndReturnValue, setLauncher, setUp, tryCompileADL
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindingsTest

public BindingsTest()
Method Detail

testNoBinding

public void testNoBinding()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testOptionalImportBinding

public void testOptionalImportBinding()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCustomBindingControllerMC

public void testCustomBindingControllerMC()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testCustomImportedBindingControllerMC

public void testCustomImportedBindingControllerMC()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionBindingControllerMC

public void testCollectionBindingControllerMC()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionCompositeBindingControllerMC

public void testCollectionCompositeBindingControllerMC()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionImportedBindingControllerMC

public void testCollectionImportedBindingControllerMC()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleServers

public void testMultipleServers()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testIncompatibleSignatureForBinding

public void testIncompatibleSignatureForBinding()
                                         throws java.lang.Exception
Test for Bug #307806 about binding incompatible signatures. Here we test that the given ADL should not be compiled correctly by the toolchain.

Throws:
java.lang.Exception

testCollectionFlattenedMC

public void testCollectionFlattenedMC()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionFlattenedCompositeMC

public void testCollectionFlattenedCompositeMC()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionOptionalFlattenedCompositeMC

public void testCollectionOptionalFlattenedCompositeMC()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidCollectionFlattenedCompositeMC

public void testInvalidCollectionFlattenedCompositeMC()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testCollectionFlattenedImportedMC

public void testCollectionFlattenedImportedMC()
                                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.