Daniel Erez has uploaded a new change for review.

Change subject: core: remove unused members from query test
......................................................................

core: remove unused members from query test

Remove unused members from GetVmConfigurationBySnapshotQueryTest.

Change-Id: I66f3dfa585b34e8526bb3b08455e47aff3fb8b05
Signed-off-by: Daniel Erez <de...@redhat.com>
---
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/78/23178/1

diff --git 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java
 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java
index 0e112ab..7d4dd9f 100644
--- 
a/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java
+++ 
b/backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/GetVmConfigurationBySnapshotQueryTest.java
@@ -32,9 +32,7 @@
     private Guid existingImageId = Guid.newGuid();
     private Guid existingImageGroupId = Guid.newGuid();
     private Snapshot existingSnapshot;
-    private VM existingVm = null;
     private SnapshotsManager snapshotsManager;
-    private DiskImage existingDiskImage;
     private SnapshotVmConfigurationHelper snapshotVmConfigurationHelper;
 
     private static final String EXISTING_VM_NAME = "Dummy configuration";
@@ -44,9 +42,7 @@
     public void setUp() throws Exception {
         super.setUp();
         existingSnapshot = createSnapshot(existingSnapshotId);
-        existingVm = createVm(existingVmId);
         existingSnapshot.setVmConfiguration(EXISTING_VM_NAME); // Dummy 
configuration
-        existingDiskImage = createDiskImage(existingImageId, 
existingImageGroupId);
         snapshotVmConfigurationHelper = spy(new 
SnapshotVmConfigurationHelper());
         
when(getQuery().getSnapshotVmConfigurationHelper()).thenReturn(snapshotVmConfigurationHelper);
         snapshotsManager = mock(SnapshotsManager.class);


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66f3dfa585b34e8526bb3b08455e47aff3fb8b05
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to