Package com.google.errorprone.bugpatterns

Examples of com.google.errorprone.bugpatterns.NonAtomicVolatileUpdate


        matcher.matches(diagnosticHelper.getDiagnostics()));
  }

  @Test
  public void fileWithWarning() throws Exception {
    compilerBuilder.report(new ErrorProneScanner(new NonAtomicVolatileUpdate()));
    compiler = compilerBuilder.build();
    Result exitCode = compiler.compile(compiler.fileManager().sources(getClass(),
        "bugpatterns/NonAtomicVolatileUpdatePositiveCases.java"));
    outputStream.flush();
    assertThat(outputStream.toString(), exitCode, is(Result.OK));
View Full Code Here

TOP

Related Classes of com.google.errorprone.bugpatterns.NonAtomicVolatileUpdate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.