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 polimorfismo; | |
class ClaseA implements M { | |
public String m1() { | |
return "ClaseA.m1"; | |
} | |
public String m2() { | |
return "ClaseA.m2"; |
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
# /etc/init/sidekiq.conf - Sidekiq config | |
# This example config should work with Ubuntu 12.04+. It | |
# allows you to manage multiple Sidekiq instances with | |
# Upstart, Ubuntu's native service management tool. | |
# | |
# See workers.conf for how to manage all Sidekiq instances at once. | |
# | |
# Save this config as /etc/init/sidekiq.conf then mange sidekiq with: | |
# sudo start sidekiq index=0 |
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
# /etc/init/clockwork.conf - Clockwork config | |
# This example config should work with Ubuntu 12.04+. It | |
# allows you to manage multiple Sidekiq instances with | |
# Upstart, Ubuntu's native service management tool. | |
# | |
# Use the service command: | |
# sudo service clockwork {start,stop,restart,status} | |
# |
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
# rpm -ivh https://yum.puppetlabs.com/el/6.5/products/x86_64/puppetlabs-release-6-10.noarch.rpm | |
# yum install puppet | |
# chkconfig puppet on | |
# puppet module install rtyler/jenkins | |
# puppet module install puppetlabs/git | |
class ciserver { | |
include git |
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
cucumber.runtime.CucumberException: Failed to load ApplicationContext | |
at cucumber.runtime.java.spring.SpringFactory.getTestInstance(SpringFactory.java:162) | |
at cucumber.runtime.java.spring.SpringFactory.getInstance(SpringFactory.java:142) | |
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:35) | |
at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37) | |
at cucumber.runtime.Runtime.runStep(Runtime.java:297) | |
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) | |
at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) | |
at cucumber.runtime.model.CucumberScenario.runBackground(CucumberScenario.java:62) | |
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:46) |
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
<settings> | |
<pluginGroups> | |
</pluginGroups> | |
<proxies> | |
</proxies> | |
<servers> | |
<server> | |
<id>mazinger</id> |
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
TestCase subclass: #SistemaNotasTest | |
instanceVariableNames: '' | |
classVariableNames: '' | |
poolDictionaries: '' | |
category: 'Algo3TP1-Tests'! | |
!SistemaNotasTest methodsFor: 'as yet unclassified' stamp: 'NicoPaez 3/31/2015 19:16'! | |
test01_FlujoEstadosDeTP | |
| sistema estado idEntrega | | |
sistema := SistemaNotas new. |
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
test21_multiplesEntregasParaUnTP | |
| sistema estado idEntrega cantidadEntregas | | |
sistema := SistemaNotas new. | |
sistema nuevoAlumno: '[email protected]' conPadron: '111111'. | |
sistema nuevoTP: 'tp1'. | |
estado := sistema estadoTP: 'tp1' paraAlumno:'[email protected]'. | |
self assert: estado = #noEntregado. | |
idEntrega := sistema nuevaEntregaDeAlumno: '[email protected]' para: 'tp1'. | |
estado := sistema estadoTP: 'tp1' paraAlumno:'[email protected]'. |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>nicopaez-tutorials</groupId> | |
<artifactId>junit-mockito</artifactId> | |
<version>1.0.0</version> | |
<name>junit-mockito</name> | |
<dependencies> | |
<dependency> | |
<groupId>org.mockito</groupId> |
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
public class Robot { | |
private Direction direccion; | |
private Sensor sensor; | |
public Robot(Sensor sensor) { | |
this.sensor = sensor; | |
} | |
public void setDirection(Direction direccion) { |