OrderBys_tdb_tst.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. XOWA: the XOWA Offline Wiki Application
  3. Copyright (C) 2012-2017 gnosygnu@gmail.com
  4. XOWA is licensed under the terms of the General Public License (GPL) Version 3,
  5. or alternatively under the terms of the Apache License Version 2.0.
  6. You may use XOWA according to either of these licenses as is most appropriate
  7. for your project on a case-by-case basis.
  8. The terms of each license can be found in the source code repository:
  9. GPLv3 License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-GPLv3.txt
  10. Apache License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-APACHE2.txt
  11. */
  12. package gplx.dbs.orderBys; import gplx.*; import gplx.dbs.*;
  13. import org.junit.*;
  14. public class OrderBys_tdb_tst extends OrderBys_base_tst {
  15. @Override protected Db_conn provider_() {return Db_conn_fxt.Tdb("120_dbs_joins.dsv");}
  16. @Test public void Basic() {
  17. Basic_hook();
  18. }
  19. @Test public void SameVals() {
  20. SameVals_hook();
  21. }
  22. }
  23. //namespace gplx.dbs.crudOps {
  24. // import org.junit.*;
  25. // public class CrudOps_tdb_tst {
  26. // @Before public void setup() {fx = new CrudOpsFxt(Db_conn_fxt.Tdb("100_dbs_crud_ops.dsv"));} CrudOpsFxt fx;
  27. // @Test public void FlushToDisk() {
  28. // fx.Fx().tst_ExecDml(1, Db_qry_.insert_("dbs_crud_ops").Arg_("id", 2).Arg_("name", "you"));
  29. // Db_qry_flush.new_("dbs_crud_ops").Exec_qry(fx.Fx().Conn());
  30. // }
  31. // }
  32. //}