示例#1
0
        public UTS46(UTS46Options options)
#pragma warning disable 612, 618
            : base()
#pragma warning restore 612, 618
        {
            this.options = options;
        }
示例#2
0
 internal ConformanceTestCase(String comt, String @in, String @out,
                              String prof, UTS46Options flg, Exception ex)
 {
     try
     {
         comment = comt;
         byte[] bytes = GetBytes(@in);
         input    = Encoding.UTF8.GetString(bytes);
         bytes    = GetBytes(@out);
         output   = (bytes == null) ? null : Encoding.UTF8.GetString(bytes); //new String(bytes, "UTF-8");
         profile  = prof;
         flags    = flg;
         expected = ex;
     }
     catch (Exception e)
     {
         e.PrintStackTrace();
         throw new Exception();
     }
 }