Package mmrnmhrm.core.engine_client.DToolClient

Examples of mmrnmhrm.core.engine_client.DToolClient.ClientModuleParseCache


  public void testBasic$() throws Exception {
    String relativePath = "relative/path/foo.d";
    ModuleSource moduleSource = new ModuleSource(relativePath, "module blah;");
    Path filePath = DToolClient.getPathHandleForModuleSource(moduleSource);
   
    ClientModuleParseCache clientModuleCache = client.getClientModuleCache();
    assertEquals(clientModuleCache.getParsedModuleOrNull(filePath, moduleSource).module.getName(), "blah");
    assertEquals(clientModuleCache.getExistingParsedModuleNode(filePath).getName(), "blah");
   
    testCodeCompletion(moduleSource, 0,
      "blah");
    testCodeCompletion(new ModuleSource(relativePath, "module xpto;"), 0,
      "xpto");
View Full Code Here

TOP

Related Classes of mmrnmhrm.core.engine_client.DToolClient.ClientModuleParseCache

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.