Search in sources :

Example 1 with FakeBuckConfig

use of com.facebook.buck.cli.FakeBuckConfig in project buck by facebook.

the class WorkspaceAndProjectGeneratorTest method setUp.

@Before
public void setUp() throws InterruptedException, IOException {
    rootCell = (new TestCellBuilder()).build();
    ProjectFilesystem projectFilesystem = rootCell.getFilesystem();
    halideBuckConfig = HalideLibraryBuilder.createDefaultHalideConfig(projectFilesystem);
    cxxBuckConfig = CxxLibraryBuilder.createDefaultConfig();
    BuckConfig fakeBuckConfig = FakeBuckConfig.builder().build();
    appleConfig = new AppleConfig(fakeBuckConfig);
    swiftBuckConfig = new SwiftBuckConfig(fakeBuckConfig);
    setUpWorkspaceAndProjects();
}
Also used : AppleConfig(com.facebook.buck.apple.AppleConfig) BuckConfig(com.facebook.buck.cli.BuckConfig) SwiftBuckConfig(com.facebook.buck.swift.SwiftBuckConfig) HalideBuckConfig(com.facebook.buck.halide.HalideBuckConfig) CxxBuckConfig(com.facebook.buck.cxx.CxxBuckConfig) FakeBuckConfig(com.facebook.buck.cli.FakeBuckConfig) ProjectFilesystem(com.facebook.buck.io.ProjectFilesystem) SwiftBuckConfig(com.facebook.buck.swift.SwiftBuckConfig) TestCellBuilder(com.facebook.buck.rules.TestCellBuilder) Before(org.junit.Before)

Aggregations

AppleConfig (com.facebook.buck.apple.AppleConfig)1 BuckConfig (com.facebook.buck.cli.BuckConfig)1 FakeBuckConfig (com.facebook.buck.cli.FakeBuckConfig)1 CxxBuckConfig (com.facebook.buck.cxx.CxxBuckConfig)1 HalideBuckConfig (com.facebook.buck.halide.HalideBuckConfig)1 ProjectFilesystem (com.facebook.buck.io.ProjectFilesystem)1 TestCellBuilder (com.facebook.buck.rules.TestCellBuilder)1 SwiftBuckConfig (com.facebook.buck.swift.SwiftBuckConfig)1 Before (org.junit.Before)1