Esempio n. 1
0
 @Before
 public void init() {
   fxt.Reset_for_msgs();
   Listing_xnde_basic_tst.Add_listing_msgs(fxt.Wiki());
   listings_xtn_mgr =
       (Listing_xtn_mgr) fxt.Wiki().Xtn_mgr().Get_or_fail(Listing_xtn_mgr.Xtn_key_static);
   listings_xtn_mgr.Enabled_y_();
   listings_xtn_mgr.Xtn_init_by_wiki(fxt.Wiki());
 }
Esempio n. 2
0
 @Test
 public void Content() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0'>content_0</sleep>", "<strong>name_0</strong>. content_0");
 }
Esempio n. 3
0
 @Test
 public void Price() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' price='price_0'/>", "<strong>name_0</strong>. price_0. ");
 }
Esempio n. 4
0
 @Test
 public void Checkin_checkout() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' checkin='checkin_0' checkout='checkout_0'/>",
       "<strong>name_0</strong>. Check-in: checkin_0, check-out: checkout_0. ");
 }
Esempio n. 5
0
 @Test
 public void Hours() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' hours='hours_0'/>", "<strong>name_0</strong>. hours_0. ");
 }
Esempio n. 6
0
 @Test
 public void Email() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' email='email_0'/>",
       "<strong>name_0</strong>, email: <a class=\"email\" href=\"mailto:email_0\">email_0</a>. ");
 }
Esempio n. 7
0
 @Test
 public void Fax() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' fax='fax_0'/>", "<strong>name_0</strong>, fax: fax_0. ");
 }
Esempio n. 8
0
 @Test
 public void Phone_tollfree() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' phone='phone_0' tollfree='tollfree_0'/>",
       "<strong>name_0</strong>, <abbr title=\"phone\">☎</abbr> phone_0 (toll-free: tollfree_0). ");
 }
Esempio n. 9
0
 @Test
 public void Address_directions() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' address='address_0' directions='directions_0'/>",
       "<strong>name_0</strong>, address_0 (<em>directions_0</em>). ");
 }
Esempio n. 10
0
 @Test
 public void Alt() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' alt=\"''alt_0''\"/>",
       "<strong>name_0</strong> (<em><i>alt_0</i></em>). ");
 }
Esempio n. 11
0
 @Test
 public void Url() {
   fxt.Test_parse_page_all_str(
       "<sleep name='name_0' url='http://site.org'/>",
       "<a href=\"http://site.org\" class=\"external text\" rel=\"nofollow\" title=\"name_0\"><strong>name_0</strong></a>. ");
 }