Permalink
Browse files

Cosas hechas offline

  • Loading branch information...
pabloescribanoloza committed Dec 2, 2011
1 parent 8e526ee commit c13281affedd487a8f558b465daa6e8e25b49b38
View
BIN .DS_Store
Binary file not shown.
@@ -9,6 +9,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
README = README
EndProjectSection
+ ProjectSection(MonoDevelopProperties) = preProject
+ Policies = $0
+ $0.StandardHeader = $1
+ $1.Text = @ \n ${FileName}\n \n Author:\n ${AuthorName} <${AuthorEmail}>\n\n Copyright (c) ${Year} ${CopyrightHolder}\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see <http://www.gnu.org/licenses/>.
+ $1.IncludeInNewFiles = True
+ EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -1,9 +1,43 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
- <MonoDevelop.Ide.Workbench ActiveDocument="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines/MyClass.cs">
+ <MonoDevelop.Ide.Workbench ActiveDocument="DoceMesesDoceKatas.Diciembre.PomodoroKata.BussinesTests/PomodoroTest.cs">
<Files>
- <File FileName="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines/MyClass.cs" Line="1" Column="1" />
+ <File FileName="DoceMesesDoceKatas.Diciembre.PomodoroKata.BussinesTests/PomodoroTest.cs" Line="57" Column="15" />
+ <File FileName="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines/Pomodoro.cs" Line="1" Column="1" />
+ <File FileName="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines/Tiempo.cs" Line="1" Column="1" />
+ <File FileName="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines/Estado.cs" Line="1" Column="1" />
</Files>
+ <Pads>
+ <Pad Id="ProjectPad">
+ <State expanded="True">
+ <Node name="DoceMesesDoceKatas.Diciembre.PomodoroKata.Bussines" expanded="True" />
+ <Node name="DoceMesesDoceKatas.Diciembre.PomodoroKata.BussinesTests" expanded="True">
+ <Node name="AssemblyInfo.cs" selected="True" />
+ </Node>
+ </State>
+ </Pad>
+ <Pad Id="ClassPad">
+ <State expanded="True" selected="True" />
+ </Pad>
+ <Pad Id="MonoDevelop.Debugger.WatchPad">
+ <State />
+ </Pad>
+ <Pad Id="MonoDevelop.NUnit.TestPad">
+ <State expanded="True" selected="True">
+ <Node name="DoceMesesDoceKatas.Diciembre.PomodoroKata.BussinesTests" expanded="True">
+ <Node name="DoceMesesDoceKatas" expanded="True">
+ <Node name="Diciembre" expanded="True">
+ <Node name="PomodoroKata" expanded="True">
+ <Node name="BussinesTests" expanded="True">
+ <Node name="PomodoroTest" expanded="True" />
+ </Node>
+ </Node>
+ </Node>
+ </Node>
+ </Node>
+ </State>
+ </Pad>
+ </Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
@@ -52,6 +52,17 @@ public void UnPomodoroNoTerminaSiNoHaSidoArrancadoPreviamente()
Assert.IsTrue(!pomodoro.Estados.estaFinalizado);
}
+
+ [Test()]
+ public void UnPomodoroFinalizaCuandoSeAcabaSuTiempo()
+ {
+ var pomodoro = new Pomodoro();
+
+ pomodoro.Arrancar();
+ pomodoro.Finalizar();
+
+ Assert.AreEqual(0,pomodoro.TiempoRestante);
+ }
}
}
@@ -77,6 +77,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="DoceMesesDoceKatas">
@@ -157,6 +165,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="Diciembre">
@@ -237,6 +253,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="PomodoroKata">
@@ -317,6 +341,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="BussinesTests">
@@ -397,6 +429,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="PomodoroTest">
@@ -477,6 +517,14 @@
<TotalIgnored>0</TotalIgnored>
<Time />
</UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
</Results>
<Tests>
<TestRecord Name="UnPomodoroDura25MinutosPorDefectoTest">
@@ -597,11 +645,25 @@ Tiempo de ejecución: 0,00 ms</Message>
<Time />
<Message>Prueba satisfactoria
+Tiempo de ejecución: 0,00 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
Tiempo de ejecución: 0,00 ms</Message>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
+ <Tests />
</TestRecord>
<TestRecord Name="UnPomodoroSePuedeCrearDeCualquierDuracion">
<Results>
@@ -666,11 +728,25 @@ Tiempo de ejecución: 0,00 ms</Message>
<Time />
<Message>Prueba satisfactoria
+Tiempo de ejecución: 0,00 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
Tiempo de ejecución: 0,00 ms</Message>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
+ <Tests />
</TestRecord>
<TestRecord Name="UnPomodoroRecienCreadoEstaParado">
<Results>
@@ -723,11 +799,25 @@ Tiempo de ejecución: 0,00 ms</Message>
<Time />
<Message>Prueba satisfactoria
+Tiempo de ejecución: 0,00 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
Tiempo de ejecución: 0,00 ms</Message>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
+ <Tests />
</TestRecord>
<TestRecord Name="UnPomodoroAlArrancarComienzaLaCuentaAtras">
<Results>
@@ -753,11 +843,51 @@ Tiempo de ejecución: 0,01 ms</Message>
<Time />
<Message>Prueba satisfactoria
+Tiempo de ejecución: 0,01 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T13:58:44</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
+Tiempo de ejecución: 0,01 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:00</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
+Tiempo de ejecución: 0,01 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
Tiempo de ejecución: 0,01 ms</Message>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
+ <Tests />
</TestRecord>
<TestRecord Name="UnPomodoroNoTerminaSiNoHaSidoArrancadoPreviamente">
<Results>
@@ -770,11 +900,25 @@ Tiempo de ejecución: 0,01 ms</Message>
<Time />
<Message>Prueba satisfactoria
+Tiempo de ejecución: 0,00 ms</Message>
+ <ConsoleOutput />
+ <ConsoleError />
+ </UnitTestResult>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>1</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ <Message>Prueba satisfactoria
+
Tiempo de ejecución: 0,00 ms</Message>
<ConsoleOutput />
<ConsoleError />
</UnitTestResult>
</Results>
+ <Tests />
</TestRecord>
</Tests>
</TestRecord>
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TestRecord xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <Results>
+ <UnitTestResult>
+ <TestDate>2011-12-01T14:01:06</TestDate>
+ <Status>Success</Status>
+ <TotalFailures>0</TotalFailures>
+ <TotalSuccess>5</TotalSuccess>
+ <TotalIgnored>0</TotalIgnored>
+ <Time />
+ </UnitTestResult>
+ </Results>
+</TestRecord>

0 comments on commit c13281a

Please sign in to comment.