System.Data.SQLite
Check-in [e4a43ed4dc]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add test case for ticket [1a93312113].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tkt-1a93312113
Files: files | file ages | folders
SHA1: e4a43ed4dc186b3b1641ce951eceb87505dee2d9
User & Date: mistachkin 2016-02-03 22:41:05
Context
2016-02-05
04:39
Another small tweak to various batch tools. Closed-Leaf check-in: d776872029 user: mistachkin tags: mistake
2016-02-03
22:41
Add test case for ticket [1a93312113]. Closed-Leaf check-in: e4a43ed4dc user: mistachkin tags: tkt-1a93312113
2016-01-28
00:06
Minor correction to the batch tool changes in the previous check-in. check-in: e342ec0466 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to testlinq/Program.cs.

170
171
172
173
174
175
176






177
178
179
180
181
182
183
...
876
877
878
879
880
881
882












883
884
885
886
887
888
889

                              return 1;
                          }
                      }

                      return BinaryGuidTest(value);
                  }






#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
              case "binaryguid2":
                  {
                      bool value = false;

                      if (args.Length > 1)
                      {
................................................................................
              }

              Console.WriteLine("updated {0}", counts[1]);
          }

          return 0;
      }













      private static int DateTimeTest()
      {
          using (northwindEFEntities db = new northwindEFEntities())
          {
              DateTime dateTime = new DateTime(1997, 1, 1, 0, 0, 0, DateTimeKind.Local);
              int c1 = db.Orders.Where(i => i.OrderDate == new DateTime(1997, 1, 1, 0, 0, 0, DateTimeKind.Local)).Count();







>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>
>
>
>







170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
...
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907

                              return 1;
                          }
                      }

                      return BinaryGuidTest(value);
                  }
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
              case "any":
                  {
                      return AnyTest();
                  }
#endif
#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
              case "binaryguid2":
                  {
                      bool value = false;

                      if (args.Length > 1)
                      {
................................................................................
              }

              Console.WriteLine("updated {0}", counts[1]);
          }

          return 0;
      }

#if NET_40 || NET_45 || NET_451 || NET_452 || NET_46 || NET_461
      private static int AnyTest()
      {
          using (northwindEFEntities db = new northwindEFEntities())
          {
              var list1 = db.Orders.Select(x => x.OrderID).ToList();
              var list2 = db.OrderDetails.Where(x => list1.Any(y => y == x.OrderID)).ToList();
              return 0;
          }
      }
#endif

      private static int DateTimeTest()
      {
          using (northwindEFEntities db = new northwindEFEntities())
          {
              DateTime dateTime = new DateTime(1997, 1, 1, 0, 0, 0, DateTimeKind.Local);
              int c1 = db.Orders.Where(i => i.OrderDate == new DateTime(1997, 1, 1, 0, 0, 0, DateTimeKind.Local)).Count();