2 * Copyright 2000-2007 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package com
.intellij
.testFramework
.builders
;
19 import com
.intellij
.testFramework
.fixtures
.ModuleFixture
;
24 public interface ModuleFixtureBuilder
<T
extends ModuleFixture
> {
27 * Add content root to the module configuration.
29 * @param contentRootPath path to your content folder
30 * @return current builder
32 ModuleFixtureBuilder
<T
> addContentRoot(final String contentRootPath
);
35 * Add source root to the module configuration.
36 * {@link #addContentRoot(String)} should be called first
38 * @param sourceRootPath path to your source folder (relative to the first content root)
39 * @return current builder
41 ModuleFixtureBuilder
<T
> addSourceRoot(String sourceRootPath
);
44 * Sets compiler output path.
46 * @param outputPath absolute path.
48 void setOutputPath(String outputPath
);
50 void setTestOutputPath(String outputPath
);
54 void addSourceContentRoot(String path
);