1 23 24 package org.objectweb.fractal.adl.conform; 25 26 import org.objectweb.fractal.adl.ADLException; 27 import org.objectweb.fractal.adl.Definition; 28 import org.objectweb.fractal.adl.Loader; 29 import org.objectweb.fractal.adl.components.ComponentLoader; 30 import org.objectweb.fractal.adl.xml.XMLLoader; 31 32 public class TestMix extends Test { 33 34 public Loader l; 35 36 public TestMix (final String name) { 37 super(name); 38 } 39 40 protected void setUp () { 41 ComponentLoader compLoader = new ComponentLoader(); 42 compLoader.clientLoader = new XMLLoader(false); 43 l = compLoader; 44 } 45 46 public void test1 () throws ADLException { 47 l.load("MIX1", null); 48 Definition d2 = l.load("MIX2", null); 49 Definition d3 = l.load("MIX3", null); 50 compare(d2, d3); 51 } 52 } 53 | Popular Tags |