Ejemplo n.º 1
0
        public void WAS_Environment()
        {
            var registryValues = new List <string>(TServer.GetRegistryKeyValue(RegistryHive.LocalMachine, @"SYSTEM\CurrentControlSet\Services\WAS", "Environment") as string[]);

            Assert.NotNull(registryValues);
            Assert.IsTrue(registryValues.Contains(CorEnableProfile), CorEnableProfile);
            Assert.IsTrue(registryValues.Contains(CorProfiler), CorProfiler);
            Assert.IsTrue(registryValues.Contains(NewRelicInstallPath), NewRelicInstallPath);
            Assert.IsTrue(registryValues.Contains(CoreCorProfiler), CoreCorProfiler);
            Assert.IsTrue(registryValues.Contains(CoreNewRelicHomePath), CoreNewRelicHomePath);
        }
Ejemplo n.º 2
0
 public void REG_36032161_FFC0_4B61_B559_F6C5D41BAE5A__Version_Wow6432Node()
 {
     Assert.AreEqual(Settings.AgentVersion, TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{36032161-FFC0-4B61-B559-F6C5D41BAE5A}\Version", null));
 }
Ejemplo n.º 3
0
 public void REG_71DA0A04_7777_4EC6_9643_7D28B46A8A41__Version_Wow6432Node()
 {
     Assert.AreEqual(Settings.AgentVersion, TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{71DA0A04-7777-4EC6-9643-7D28B46A8A41}\Version", null));
 }
Ejemplo n.º 4
0
 public void REG_36032161_FFC0_4B61_B559_F6C5D41BAE5A__InprocServer32_Wow6432Node()
 {
     Assert.AreEqual(@"C:\Program Files (x86)\New Relic\.NET Agent\NewRelic.Profiler.dll", TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{36032161-FFC0-4B61-B559-F6C5D41BAE5A}\InprocServer32", null));
 }
Ejemplo n.º 5
0
 public void REG_71DA0A04_7777_4EC6_9643_7D28B46A8A41__InprocServer32_Wow6432Node()
 {
     Assert.AreEqual(@"C:\Program Files (x86)\New Relic\.NET Agent\NewRelic.Profiler.dll", TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{71DA0A04-7777-4EC6-9643-7D28B46A8A41}\InprocServer32", null));
 }
Ejemplo n.º 6
0
 public void REG_36032161_FFC0_4B61_B559_F6C5D41BAE5A_Wow6432Node()
 {
     Assert.AreEqual("New Relic .NET Profiler", TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{36032161-FFC0-4B61-B559-F6C5D41BAE5A}", null));
 }
Ejemplo n.º 7
0
 public void REG_71DA0A04_7777_4EC6_9643_7D28B46A8A41_Wow6432Node()
 {
     Assert.AreEqual("New Relic .NET Profiler", TServer.GetRegistryKeyValue(RegistryHive.ClassesRoot, @"CLSID\Wow6432Node\CLSID\{71DA0A04-7777-4EC6-9643-7D28B46A8A41}", null));
 }
Ejemplo n.º 8
0
 public void NewRelicHome_Wow6432Node()
 {
     Assert.AreEqual(@"C:\ProgramData\New Relic\.NET Agent\", TServer.GetRegistryKeyValue(RegistryHive.LocalMachine, @"SOFTWARE\Wow6432Node\New Relic\.NET Agent", "NewRelicHome"));
 }