Author: czadra
Date: Mon Nov 26 05:34:29 2012
New Revision: 1413483
URL: http://svn.apache.org/viewvc?rev=1413483&view=rev
Log:
creates temp file with the name of the current unit test class
Modified:
incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
Modified:
incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
URL:
http://svn.apache.org/viewvc/incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java?rev=1413483&r1=1413482&r2=1413483&view=diff
==============================================================================
---
incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
(original)
+++
incubator/flex/falcon/trunk/compiler.tests/unit-tests/org/apache/flex/compiler/internal/tree/mxml/MXMLNodeBaseTests.java
Mon Nov 26 05:34:29 2012
@@ -79,7 +79,7 @@ public class MXMLNodeBaseTests
File tempMXMLFile = null;
try
{
- tempMXMLFile =
File.createTempFile("MXMLBooleanNodeTests", ".mxml", new File(tempDir));
+ tempMXMLFile =
File.createTempFile(getClass().getSimpleName(), ".mxml", new File(tempDir));
tempMXMLFile.deleteOnExit();
BufferedWriter out = new BufferedWriter(new
FileWriter(tempMXMLFile));