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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    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

    • SQLFormatterServiceTest

      public SQLFormatterServiceTest(String name)
  • Method Details

    • testFormat

      public void testFormat() throws Exception
      Test of format method, of class SQLFormatterService.
      Throws:
      Exception - if an error occurs
    • testUnsupportedFileType

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