Allon Mureinik has uploaded a new change for review.

Change subject: core: Convert FileUtilTest to JUnit4 syntax
......................................................................

core: Convert FileUtilTest to JUnit4 syntax

Change-Id: I18fd9f0fa1ade26c732eaf84013427eccfdfb800
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/FileUtilTest.java
1 file changed, 6 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/58/13858/1

diff --git 
a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/FileUtilTest.java
 
b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/FileUtilTest.java
index 52139a9..ece7a68 100644
--- 
a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/FileUtilTest.java
+++ 
b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/FileUtilTest.java
@@ -1,12 +1,15 @@
 package org.ovirt.engine.core.utils;
 
+import static org.junit.Assert.assertEquals;
+
 import java.io.File;
 import java.io.FileWriter;
 
-import junit.framework.TestCase;
+import org.junit.Test;
 
-public class FileUtilTest extends TestCase {
+public class FileUtilTest {
 
+    @Test
     public void testReadAllText() throws Exception {
         File iFile = File.createTempFile("Test", ".txt");
         FileWriter iFileWriter = new FileWriter(iFile);
@@ -20,6 +23,7 @@
     /**
      * Test to verify fix on File.ReadAllText()
      */
+    @Test
     public void testReadAllTextTonSOfTimes() throws Exception {
         File iFile = File.createTempFile("Test", ".txt");
         FileWriter iFileWriter = new FileWriter(iFile);


--
To view, visit http://gerrit.ovirt.org/13858
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18fd9f0fa1ade26c732eaf84013427eccfdfb800
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to