aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Pospychala2012-09-10 05:32:22 (EDT)
committerJacek Pospychala2012-09-10 05:32:22 (EDT)
commit9e31120a58fa9c588ce7bff10b92b0250df16df9 (patch)
tree3dc1c972bf72c1656da944cdb7e9c05fb73fadd9
parente96ce0529517ce58619851ea611048c15f3d5d40 (diff)
downloadorg.eclipse.pdt-9e31120a58fa9c588ce7bff10b92b0250df16df9.zip
org.eclipse.pdt-9e31120a58fa9c588ce7bff10b92b0250df16df9.tar.gz
org.eclipse.pdt-9e31120a58fa9c588ce7bff10b92b0250df16df9.tar.bz2
Bug 386537 - Tests failing due to NullPointerException
-rw-r--r--tests/org.eclipse.php.ui.tests/src/org/eclipse/php/ui/tests/contentassist/ContentAssistTests.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/org.eclipse.php.ui.tests/src/org/eclipse/php/ui/tests/contentassist/ContentAssistTests.java b/tests/org.eclipse.php.ui.tests/src/org/eclipse/php/ui/tests/contentassist/ContentAssistTests.java
index 638d0f9..27e5661 100644
--- a/tests/org.eclipse.php.ui.tests/src/org/eclipse/php/ui/tests/contentassist/ContentAssistTests.java
+++ b/tests/org.eclipse.php.ui.tests/src/org/eclipse/php/ui/tests/contentassist/ContentAssistTests.java
@@ -138,8 +138,9 @@ public class ContentAssistTests extends AbstractPDTTTest {
createFile(
new ByteArrayInputStream(data
- .getBytes()),
- System.currentTimeMillis() + fileName);
+ .getBytes()), Long
+ .toString(System
+ .currentTimeMillis()));
String result = executeAutoInsert(offset);
closeEditor();
if (!pdttFile.getExpected().trim()