本文整理汇总了Java中com.intellij.util.io.TestFileSystemBuilder类的典型用法代码示例。如果您正苦于以下问题:Java TestFileSystemBuilder类的具体用法?Java TestFileSystemBuilder怎么用?Java TestFileSystemBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TestFileSystemBuilder类属于com.intellij.util.io包,在下文中一共展示了TestFileSystemBuilder类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: assertOutput
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected static void assertOutput(JpsArtifact a, TestFileSystemBuilder expected) {
assertOutput(a.getOutputPath(), expected);
}
示例2: assertOutput
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected static void assertOutput(final String outputPath, TestFileSystemBuilder expected) {
expected.build().assertDirectoryEqual(new File(FileUtil.toSystemDependentName(outputPath)));
}
示例3: fs
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected static TestFileSystemBuilder fs() {
return TestFileSystemItem.fs();
}
示例4: assertOutput
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
public static void assertOutput(Artifact artifact, TestFileSystemBuilder item) {
final VirtualFile outputFile = getOutputDir(artifact);
outputFile.refresh(false, true);
item.build().assertDirectoryEqual(VfsUtil.virtualToIoFile(outputFile));
}
示例5: assertOutput
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected static void assertOutput(Module module, TestFileSystemBuilder item) {
assertOutput(module, item, false);
}
示例6: checkFileStructure
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
private static void checkFileStructure(@NotNull File parentDir, @NotNull TestFileSystemBuilder expected) {
expected.build().assertDirectoryEqual(parentDir);
}
示例7: assertDirectory
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected void assertDirectory(String relativePath, TestFileSystemBuilder fileSystemBuilder) {
fileSystemBuilder.build().assertDirectoryEqual(new File(myProjectPom.getParent().getPath(), relativePath));
}
示例8: assertJar
import com.intellij.util.io.TestFileSystemBuilder; //导入依赖的package包/类
protected void assertJar(String relativePath, TestFileSystemBuilder fileSystemBuilder) {
fileSystemBuilder.build().assertFileEqual(new File(myProjectPom.getParent().getPath(), relativePath));
}