Allon Mureinik has uploaded a new change for review.

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

core: Convert TicketingTest to JUnit4 syntax

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/59/13859/1

diff --git 
a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/TicketingTest.java
 
b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/TicketingTest.java
index 422b427..b669317 100644
--- 
a/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/TicketingTest.java
+++ 
b/backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/TicketingTest.java
@@ -1,8 +1,11 @@
 package org.ovirt.engine.core.utils;
 
-import junit.framework.TestCase;
+import static org.junit.Assert.assertNotSame;
 
-public class TicketingTest extends TestCase {
+import org.junit.Test;
+
+public class TicketingTest {
+    @Test
     public void testNoRepeats() {
         String sample = Ticketing.GenerateOTP();
         for (int x = 0; x < 1000; x++) {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fcf3a2b80abe94a4357a9aa10e801212d8e6f4f
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