ExampleSetPrint() public static method

This method prints on the Console the name of the examples module (set of examples method)
public static ExampleSetPrint ( string message, Type clazz ) : void
message string Description of the example set
clazz System.Type Type reference of the example module
return void
Beispiel #1
0
 /// <summary>
 /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set.
 /// </summary>
 public static void RunExamples()
 {
     ExampleHelper.ExampleSetPrint("Tag Examples", typeof(TagExamples));
     //TagReadAndWrite();
     CompleteTagReadAndWrite();
     //CompleteToLightTag();
 }
 /// <summary>
 /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set.
 /// </summary>
 public static void RunExamples()
 {
     ExampleHelper.ExampleSetPrint("Repository Examples", typeof(RepositoryExamples));
     LoadRavenExample();
     StoreTrackInDb();
     LoadTrackFromDb();
     InsertCountLoadAllDeleteAndLoadAgain();
     _trackRep.Dispose();
 }
        /// <summary>
        /// Access method that will be executed by <c>ProgrammingExamples</c> and runs all the example method of the set.
        /// </summary>
        public static void RunExamples()
        {
            ExampleHelper.ExampleSetPrint("Kademlia Repository Examples", typeof(KademliaRepositoryExamples));
            RepositoryConfiguration conf = new RepositoryConfiguration(new { data_dir = @"..\..\Resource\Database" });

            _repository = new KademliaRepository("Raven", conf);
            CleanTagExample();
            StoreExample();
            PutExample();
            GetAllExample();
            MiscGetAndContainsExample();
            SearchExample();
            RefreshExample();
            ExpireExample();
            //DeleteExample();
        }