test_class.declarator: xcpServerResource = new XcpServerResource()
test_class.modifier: private final
test_class.original_string: private final XcpServerResource xcpServerResource = new XcpServerResource();
test_class.type: XcpServerResource
test_class.var_name: xcpServerResource
test_class.file: cosmic-core/server/src/test/java/com/cloud/hypervisor/xenserver/resource/XcpServerResourceTest.java
test_class.identifier: XcpServerResourceTest
test_class.superclass: extends CitrixResourceBaseTest
test_case.body: @Test
      public void testPatchFilePath() {
          final String patchFilePath = xcpServerResource.getPatchFilePath();
          final String patch = "scripts/vm/hypervisor/xenserver/xcpserver/patch";
  
          Assert.assertEquals(patch, patchFilePath);
      }
test_case.class_method_signature: XcpServerResourceTest.testPatchFilePath()
test_case.full_signature: @Test public void testPatchFilePath()
test_case.identifier: testPatchFilePath
test_case.invocations: getPatchFilePath assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPatchFilePath()
focal_class.declarator: s_logger = LoggerFactory.getLogger(XcpServerResource.class)
focal_class.modifier: private final static
focal_class.original_string: private final static Logger s_logger = LoggerFactory.getLogger(XcpServerResource.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.declarator: mem_32m = 33554432L
focal_class.modifier: private final static
focal_class.original_string: private final static long mem_32m = 33554432L;
focal_class.type: long
focal_class.var_name: mem_32m
focal_class.file: cosmic-core/server/src/main/java/com/cloud/hypervisor/xenserver/resource/XcpServerResource.java
focal_class.identifier: XcpServerResource
focal_class.class_method_signature: XcpServerResource.getPatchFilePath()
focal_class.full_signature: @Override protected String getPatchFilePath()
focal_class.identifier: getPatchFilePath
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPatchFilePath()
focal_class.class_method_signature: XcpServerResource.isDmcEnabled(final Connection conn, final Host host)
focal_class.full_signature: @Override public boolean isDmcEnabled(final Connection conn, final Host host)
focal_class.identifier: isDmcEnabled
focal_class.modifiers: @Override public
focal_class.parameters: (final Connection conn, final Host host)
focal_class.return: boolean
focal_class.signature: boolean isDmcEnabled(final Connection conn, final Host host)
focal_class.class_method_signature: XcpServerResource.setMemory(final Connection conn, final VM vm, final long minMemsize, final long maxMemsize)
focal_class.full_signature: @Override protected void setMemory(final Connection conn, final VM vm, final long minMemsize, final long maxMemsize)
focal_class.identifier: setMemory
focal_class.modifiers: @Override protected
focal_class.parameters: (final Connection conn, final VM vm, final long minMemsize, final long maxMemsize)
focal_class.return: void
focal_class.signature: void setMemory(final Connection conn, final VM vm, final long minMemsize, final long maxMemsize)
focal_class.superclass: extends CitrixResourceBase
focal_method.body: @Override
      protected String getPatchFilePath() {
          return "scripts/vm/hypervisor/xenserver/xcpserver/patch";
      }
focal_method.class_method_signature: XcpServerResource.getPatchFilePath()
focal_method.full_signature: @Override protected String getPatchFilePath()
focal_method.identifier: getPatchFilePath
focal_method.modifiers: @Override protected
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getPatchFilePath()