Adf.Test.TestProvider.IsPresent C# (CSharp) Method

IsPresent() public method

Running a test, by checking if the requested item is in the registry.
public IsPresent ( TestItemType type, TestAction action ) : bool
type Adf.Core.Test.TestItemType Type of test item
action Adf.Core.Test.TestAction Action to be passed
return bool
        public virtual bool IsPresent(TestItemType type, TestAction action)
        {
            bool present = IsActionPresent(type, action);

            var result = String.Format("[{0}] {1}", type, action);

            Assert.IsTrue(present, result);

            return present;
        }

Same methods

TestProvider::IsPresent ( TestItemType type, object subject ) : bool
TestProvider::IsPresent ( TestItemType type, object subject, TestAction action ) : bool