Class GoogleJavaFormatterServiceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.netbeans.junit.NbTestCase
de.funfried.netbeans.plugins.external.formatter.java.google.GoogleJavaFormatterServiceTest
All Implemented Interfaces:
junit.framework.Test, org.netbeans.junit.NbTest

public class GoogleJavaFormatterServiceTest extends org.netbeans.junit.NbTestCase
Author:
bahlef
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.
    void
    Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.
    void
    Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.

    Methods inherited from class org.netbeans.junit.NbTestCase

    assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertFile, assertGC, assertGC, assertSize, assertSize, assertSize, assertSize, canRun, clearWorkDir, compareReferenceFiles, compareReferenceFiles, convertNBFSURL, failByBug, failByBug, getDataDir, getExpectedFail, getGoldenFile, getGoldenFile, getLog, getLog, getRef, getTestNumber, getWorkDir, getWorkDirPath, log, log, logLevel, logRoot, ref, run, runBare, runInEQ, setFilter, timeOut

    Methods inherited from class junit.framework.TestCase

    assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runTest, setName, setUp, tearDown, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface junit.framework.Test

    countTestCases
  • Constructor Details

    • GoogleJavaFormatterServiceTest

      public GoogleJavaFormatterServiceTest(String name)
  • Method Details

    • testFormatGoogleStyle

      public void testFormatGoogleStyle() throws Exception
      Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.
      Throws:
      Exception - if an error occurs
    • testFormatAOSPStyle

      public void testFormatAOSPStyle() throws Exception
      Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.
      Throws:
      Exception - if an error occurs
    • testUnsupportedFileType

      public void testUnsupportedFileType() throws Exception
      Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class GoogleJavaFormatterService.
      Throws:
      Exception - if an error occurs