Compile Testing

码农软件 · 软件分类 · 测试工具 · 2019-11-22 15:26:30

软件介绍

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();",
      "            }",
      "        }",
      "    }",
      "}");

本文地址:https://codercto.com/soft/d/19554.html

Operating Systems

Operating Systems

Remzi Arpaci-Dusseau、Andrea Arpaci-Dusseau / Arpaci-Dusseau Books / 2012-8-19 / USD 21.00

A book about modern operating systems. Topics are broken down into three major conceptual pieces: Virtualization, Concurrency, and Persistence. Includes all major components of modern systems includin......一起来看看 《Operating Systems》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换