Permalink
Commits on Dec 1, 2014
Commits on Nov 8, 2014
  1. Added a test case.

    moodmosaic committed Nov 8, 2014
Commits on Nov 6, 2014
  1. Refactored a test, according to the discussion at:

    moodmosaic committed Nov 6, 2014
    https://github.com/GreanTech/AtomEventStore/pull/102/files#r19240650.
    
    The goal of this particular process is to produce the Scan method. The Scan
    method is the System Under Test.
    
    The Scan method returns an instance of DataContractContentSerializer and
    the behaviour of that class doesn't change as a result of this test being
    added.
    
    To make it explicit, the System Under Test is the Scan method. That's the
    method added after having written the test. There's no sut object, because
    the SUT isn't an object, but a static method.
    
    By convention, we use the variable name actual for the result of exercising
    the SUT. Once we have an actual variable, we should be done with
    the Act phase.
    
    The rest is verification.
  2. Refactored a test, according to the discussion at:

    moodmosaic committed Nov 6, 2014
    https://github.com/GreanTech/AtomEventStore/pull/102/files#r19240650.
    
    The goal of this particular process is to produce the Scan method. The Scan
    method is the System Under Test.
    
    The Scan method returns an instance of DataContractContentSerializer and
    the behaviour of that class doesn't change as a result of this test being
    added.
    
    To make it explicit, the System Under Test is the Scan method. That's the
    method added after having written the test. There's no sut object, because
    the SUT isn't an object, but a static method.
    
    By convention, we use the variable name actual for the result of exercising
    the SUT. Once we have an actual variable, we should be done with
    the Act phase.
    
    The rest is verification.
Commits on Oct 22, 2014
  1. Added a test case.

    moodmosaic committed Oct 22, 2014
Commits on Oct 13, 2014
Commits on Oct 8, 2014
  1. Added a Guard Clause, verifying that the assembly contains public typ…

    moodmosaic committed Oct 8, 2014
    …es annotated with [XmlRoot] attribute.
  2. Added XmlContentSerializer.CreateTypeResolver. The purpose of this fu…

    moodmosaic committed Oct 8, 2014
    …nction is to scan an assembly and find all types annotated with [XmlRoot] attributes, and pull the associated local and namespace names out of them.
Commits on Oct 7, 2014
Commits on Oct 5, 2014
  1. Modified DataContractContentSerializer.CreateTypeResolver's XML docum…

    moodmosaic committed Oct 5, 2014
    …entation, to reflect the change from DataContractContentSerializer.Create to DataContractContentSerializer.CreateTypeResolver.
  2. Changed DataContractContentSerializer.Create to DataContractContentSe…

    moodmosaic committed Oct 5, 2014
    …rializer.CreateTypeResolver.
  3. Changed DataContractContentSerializer.Create method to throw a more a…

    moodmosaic committed Oct 5, 2014
    …ppropriate exception type when the supplied assembly is not valid.
  4. Changed DataContractContentSerializer.Create method to scan only the …

    moodmosaic committed Oct 5, 2014
    …public types defined in the supplied assembly.
  5. Added a test case.

    moodmosaic committed Oct 5, 2014
  6. Added a Guard Clause, verifying that the assembly contains public typ…

    moodmosaic committed Oct 5, 2014
    …es annotated with DataContractAttribute.
  7. Added DataContractContentSerializer.Create Factory Method. This purpo…

    moodmosaic committed Oct 5, 2014
    …se of this Factory Method is to scan an assembly and find all types annotated with [DataContract] attributes, and pull the associated local and namespace names out of them.
Commits on Sep 26, 2014
  1. Used Enumerable.SingleOrDefault instead of Enumerable.Single, in orde…

    moodmosaic committed Sep 26, 2014
    …r to avoid a try/catch block.