Click here to Skip to main content
15,894,540 members
Articles / Web Development / Apache

The platform-independent code with Mono: Client-server application sample

Rate me:
Please Sign up or sign in to vote.
4.80/5 (23 votes)
24 Mar 2010CPOL10 min read 74.7K   798   59  
This article shows how we can develop the platform-independent software with Mono usage
<?xml version="1.0" encoding="utf-8"?>
<TestRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Results>
    <UnitTestResult>
      <TestDate>2010-03-17T21:59:45</TestDate>
      <Status>Success</Status>
      <TotalFailures>0</TotalFailures>
      <TotalSuccess>6</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
    </UnitTestResult>
    <UnitTestResult>
      <TestDate>2010-03-17T22:02:59</TestDate>
      <Status>Success</Status>
      <TotalFailures>0</TotalFailures>
      <TotalSuccess>6</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
    </UnitTestResult>
    <UnitTestResult>
      <TestDate>2010-03-17T22:03:45</TestDate>
      <Status>Success</Status>
      <TotalFailures>0</TotalFailures>
      <TotalSuccess>6</TotalSuccess>
      <TotalIgnored>0</TotalIgnored>
      <Time />
    </UnitTestResult>
  </Results>
  <Tests>
    <TestRecord Name="InfoCenter">
      <Results>
        <UnitTestResult>
          <TestDate>2010-03-17T21:00:38</TestDate>
          <Status>Failure</Status>
          <TotalFailures>5</TotalFailures>
          <TotalSuccess>0</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
          <Message>Child test failed</Message>
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T21:59:45</TestDate>
          <Status>Success</Status>
          <TotalFailures>0</TotalFailures>
          <TotalSuccess>6</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T22:02:59</TestDate>
          <Status>Success</Status>
          <TotalFailures>0</TotalFailures>
          <TotalSuccess>6</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
        </UnitTestResult>
        <UnitTestResult>
          <TestDate>2010-03-17T22:03:45</TestDate>
          <Status>Success</Status>
          <TotalFailures>0</TotalFailures>
          <TotalSuccess>6</TotalSuccess>
          <TotalIgnored>0</TotalIgnored>
          <Time />
        </UnitTestResult>
      </Results>
      <Tests>
        <TestRecord Name="Persistence">
          <Results>
            <UnitTestResult>
              <TestDate>2010-03-17T21:00:38</TestDate>
              <Status>Failure</Status>
              <TotalFailures>5</TotalFailures>
              <TotalSuccess>0</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
              <Message>Child test failed</Message>
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T21:59:45</TestDate>
              <Status>Success</Status>
              <TotalFailures>0</TotalFailures>
              <TotalSuccess>6</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T22:02:59</TestDate>
              <Status>Success</Status>
              <TotalFailures>0</TotalFailures>
              <TotalSuccess>6</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
            </UnitTestResult>
            <UnitTestResult>
              <TestDate>2010-03-17T22:03:45</TestDate>
              <Status>Success</Status>
              <TotalFailures>0</TotalFailures>
              <TotalSuccess>6</TotalSuccess>
              <TotalIgnored>0</TotalIgnored>
              <Time />
            </UnitTestResult>
          </Results>
          <Tests>
            <TestRecord Name="Tests">
              <Results>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:00:38</TestDate>
                  <Status>Failure</Status>
                  <TotalFailures>5</TotalFailures>
                  <TotalSuccess>0</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                  <Message>Child test failed</Message>
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:27:10</TestDate>
                  <Status>Success Failure</Status>
                  <TotalFailures>5</TotalFailures>
                  <TotalSuccess>1</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                  <Message>Child test failed</Message>
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:58:30</TestDate>
                  <Status>Success Failure</Status>
                  <TotalFailures>3</TotalFailures>
                  <TotalSuccess>3</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                  <Message>Child test failed</Message>
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:59:25</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>6</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T21:59:45</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>6</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T22:02:59</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>6</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
                <UnitTestResult>
                  <TestDate>2010-03-17T22:03:45</TestDate>
                  <Status>Success</Status>
                  <TotalFailures>0</TotalFailures>
                  <TotalSuccess>6</TotalSuccess>
                  <TotalIgnored>0</TotalIgnored>
                  <Time />
                </UnitTestResult>
              </Results>
              <Tests>
                <TestRecord Name="Test_Computer">
                  <Results>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:00:38</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:27:10</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:28:16</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:29:25</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:29:39</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:31:09</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:33:05</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:33:39</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:48:17</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                      <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Base_Fixture.TestFixtureSetUp () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/BaseFixture.cs:35 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:48:50</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:49:01</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:50:51</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:51:42</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:52:24</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:52:37</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>2</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:57:16</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:57:20</TestDate>
                      <Status>Success Failure</Status>
                      <TotalFailures>1</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:58:23</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:58:26</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:58:30</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:25</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:59</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:03:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>2</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                  </Results>
                  <Tests>
                    <TestRecord Name="CanAdd">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:00:38</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:18</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:28:16</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:29:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:29:39</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:31:09</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:38 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:33:05</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:40 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:33:39</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x0000a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:41 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput>Add: </ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:48:17</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_Computer</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:48:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00006] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:41 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput>Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:49:01</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00006] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:41 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput>Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:50:51</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:40 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:51:42</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                          <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Base_Fixture.TestFixtureSetUp () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/BaseFixture.cs:35 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:40 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:52:24</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                          <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Base_Fixture.TestFixtureSetUp () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/BaseFixture.cs:35 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:40 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:52:37</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                          <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Base_Fixture.TestFixtureSetUp () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/BaseFixture.cs:35 
  at InfoCenter.Persistence.Tests.Test_Computer.CanAdd () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:40 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:57:16</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.96ms</Message>
                          <ConsoleOutput>Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:57:20</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.08ms</Message>
                          <ConsoleOutput>Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:23</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.23ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:26</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.29ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.28ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.25ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.27ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.29ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 1.23ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
Init tests.. OK
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanGet">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:00:38</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:46</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:28:16</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:29:25</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:29:39</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:31:09</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:48 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:33:05</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:50 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:33:39</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:51 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:48:17</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>TestFixtureSetUp failed in Test_Computer</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:48:50</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:51 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:49:01</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:51 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:50:51</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:50 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:51:42</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:52 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:52:24</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:52 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:52:37</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:52 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:57:16</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.07ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:57:20</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.NonUniqueResultException : query did not return a unique result: 2</Message>
                          <StackTrace>  at NHibernate.Impl.AbstractQueryImpl.UniqueElement (IList list) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.CriteriaImpl.UniqueResult () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.CriteriaImpl.UniqueResult[Computer] () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Computer.CanGet () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Computer.cs:52 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:57:22,862 ERROR [TestRunnerThread] NonUniqueResultException [(null)]- query did not return a unique result: 2
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:23</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.10ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:26</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.08ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.12ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.09ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.10ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.13ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.17ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                  </Tests>
                </TestRecord>
                <TestRecord Name="Test_Process">
                  <Results>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:00:38</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>3</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:27:10</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>3</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:58:30</TestDate>
                      <Status>Failure</Status>
                      <TotalFailures>3</TotalFailures>
                      <TotalSuccess>0</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                      <Message>Child test failed</Message>
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:25</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>3</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>3</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:59</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>3</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:03:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>3</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                  </Results>
                  <Tests>
                    <TestRecord Name="CanAdd">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:00:38</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Process.CanAdd () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:36 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Process.CanAdd () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:36 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Computer].Add (InfoCenter.Persistence.Entities.Computer entity) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:49 
  at InfoCenter.Persistence.Tests.Test_Process.CanAdd () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:36 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.46ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.47ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.42ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.50ms</Message>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanGetByComputer">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:00:38</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByComputer () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:69 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByComputer () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:69 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByComputer () [0x00029] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:69 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.03ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.01ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.02ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                    <TestRecord Name="CanGetByName">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:00:38</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByName () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:56 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByName () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:56 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.NullReferenceException : Object reference not set to an instance of an object</Message>
                          <StackTrace>  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].get_Session () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:20 
  at InfoCenter.Persistence.Core.Repository`1[InfoCenter.Persistence.Entities.Process].FindOne (NHibernate.Criterion.DetachedCriteria criteria) [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Core/Repository.cs:143 
  at InfoCenter.Persistence.Tests.Test_Process.CanGetByName () [0x0001a] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Process.cs:56 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                  </Tests>
                </TestRecord>
                <TestRecord Name="Test_Database">
                  <Results>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:27:10</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:58:30</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:25</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T21:59:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:02:59</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                    <UnitTestResult>
                      <TestDate>2010-03-17T22:03:45</TestDate>
                      <Status>Success</Status>
                      <TotalFailures>0</TotalFailures>
                      <TotalSuccess>1</TotalSuccess>
                      <TotalIgnored>0</TotalIgnored>
                      <Time />
                    </UnitTestResult>
                  </Results>
                  <Tests>
                    <TestRecord Name="CanCreateSchema">
                      <Results>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:05:17</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:05:19,540 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
21:05:19,587 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:07:31</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:07:33,192 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
21:07:33,216 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:10:07</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:10:09,413 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
21:10:09,450 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:15:51</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:15:53,545 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
21:15:53,567 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:17:54</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.MappingException : Could not compile the mapping document: InfoCenter.Persistence.Mapping.InfoCenter.Persistence.Process.hbm.xml
  ----&gt; System.InvalidOperationException : Could not find the dialect in the configuration</Message>
                          <StackTrace>  at NHibernate.Cfg.Configuration.LogAndThrow (System.Exception exception) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddValidatedDocument (NHibernate.Cfg.NamedXmlDocument doc) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.ProcessMappingsQueue () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddDocumentThroughQueue (NHibernate.Cfg.NamedXmlDocument document) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddXmlReader (System.Xml.XmlReader hbmReader, System.String name) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddInputStream (System.IO.Stream xmlInputStream, System.String name) [0x00000] in &lt;filename unknown&gt;:0 
--InvalidOperationException
  at NHibernate.Dialect.Dialect.GetDialect (IDictionary`2 props) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddValidatedDocument (NHibernate.Cfg.NamedXmlDocument doc) [0x00000] in &lt;filename unknown&gt;:0 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:17:56,206 ERROR [TestRunnerThread] Configuration [(null)]- Could not compile the mapping document: InfoCenter.Persistence.Mapping.InfoCenter.Persistence.Process.hbm.xml
NHibernate.MappingException: Could not compile the mapping document: InfoCenter.Persistence.Mapping.InfoCenter.Persistence.Process.hbm.xml ---&gt; System.InvalidOperationException: Could not find the dialect in the configuration
  at NHibernate.Dialect.Dialect.GetDialect (IDictionary`2 props) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.AddValidatedDocument (NHibernate.Cfg.NamedXmlDocument doc) [0x00000] in &lt;filename unknown&gt;:0 
  --- End of inner exception stack trace ---
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:19:22</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>NHibernate.HibernateException : Could not create the driver from NHibernate.Driver.MySqlDataDriver.
  ----&gt; System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----&gt; NHibernate.HibernateException : The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use &lt;qualifyAssembly/&gt; element in the application configuration file to specify the full name of the assembly.</Message>
                          <StackTrace>  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.Configure (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaExport.Execute (System.Action`1 scriptAction, Boolean export, Boolean justDrop) [0x00000] in &lt;filename unknown&gt;:0 
--TargetInvocationException
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:506 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:515 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:337 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/Activator.cs:219 
  at NHibernate.Bytecode.ActivatorObjectsFactory.CreateInstance (System.Type type) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Connection.ConnectionProvider.ConfigureDriver (IDictionary`2 settings) [0x00000] in &lt;filename unknown&gt;:0 
--HibernateException
  at NHibernate.Driver.ReflectionBasedDriver..ctor (System.String driverAssemblyName, System.String connectionTypeName, System.String commandTypeName) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Driver.MySqlDataDriver..ctor () [0x00000] in &lt;filename unknown&gt;:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:500 </StackTrace>
                          <ConsoleOutput />
                          <ConsoleError>21:19:24,018 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlConnection, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
21:19:24,046 ERROR [TestRunnerThread] ReflectHelper [(null)]- Could not load type MySql.Data.MySqlClient.MySqlCommand, MySql.Data.
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00041] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:672 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System/AppDomain.cs:652 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/Assembly.cs:551 
  at NHibernate.Util.ReflectHelper.TypeFromAssembly (NHibernate.Util.AssemblyQualifiedTypeName name, Boolean throwOnError) [0x00000] in &lt;filename unknown&gt;:0 
</ConsoleError>
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:23:49</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                          <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Test_Database.CanCreateSchema () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Database.cs:21 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:24:56</TestDate>
                          <Status>Failure</Status>
                          <TotalFailures>1</TotalFailures>
                          <TotalSuccess>0</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>System.ArgumentException : The column 'ReservedWord' does not belong to the table : ReservedWords</Message>
                          <StackTrace>  at System.Data.DataRow.get_Item (System.String columnName, DataRowVersion version) [0x00047] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:210 
  at System.Data.DataRow.get_Item (System.String columnName) [0x00000] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/System.Data/System.Data/DataRow.cs:135 
  at NHibernate.Dialect.Schema.AbstractDataBaseSchema.GetReservedWords () [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords (NHibernate.Dialect.Dialect dialect, IConnectionHelper connectionHelper) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update (ISessionFactory sessionFactory) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Impl.SessionFactoryImpl..ctor (NHibernate.Cfg.Configuration cfg, IMapping mapping, NHibernate.Cfg.Settings settings, NHibernate.Event.EventListeners listeners) [0x00000] in &lt;filename unknown&gt;:0 
  at NHibernate.Cfg.Configuration.BuildSessionFactory () [0x00000] in &lt;filename unknown&gt;:0 
  at InfoCenter.Persistence.Initializer.GetSessionFactory (Boolean isNeedRecreateScheme) [0x0002f] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence/Initializer.cs:26 
  at InfoCenter.Persistence.Tests.Test_Database.CanCreateSchema () [0x00000] in /home/aidan/Projects/InfoCenter/20100316/InfoCenter.Persistence.Test/Test_Database.cs:21 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&amp;)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000ca] in /home/aidan/Projects/Mono/mono-2.6.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:209 </StackTrace>
                          <ConsoleOutput>
    
alter table Processes  drop foreign key FK36316B3DE1D1AE5D


    drop table if exists Processes

    drop table if exists Computers

    create table Processes (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Pid INTEGER,
       Name VARCHAR(255),
       ComputerID INTEGER,
       primary key (ID)
    )

    create table Computers (
        ID INTEGER NOT NULL AUTO_INCREMENT,
       Name VARCHAR(255),
       Ip VARCHAR(255),
       UserName VARCHAR(255),
       OsVersion VARCHAR(255),
       RecentActivity DATETIME,
       primary key (ID)
    )

    alter table Processes 
        add index (ComputerID), 
        add constraint FK36316B3DE1D1AE5D 
        foreign key (ComputerID) 
        references Computers (ID)
</ConsoleOutput>
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:27:10</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:58:30</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:25</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T21:59:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:02:59</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                        <UnitTestResult>
                          <TestDate>2010-03-17T22:03:45</TestDate>
                          <Status>Success</Status>
                          <TotalFailures>0</TotalFailures>
                          <TotalSuccess>1</TotalSuccess>
                          <TotalIgnored>0</TotalIgnored>
                          <Time />
                          <Message>Test successful

Execution time: 0.00ms</Message>
                          <ConsoleOutput />
                          <ConsoleError />
                        </UnitTestResult>
                      </Results>
                    </TestRecord>
                  </Tests>
                </TestRecord>
              </Tests>
            </TestRecord>
          </Tests>
        </TestRecord>
      </Tests>
    </TestRecord>
  </Tests>
</TestRecord>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Nokia
Germany Germany
Interested in design/development of framework functionality using the best patterns and practices.

Comments and Discussions