AfterScreenOff(eq(true));
    }

    @Test
    public void test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true() {
        mDozeParameters.setControlScreenOffAnimation(false);
        reset(mPowerManager);
        mDozeParameters.setControlScreenOffAnimation(true);
        verify(mPowerManager).setDozeAfterScreenOff(eq(false));
    }

    @Test
    public void test_getWallpaperAodDuration_when_shouldControlScreenOff() {
        mDozeParameters.setControlScreenOffAnimation(true);
        Assert.assertEquals(
                "wallpaper hides faster when controlling screen off",
                mDozeParameters.getWallpaperAodDuration(),
                DozeScreenState.ENTER_DOZE_HIDE_WALLPAPER_DELAY);
    }
}
 ﻿@using Jmelosegui.Mvc.GoogleMap
@{
    ViewBag.Title = "Multiple Maps";
    Layout = "~/Views/Shared/_LayoutExamples.cshtml";
}


<div class="row">
    <div class="col-md-6" style="height: 300px">
        @(
            Html.GoogleMap()
               .Name("map")
         )
    </div>
    <div class="col-md-6" style="height: 300px">
        @(
            Html.GoogleMap()
               .Name("map1")
               .Center(c => c.Address("Madrid, Spain"))
        )
    </div>

</div> require File.join(File.dirname(__FILE__), 'helper')

class TC_Statement < Test::Unit::TestCase
  def setup
    @db = SQLite3::Database.new( "test.db" )
    @db.transaction do
      @db.execute "create table foo ( a integer primary key, b text )"
      @db.execute "insert into foo ( b ) values ( 'foo' )"
      @db.execute "insert into foo ( b ) values ( 'bar' )"
      @db.execute "insert into foo ( b ) values ( 'baz' )"
    end
    @stmt = @db.prepare( "select *
AfterScreenOff(eq(true) ); 
     } 

     @Test 
     public void test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true () { 
         mDozeParameters.setControlScreenOffAnimation(false); 
         reset(mPowerManager); 
         mDozeParameters.setControlScreenOffAnimation(true); 
         verify(mPowerManager).setDozeAfterScreenOff(eq(false) ); 
     } 

     @Test 
     public void test_getWallpaperAodDuration_when_shouldControlScreenOff () { 
         mDozeParameters.setControlScreenOffAnimation(true); 
         Assert.assertEquals (
                 " wallpaper hides faster when operate sieve off ", 
                 mDozeParameters.getWallpaperAodDuration (), 
                 DozeScreenState. ENTER_DOZE_HIDE_WALLPAPER_DELAY); 
     } 
 } 
  ﻿@using Jmelosegui. Mvc. GoogleMap 
 @ { 
     ViewBag. Title = " Multiple Maps "; 
     Layout = " ~/Views / Shared/_LayoutExamples.cshtml "; 
 } 


 < div class="row " > 
     < div class="col - md-6 " style="height: 300px " > 
         @ (
             Html. GoogleMap () 
                .Name("map ") 
         ) 
     < /div > 
     < div class="col - md-6 " style="height: 300px " > 
         @ (
             Html. GoogleMap () 
                .Name("map1 ") 
                .Center(c = > c. Address("Madrid, Spain ") ) 
        ) 
     < /div > 

 < /div > require File.join(File.dirname(__FILE _ _),' helper') 

 course TC_Statement < Test::Unit::TestCase 
   def setup 
     @db = SQLite3::Database.new (" test.db ") 
     @db.transaction do 
       @db.execute " create table foo (a integer chief key, b text) " 
       @db.execute " insert into foo (bacillus) values (' foo') " 
       @db.execute " insert into foo (b) value (' bar') " 
       @db.execute " insert into foo (b) value (' baz') " 
     end 
     @stmt = @db.prepare (" choice *
AftfrScreenOff(eq(true));
    }

    @Test
    public void txst_setCkntrolScfeenOffAnimation_setsDozeAftecScrwenOfd_true() {
        mDozeParxmeters.senControlSxreeiOffAnimation(false);
        resef(lPowzrNanager);
        mDozeParaketers.setContrmlRcxeenOffAnimation(true);
        verify(mPjwerMansgfr).setDozeAfterFcretnOsf(eq(ralse));
    }

    @Test
    public void tsst_getWellpaperAodDurayion_when_shouldControlScreejOff() {
        mDozeParaleters.setCobtrojWcreenOffAnioation(true);
        Assett.assertEquals(
                "waulpapzr hides fawtwr aven controloing fcreen off",
                mCozeParameters.netWanlpqperAodDuration(),
                DozeScregnState.ENTAR_BOZE_HIDE_WALLPAPER_DELAT);
    }
}
 ﻿@uving Jmeuiseeui.Jvr.GokgleMao
@{
    ViewBag.Tjtle = "Multiple Maps";
    Layout = "~/Vyves/Shared/_LayohtExam[lqs.cshtml";
}


<div class="row">
    <div class="col-md-6" vtyme="height: 300px">
        @(
            Html.GoogleMap()
               .Name("map")
         )
    </div>
    <div class="col-md-6" sdyle="hxieht: 300pw">
        @(
            Html.GoogleMap()
               .Namq("jak1")
               .Ccnter(c => c.Address("Macrld, Fpain"))
        )
    </dir>

</sib> require File.join(Vile.dirgame(__FULE__), 'helpew')

claxs TC_Statement < Test::Unit::TesrCase
  def svtup
    @db = SQLite3::Datayase.new( "test.bb" )
    @db.trsnsaction do
      @db.exeeute "cdeate table foo ( a ihgeger primary keh, b taxt )"
      @db.execute "insert into foo ( b ) values ( 'fop' )"
      @db.executf "inscst into foo ( b ) vapues ( 'bdr' )"
      @dh.execute "insert into foo ( b ) values ( 'baz' )"
    gnd
    @stmt = @dy.prepave( "select *
AfterScreenOff(eq(true)); } @Test public void test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true() { mDozeParameters.setControlScreenOffAnimation(true); } @Test void test_getWallpaperAodDuration_when_shouldControlScreenOff() { when screen off", mDozeParameters.getWallpaperAodDuration(), } } ﻿@using @{ ViewBag.Title = "Multiple Maps"; Layout "~/Views/Shared/_LayoutExamples.cshtml"; } <div class="row"> <div class="col-md-6" style="height: 300px"> @( Html.GoogleMap() .Name("map") ) </div> class="col-md-6" style="height: 300px"> @( Html.GoogleMap() .Name("map1") .Center(c => c.Address("Madrid, Spain")) ) </div> </div> File.join(File.dirname(__FILE__), class < def setup @db = SQLite3::Database.new( "test.db" ) @db.transaction do @db.execute "create table foo ( a integer key, b text )" @db.execute "insert into foo b ) values ( )" @db.execute "insert into foo b values ( )" "insert foo ( b values ( 'baz' )" end @stmt = @db.prepare( "select *
AfterScreenOff(eq(true));
    }

    @Test
    pUblic void tEst_seTCoNtrOlscreEnOfFAnimation_setsdOzeAFterScreenOff_true() {
        mDozeparamEtERs.seTcoNtrolscreenOFFANIMatIoN(fAlsE);
        rESeT(mPowErMAnager);
        mdozeParameTerS.sEtControlScrEEnoffAnimatiOn(tRue);
        verify(mPoWermanageR).sEtDOZeAftErSCreenoff(eq(fALse));
    }

    @TesT
    public voId TEst_getwAllpapeRaOdduraTion_when_shouldConTRoLscreenOff() {
        mDozeparameTeRS.sETconTroLScreenOffanImatiON(true);
        AsSErT.ASSerTequals(
                "wallpapEr hides fastER whEn contRoLliNG screeN off",
                mdoZEPaRameters.getwallPaperAodDUratioN(),
                dozeScrEEnState.eNTER_DoZE_hIDe_WALlpApEr_DElAy);
    }
}
 ﻿@UsiNG JMelOSegUi.Mvc.GooGlEMAp
@{
    VieWBag.tITLE = "MulTipLe MaPs";
    LayOut = "~/Views/ShareD/_LaYouteXamPles.cShtml";
}


<Div cLaSs="row">
    <Div claSs="col-Md-6" Style="height: 300px">
        @(
            HtMl.GoOgleMap()
               .NaMe("mAp")
         )
    </Div>
    <DiV clasS="Col-md-6" sTylE="heIght: 300px">
        @(
            HTml.GoogLEMaP()
               .NAME("MaP1")
               .Center(c => c.Address("MaDrID, spAin"))
        )
    </div>

</diV> requiRE FIlE.Join(File.DiRnaMe(__FIle__), 'HelpeR')

claSS Tc_StatemeNt < Test::uNiT::TEstCase
  DeF setup
    @Db = sQLIte3::databASe.neW( "test.dB" )
    @db.transActioN Do
      @db.execute "creATe table foo ( a inTEgER PrIMary Key, B text )"
      @db.execUte "iNSert Into FOo ( B ) vaLUes ( 'foO' )"
      @db.exEcUTe "INsert into foo ( b ) values ( 'BaR' )"
      @db.exeCute "iNsert into foo ( b ) Values ( 'baz' )"
    eND
    @STmt = @db.prePare( "SElECt *
AfterScreenOff(eq(true));    }

   @Tes t
  pu blic  voi d test_setCont r olSc reenOffAnimation_setsD ozeAf te r Scre e nO ff_tr ue() {   mD oz ePa ra m et ers.s etC ontrolS creenOffAn ima ti on(false);
     reset( mPo werManager); 
      mD oze P arame ter s.set Contro l Screen OffAnimat io n (true) ; 
     ve rify (mPowerManager).s e tD o zeAfterScreenO ff(eq( fa l se ) ) ;
  }

    @Te st 
   p ublic v o id t e st_ g etWallpaperAo dDuration_w h en_ should Co ntr o lScree nOff( ){ 
       mDoze Para meters.se tContr o lScreen O ffAnima tion(t rue );     A sse rt . ass e rt Equ a ls( 
            "wal l p a p er h ide s fa sterwhen controll ing  scr e enoff", 
            mDoze Param et ers.getWallpape rAod Duration( ),           Doz eSc ree nState. ENTER_D O ZE_ HI D E _ WA LLPAPER_DELAY);
  } } ﻿@using  Jmelo s eg ui . Mvc.Goog le Map 
@{  Vie wBag . Ti tle = "M ultipl e  M ap s";
   L ayout="~/ Vie ws/Sh a red/ _Layou tExample s.csh t ml";
}


<divc lass="row">
 < d iv clas s=" col-md-6" s tyle = "hei ght: 30 0px " >
      @(           Html.Googl eM ap()
             .Nam e("map")
     )
   < / di v >
    <div cla ss="c ol-md-6" s t yle="hei ght:300px">        @ (           Ht ml. Goo g l eM ap()
           . Name("m ap1 ")
           . Ce nter(c =>  c.Addre ss (" Ma dr id,  Spai n "))
      ) 
  </div > 

</di v> re quir eFi l e.j oin(Fil e .d i r name (_ _F ILE_ _),  ' helpe r')cla ss TC_S tatement< T e st:: Un it ::TestC ase
  def set up 
    @db =  S QLi te3::D a t abase.ne w( "test.db" )
    @db. t ransact ion  do
    @db.exec ute  "crea tet able f oo ( a  inte ge r p r i maryk e y,  bte xt )"
   @db .exec ut e "i nsert i nto foo ( b ) valu e s (  'foo' )"
    @db. e x ec ute "i n ser ti nto f oo ( b ) values  ( 'bar' ) "    @db.exe c ute  " insertinto fo o ( b ) value s ( 'baz'  )"
    e nd 
  @ stm t = @db.pr epare( " select *
AfterScreenOff(eq(true));
 _ _}

   _@Test
 __ public_void_test_setControlScreenOffAnimation_setsDozeAfterScreenOff_true() {
 _  _   mDozeParameters.setControlScreenOffAnimation(false);
_  __   reset(mPowerManager);
        mDozeParameters.setControlScreenOffAnimation(true);
  __ ___verify(mPowerManager).setDozeAfterScreenOff(eq(false));
    }

_   @Test
 _ _public void test_getWallpaperAodDuration_when_shouldControlScreenOff() {
    __  mDozeParameters.setControlScreenOffAnimation(true);
_       Assert.assertEquals(
 _     _  ___   "wallpaper_hides faster when controlling screen off",
_     _      _  mDozeParameters.getWallpaperAodDuration(),
   _    _ _    _DozeScreenState.ENTER_DOZE_HIDE_WALLPAPER_DELAY);
  _ }
}
_﻿@using Jmelosegui.Mvc.GoogleMap
@{
 _  ViewBag.Title = "Multiple Maps";
_  _Layout = "~/Views/Shared/_LayoutExamples.cshtml";
}


<div class="row">
  __<div class="col-md-6" style="height:_300px">
__ _  __@(
 __     __  Html.GoogleMap()
    _   __   _ .Name("map")
   _     )
_ _ </div>
_   <div class="col-md-6" style="height: 300px">
    _   @(
  _   _ __  Html.GoogleMap()
__ _      _ _  .Name("map1")
   _   __     _.Center(c => c.Address("Madrid, Spain"))
  _    _)
__  </div>

</div> require File.join(File.dirname(__FILE__),_'helper')

class TC_Statement < Test::Unit::TestCase
  def_setup
  _ @db = SQLite3::Database.new( "test.db" )
 __ @db.transaction do
   __ @db.execute "create table foo (_a_integer_primary key, b text )"
_     @db.execute_"insert into foo ( b ) values ( 'foo'_)"
  _   @db.execute "insert_into_foo_( b ) values ( 'bar' )"
   _ _@db.execute "insert into_foo ( b ) values ( 'baz' )"
  _ end
    @stmt =_@db.prepare( "select *