Class CssParserFormatterServiceTest

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

public class CssParserFormatterServiceTest 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 CssParserFormatterService.
    void
    Test of AbstractJavaFormatterService.format(javax.swing.text.StyledDocument, java.util.SortedSet) method, of class EclipseJavaFormatterService.

    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

    • CssParserFormatterServiceTest

      public CssParserFormatterServiceTest(String name)
  • Method Details

    • testFormat

      public void testFormat() throws Exception
      Test of format method, of class CssParserFormatterService.
      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 EclipseJavaFormatterService.
      Throws:
      Exception - if an error occurs