Class FormatterServiceDelegateTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.netbeans.junit.NbTestCase
de.funfried.netbeans.plugins.external.formatter.FormatterServiceDelegateTest
- All Implemented Interfaces:
junit.framework.Test
,org.netbeans.junit.NbTest
public class FormatterServiceDelegateTest
extends org.netbeans.junit.NbTestCase
- Author:
- bahlef
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.void
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.void
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.void
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.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
-
FormatterServiceDelegateTest
-
-
Method Details
-
testFormatWithEclipseFormatter
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.- Throws:
Exception
- if an error occurs
-
testFormatWithGoogleFormatter
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.- Throws:
Exception
- if an error occurs
-
testFormatWithWrongChangedElements
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.- Throws:
Exception
- if an error occurs
-
testNullDocument
Test ofFormatterServiceDelegate.format(javax.swing.text.StyledDocument, java.util.SortedSet)
method, of classFormatterServiceDelegate
.- Throws:
Exception
- if an error occurs
-