Ejemplo n.º 1
0
 @Test
 public void
     Copy_orig_w_width() { // PURPOSE: if not thumb, but width is specified; do not download orig
   // and convert; EX: [[File:The Earth seen from Apollo 17.jpg|250px]]
   fxt.Init_orig_db(Xof_orig_arg.new_comm("A.png", 440, 400));
   fxt.Init_fsdb_db(Xof_fsdb_arg.new_comm_thumb("A.png", 220, 200));
   fxt.Exec_get(
       Xof_exec_arg.new_("A.png", Xop_lnki_type.Id_null, 220, Xop_lnki_tkn.Height_null)
           .Rslt_orig_exists_y()
           .Rslt_file_exists_y());
   fxt.Test_fsys("mem/root/common/thumb/7/0/A.png/220px.png", "220,200");
 }