- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/google/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();",
" }",
" }",
" }",
"}");
Algorithms Unlocked
Thomas H. Cormen / The MIT Press / 2013-3-1 / USD 25.00
Have you ever wondered how your GPS can find the fastest way to your destination, selecting one route from seemingly countless possibilities in mere seconds? How your credit card account number is pro......一起来看看 《Algorithms Unlocked》 这本书的介绍吧!
HTML 压缩/解压工具
在线压缩/解压 HTML 代码
URL 编码/解码
URL 编码/解码
