我正在嘗試運行海洋測試框架測試,在此處打開Petrel 2011演示項目。然而,當我打開該項目與PetrelSystem.ProjectService.OpenPrimaryProject()
我收到以下錯誤消息,並且測試被中止:如何使用Petrel演示項目運行海洋測試
Error: File EclipseNamesToPropertyTypeCatalog.xml not found in the installation
File EclipseNamesToPropertyTypeCatalog.xml not found in the installation
Slb.Ocean.Petrel.ProjectOpenException : Could not open the project.
----> Petrel_Framework_NS.TestAssertionException : File EclipseNamesToPropertyTypeCatalog.xml not found in the installation
at Slb.Ocean.Petrel.Core.Impl.Core.ProjectService.OpenPrimaryProject(String projectPath)
at Slb.Ocean.Petrel.ProjectService.OpenPrimaryProject(String path)
是否有此問題的方法?
我正在使用Resharper運行測試。在Resharper選項對話框中,我指定測試應該從C:\ Program Files \ Schlumberger \ Petrel 2011運行。我已經在代碼中驗證了這實際上是Environment.CurrentDirectory。 xml文件如何定位? Ocean2011Home使用了嗎?還有其他建議嗎? – blue01 2012-02-15 08:21:16