Biblioteca Java - Rev 32
Subversion Repositories:
(root)/Courses and labs samples/ISP/Exemple_ISP_Cluj_2015/ElevatorCurs/.jacocoverage/report.html/elevatorcurs/ElevatorApp.java.html @ 34
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>ElevatorApp.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">JaCoCoverage analysis of project "ElevatorCurs" (powered by JaCoCo from EclEmma)</a> > <a href="index.source.html" class="el_package">elevatorcurs</a> > <span class="el_source">ElevatorApp.java</span></div><h1>ElevatorApp.java</h1><pre class="source lang-java linenums">/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package elevatorcurs;
import elevatorcurs.model.*;
import elevatorcurs.ui.*;
/**
*
* @author Mihai Hulea mihai.hulea@aut.utcluj.ro
*/
<span class="nc" id="L13">public class ElevatorApp {</span>
public static void main(String[] args) {
<span class="nc" id="L15"> Elevator e = new Elevator();</span>
<span class="nc" id="L16"> Controller c = new Controller(e);</span>
<span class="nc" id="L17"> Simulator s = new Simulator(c, e);</span>
<span class="nc" id="L18"> ElevatorUI ui = new ElevatorUI();</span>
<span class="nc" id="L19"> ElevatorMVCController mvcCtrl = new ElevatorMVCController(e, ui ,c);</span>
// c.addJob(new Job(2));
<span class="nc" id="L22"> s.simulate();</span>
<span class="nc" id="L24"> } </span>
}
</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.4.201502262128</span></div></body></html>
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package elevatorcurs;
import elevatorcurs.model.*;
import elevatorcurs.ui.*;
/**
*
* @author Mihai Hulea mihai.hulea@aut.utcluj.ro
*/
<span class="nc" id="L13">public class ElevatorApp {</span>
public static void main(String[] args) {
<span class="nc" id="L15"> Elevator e = new Elevator();</span>
<span class="nc" id="L16"> Controller c = new Controller(e);</span>
<span class="nc" id="L17"> Simulator s = new Simulator(c, e);</span>
<span class="nc" id="L18"> ElevatorUI ui = new ElevatorUI();</span>
<span class="nc" id="L19"> ElevatorMVCController mvcCtrl = new ElevatorMVCController(e, ui ,c);</span>
// c.addJob(new Job(2));
<span class="nc" id="L22"> s.simulate();</span>
<span class="nc" id="L24"> } </span>
}
</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.4.201502262128</span></div></body></html>