Package org.apache.tuscany.sca.vtest.assembly.component.reference

Examples of org.apache.tuscany.sca.vtest.assembly.component.reference.MyClientA.callOtherServices()


    public void testReferenceNameUnique() {
     
      initDomain("referencename_1.composite");
     
      MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent1/MyClientA");
      Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;
     
        cleanupDomain();
    }
   
    /**
 
View Full Code Here


     */   
     @Test
     public void testComponentReferenceNameMatched() {    
         initDomain("referencename_3.composite");       
         MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent1/MyClientA");          
         Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;   
         cleanupDomain();
    }
    
     /**
      * Line 192-193:
View Full Code Here

    @Test
    @Ignore("Not implemented in SCA 1.x codebase.")
    public void testWiredByImpl() {
      initDomain("reference_wiredbyimpl.composite");     
      MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent/MyClientA");     
      Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;     
        cleanupDomain();
    }
   
   
    /**
 
View Full Code Here

    public void testReferenceNameUnique() {
     
      initDomain("referencename_1.composite");
     
      MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent1/MyClientA");
      Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;
     
        cleanupDomain();
    }
   
    /**
 
View Full Code Here

     */   
     @Test
     public void testComponentReferenceNameMatched() {    
         initDomain("referencename_3.composite");       
         MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent1/MyClientA");          
         Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;   
         cleanupDomain();
    }
    
     /**
      * Line 192-193:
View Full Code Here

    @Test
    @Ignore("Not implemented in SCA 1.x codebase.")
    public void testWiredByImpl() {
      initDomain("reference_wiredbyimpl.composite");     
      MyClientA service = ServiceFinder.getService(MyClientA.class, "ClientComponent/MyClientA");     
      Assert.assertEquals("MyService:::MyService" , service.callOtherServices()) ;     
        cleanupDomain();
    }
   
   
    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.