Compile Testing

程序名称:Compile Testing

授权协议: Apache

操作系统: 跨平台

开发语言: Java

Compile Testing 介绍

Compile Testing 是一个用来测试 Javac 和注释处理器的工具。

示例代码

@RunWith(JUnit4.class)
public class TreeContextTest {
  @Rule public final ExpectedException expectedExn = ExpectedException.none();
  private static final String LIteraL_VALUE = "literal";
  private static final ImmutableList<String> baseTreeSource = ImmutableList.of(
      "package test;",
      "",
      "final class TestClass {",
      "    public String toString() {",
      "        Object variable = new Object();",
      "        return \"" + LIteraL_VALUE + "\" + variable;",
      "    }",
      "",
      "    public void nonsense() {",
      "        int[] numbers = {0, 1, 2, 3, 4};",
      "        for (int x : numbers) {",
      "            if (x % 2 == 0) {",
      "                throw new IllegalStateException();",
      "            }",
      "        }",
      "    }",
      "}");

Compile Testing 官网

https://github.com/google/compile-testing

相关编程语言

提到 EclEmma 首先就要说到著名的 Java 覆盖测试工具...
Solex是一个WEB应用测试用的Eclipse插件。Solex可以...
Apache为我们提供了一个强大的工具 Cactus!它是一套...
Google C Testing Framework是Google公司用来在各种...
JdbcProxy 是 SourceForge 上一个开源的 Java 项目,...
Ripplet是一款负载测试工具,特征如下: 1)基于Apa...