This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package mx.hashsoft.itext7; | |
| import com.itextpdf.kernel.events.Event; | |
| import com.itextpdf.kernel.events.IEventHandler; | |
| import com.itextpdf.kernel.events.PdfDocumentEvent; | |
| import com.itextpdf.kernel.geom.Rectangle; | |
| import com.itextpdf.kernel.pdf.PdfDocument; | |
| import com.itextpdf.kernel.pdf.PdfPage; | |
| import com.itextpdf.kernel.pdf.canvas.PdfCanvas; | |
| import com.itextpdf.layout.Canvas; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package mx.hashsoft.itext7; | |
| import com.itextpdf.kernel.events.PdfDocumentEvent; | |
| import com.itextpdf.kernel.geom.PageSize; | |
| import com.itextpdf.kernel.pdf.PdfDocument; | |
| import com.itextpdf.kernel.pdf.PdfWriter; | |
| import com.itextpdf.layout.Document; | |
| import com.itextpdf.layout.element.Paragraph; | |
| import java.io.FileNotFoundException; | |
| import java.util.logging.Level; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | keytool -genkey -keystore myKeystore -alias myself | |
| keytool -selfcert -alias myself -keystore myKeystore | |
| jarsigner -keystore myKeystore Test-1.0.jar myself | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <jnlp spec="1.0+" codebase="http://192.168.0.17:8080/Test/" href="Test.jnlp"> | |
| <information> | |
| <title>Prueba Java WebStart</title> | |
| <vendor>HashSoftware</vendor> | |
| <homepage href="http://192.168.0.17:8080/Test/" /> | |
| <description>Testing Testing</description> | |
| </information> | |
| <security> | |
| <all-permissions /> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?xml version="1.0" encoding="UTF-8"?> | |
| <jnlp spec="1.0+" codebase="http://192.168.0.17:8080/Test/" href="Test.jnlp"> | |
| <information> | |
| <title>Prueba Java WebStart</title> | |
| <vendor>HashSoftware</vendor> | |
| <homepage href="http://192.168.0.17:8080/Test/" /> | |
| <description>Testing Testing</description> | |
| </information> | |
| <security> | |
| <all-permissions /> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * 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 mx.hashsoft.hibernateanotaciones; | |
| import java.io.Serializable; | |
| import java.util.Date; | |
| import javax.persistence.Column; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * 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 mx.hashsoft.hibernateanotaciones; | |
| import java.io.Serializable; | |
| import javax.persistence.Column; | |
| import javax.persistence.Entity; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * 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 mx.hashsoft.hibernateanotaciones; | |
| import java.lang.reflect.Field; | |
| import java.sql.Connection; | |
| import java.sql.DatabaseMetaData; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package mx.calculo; | |
| public class Calculo { | |
| public double calcular(double s) { | |
| return s*s; | |
| } | |
| public double calcularIVA(double precio){ | |
| return precio*016; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package mx.calculoTest; | |
| import mx.calculo.Calculo; | |
| import org.junit.*; | |
| import static org.junit.jupiter.api.Assertions.assertEquals; | |
| import static org.junit.jupiter.api.Assertions.assertTrue; | |
| public class CalculoTest { |