Package sharpen.core

Examples of sharpen.core.Configuration$NameMapping


        "interfaces/FooImpl",
        "interfaces/BaseFoo");
  }
 
  public void testMappedNativeInterfacesOtherCompilationUnit() throws Throwable {
    Configuration configuration = newNativeInterfacesConfiguration();
    configuration.mapNamespace("interfaces", "What.Ever");
    runBatchConverterTestCase(
        configuration,
        "interfaces/MappedFooImpl",
        "interfaces/MappedBaseFoo");
 
View Full Code Here


  public void testStubsInDiamondInterfaceInheritance() throws Throwable {
    runResourceTestCase(newNativeInterfacesConfiguration(), "interfaces/DiamondImpl");
  }

  public Configuration newNativeInterfacesConfiguration() {
    Configuration configuration = newPascalCasePlusConfiguration();
    configuration.enableNativeInterfaces();
    configuration.enableNativeTypeSystem();
    return configuration;
  }
View Full Code Here

  public void testSimpleUsing() throws Throwable {
    runResourceTestCase("SimpleTest");
  }

  public void testFullyQualifiedName() throws Throwable {
    Configuration conf = newOrganizeUsingsConfiguration();
    conf.addFullyQualifiedTypeName("Test");
    runResourceTestCase(conf, "FullyQualifiedType");
  }
View Full Code Here

    super.runResourceTestCase(config, "usings/" + resource);
  }
 
 
  public Configuration newOrganizeUsingsConfiguration() {
    Configuration configuration = newPascalCasePlusConfiguration();
    configuration.enableNativeTypeSystem();
    configuration.enableOrganizeUsings();
    return configuration;
  }
View Full Code Here

TOP

Related Classes of sharpen.core.Configuration$NameMapping

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.