C# Class Clojure.Tests.LibTests.IObjTests

Base class for testing the IMeta interface functionality.
Inheritance: NUnit.Framework.AssertionHelper
Show file Open project: richhickey/clojure-clr

Protected Properties

Property Type Description
_expectedType System.Type
_obj IObj
_objWithNullMeta IObj
_testNoChange bool

Protected Methods

Method Description
InitMocks ( ) : void

Private Methods

Method Description
Verify_Null_Meta ( ) : void
withMeta_has_correct_meta ( ) : void
withMeta_returns_correct_type ( ) : void
withMeta_returns_self_if_no_change ( ) : void

Method Details

InitMocks() protected method

protected InitMocks ( ) : void
return void

Property Details

_expectedType protected property

Expected type of return from withMeta. Set null if no test. Initialize in Setup.
protected Type,System _expectedType
return System.Type

_obj protected property

The object to test. Initialize in Setup.
protected IObj _obj
return IObj

_objWithNullMeta protected property

Object to test for null meta. Set null if no test. Initialize in Setup.
protected IObj _objWithNullMeta
return IObj

_testNoChange protected property

Test if same object with no change in meta. Set to false to skip test.
protected bool _testNoChange
return bool