|
What this is
Other links
The source code//This file was automaticaly generated. Do not modify. /* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2001 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.test.editor.app.tests; import java.io.PrintWriter; import org.openide.filesystems.*; import org.netbeans.junit.NbTestCase; import org.netbeans.junit.NbTestSuite; import java.io.File; import org.netbeans.test.editor.LineDiff; /** * * @author ehucka * @version 1.2 * */ public class JavaDocPerformer extends NbTestCase { public JavaDocPerformer(String name) { super(name); } public void tearDown() throws Exception { assertFile("Output does not match golden file.", getGoldenFile(), new File(getWorkDir(), this.getName() + ".ref"), new File(getWorkDir(), this.getName() + ".diff"), new LineDiff(false)); } /** * Call Action: Inside * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testInside() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.Inside" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: Start * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testStart() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.Start" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: End * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testEnd() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.End" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: InsideNoLeading * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testInsideNoLeading() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.InsideNoLeading" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: StartNoLeading * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testStartNoLeading() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.StartNoLeading" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: EndNoLeading * Sub Test: Writting * Author: ehucka * Version: 1.2 * Comment: */ public void testEndNoLeading() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Writting.EndNoLeading" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: ReformattingLeadingStar * Sub Test: Reformatting * Author: ehucka * Version: 1.2 * Comment: */ public void testReformattingLeadingStar() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Reformatting.ReformattingLeadingStar" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } /** * Call Action: ReformatingNoLeadingStar * Sub Test: Reformatting * Author: ehucka * Version: 1.2 * Comment: */ public void testReformatingNoLeadingStar() throws Exception { PrintWriter ref = null; PrintWriter log = null; String[] arguments = new String[] { "/org/netbeans/test/editor/app/tests/javadoc.xml", "Reformatting.ReformatingNoLeadingStar" }; try { ref = new PrintWriter(getRef()); log = new PrintWriter(getLog()); new CallTestGeneric().runTest(arguments, log, ref); } finally { if (ref != null) ref.flush(); if (log != null) log.flush(); } } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.