Package org.auraframework.def.DefDescriptor

Examples of org.auraframework.def.DefDescriptor.DescriptorKey


      DefDescriptor<TypeDef> JavaValueDefDescMocked = Mockito.spy(JavaValueDefDesc);
      Mockito.when(JavaValueDefDescMocked.getDef()).thenThrow(new TestQuickFixException("new quick fix exception"));
      //time to ask MDR give us what we want
      String name = "java://org.auraframework.impl.java.controller.JavaControllerTest$JavaValueDefExt";
      Class<TypeDef> defClass = TypeDef.class;
      DescriptorKey dk = new DescriptorKey(name, defClass);
        Cache<DescriptorKey, DefDescriptor<? extends Definition>> cache =
            Aura.getCachingService().getDefDescriptorByNameCache();
        cache.put(dk, JavaValueDefDescMocked);
       
      //jvd doesn't matter that much for triggering QFE, as we only used it as the Object param
View Full Code Here

TOP

Related Classes of org.auraframework.def.DefDescriptor.DescriptorKey

Copyright © 2018 www.massapicom. 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.