diff --git a/.besouro/20160928160354283/actions.txt b/.besouro/20160928160354283/actions.txt new file mode 100644 index 0000000..96968db --- /dev/null +++ b/.besouro/20160928160354283/actions.txt @@ -0,0 +1,307 @@ +FileOpenedAction 1475067834608 TestRomanNumerals.java 159 1 1 0 +RefactoringAction 1475067852710 TestRomanNumerals.java RENAME test()=>void testIntegerTo() METHOD +RefactoringAction 1475067855719 TestRomanNumerals.java RENAME testIntegerTo()=>void testInteger() METHOD +RefactoringAction 1475067861231 TestRomanNumerals.java RENAME testInteger()=>void testInteger_() METHOD +RefactoringAction 1475067862740 TestRomanNumerals.java RENAME testInteger_()=>void testInteger_IV() METHOD +RefactoringAction 1475067864748 TestRomanNumerals.java RENAME testInteger_IV()=>void testInteger_I() METHOD +RefactoringAction 1475067866259 TestRomanNumerals.java RENAME testInteger_I()=>void testInteger_I_0() METHOD +RefactoringAction 1475067878268 TestRomanNumerals.java RENAME testInteger_I_0()=>void testInteger_I_() METHOD +RefactoringAction 1475067879779 TestRomanNumerals.java RENAME testInteger_I_()=>void testInteger_I_0() METHOD +RefactoringAction 1475067888294 TestRomanNumerals.java RENAME testInteger_I_0()=>void testConvertToInteger_I_0() METHOD +RefactoringAction 1475067908332 TestRomanNumerals.java ADD void initialize() METHOD +EditAction 1475067915207 TestRomanNumerals.java 207 2 0 0 +CompilationAction 1475067916506 TestRomanNumerals.java +CompilationAction 1475067916508 TestRomanNumerals.java +CompilationAction 1475067916509 TestRomanNumerals.java +CompilationAction 1475067916510 TestRomanNumerals.java +EditAction 1475067921690 TestRomanNumerals.java 227 2 1 0 +CompilationAction 1475067922947 TestRomanNumerals.java +CompilationAction 1475067922948 TestRomanNumerals.java +CompilationAction 1475067934500 TestRomanNumerals.java +CompilationAction 1475067934502 TestRomanNumerals.java +CompilationAction 1475067934666 TestRomanNumerals.java +EditAction 1475067936547 TestRomanNumerals.java 256 2 1 0 +CompilationAction 1475067937895 TestRomanNumerals.java +EditAction 1475067943236 TestRomanNumerals.java 270 2 1 0 +CompilationAction 1475067944524 TestRomanNumerals.java +CompilationAction 1475067944525 TestRomanNumerals.java +CompilationAction 1475067944526 TestRomanNumerals.java +RefactoringAction 1475067961109 TestRomanNumerals.java ADD import org.junit.Before IMPORT +CompilationAction 1475067968392 TestRomanNumerals.java +CompilationAction 1475067968394 TestRomanNumerals.java +CompilationAction 1475067968396 TestRomanNumerals.java +EditAction 1475067980068 TestRomanNumerals.java 345 2 1 0 +CompilationAction 1475067981036 TestRomanNumerals.java +CompilationAction 1475067981037 TestRomanNumerals.java +CompilationAction 1475067985179 TestRomanNumerals.java +RefactoringAction 1475067988561 TestRomanNumerals.java ADD void testConvertToInteger_I_1()/2 METHOD +RefactoringAction 1475067988564 TestRomanNumerals.java ADD void testConvertToInteger_I_1()/3 METHOD +RefactoringAction 1475068010115 TestRomanNumerals.java RENAME testConvertToInteger_I_1()/3=>void testConvertToInteger_I_3() METHOD +RefactoringAction 1475068011125 TestRomanNumerals.java RENAME testConvertToInteger_I_3()=>void testConvertToInteger_III_3() METHOD +RefactoringAction 1475068013135 TestRomanNumerals.java RENAME testConvertToInteger_I_1()/2=>void testConvertToInteger_II_1() METHOD +RefactoringAction 1475068015648 TestRomanNumerals.java ADD void testConvertToInteger_III_3()/2 METHOD +RefactoringAction 1475068017659 TestRomanNumerals.java RENAME testConvertToInteger_III_3()/2=>void testConvertToInteger_IV_3() METHOD +RefactoringAction 1475068021671 TestRomanNumerals.java ADD void testConvertToInteger_IV_3()/2 METHOD +RefactoringAction 1475068022682 TestRomanNumerals.java RENAME testConvertToInteger_IV_3()/2=>void testConvertToInteger_IV_4() METHOD +RefactoringAction 1475068023694 TestRomanNumerals.java RENAME testConvertToInteger_IV_4()=>void testConvertToInteger_V_4() METHOD +RefactoringAction 1475068026701 TestRomanNumerals.java RENAME testConvertToInteger_V_4()=>void testConvertToInteger_VI_5() METHOD +RefactoringAction 1475068028711 TestRomanNumerals.java RENAME testConvertToInteger_VI_5()=>void testConvertToInteger_V_5() METHOD +RefactoringAction 1475068030722 TestRomanNumerals.java ADD void testConvertToInteger_V_5()/2 METHOD +RefactoringAction 1475068032232 TestRomanNumerals.java RENAME testConvertToInteger_V_5()/2=>void testConvertToInteger_V_7() METHOD +RefactoringAction 1475068034252 TestRomanNumerals.java RENAME testConvertToInteger_V_7()=>void testConvertToInteger_V_6() METHOD +EditAction 1475068035456 TestRomanNumerals.java 1017 7 13 6 +RefactoringAction 1475068051317 TestRomanNumerals.java RENAME testConvertToInteger_IV_3()=>void testConvertToInteger_IV_4() METHOD +EditAction 1475068057872 TestRomanNumerals.java 1013 7 13 6 +EditAction 1475068063214 TestRomanNumerals.java 1017 7 13 6 +EditAction 1475068066457 TestRomanNumerals.java 1017 7 13 6 +UnitTestCaseAction 1475068073113 TennisGameTest.java OK +UnitTestSessionAction 1475068073115 TennisGameTest.java OK +UnitTestCaseAction 1475068085165 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475068085166 TestRomanNumerals.java FAIL +EditAction 1475068113972 TestRomanNumerals.java 1016 7 13 6 +UnitTestCaseAction 1475068115540 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475068115541 TestRomanNumerals.java FAIL +RefactoringAction 1475068131869 TestRomanNumerals.java ADD void testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475068135379 TestRomanNumerals.java REMOVE testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475068138391 TestRomanNumerals.java ADD void testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475068142402 TestRomanNumerals.java REMOVE testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475068150418 TestRomanNumerals.java REMOVE testConvertToInteger_V_5() METHOD +RefactoringAction 1475068152428 TestRomanNumerals.java ADD void testConvertToInteger_V_5() METHOD +RefactoringAction 1475068154438 TestRomanNumerals.java ADD void testConvertToInteger_V_5()/2 METHOD +RefactoringAction 1475068155949 TestRomanNumerals.java RENAME testConvertToInteger_V_5()/2=>void testConvertToInteger__5() METHOD +RefactoringAction 1475068156961 TestRomanNumerals.java RENAME testConvertToInteger__5()=>void testConvertToInteger_X_5() METHOD +RefactoringAction 1475068157971 TestRomanNumerals.java RENAME testConvertToInteger_X_5()=>void testConvertToInteger_X_10() METHOD +RefactoringAction 1475068166502 TestRomanNumerals.java ADD void testConvertToInteger_X_10()/2 METHOD +RefactoringAction 1475068169011 TestRomanNumerals.java RENAME testConvertToInteger_X_10()/2=>void testConvertToInteger_C_10() METHOD +RefactoringAction 1475068173029 TestRomanNumerals.java RENAME testConvertToInteger_C_10()=>void testConvertToInteger_C_100() METHOD +RefactoringAction 1475068180550 TestRomanNumerals.java ADD void testConvertToInteger_C_100()/2 METHOD +RefactoringAction 1475068182061 TestRomanNumerals.java RENAME testConvertToInteger_C_100()/2=>void testConvertToInteger_L_100() METHOD +RefactoringAction 1475068183568 TestRomanNumerals.java RENAME testConvertToInteger_L_100()=>void testConvertToInteger_L_50() METHOD +RefactoringAction 1475068192594 TestRomanNumerals.java ADD void testConvertToInteger_L_50()/2 METHOD +RefactoringAction 1475068196115 TestRomanNumerals.java REMOVE testConvertToInteger_L_50()/2 METHOD +RefactoringAction 1475068200135 TestRomanNumerals.java ADD void testConvertToInteger_L_50()/2 METHOD +RefactoringAction 1475068201647 TestRomanNumerals.java RENAME testConvertToInteger_L_50()/2=>void testConvertToInteger__50() METHOD +RefactoringAction 1475068202658 TestRomanNumerals.java RENAME testConvertToInteger__50()=>void testConvertToInteger_D_50() METHOD +RefactoringAction 1475068207678 TestRomanNumerals.java RENAME testConvertToInteger_D_50()=>void testConvertToInteger_D_500() METHOD +EditAction 1475068212851 TestRomanNumerals.java 1551 11 21 10 +RefactoringAction 1475068216713 TestRomanNumerals.java ADD void testConvertToInteger_D_500()/2 METHOD +RefactoringAction 1475068220760 TestRomanNumerals.java RENAME testConvertToInteger_D_500()/2=>void testConvertToInteger_M_500() METHOD +RefactoringAction 1475068223270 TestRomanNumerals.java RENAME testConvertToInteger_M_500()=>void testConvertToInteger_M_1000() METHOD +EditAction 1475068228397 TestRomanNumerals.java 1686 12 23 11 +EditAction 1475068277137 TestRomanNumerals.java 1684 12 23 11 +EditAction 1475068539654 RomanNumerals.java 211 1 0 0 +CompilationAction 1475068540960 RomanNumerals.java +CompilationAction 1475068540962 RomanNumerals.java +CompilationAction 1475068547767 RomanNumerals.java +CompilationAction 1475068547926 RomanNumerals.java +CompilationAction 1475068547927 RomanNumerals.java +CompilationAction 1475068561285 RomanNumerals.java +CompilationAction 1475068561457 RomanNumerals.java +CompilationAction 1475068561458 RomanNumerals.java +EditAction 1475068566895 RomanNumerals.java 286 1 0 0 +CompilationAction 1475068568312 RomanNumerals.java +CompilationAction 1475068568313 RomanNumerals.java +EditAction 1475068569695 RomanNumerals.java 287 1 0 0 +CompilationAction 1475068570866 RomanNumerals.java +CompilationAction 1475068570867 RomanNumerals.java +CompilationAction 1475068574965 RomanNumerals.java +UnitTestCaseAction 1475068583249 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475068583251 TestRomanNumerals.java FAIL +EditAction 1475068882724 RomanNumerals.java 366 1 3 0 +CompilationAction 1475068993758 RomanNumerals.java +CompilationAction 1475068993759 RomanNumerals.java +CompilationAction 1475069013898 RomanNumerals.java +CompilationAction 1475069013900 RomanNumerals.java +CompilationAction 1475069014030 RomanNumerals.java +CompilationAction 1475069014031 RomanNumerals.java +CompilationAction 1475069014032 RomanNumerals.java +RefactoringAction 1475069050867 RomanNumerals.java ADD int getElementaryValue() METHOD +RefactoringAction 1475069056891 RomanNumerals.java RENAME getElementaryValue()=>int getElementaryValue(char) METHOD +CompilationAction 1475069142291 RomanNumerals.java +CompilationAction 1475069142292 RomanNumerals.java +CompilationAction 1475069142293 RomanNumerals.java +CompilationAction 1475069142495 RomanNumerals.java +EditAction 1475069144127 RomanNumerals.java 678 2 2 0 +UnitTestCaseAction 1475069152138 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475069152140 TestRomanNumerals.java FAIL +RefactoringAction 1475069162168 RomanNumerals.java REMOVE getElementaryValue(char) METHOD +RefactoringAction 1475069169688 RomanNumerals.java ADD int getElementaryValue(char) METHOD +EditAction 1475069190486 RomanNumerals.java 603 2 5 0 +EditAction 1475069200478 RomanNumerals.java 601 2 5 0 +RefactoringAction 1475069281391 RomanNumerals.java ADD boolean isSubtractableValue FIELD +RefactoringAction 1475069286402 RomanNumerals.java RENAME isSubtractableValue=>boolean isSubtractableElementaryValue() METHOD +RefactoringAction 1475069291411 RomanNumerals.java RENAME isSubtractableElementaryValue()=>boolean isSubtractableElementaryValue(char) METHOD +EditAction 1475069325885 RomanNumerals.java 815 3 7 0 +CompilationAction 1475069327065 RomanNumerals.java +RefactoringAction 1475069345024 RomanNumerals.java RENAME isSubtractableElementaryValue(char)=>boolean isSubtraElementaryValue(char) METHOD +RefactoringAction 1475069351037 RomanNumerals.java RENAME isSubtraElementaryValue(char)=>boolean canBeSubtrahendElementaryValue(char) METHOD +CompilationAction 1475069504699 RomanNumerals.java +EditAction 1475069512759 RomanNumerals.java 970 3 7 0 +UnitTestCaseAction 1475069524340 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475069524341 TestRomanNumerals.java FAIL +EditAction 1475069573638 RomanNumerals.java 980 3 7 0 +UnitTestCaseAction 1475069575810 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475069575811 TestRomanNumerals.java FAIL +EditAction 1475069607933 RomanNumerals.java 980 3 7 0 +UnitTestCaseAction 1475069609882 TestRomanNumerals.java OK +UnitTestSessionAction 1475069609883 TestRomanNumerals.java OK +EditAction 1475069618328 RomanNumerals.java 978 3 7 0 +RefactoringAction 1475069627431 TestRomanNumerals.java ADD void testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475069638952 TestRomanNumerals.java RENAME testConvertToInteger_VI_6()/2=>void testConvertToInteger_VI_() METHOD +RefactoringAction 1475069639964 TestRomanNumerals.java RENAME testConvertToInteger_VI_()=>void testConvertToInteger_VI_6()/2 METHOD +RefactoringAction 1475069650477 TestRomanNumerals.java RENAME testConvertToInteger_VI_6()/2=>void testConvertToInteger_VI_7() METHOD +RefactoringAction 1475069655489 TestRomanNumerals.java RENAME testConvertToInteger_VI_7()=>void testConvertToInteger_VII_7() METHOD +EditAction 1475069657439 TestRomanNumerals.java 1684 12 23 11 +EditAction 1475069662868 TestRomanNumerals.java 1685 12 23 11 +UnitTestCaseAction 1475069666041 TestRomanNumerals.java OK +UnitTestSessionAction 1475069666042 TestRomanNumerals.java OK +RefactoringAction 1475069672522 TestRomanNumerals.java ADD void testConvertToInteger_VII_7()/2 METHOD +RefactoringAction 1475069677044 TestRomanNumerals.java RENAME testConvertToInteger_VII_7()/2=>void testConvertToInteger_VII_8() METHOD +EditAction 1475069682749 TestRomanNumerals.java 1821 13 25 12 +UnitTestCaseAction 1475069684788 TestRomanNumerals.java OK +UnitTestSessionAction 1475069684789 TestRomanNumerals.java OK +RefactoringAction 1475069691072 TestRomanNumerals.java ADD void testConvertToInteger_VII_8()/2 METHOD +RefactoringAction 1475069698080 TestRomanNumerals.java RENAME testConvertToInteger_VII_8()/2=>void testConvertToInteger_VII_9() METHOD +EditAction 1475069709511 TestRomanNumerals.java 1953 14 27 13 +UnitTestCaseAction 1475069711640 TestRomanNumerals.java OK +UnitTestSessionAction 1475069711641 TestRomanNumerals.java OK +RefactoringAction 1475069715621 TestRomanNumerals.java ADD void testConvertToInteger_VII_9()/2 METHOD +RefactoringAction 1475069719134 TestRomanNumerals.java RENAME testConvertToInteger_VII_9()/2=>void testConvertToInteger_X_9() METHOD +RefactoringAction 1475069720146 TestRomanNumerals.java RENAME testConvertToInteger_X_9()=>void testConvertToInteger_X_10()/2 METHOD +EditAction 1475069728378 TestRomanNumerals.java 2086 15 29 14 +CompilationAction 1475069729474 TestRomanNumerals.java +RefactoringAction 1475069738198 TestRomanNumerals.java RENAME testConvertToInteger_X_10()/2=>void testConvertToInteger_XX_10() METHOD +RefactoringAction 1475069739210 TestRomanNumerals.java RENAME testConvertToInteger_XX_10()=>void testConvertToInteger_XX_20() METHOD +CompilationAction 1475069743080 TestRomanNumerals.java +UnitTestCaseAction 1475069743695 TestRomanNumerals.java OK +UnitTestSessionAction 1475069743696 TestRomanNumerals.java OK +RefactoringAction 1475069747234 TestRomanNumerals.java ADD void testConvertToInteger_XX_20()/2 METHOD +RefactoringAction 1475069749747 TestRomanNumerals.java RENAME testConvertToInteger_XX_20()/2=>void testConvertToInteger_XXX_20() METHOD +RefactoringAction 1475069751259 TestRomanNumerals.java RENAME testConvertToInteger_XXX_20()=>void testConvertToInteger_XXX_30() METHOD +EditAction 1475069755576 TestRomanNumerals.java 2225 16 31 15 +UnitTestCaseAction 1475069757331 TestRomanNumerals.java OK +UnitTestSessionAction 1475069757332 TestRomanNumerals.java OK +RefactoringAction 1475069760786 TestRomanNumerals.java ADD void testConvertToInteger_XXX_30()/2 METHOD +RefactoringAction 1475069764803 TestRomanNumerals.java RENAME testConvertToInteger_XXX_30()/2=>void testConvertToInteger_XL_30() METHOD +RefactoringAction 1475069767315 TestRomanNumerals.java RENAME testConvertToInteger_XL_30()=>void testConvertToInteger_XL_40() METHOD +EditAction 1475069775187 TestRomanNumerals.java 2359 17 33 16 +UnitTestCaseAction 1475069777138 TestRomanNumerals.java OK +UnitTestSessionAction 1475069777139 TestRomanNumerals.java OK +RefactoringAction 1475069781351 TestRomanNumerals.java ADD void testConvertToInteger_XL_40()/2 METHOD +RefactoringAction 1475069784361 TestRomanNumerals.java RENAME testConvertToInteger_XL_40()/2=>void testConvertToInteger_XL_50() METHOD +RefactoringAction 1475069785873 TestRomanNumerals.java RENAME testConvertToInteger_XL_50()=>void testConvertToInteger_XL_60() METHOD +EditAction 1475069794208 TestRomanNumerals.java 2493 18 35 17 +UnitTestCaseAction 1475069796350 TestRomanNumerals.java OK +UnitTestSessionAction 1475069796351 TestRomanNumerals.java OK +RefactoringAction 1475069799397 TestRomanNumerals.java ADD void testConvertToInteger_XL_60()/2 METHOD +RefactoringAction 1475069808925 TestRomanNumerals.java RENAME testConvertToInteger_XL_60()/2=>void testConvertToInteger_LL_60() METHOD +RefactoringAction 1475069810937 TestRomanNumerals.java RENAME testConvertToInteger_LL_60()=>void testConvertToInteger_LX_60() METHOD +RefactoringAction 1475069814950 TestRomanNumerals.java RENAME testConvertToInteger_XL_60()=>void testConvertToInteger_LXX_60() METHOD +RefactoringAction 1475069817463 TestRomanNumerals.java RENAME testConvertToInteger_LXX_60()=>void testConvertToInteger_LXX_70() METHOD +RefactoringAction 1475069823489 TestRomanNumerals.java ADD void testConvertToInteger_LXX_70()/2 METHOD +RefactoringAction 1475069825502 TestRomanNumerals.java RENAME testConvertToInteger_LXX_70()/2=>void testConvertToInteger_LXXX_70() METHOD +RefactoringAction 1475069836042 TestRomanNumerals.java RENAME testConvertToInteger_LXXX_70()=>void testConvertToInteger_LXXX_80() METHOD +RefactoringAction 1475069837556 TestRomanNumerals.java ADD void testConvertToInteger_LXXX_80()/2 METHOD +RefactoringAction 1475069841067 TestRomanNumerals.java RENAME testConvertToInteger_LXXX_80()/2=>void testConvertToInteger_LXXX_90() METHOD +EditAction 1475069847522 TestRomanNumerals.java 2904 21 41 20 +RefactoringAction 1475069855099 TestRomanNumerals.java RENAME testConvertToInteger_LXXX_90()=>void testConvertToInteger_XC_90() METHOD +EditAction 1475069855273 TestRomanNumerals.java 2902 21 41 20 +UnitTestCaseAction 1475069857191 TestRomanNumerals.java OK +UnitTestSessionAction 1475069857192 TestRomanNumerals.testConvertToInteger_XC_90 OK +UnitTestCaseAction 1475069861963 TestRomanNumerals.java OK +UnitTestSessionAction 1475069861965 TestRomanNumerals.java OK +RefactoringAction 1475069875611 TestRomanNumerals.java ADD void testConvertToInteger_XC_90()/2 METHOD +RefactoringAction 1475069880122 TestRomanNumerals.java RENAME testConvertToInteger_XC_90()/2=>void testConvertToInteger_CC_90() METHOD +RefactoringAction 1475069881628 TestRomanNumerals.java RENAME testConvertToInteger_CC_90()=>void testConvertToInteger_CC_200() METHOD +RefactoringAction 1475069888662 TestRomanNumerals.java ADD void testConvertToInteger_CC_200()/2 METHOD +RefactoringAction 1475069893685 TestRomanNumerals.java RENAME testConvertToInteger_CC_200()/2=>void testConvertToInteger_() METHOD +RefactoringAction 1475069895199 TestRomanNumerals.java RENAME testConvertToInteger_()=>void testConvertToInteger_300() METHOD +RefactoringAction 1475069896210 TestRomanNumerals.java RENAME testConvertToInteger_300()=>void testConvertToInteger_300_() METHOD +RefactoringAction 1475069897721 TestRomanNumerals.java RENAME testConvertToInteger_300_()=>void testConvertToInteger_300_CCC() METHOD +RefactoringAction 1475069904233 TestRomanNumerals.java RENAME testConvertToInteger_300_CCC()=>void testConvertToInteger_300() METHOD +RefactoringAction 1475069908246 TestRomanNumerals.java RENAME testConvertToInteger_300()=>void testConvertToInteger_CCC_300() METHOD +RefactoringAction 1475069914778 TestRomanNumerals.java ADD void testConvertToInteger_CCC_300()/2 METHOD +RefactoringAction 1475069916789 TestRomanNumerals.java RENAME testConvertToInteger_CCC_300()/2=>void testConvertToInteger_CCC_400() METHOD +EditAction 1475069924407 TestRomanNumerals.java 3315 24 47 23 +UnitTestCaseAction 1475069927375 TestRomanNumerals.java OK +UnitTestSessionAction 1475069927376 TestRomanNumerals.java OK +RefactoringAction 1475069935318 TestRomanNumerals.java ADD void testConvertToInteger_CCC_400()/2 METHOD +RefactoringAction 1475069939830 TestRomanNumerals.java RENAME testConvertToInteger_CCC_400()/2=>void testConvertToInteger_DC_400() METHOD +RefactoringAction 1475069941345 TestRomanNumerals.java RENAME testConvertToInteger_DC_400()=>void testConvertToInteger_DC_600() METHOD +EditAction 1475069948391 TestRomanNumerals.java 3452 25 49 24 +UnitTestCaseAction 1475069950337 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475069950338 TestRomanNumerals.java FAIL +EditAction 1475069953172 TestRomanNumerals.java 3452 25 49 24 +UnitTestCaseAction 1475069956456 TestRomanNumerals.java OK +UnitTestSessionAction 1475069956457 TestRomanNumerals.java OK +RefactoringAction 1475069959879 TestRomanNumerals.java ADD void testConvertToInteger_DC_600()/2 METHOD +RefactoringAction 1475069964414 TestRomanNumerals.java RENAME testConvertToInteger_DC_600()/2=>void testConvertToInteger_DC_700() METHOD +RefactoringAction 1475069968937 TestRomanNumerals.java ADD void testConvertToInteger_DC_700()/2 METHOD +RefactoringAction 1475069975469 TestRomanNumerals.java RENAME testConvertToInteger_DC_700()/2=>void testConvertToInteger_DCCC_700() METHOD +RefactoringAction 1475069976984 TestRomanNumerals.java RENAME testConvertToInteger_DC_700()=>void testConvertToInteger_DCC_700() METHOD +RefactoringAction 1475069981498 TestRomanNumerals.java RENAME testConvertToInteger_DCCC_700()=>void testConvertToInteger_DCCC_800() METHOD +RefactoringAction 1475069987013 TestRomanNumerals.java ADD void testConvertToInteger_DCCC_800()/2 METHOD +RefactoringAction 1475069993046 TestRomanNumerals.java RENAME testConvertToInteger_DCCC_800()/2=>void testConvertToInteger_DCCC_900() METHOD +EditAction 1475069996641 TestRomanNumerals.java 3869 28 55 27 +RefactoringAction 1475070002071 TestRomanNumerals.java RENAME testConvertToInteger_DCCC_900()=>void testConvertToInteger_CM_900() METHOD +EditAction 1475070002096 TestRomanNumerals.java 3867 28 55 27 +UnitTestCaseAction 1475070004012 TestRomanNumerals.java OK +UnitTestSessionAction 1475070004013 TestRomanNumerals.testConvertToInteger_CM_900 OK +UnitTestCaseAction 1475070008679 TestRomanNumerals.java OK +UnitTestSessionAction 1475070008681 TestRomanNumerals.java OK +RefactoringAction 1475070017090 TestRomanNumerals.java ADD void testConvertToInteger_CM_900()/2 METHOD +RefactoringAction 1475070024116 TestRomanNumerals.java RENAME testConvertToInteger_CM_900()/2=>void testConvertToInteger_MCMLXXX_900() METHOD +RefactoringAction 1475070026129 TestRomanNumerals.java RENAME testConvertToInteger_MCMLXXX_900()=>void testConvertToInteger_MCMLXXXIV_900() METHOD +RefactoringAction 1475070027643 TestRomanNumerals.java RENAME testConvertToInteger_MCMLXXXIV_900()=>void testConvertToInteger_MCMLXXXIV_() METHOD +RefactoringAction 1475070029657 TestRomanNumerals.java RENAME testConvertToInteger_MCMLXXXIV_()=>void testConvertToInteger_MCMLXXXIV_19() METHOD +RefactoringAction 1475070031170 TestRomanNumerals.java RENAME testConvertToInteger_MCMLXXXIV_19()=>void testConvertToInteger_MCMLXXXIV_1984() METHOD +EditAction 1475070039578 TestRomanNumerals.java 4019 29 57 28 +UnitTestCaseAction 1475070044727 TestRomanNumerals.java OK +UnitTestSessionAction 1475070044728 TestRomanNumerals.java OK +RefactoringAction 1475070053703 TestRomanNumerals.java REMOVE testConvertToInteger_MCMLXXXIV_1984() METHOD +RefactoringAction 1475070055217 TestRomanNumerals.java ADD void testConvertToInteger_MCMLXXXIV_1984() METHOD +RefactoringAction 1475070057230 TestRomanNumerals.java ADD void testConvertToInteger_MCMLXXXIV_1984()/2 METHOD +RefactoringAction 1475070063267 TestRomanNumerals.java RENAME testConvertToInteger_MCMLXXXIV_1984()/2=>void testConvertToInteger__1984() METHOD +RefactoringAction 1475070065776 TestRomanNumerals.java RENAME testConvertToInteger__1984()=>void testConvertToInteger_MMXIV_1984() METHOD +RefactoringAction 1475070068287 TestRomanNumerals.java RENAME testConvertToInteger_MMXIV_1984()=>void testConvertToInteger_MMXIV_2014() METHOD +EditAction 1475070076797 TestRomanNumerals.java 4166 30 59 29 +UnitTestCaseAction 1475070079644 TestRomanNumerals.java OK +UnitTestSessionAction 1475070079645 TestRomanNumerals.java OK +EditAction 1475070086210 TestRomanNumerals.java 4164 30 59 29 +RefactoringAction 1475070148331 TestRomanNumerals.java ADD void testConvertToInteger_VII_7()/2 METHOD +RefactoringAction 1475070151857 TestRomanNumerals.java RENAME testConvertToInteger_VII_7()/2=>void testConvertToInteger_VI_7() METHOD +RefactoringAction 1475070153883 TestRomanNumerals.java RENAME testConvertToInteger_VI_7()=>void testConvertToInteger_VI_6() METHOD +EditAction 1475070158184 TestRomanNumerals.java 4297 31 61 30 +UnitTestCaseAction 1475070161215 TestRomanNumerals.java OK +UnitTestSessionAction 1475070161216 TestRomanNumerals.java OK +UnitTestCaseAction 1475070173353 TestRomanNumerals.java OK +UnitTestSessionAction 1475070173354 TestRomanNumerals.java OK +EditAction 1475070313257 TestRomanNumerals.java 4298 31 61 30 +EditAction 1475070315835 RomanNumerals.java 981 3 7 0 +UnitTestCaseAction 1475070318801 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475070318802 TestRomanNumerals.java FAIL +EditAction 1475070320462 TestRomanNumerals.java 4297 31 61 30 +UnitTestCaseAction 1475070322314 TestRomanNumerals.java OK +UnitTestSessionAction 1475070322315 TestRomanNumerals.java OK +EditAction 1475070338530 TestRomanNumerals.java 4296 31 61 30 +RefactoringAction 1475070342462 TestRomanNumerals.java RENAME testConvertToInteger_VII_8()=>void testConvertToInteger_VIII_8() METHOD +RefactoringAction 1475070348476 TestRomanNumerals.java RENAME testConvertToInteger_VII_9()=>void testConvertToInteger_IX_9() METHOD +RefactoringAction 1475070361443 RomanNumerals.java RENAME convertToInteger(String)=>int CD(String) METHOD +RefactoringAction 1475070363493 TestRomanNumerals.java RENAME testConvertToInteger_CCC_400()=>void testConvertToInteger_CD_400() METHOD +EditAction 1475070365875 TestRomanNumerals.java 4296 31 61 30 +EditAction 1475070378861 RomanNumerals.java 967 3 7 0 +CompilationAction 1475070380071 TestRomanNumerals.java +RefactoringAction 1475070386025 TestRomanNumerals.java ADD void testConvertToInteger_II_9() METHOD +RefactoringAction 1475070386027 TestRomanNumerals.java ADD void testConvertToInteger_CCC_400() METHOD +RefactoringAction 1475070388041 TestRomanNumerals.java ADD void testConvertToInteger_VII_8() METHOD +RefactoringAction 1475070388043 TestRomanNumerals.java ADD void testConvertToInteger_VII_9() METHOD +RefactoringAction 1475070395572 TestRomanNumerals.java ADD void testConvertToInteger_VIII_8() METHOD +RefactoringAction 1475070395576 TestRomanNumerals.java ADD void testConvertToInteger_IX_9() METHOD +RefactoringAction 1475070395578 TestRomanNumerals.java ADD void testConvertToInteger_CD_400() METHOD +RefactoringAction 1475070407462 RomanNumerals.java RENAME CD(String)=>int convertToInteger(String) METHOD +EditAction 1475070408271 RomanNumerals.java 981 3 7 0 +UnitTestCaseAction 1475070440330 TestRomanNumerals.java OK +UnitTestSessionAction 1475070440331 TestRomanNumerals.java OK +EditAction 1475070481316 RomanNumerals.java 1032 3 7 0 +UnitTestCaseAction 1475070501664 TestRomanNumerals.java OK +UnitTestSessionAction 1475070501665 TestRomanNumerals.java OK diff --git a/.besouro/20160928160354283/besouroEpisodes.txt b/.besouro/20160928160354283/besouroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928160354283/disagreements.txt b/.besouro/20160928160354283/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928160354283/randomHeuristicEpisodes.txt b/.besouro/20160928160354283/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928160354283/userComments.txt b/.besouro/20160928160354283/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928160354283/zorroEpisodes.txt b/.besouro/20160928160354283/zorroEpisodes.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928170751466/actions.txt b/.besouro/20160928170751466/actions.txt new file mode 100644 index 0000000..83455c1 --- /dev/null +++ b/.besouro/20160928170751466/actions.txt @@ -0,0 +1,271 @@ +FileOpenedAction 1475071671581 TestRomanNumerals.java 4296 31 61 30 +FileOpenedAction 1475071674770 RomanNumerals.java 1032 3 7 0 +EditAction 1475071738122 RomanNumerals.java 1085 3 7 0 +RefactoringAction 1475071767188 TestRomanNumerals.java ADD void test FIELD +RefactoringAction 1475071770750 TestRomanNumerals.java REMOVE test FIELD +RefactoringAction 1475071793541 TestRomanNumerals.java ADD void testConvertInteger_InvalidFormat() METHOD +EditAction 1475071872518 TestRomanNumerals.java 4432 32 62 30 +EditAction 1475071879051 RomanNumerals.java 1025 3 6 0 +CompilationAction 1475071879269 RomanNumerals.java +CompilationAction 1475071879269 RomanNumerals.java +CompilationAction 1475071888532 RomanNumerals.java +CompilationAction 1475071888532 RomanNumerals.java +UnitTestCaseAction 1475071890477 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475071890478 TestRomanNumerals.java FAIL +EditAction 1475071924743 RomanNumerals.java 1086 3 7 0 +UnitTestCaseAction 1475071927154 TestRomanNumerals.java OK +UnitTestSessionAction 1475071927155 TestRomanNumerals.java OK +RefactoringAction 1475071937918 TestRomanNumerals.java ADD void testConvertInteger_InvalidFormat()/2 METHOD +RefactoringAction 1475071951492 TestRomanNumerals.java RENAME testConvertInteger_InvalidFormat()/2=>void testConvertInteger_NumberFormatException() METHOD +RefactoringAction 1475071953516 TestRomanNumerals.java RENAME testConvertInteger_NumberFormatException()=>void testConvertInteger_ThrowNumberFormatException() METHOD +RefactoringAction 1475071954548 TestRomanNumerals.java RENAME testConvertInteger_ThrowNumberFormatException()=>void testConvertInteger_Throw_NumberFormatException() METHOD +RefactoringAction 1475071957593 TestRomanNumerals.java RENAME testConvertInteger_InvalidFormat()=>void testConvertInteger_Throw_InvalidFormat() METHOD +RefactoringAction 1475071958613 TestRomanNumerals.java RENAME testConvertInteger_Throw_InvalidFormat()=>void testConvertInteger_Throw_NumberFormatExceptionFormat() METHOD +RefactoringAction 1475071959635 TestRomanNumerals.java RENAME testConvertInteger_Throw_NumberFormatExceptionFormat()=>void testConvertInteger_Throw_Format() METHOD +RefactoringAction 1475071961667 TestRomanNumerals.java RENAME testConvertInteger_Throw_Format()=>void testConvertInteger_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475071965690 TestRomanNumerals.java RENAME testConvertInteger_Throw_NumberFormatException()/2=>void testConvertInteger__Throw_NumberFormatException() METHOD +RefactoringAction 1475071969221 TestRomanNumerals.java RENAME testConvertInteger__Throw_NumberFormatException()=>void testConvertInteger_ThreeX_Throw_NumberFormatException() METHOD +EditAction 1475072207581 TestRomanNumerals.java 4603 33 63 30 +RefactoringAction 1475072226317 TestRomanNumerals.java RENAME testConvertInteger_ThreeX_Throw_NumberFormatException()=>void testConvertInteger_FourX_Throw_NumberFormatException() METHOD +EditAction 1475072229199 TestRomanNumerals.java 4603 33 63 30 +UnitTestCaseAction 1475072230359 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072230359 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475072415909 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072415928 TestRomanNumerals.java FAIL +EditAction 1475072437286 RomanNumerals.java 1392 3 8 0 +UnitTestCaseAction 1475072440475 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072440476 TestRomanNumerals.java FAIL +EditAction 1475072453034 RomanNumerals.java 1392 3 8 0 +UnitTestCaseAction 1475072455283 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072455283 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475072598057 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072598057 TestRomanNumerals.java FAIL +RefactoringAction 1475072609466 TestRomanNumerals.java RENAME testConvertInteger_FourX_Throw_NumberFormatException()=>void testConvertInteger_Four_X_Throw_NumberFormatException() METHOD +RefactoringAction 1475072616483 TestRomanNumerals.java RENAME testConvertInteger_Four_X_Throw_NumberFormatException()=>void testConvertIntegerFour_X_Throw_NumberFormatException() METHOD +RefactoringAction 1475072618501 TestRomanNumerals.java RENAME testConvertIntegerFour_X_Throw_NumberFormatException()=>void testConvertIntegerFourXs_Throw_NumberFormatException() METHOD +RefactoringAction 1475072622024 TestRomanNumerals.java RENAME testConvertIntegerFourXs_Throw_NumberFormatException()=>void testConvertIntegerFourX_Throw_NumberFormatException() METHOD +EditAction 1475072623417 TestRomanNumerals.java 4602 33 63 30 +EditAction 1475072642561 RomanNumerals.java 1392 3 8 0 +UnitTestCaseAction 1475072644071 TestRomanNumerals.java OK +UnitTestSessionAction 1475072644071 TestRomanNumerals.testConvertIntegerFourX_Throw_NumberFormatException OK +EditAction 1475072648612 TestRomanNumerals.java 4601 33 63 30 +UnitTestCaseAction 1475072650054 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072650054 TestRomanNumerals.java FAIL +EditAction 1475072653197 TestRomanNumerals.java 4602 33 63 30 +UnitTestCaseAction 1475072658012 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072658013 TestRomanNumerals.java FAIL +EditAction 1475072681527 RomanNumerals.java 1392 3 8 0 +EditAction 1475072853690 RomanNumerals.java 1392 3 8 0 +UnitTestCaseAction 1475072858026 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072858026 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475072887503 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475072887503 TestRomanNumerals.java FAIL +EditAction 1475072995227 RomanNumerals.java 1392 3 8 0 +EditAction 1475073004129 TestRomanNumerals.java 4602 33 63 30 +UnitTestCaseAction 1475073004645 TestRomanNumerals.java OK +UnitTestSessionAction 1475073004645 TestRomanNumerals.java OK +RefactoringAction 1475073030732 TestRomanNumerals.java ADD void testConvertIntegerFourX_Throw_NumberFormatException()/2 METHOD +EditAction 1475073034426 TestRomanNumerals.java 4757 34 64 30 +CompilationAction 1475073034674 TestRomanNumerals.java +RefactoringAction 1475073053790 TestRomanNumerals.java ADD void testConvertIntegerFourX_Throw_NumberFormatException()/3 METHOD +RefactoringAction 1475073056307 TestRomanNumerals.java RENAME testConvertIntegerFourX_Throw_NumberFormatException()/3=>void testConvertIntegerThreeeX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073057327 TestRomanNumerals.java RENAME testConvertIntegerThreeeX_Throw_NumberFormatException()=>void testConvertIntegerThreeX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073058344 TestRomanNumerals.java RENAME testConvertIntegerThreeX_Throw_NumberFormatException()=>void testConvertIntegerThreeX_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073060865 TestRomanNumerals.java REMOVE testConvertIntegerFourX_Throw_NumberFormatException()/2 METHOD +UnitTestCaseAction 1475073063417 TestRomanNumerals.java OK +UnitTestSessionAction 1475073063417 TestRomanNumerals.java OK +RefactoringAction 1475073067391 TestRomanNumerals.java ADD void testConvertIntegerFourX_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073075439 TestRomanNumerals.java RENAME testConvertIntegerFourX_Throw_NumberFormatException()/2=>void testConvertIntegerFourI_Throw_NumberFormatException() METHOD +EditAction 1475073078683 TestRomanNumerals.java 4919 35 65 30 +UnitTestCaseAction 1475073079755 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073079755 TestRomanNumerals.java FAIL +CompilationAction 1475073108080 RomanNumerals.java +EditAction 1475073111180 RomanNumerals.java 1429 3 8 0 +UnitTestCaseAction 1475073113989 TestRomanNumerals.java OK +UnitTestSessionAction 1475073113989 TestRomanNumerals.java OK +RefactoringAction 1475073116992 TestRomanNumerals.java ADD void testConvertIntegerFourI_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073119013 TestRomanNumerals.java RENAME testConvertIntegerFourI_Throw_NumberFormatException()/2=>void testConvertIntegerFourI_NoThrow_NumberFormatException() METHOD +EditAction 1475073119713 TestRomanNumerals.java 5075 36 66 30 +UnitTestCaseAction 1475073121172 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073121173 TestRomanNumerals.java FAIL +RefactoringAction 1475073152042 TestRomanNumerals.java REMOVE testConvertIntegerFourI_NoThrow_NumberFormatException() METHOD +EditAction 1475073157611 TestRomanNumerals.java 4880 35 65 30 +UnitTestCaseAction 1475073161928 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073161928 TestRomanNumerals.java FAIL +EditAction 1475073167073 TestRomanNumerals.java 4879 35 65 30 +UnitTestCaseAction 1475073167651 TestRomanNumerals.java OK +UnitTestSessionAction 1475073167651 TestRomanNumerals.java OK +RefactoringAction 1475073171591 TestRomanNumerals.java ADD void testConvertIntegerFourI_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073176132 TestRomanNumerals.java RENAME testConvertIntegerFourI_Throw_NumberFormatException()/2=>void testConvertIntegerFourI_NoThrow_NumberFormatException() METHOD +EditAction 1475073180404 TestRomanNumerals.java 4999 36 66 30 +UnitTestCaseAction 1475073180751 TestRomanNumerals.java OK +UnitTestSessionAction 1475073180751 TestRomanNumerals.java OK +RefactoringAction 1475073217675 TestRomanNumerals.java ADD void testConvertIntegerFourI_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073217678 TestRomanNumerals.java ADD void testConvertIntegerFourI_NoThrow_NumberFormatException()/2 METHOD +RefactoringAction 1475073229708 TestRomanNumerals.java RENAME testConvertIntegerFourI_NoThrow_NumberFormatException()/2=>void testConvertIntegerThreeI_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073250733 TestRomanNumerals.java RENAME testConvertIntegerFourX_Throw_NumberFormatException()=>void testConvertInteger_XXX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073253255 TestRomanNumerals.java RENAME testConvertInteger_XXX_Throw_NumberFormatException()=>void testConvertIntegerContains_XXX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073254271 TestRomanNumerals.java RENAME testConvertIntegerContains_XXX_Throw_NumberFormatException()=>void testConvertIntegerContains_CXXX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073259788 TestRomanNumerals.java RENAME testConvertIntegerThreeX_NoThrow_NumberFormatException()=>void testConvertIntegerContains_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073261804 TestRomanNumerals.java RENAME testConvertIntegerContains_CXXX_Throw_NumberFormatException()=>void testConvertIntegerContains_XXX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073263819 TestRomanNumerals.java RENAME testConvertIntegerContains_NoThrow_NumberFormatException()=>void testConvertIntegerContains_XXX_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073265345 TestRomanNumerals.java RENAME testConvertIntegerContains_XXX_Throw_NumberFormatException()=>void testConvertIntegerContains_XXXX_Throw_NumberFormatException() METHOD +RefactoringAction 1475073271363 TestRomanNumerals.java RENAME testConvertIntegerThreeI_NoThrow_NumberFormatException()=>void testConvertIntegerContains_III_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073278380 TestRomanNumerals.java RENAME testConvertIntegerFourI_Throw_NumberFormatException()/2=>void testConvertIntegerContains_IIII_Throw_NumberFormatException() METHOD +RefactoringAction 1475073285399 TestRomanNumerals.java RENAME testConvertIntegerFourI_NoThrow_NumberFormatException()=>void testConvertIntegerContains_CC_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073286413 TestRomanNumerals.java RENAME testConvertIntegerContains_CC_NoThrow_NumberFormatException()=>void testConvertIntegerContains_CCC_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073291430 TestRomanNumerals.java RENAME testConvertIntegerFourI_Throw_NumberFormatException()=>void testConvertIntege_Throw_NumberFormatException() METHOD +RefactoringAction 1475073294937 TestRomanNumerals.java RENAME testConvertIntege_Throw_NumberFormatException()=>void testConvertIntegerContains_CCCC_Throw_NumberFormatException() METHOD +EditAction 1475073301368 TestRomanNumerals.java 5320 38 68 30 +UnitTestCaseAction 1475073302298 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073302298 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475073312295 TestRomanNumerals.java OK +UnitTestSessionAction 1475073312296 TestRomanNumerals.testConvertIntegerContains_CCCC_Throw_NumberFormatException OK +RefactoringAction 1475073317968 TestRomanNumerals.java ADD void testConvertIntegerContains_CCCC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073317968 TestRomanNumerals.java ADD void testConvertIntegerContains_CCC_NoThrow_NumberFormatException()/2 METHOD +RefactoringAction 1475073326515 TestRomanNumerals.java RENAME testConvertIntegerContains_CCCC_Throw_NumberFormatException()/2=>void testConvertIntegerContains_CC_Throw_NumberFormatException() METHOD +RefactoringAction 1475073328030 TestRomanNumerals.java RENAME testConvertIntegerContains_CC_Throw_NumberFormatException()=>void testConvertIntegerContains_MMMM_Throw_NumberFormatException() METHOD +RefactoringAction 1475073330054 TestRomanNumerals.java RENAME testConvertIntegerContains_CCC_NoThrow_NumberFormatException()/2=>void testConvertIntegerContains_CC_NoThrow_NumberFormatException() METHOD +RefactoringAction 1475073331574 TestRomanNumerals.java RENAME testConvertIntegerContains_CC_NoThrow_NumberFormatException()=>void testConvertIntegerContains_MMM_NoThrow_NumberFormatException() METHOD +EditAction 1475073332663 TestRomanNumerals.java 5611 40 70 30 +UnitTestCaseAction 1475073334427 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073334427 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475073343578 TestRomanNumerals.java OK +UnitTestSessionAction 1475073343578 TestRomanNumerals.java OK +RefactoringAction 1475073360693 RomanNumerals.java ADD boolean isNotRepeatable FIELD +RefactoringAction 1475073386711 RomanNumerals.java RENAME isNotRepeatable=>boolean isRepeatable FIELD +RefactoringAction 1475073390725 RomanNumerals.java RENAME isRepeatable=>boolean is FIELD +RefactoringAction 1475073393738 RomanNumerals.java RENAME is=>boolean i FIELD +RefactoringAction 1475073394749 RomanNumerals.java RENAME i=>boolean is FIELD +RefactoringAction 1475073397760 RomanNumerals.java RENAME is=>boolean isThreeTimes FIELD +RefactoringAction 1475073402272 RomanNumerals.java RENAME isThreeTimes=>boolean isThreeTimesRepeatable(char) METHOD +UnitTestCaseAction 1475073440259 TestRomanNumerals.java OK +UnitTestSessionAction 1475073440259 TestRomanNumerals.java OK +RefactoringAction 1475073444138 TestRomanNumerals.java ADD void testConvertIntegerContains_MMMM_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073451658 TestRomanNumerals.java RENAME testConvertIntegerContains_MMMM_Throw_NumberFormatException()/2=>void testConvertIntegerContains_LL_Throw_NumberFormatException() METHOD +EditAction 1475073457867 TestRomanNumerals.java 5772 41 71 30 +UnitTestCaseAction 1475073465149 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073465149 TestRomanNumerals.java FAIL +RefactoringAction 1475073490415 RomanNumerals.java ADD boolean isThreeTimesRepeatable(char)/2 METHOD +RefactoringAction 1475073498456 RomanNumerals.java RENAME isThreeTimesRepeatable(char)/2=>boolean isZeroTimesRepeatable(char) METHOD +RefactoringAction 1475073508993 RomanNumerals.java RENAME isZeroTimesRepeatable(char)=>boolean isTimesRepeatable(char) METHOD +EditAction 1475073510892 RomanNumerals.java 1874 5 12 0 +RefactoringAction 1475073523524 RomanNumerals.java RENAME isZeroTimesRepeatable(char)=>boolean isOneTimesRepeatable(char) METHOD +RefactoringAction 1475073525535 RomanNumerals.java RENAME isOneTimesRepeatable(char)=>boolean isOnlyuOneTimesRepeatable(char) METHOD +RefactoringAction 1475073528047 RomanNumerals.java RENAME isOnlyuOneTimesRepeatable(char)=>boolean isOneTimesRepeatable(char) METHOD +RefactoringAction 1475073532061 RomanNumerals.java RENAME isOneTimesRepeatable(char)=>boolean isOneTimeRepeatable(char) METHOD +EditAction 1475073575462 RomanNumerals.java 1871 5 12 0 +UnitTestCaseAction 1475073583808 TestRomanNumerals.java OK +UnitTestSessionAction 1475073583809 TestRomanNumerals.java OK +RefactoringAction 1475073586729 TestRomanNumerals.java ADD void testConvertIntegerContains_LL_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073601094 TestRomanNumerals.java RENAME testConvertIntegerContains_LL_Throw_NumberFormatException()/2=>void testConvertIntegerContains_VV_Throw_NumberFormatException() METHOD +EditAction 1475073601281 TestRomanNumerals.java 5933 42 72 30 +UnitTestCaseAction 1475073602044 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073602044 TestRomanNumerals.java FAIL +EditAction 1475073609742 RomanNumerals.java 1883 5 12 0 +EditAction 1475073610911 RomanNumerals.java 1883 5 12 0 +UnitTestCaseAction 1475073612967 TestRomanNumerals.java OK +UnitTestSessionAction 1475073612968 TestRomanNumerals.java OK +RefactoringAction 1475073617819 TestRomanNumerals.java ADD void testConvertIntegerContains_VV_Throw_NumberFormatException()/2 METHOD +EditAction 1475073624080 TestRomanNumerals.java 6093 43 73 30 +UnitTestCaseAction 1475073629676 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073629676 TestRomanNumerals.java FAIL +EditAction 1475073633072 RomanNumerals.java 1895 5 12 0 +UnitTestCaseAction 1475073635539 TestRomanNumerals.java OK +UnitTestSessionAction 1475073635539 TestRomanNumerals.java OK +RefactoringAction 1475073683391 TestRomanNumerals.java ADD void testConvertInteger_Throw_NumberFormatException()/2 METHOD +EditAction 1475073694220 TestRomanNumerals.java 6241 44 74 30 +CompilationAction 1475073694449 TestRomanNumerals.java +RefactoringAction 1475073704469 TestRomanNumerals.java RENAME testConvertInteger_Throw_NumberFormatException()/2=>void testConvertIntegerEmpty_Throw_NumberFormatException() METHOD +CompilationAction 1475073710187 TestRomanNumerals.java +UnitTestCaseAction 1475073710509 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073710509 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475073756819 TestRomanNumerals.java OK +UnitTestSessionAction 1475073756819 TestRomanNumerals.java OK +RefactoringAction 1475073760026 TestRomanNumerals.java ADD void testConvertIntegerEmpty_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073765560 TestRomanNumerals.java RENAME testConvertIntegerEmpty_Throw_NumberFormatException()/2=>void testConvertIntegerNULLThrow_NumberFormatException() METHOD +RefactoringAction 1475073767580 TestRomanNumerals.java RENAME testConvertIntegerNULLThrow_NumberFormatException()=>void testConvertIntegerNull_Throw_NumberFormatException() METHOD +EditAction 1475073770024 TestRomanNumerals.java 6400 45 75 30 +UnitTestCaseAction 1475073773129 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073773129 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475073789539 TestRomanNumerals.java OK +UnitTestSessionAction 1475073789540 TestRomanNumerals.java OK +RefactoringAction 1475073886647 TestRomanNumerals.java ADD void testConvertIntegerEmpty_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073895677 TestRomanNumerals.java RENAME testConvertIntegerEmpty_Throw_NumberFormatException()/2=>void testConvertIntegerS_Throw_NumberFormatException() METHOD +RefactoringAction 1475073896693 TestRomanNumerals.java RENAME testConvertIntegerS_Throw_NumberFormatException()=>void testConvertInteger_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475073899707 TestRomanNumerals.java RENAME testConvertInteger_Throw_NumberFormatException()/2=>void testConvertInteger_Subtract_Throw_NumberFormatException() METHOD +RefactoringAction 1475073902722 TestRomanNumerals.java RENAME testConvertInteger_Subtract_Throw_NumberFormatException()=>void testConvertInteger__Throw_NumberFormatException() METHOD +RefactoringAction 1475073905237 TestRomanNumerals.java RENAME testConvertInteger__Throw_NumberFormatException()=>void testConvertInteger_Subtract_Throw_NumberFormatException() METHOD +RefactoringAction 1475073909759 TestRomanNumerals.java RENAME testConvertInteger_Subtract_Throw_NumberFormatException()=>void testConvertInteger_Subtract__Throw_NumberFormatException() METHOD +RefactoringAction 1475073911275 TestRomanNumerals.java RENAME testConvertInteger_Subtract__Throw_NumberFormatException()=>void testConvertInteger_Subtract_5_Throw_NumberFormatException() METHOD +RefactoringAction 1475073913296 TestRomanNumerals.java RENAME testConvertInteger_Subtract_5_Throw_NumberFormatException()=>void testConvertInteger_Subtract_5_From_Throw_NumberFormatException() METHOD +RefactoringAction 1475073915813 TestRomanNumerals.java RENAME testConvertInteger_Subtract_5_From_Throw_NumberFormatException()=>void testConvertInteger_Subtract__Throw_NumberFormatException() METHOD +RefactoringAction 1475073916825 TestRomanNumerals.java RENAME testConvertInteger_Subtract__Throw_NumberFormatException()=>void testConvertInteger_Subtract_I_Throw_NumberFormatException() METHOD +RefactoringAction 1475073918471 TestRomanNumerals.java RENAME testConvertInteger_Subtract_I_Throw_NumberFormatException()=>void testConvertInteger_Subtract_I_M_Throw_NumberFormatException() METHOD +EditAction 1475073918545 TestRomanNumerals.java 6561 46 76 30 +RefactoringAction 1475073932991 TestRomanNumerals.java RENAME testConvertInteger_Subtract_I_M_Throw_NumberFormatException()=>void testConvertInteger_I_M_Throw_NumberFormatException() METHOD +RefactoringAction 1475073934512 TestRomanNumerals.java RENAME testConvertInteger_I_M_Throw_NumberFormatException()=>void testConvertInteger_IM_Throw_NumberFormatException() METHOD +EditAction 1475073937998 TestRomanNumerals.java 6553 46 76 30 +EditAction 1475073969934 TestRomanNumerals.java 6553 46 76 30 +UnitTestCaseAction 1475073984149 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475073984149 TestRomanNumerals.java FAIL +EditAction 1475074124205 RomanNumerals.java 2249 5 14 0 +UnitTestCaseAction 1475074129042 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475074129042 TestRomanNumerals.java FAIL +EditAction 1475074149377 RomanNumerals.java 2249 5 14 0 +UnitTestCaseAction 1475074151575 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475074151576 TestRomanNumerals.java FAIL +EditAction 1475074160811 RomanNumerals.java 2044 5 14 0 +UnitTestCaseAction 1475074164048 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475074164048 TestRomanNumerals.java FAIL +RefactoringAction 1475074189876 RomanNumerals.java ADD int getElementaryValue(char)/2 METHOD +RefactoringAction 1475074191898 RomanNumerals.java RENAME getElementaryValue(char)/2=>int g(char) METHOD +RefactoringAction 1475074193409 RomanNumerals.java RENAME g(char)=>int getElementar(char) METHOD +RefactoringAction 1475074194924 RomanNumerals.java RENAME getElementar(char)=>int getElementaryIndex(char) METHOD +EditAction 1475074208460 RomanNumerals.java 2560 6 15 0 +EditAction 1475074212606 RomanNumerals.java 2560 6 15 0 +EditAction 1475074218151 RomanNumerals.java 2560 6 15 0 +UnitTestCaseAction 1475074220980 TestRomanNumerals.java OK +UnitTestSessionAction 1475074220981 TestRomanNumerals.java OK +RefactoringAction 1475074226681 TestRomanNumerals.java ADD void testConvertInteger_IL_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074238704 TestRomanNumerals.java RENAME testConvertInteger_IL_Throw_NumberFormatException()/2=>void testConvertInteger_IC_Throw_NumberFormatException() METHOD +EditAction 1475074241481 TestRomanNumerals.java 6705 47 77 30 +RefactoringAction 1475074242736 TestRomanNumerals.java ADD void testConvertInteger_IC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074246777 TestRomanNumerals.java RENAME testConvertInteger_IC_Throw_NumberFormatException()/2=>void testConvertInteger_ID_Throw_NumberFormatException() METHOD +RefactoringAction 1475074252811 TestRomanNumerals.java ADD void testConvertInteger_ID_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074255830 TestRomanNumerals.java RENAME testConvertInteger_ID_Throw_NumberFormatException()/2=>void testConvertInteger_IM_Throw_NumberFormatException() METHOD +EditAction 1475074257290 TestRomanNumerals.java 7010 49 79 30 +UnitTestCaseAction 1475074258258 TestRomanNumerals.java OK +UnitTestSessionAction 1475074258258 TestRomanNumerals.java OK +RefactoringAction 1475074266362 TestRomanNumerals.java ADD void testConvertInteger_IL_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074266363 TestRomanNumerals.java ADD void testConvertInteger_IC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074266363 TestRomanNumerals.java ADD void testConvertInteger_ID_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074266363 TestRomanNumerals.java ADD void testConvertInteger_IM_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074272420 TestRomanNumerals.java REMOVE testConvertInteger_IC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074272420 TestRomanNumerals.java REMOVE testConvertInteger_IM_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074272421 TestRomanNumerals.java REMOVE testConvertInteger_ID_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074272422 TestRomanNumerals.java REMOVE testConvertInteger_IL_Throw_NumberFormatException()/2 METHOD +EditAction 1475074281393 TestRomanNumerals.java 7014 49 79 30 +RefactoringAction 1475074286452 TestRomanNumerals.java ADD void testConvertInteger_IL_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074286452 TestRomanNumerals.java ADD void testConvertInteger_IC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074286453 TestRomanNumerals.java ADD void testConvertInteger_ID_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074286453 TestRomanNumerals.java ADD void testConvertInteger_IM_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475074317602 TestRomanNumerals.java RENAME testConvertInteger_IL_Throw_NumberFormatException()/2=>void testConvertInteger_L_Throw_NumberFormatException() METHOD +RefactoringAction 1475074320124 TestRomanNumerals.java RENAME testConvertInteger_L_Throw_NumberFormatException()=>void testConvertInteger_XL_Throw_NumberFormatException() METHOD +RefactoringAction 1475074323140 TestRomanNumerals.java RENAME testConvertInteger_XL_Throw_NumberFormatException()=>void testConvertInteger_XD_Throw_NumberFormatException() METHOD +RefactoringAction 1475074356693 TestRomanNumerals.java RENAME testConvertInteger_IC_Throw_NumberFormatException()/2=>void testConvertInteger_C_Throw_NumberFormatException() METHOD +RefactoringAction 1475074357707 TestRomanNumerals.java RENAME testConvertInteger_C_Throw_NumberFormatException()=>void testConvertInteger_XC_Throw_NumberFormatException() METHOD +RefactoringAction 1475074366721 TestRomanNumerals.java RENAME testConvertInteger_XC_Throw_NumberFormatException()=>void testConvertInteger_XM_Throw_NumberFormatException() METHOD +EditAction 1475074372634 TestRomanNumerals.java 7321 51 81 30 +UnitTestCaseAction 1475074373958 TestRomanNumerals.java OK +UnitTestSessionAction 1475074373959 TestRomanNumerals.java OK +RefactoringAction 1475074376772 TestRomanNumerals.java ADD void testConvertInteger_XM_Throw_NumberFormatException()/2 METHOD +EditAction 1475074398897 TestRomanNumerals.java 7315 51 81 30 +UnitTestCaseAction 1475074402388 TestRomanNumerals.java OK +UnitTestSessionAction 1475074402389 TestRomanNumerals.testConvertInteger_XD_Throw_NumberFormatException OK +RefactoringAction 1475074477598 RomanNumerals.java ADD boolean canBeRepeated FIELD +RefactoringAction 1475074481110 RomanNumerals.java RENAME canBeRepeated=>boolean canBeRepeated(char) METHOD +EditAction 1475074500630 RomanNumerals.java 2554 6 15 0 +EditAction 1475074646147 TestRomanNumerals.java 7314 51 81 30 +UnitTestCaseAction 1475074647788 TestRomanNumerals.java OK +UnitTestSessionAction 1475074647788 TestRomanNumerals.java OK diff --git a/.besouro/20160928170751466/besouroEpisodes.txt b/.besouro/20160928170751466/besouroEpisodes.txt new file mode 100644 index 0000000..dc7603f --- /dev/null +++ b/.besouro/20160928170751466/besouroEpisodes.txt @@ -0,0 +1,57 @@ +1475071927155 test-first 3 255 true +1475071927156 test-last 1 255 false +1475072644071 test-first 3 706 true +1475072644072 test-first 3 706 true +1475073004645 regression 2 356 true +1475073063417 test-addition 1 32 true +1475073063418 test-addition 1 32 true +1475073113989 test-first 3 46 true +1475073167651 test-addition 2 50 true +1475073167652 test-addition 2 50 true +1475073167653 test-addition 1 50 true +1475073180751 test-addition 1 9 true +1475073312296 test-addition 2 94 true +1475073312297 test-addition 1 94 true +1475073312298 test-addition 2 94 true +1475073312299 test-addition 1 94 true +1475073343578 test-addition 1 25 true +1475073343579 test-addition 2 25 true +1475073343580 test-addition 1 25 true +1475073343581 test-addition 2 25 true +1475073440259 refactoring 2B 79 true +1475073440260 refactoring 2B 79 true +1475073440261 refactoring 2B 79 true +1475073440262 regression 1 79 true +1475073440263 refactoring 2B 79 true +1475073440264 refactoring 2B 79 true +1475073440265 refactoring 2B 79 true +1475073440266 refactoring 2B 79 true +1475073583809 test-first 3 139 true +1475073583810 test-first 3 139 true +1475073612968 test-first 3 26 true +1475073635539 test-first 3 17 true +1475073756819 test-addition 2 73 true +1475073756820 test-addition 1 73 true +1475073789540 test-addition 2 29 true +1475073789541 test-addition 1 29 true +1475074220981 test-first 3 334 true +1475074220982 test-first 3 334 true +1475074220983 test-first 3 334 true +1475074220984 test-first 3 334 true +1475074220985 test-first 3 334 true +1475074220986 test-first 3 334 true +1475074220987 test-first 3 334 true +1475074220988 test-first 3 334 true +1475074258258 test-addition 1 31 true +1475074258259 test-addition 1 31 true +1475074258260 test-addition 1 31 true +1475074373959 test-addition 1 107 true +1475074373960 test-addition 1 107 true +1475074373961 test-addition 1 107 true +1475074373962 test-addition 1 107 true +1475074373963 test-addition 1 107 true +1475074373964 test-addition 1 107 true +1475074373965 test-addition 1 107 true +1475074373966 test-addition 1 107 true +1475074402389 test-addition 1 25 true +1475074647788 refactoring 2A 170 true diff --git a/.besouro/20160928170751466/disagreements.txt b/.besouro/20160928170751466/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928170751466/randomHeuristicEpisodes.txt b/.besouro/20160928170751466/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..058565b --- /dev/null +++ b/.besouro/20160928170751466/randomHeuristicEpisodes.txt @@ -0,0 +1,20 @@ +1475071927155 test-first 3 255 true +1475072644071 test-first 3 706 true +1475073004645 regression 2 356 false +1475073063417 test-addition 1 32 true +1475073113989 test-first 3 46 true +1475073167651 test-addition 2 50 false +1475073180751 test-addition 1 9 false +1475073312296 test-addition 2 94 true +1475073343578 test-addition 1 25 false +1475073440259 refactoring 2B 79 true +1475073583809 test-first 3 139 true +1475073612968 test-first 3 26 true +1475073635539 test-first 3 17 true +1475073756819 test-addition 2 73 false +1475073789540 test-addition 2 29 true +1475074220981 test-first 3 334 true +1475074258258 test-addition 1 31 true +1475074373959 test-addition 1 107 false +1475074402389 test-addition 1 25 true +1475074647788 refactoring 2A 170 false diff --git a/.besouro/20160928170751466/userComments.txt b/.besouro/20160928170751466/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20160928170751466/zorroEpisodes.txt b/.besouro/20160928170751466/zorroEpisodes.txt new file mode 100644 index 0000000..6a3e302 --- /dev/null +++ b/.besouro/20160928170751466/zorroEpisodes.txt @@ -0,0 +1,20 @@ +1475071927155 test-first 3 255 true +1475072644071 test-first 3 716 true +1475073004645 regression 2 360 true +1475073063417 test-addition 1 58 true +1475073113989 test-first 3 50 true +1475073167651 test-addition 2 53 true +1475073180751 test-addition 1 13 true +1475073312296 test-addition 2 131 true +1475073343578 test-addition 1 31 true +1475073440259 refactoring 2B 96 true +1475073583809 test-first 3 143 true +1475073612968 test-first 3 29 true +1475073635539 test-first 3 22 true +1475073756819 test-addition 2 121 true +1475073789540 test-addition 2 32 true +1475074220981 test-first 3 431 true +1475074258258 test-addition 1 37 true +1475074373959 test-addition 1 115 true +1475074402389 test-addition 1 28 true +1475074647788 refactoring 2A 245 true diff --git a/.besouro/20161005142856393/actions.txt b/.besouro/20161005142856393/actions.txt new file mode 100644 index 0000000..db8f024 --- /dev/null +++ b/.besouro/20161005142856393/actions.txt @@ -0,0 +1,146 @@ +FileOpenedAction 1475666936652 TestRomanNumerals.java 7314 51 81 30 +RefactoringAction 1475666986284 TestRomanNumerals.java ADD void testConvertInteger_IllegalSubtraction_XXC_NumberFormatException() METHOD +EditAction 1475666997832 TestRomanNumerals.java 7444 52 82 30 +EditAction 1475667003237 TestRomanNumerals.java 7482 52 82 30 +EditAction 1475667008153 TestRomanNumerals.java 7488 52 82 30 +EditAction 1475667012640 TestRomanNumerals.java 7488 52 82 30 +UnitTestCaseAction 1475667016570 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667016571 TestRomanNumerals.java FAIL +EditAction 1475667096912 RomanNumerals.java 2689 6 15 0 +UnitTestCaseAction 1475667102036 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667102037 TestRomanNumerals.java FAIL +EditAction 1475667135844 RomanNumerals.java 2697 6 15 0 +EditAction 1475667167201 RomanNumerals.java 2693 6 15 0 +UnitTestCaseAction 1475667170192 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667170194 TestRomanNumerals.java FAIL +EditAction 1475667457688 RomanNumerals.java 2778 6 15 0 +UnitTestCaseAction 1475667460294 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667460297 TestRomanNumerals.java FAIL +RefactoringAction 1475668263713 RomanNumerals.java REMOVE isOneTimeRepeatable(char) METHOD +RefactoringAction 1475668263715 RomanNumerals.java REMOVE getElementaryIndex(char) METHOD +RefactoringAction 1475668263717 RomanNumerals.java REMOVE isThreeTimesRepeatable(char) METHOD +RefactoringAction 1475668268734 RomanNumerals.java ADD boolean isOneTimeRepeatable(char) METHOD +RefactoringAction 1475668268736 RomanNumerals.java ADD boolean isThreeTimesRepeatable(char) METHOD +RefactoringAction 1475668268738 RomanNumerals.java ADD int getElementaryIndex(char) METHOD +EditAction 1475668278447 RomanNumerals.java 2554 6 15 0 +UnitTestCaseAction 1475668281756 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668281757 TestRomanNumerals.java FAIL +EditAction 1475668294424 TestRomanNumerals.java 7450 52 82 30 +UnitTestCaseAction 1475668297772 TestRomanNumerals.java OK +UnitTestSessionAction 1475668297773 TestRomanNumerals.java OK +EditAction 1475668318164 TestRomanNumerals.java 7478 52 82 31 +UnitTestCaseAction 1475668320985 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668320986 TestRomanNumerals.java FAIL +EditAction 1475668327029 TestRomanNumerals.java 7488 52 82 30 +EditAction 1475668529706 RomanNumerals.java 2649 6 15 0 +UnitTestCaseAction 1475668532334 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668532335 TestRomanNumerals.java FAIL +EditAction 1475668569817 RomanNumerals.java 2646 6 15 0 +EditAction 1475668652898 RomanNumerals.java 2674 6 15 0 +UnitTestCaseAction 1475668655357 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668655358 TestRomanNumerals.java FAIL +EditAction 1475668670065 RomanNumerals.java 2674 6 15 0 +UnitTestCaseAction 1475668672843 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668672845 TestRomanNumerals.java FAIL +EditAction 1475668733811 RomanNumerals.java 2646 6 15 0 +UnitTestCaseAction 1475668736456 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668736457 TestRomanNumerals.java FAIL +EditAction 1475669318054 RomanNumerals.java 2831 6 16 0 +UnitTestCaseAction 1475669320861 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669320862 TestRomanNumerals.java FAIL +EditAction 1475669381136 RomanNumerals.java 2832 6 16 0 +UnitTestCaseAction 1475669386278 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669386279 TestRomanNumerals.java FAIL +EditAction 1475669404679 RomanNumerals.java 2832 6 16 0 +UnitTestCaseAction 1475669407835 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669407836 TestRomanNumerals.java FAIL +EditAction 1475669461835 RomanNumerals.java 2841 6 16 0 +EditAction 1475669472439 RomanNumerals.java 2825 6 16 0 +UnitTestCaseAction 1475669475064 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669475065 TestRomanNumerals.java FAIL +EditAction 1475669492952 RomanNumerals.java 2826 6 16 0 +UnitTestCaseAction 1475669495572 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669495573 TestRomanNumerals.java FAIL +EditAction 1475669701395 RomanNumerals.java 2826 6 16 0 +UnitTestCaseAction 1475669704985 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669704987 TestRomanNumerals.java FAIL +RefactoringAction 1475670007575 RomanNumerals.java REMOVE isOneTimeRepeatable(char) METHOD +RefactoringAction 1475670007577 RomanNumerals.java REMOVE canBeSubtrahendElementaryValue(char) METHOD +RefactoringAction 1475670007579 RomanNumerals.java REMOVE getElementaryIndex(char) METHOD +RefactoringAction 1475670007580 RomanNumerals.java REMOVE isThreeTimesRepeatable(char) METHOD +RefactoringAction 1475670007582 RomanNumerals.java REMOVE getElementaryValue(char) METHOD +RefactoringAction 1475670010109 RomanNumerals.java ADD boolean canBeSubtrahendElementaryValue(char) METHOD +RefactoringAction 1475670010111 RomanNumerals.java ADD boolean isOneTimeRepeatable(char) METHOD +RefactoringAction 1475670010112 RomanNumerals.java ADD boolean isThreeTimesRepeatable(char) METHOD +RefactoringAction 1475670010114 RomanNumerals.java ADD int getElementaryValue(char) METHOD +RefactoringAction 1475670010116 RomanNumerals.java ADD int getElementaryIndex(char) METHOD +EditAction 1475670148237 RomanNumerals.java 2990 6 16 0 +CompilationAction 1475670150255 RomanNumerals.java +CompilationAction 1475670296909 RomanNumerals.java +UnitTestCaseAction 1475670298220 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670298221 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670371307 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670371308 TestRomanNumerals.java FAIL +EditAction 1475670385728 RomanNumerals.java 3238 6 16 0 +UnitTestCaseAction 1475670388479 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670388480 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670417904 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670417906 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670424803 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670424804 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670455148 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670455150 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670579540 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670579541 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475670646665 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670646666 TestRomanNumerals.java FAIL +EditAction 1475670708634 RomanNumerals.java 3469 6 16 0 +UnitTestCaseAction 1475670847428 TestRomanNumerals.java OK +UnitTestSessionAction 1475670847429 TestRomanNumerals.java OK +EditAction 1475670854590 RomanNumerals.java 2821 6 18 0 +RefactoringAction 1475670888079 TestRomanNumerals.java ADD void testConvertInteger_IllegalSubtraction_XXC_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475670892100 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_XXC_Throw_NumberFormatException()/2=>void testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException() METHOD +RefactoringAction 1475670895622 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException()=>void testConvertInteger_IllegalSubtraction_V_Throw_NumberFormatException() METHOD +RefactoringAction 1475670918647 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_V_Throw_NumberFormatException()=>void testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException() METHOD +EditAction 1475670919650 TestRomanNumerals.java 7661 53 83 30 +UnitTestCaseAction 1475670922911 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670922912 TestRomanNumerals.java FAIL +RefactoringAction 1475670944723 RomanNumerals.java ADD boolean isOneTimeRepeatable(char)/2 METHOD +RefactoringAction 1475670948238 RomanNumerals.java RENAME isOneTimeRepeatable(char)/2=>boolean canBe(char) METHOD +RefactoringAction 1475670958754 RomanNumerals.java REMOVE canBe(char) METHOD +EditAction 1475671077114 RomanNumerals.java 2955 6 18 0 +EditAction 1475671087365 RomanNumerals.java 2961 6 18 0 +UnitTestCaseAction 1475671090115 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671090116 TestRomanNumerals.java FAIL +EditAction 1475671098013 RomanNumerals.java 2961 6 18 0 +UnitTestCaseAction 1475671101951 TestRomanNumerals.java OK +UnitTestSessionAction 1475671101952 TestRomanNumerals.java OK +RefactoringAction 1475671142030 RomanNumerals.java ADD int i FIELD +RefactoringAction 1475671143052 RomanNumerals.java REMOVE i FIELD +RefactoringAction 1475671150603 RomanNumerals.java ADD int i FIELD +RefactoringAction 1475671152126 RomanNumerals.java REMOVE i FIELD +RefactoringAction 1475671156677 RomanNumerals.java ADD int i FIELD +RefactoringAction 1475671182849 RomanNumerals.java REMOVE i FIELD +EditAction 1475671184211 RomanNumerals.java 2902 6 18 0 +UnitTestCaseAction 1475671187047 TestRomanNumerals.java OK +UnitTestSessionAction 1475671187048 TestRomanNumerals.java OK +UnitTestCaseAction 1475671220424 TestRomanNumerals.java OK +UnitTestSessionAction 1475671220425 TestRomanNumerals.java OK +RefactoringAction 1475671301703 TestRomanNumerals.java ADD void testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475671318254 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException()/2=>void testConvertInteger_IllegalSubtraction_LX_Throw_NumberFormatException() METHOD +RefactoringAction 1475671320273 TestRomanNumerals.java ADD void testConvertInteger_IllegalSubtraction_LX_Throw_NumberFormatException()/2 METHOD +RefactoringAction 1475671323820 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_LX_Throw_NumberFormatException()/2=>void testConvertInteger_IllegalSubtraction_DX_Throw_NumberFormatException() METHOD +EditAction 1475671326195 TestRomanNumerals.java 8003 55 85 30 +UnitTestCaseAction 1475671332570 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671332570 TestRomanNumerals.java FAIL +EditAction 1475671347720 TestRomanNumerals.java 8003 55 85 30 +UnitTestCaseAction 1475671350155 TestRomanNumerals.java OK +UnitTestSessionAction 1475671350156 TestRomanNumerals.testConvertInteger_IllegalSubtraction_DM_Throw_NumberFormatException OK +RefactoringAction 1475671370369 TestRomanNumerals.java RENAME testConvertInteger_IllegalSubtraction_LX_Throw_NumberFormatException()=>void testConvertInteger_IllegalSubtraction_LC_Throw_NumberFormatException() METHOD +EditAction 1475671371660 TestRomanNumerals.java 8003 55 85 30 +UnitTestCaseAction 1475671373909 TestRomanNumerals.java OK +UnitTestSessionAction 1475671373910 TestRomanNumerals.java OK +EditAction 1475671377579 TestRomanNumerals.java 8003 55 85 30 +UnitTestCaseAction 1475671379817 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671379818 TestRomanNumerals.java FAIL +EditAction 1475671381748 TestRomanNumerals.java 8003 55 85 30 diff --git a/.besouro/20161005142856393/besouroEpisodes.txt b/.besouro/20161005142856393/besouroEpisodes.txt new file mode 100644 index 0000000..82099f7 --- /dev/null +++ b/.besouro/20161005142856393/besouroEpisodes.txt @@ -0,0 +1,112 @@ +1475668297773 test-first 3 1361 true +1475668297774 test-first 3 1361 true +1475668297775 test-first 3 1361 true +1475668297776 test-first 3 1361 true +1475668297777 test-first 3 1361 true +1475668297778 test-first 3 1361 true +1475668297779 test-first 3 1361 true +1475668297780 test-first 3 1361 true +1475668297781 test-first 3 1361 true +1475668297782 test-first 3 1361 true +1475668297783 test-first 3 1361 true +1475670847429 test-first 3 2529 true +1475670847430 test-first 3 2529 true +1475670847431 test-first 3 2529 true +1475670847432 test-first 3 2529 true +1475670847433 test-first 3 2529 true +1475670847434 test-first 3 2529 true +1475670847435 test-first 3 2529 true +1475670847436 test-first 3 2529 true +1475670847437 test-first 3 2529 true +1475670847438 test-first 3 2529 true +1475670847439 test-first 3 2529 true +1475670847440 test-first 3 2529 true +1475670847441 test-first 3 2529 true +1475670847442 test-first 3 2529 true +1475670847443 test-first 3 2529 true +1475670847444 test-first 3 2529 true +1475670847445 test-first 3 2529 true +1475670847446 test-first 3 2529 true +1475670847447 test-first 3 2529 true +1475670847448 test-first 3 2529 true +1475670847449 test-first 3 2529 true +1475670847450 test-first 3 2529 true +1475670847451 test-first 3 2529 true +1475670847452 test-first 3 2529 true +1475670847453 test-first 3 2529 true +1475670847454 test-first 3 2529 true +1475670847455 test-first 3 2529 true +1475670847456 test-first 3 2529 true +1475670847457 test-first 3 2529 true +1475670847458 test-first 3 2529 true +1475670847459 test-first 3 2529 true +1475670847460 test-first 3 2529 true +1475670847461 test-first 3 2529 true +1475670847462 test-first 3 2529 true +1475670847463 test-first 3 2529 true +1475670847464 test-first 3 2529 true +1475670847465 test-first 3 2529 true +1475670847466 test-first 3 2529 true +1475670847467 test-first 3 2529 true +1475670847468 test-first 3 2529 true +1475670847469 test-first 3 2529 true +1475670847470 test-first 3 2529 true +1475670847471 test-first 3 2529 true +1475670847472 test-first 3 2529 true +1475670847473 test-first 3 2529 true +1475670847474 test-first 3 2529 true +1475670847475 test-first 3 2529 true +1475670847476 test-first 3 2529 true +1475670847477 test-first 3 2529 true +1475670847478 test-first 3 2529 true +1475670847479 test-first 3 2529 true +1475670847480 test-first 3 2529 true +1475670847481 test-first 3 2529 true +1475670847482 test-first 3 2529 true +1475670847483 test-first 3 2529 true +1475670847484 test-first 3 2529 true +1475670847485 test-first 3 2529 true +1475670847486 test-first 3 2529 true +1475670847487 test-first 3 2529 true +1475670847488 test-first 3 2529 true +1475670847489 test-first 3 2529 true +1475670847490 test-first 3 2529 true +1475670847491 test-first 3 2529 true +1475670847492 test-first 3 2529 true +1475670847493 test-first 3 2529 true +1475670847494 test-first 3 2529 true +1475670847495 test-first 3 2529 true +1475670847496 test-first 3 2529 true +1475670847497 test-first 3 2529 true +1475670847498 test-first 3 2529 true +1475670847499 test-first 3 2529 true +1475670847500 test-first 3 2529 true +1475670847501 test-first 3 2529 true +1475670847502 test-first 3 2529 true +1475670847503 test-first 3 2529 true +1475670847504 test-first 3 2529 true +1475670847505 test-first 3 2529 true +1475670847506 test-first 3 2529 true +1475670847507 test-first 3 2529 true +1475670847508 test-first 3 2529 true +1475670847509 test-first 3 2529 true +1475670847510 test-first 3 2529 true +1475670847511 test-first 3 2529 true +1475670847512 test-first 3 2529 true +1475670847513 test-first 3 2529 true +1475670847514 test-first 3 2529 true +1475670847515 test-first 3 2529 true +1475670847516 test-first 3 2529 true +1475671101952 test-first 3 247 true +1475671101953 test-first 3 247 true +1475671101954 test-last 1 247 false +1475671187048 refactoring 2A 45 true +1475671220425 regression 1 0 true +1475671350156 test-addition 2 48 true +1475671350157 test-addition 1 48 true +1475671350158 test-addition 2 48 true +1475671350159 test-addition 1 48 true +1475671373910 refactoring 1B 3 true +1475671373911 refactoring 3 3 true +1475671373912 refactoring 2B 3 true +1475671373913 regression 1 3 true diff --git a/.besouro/20161005142856393/disagreements.txt b/.besouro/20161005142856393/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142856393/randomHeuristicEpisodes.txt b/.besouro/20161005142856393/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..38cc6b5 --- /dev/null +++ b/.besouro/20161005142856393/randomHeuristicEpisodes.txt @@ -0,0 +1,7 @@ +1475668297773 test-first 3 1361 true +1475670847429 test-first 3 2529 true +1475671101952 test-first 3 247 true +1475671187048 refactoring 2A 45 false +1475671220425 regression 1 0 true +1475671350156 test-addition 2 48 true +1475671373910 refactoring 1B 3 false diff --git a/.besouro/20161005142856393/userComments.txt b/.besouro/20161005142856393/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142856393/zorroEpisodes.txt b/.besouro/20161005142856393/zorroEpisodes.txt new file mode 100644 index 0000000..da1e548 --- /dev/null +++ b/.besouro/20161005142856393/zorroEpisodes.txt @@ -0,0 +1,7 @@ +1475668297773 test-first 3 1361 true +1475670847429 test-first 3 2549 true +1475671101952 test-first 3 254 true +1475671187048 refactoring 2A 85 true +1475671220425 regression 1 33 true +1475671350156 test-addition 2 129 true +1475671373910 refactoring 1B 23 true diff --git a/.besouro/20161005154353371/actions.txt b/.besouro/20161005154353371/actions.txt new file mode 100644 index 0000000..2490804 --- /dev/null +++ b/.besouro/20161005154353371/actions.txt @@ -0,0 +1,7 @@ +FileOpenedAction 1475671433467 RomanNumerals.java 2790 6 15 0 +EditAction 1475671547447 RomanNumerals.java 2679 6 15 0 +UnitTestCaseAction 1475671550180 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671550182 TestRomanNumerals.java FAIL +EditAction 1475671650813 RomanNumerals.java 2937 6 15 0 +UnitTestCaseAction 1475671659600 TestRomanNumerals.java OK +UnitTestSessionAction 1475671659601 TestRomanNumerals.java OK diff --git a/.besouro/20161005154353371/besouroEpisodes.txt b/.besouro/20161005154353371/besouroEpisodes.txt new file mode 100644 index 0000000..7580e4f --- /dev/null +++ b/.besouro/20161005154353371/besouroEpisodes.txt @@ -0,0 +1 @@ +1475671659601 refactoring 2A 226 true diff --git a/.besouro/20161005154353371/disagreements.txt b/.besouro/20161005154353371/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005154353371/randomHeuristicEpisodes.txt b/.besouro/20161005154353371/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..7580e4f --- /dev/null +++ b/.besouro/20161005154353371/randomHeuristicEpisodes.txt @@ -0,0 +1 @@ +1475671659601 refactoring 2A 226 true diff --git a/.besouro/20161005154353371/userComments.txt b/.besouro/20161005154353371/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005154353371/zorroEpisodes.txt b/.besouro/20161005154353371/zorroEpisodes.txt new file mode 100644 index 0000000..1720a71 --- /dev/null +++ b/.besouro/20161005154353371/zorroEpisodes.txt @@ -0,0 +1 @@ +1475671659601 refactoring 2A 226 false diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 20904f0..7b0f31d 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,8 +1,121 @@ public class RomanNumerals { public int convertToInteger(String romanNum) { - // To be Implemented - return 0; + if (romanNum == null) + throw new NumberFormatException("Null roman numeral."); + if (romanNum.isEmpty()) + throw new NumberFormatException("Empty roman numeral."); + + int retValue = 0; + int duplicates = 0; + + // Check illegal duplicate numerals + for (int i = 01; i < romanNum.length(); i++) { + if (i > 0) + duplicates = (romanNum.charAt(i - 1) == romanNum.charAt(i)) ? duplicates + 1 : 0; + + if (duplicates >= 1 && isOneTimeRepeatable(romanNum.charAt(i))) + throw new NumberFormatException("Too many duplicate numeral characters."); + + if (duplicates >= 3 && isThreeTimesRepeatable(romanNum.charAt(i))) + throw new NumberFormatException("Too many duplicate numeral characters."); + } + + // Process additions and subtractions + for (int i = romanNum.length() - 1; i >= 0; i--) { + char c0 = romanNum.charAt(i); + + int subtrahend = 0; + + for (int j = i - 1; j >= 0; j--) { + char c1 = romanNum.charAt(j); + if (canBeSubtrahendElementaryValue(c1) && getElementaryValue(c0) > getElementaryValue(c1)) { + int diff = getElementaryIndex(c0) - getElementaryIndex(c1); + + if (diff > 2) + throw new NumberFormatException("Illegal subtraction format."); + + if (subtrahend != 0) + throw new NumberFormatException("Illegal multiple subtractions."); + + subtrahend = getElementaryValue(c1); + // Consume subtrahend(s) + i--; + } else if (!canBeSubtrahendElementaryValue(c1)) { + // V, L, D cannot be subtracted + if (getElementaryValue(c1) < getElementaryValue(c0)) + throw new NumberFormatException("Illegal subtraction format."); + + break; + } + } + + retValue += getElementaryValue(c0) - subtrahend; + } + + return retValue; + } + + private boolean canBeSubtrahendElementaryValue(char character) { + switch(character) { + case 'I': + case 'X': + case 'C': + return true; + } + + return false; + } + + private boolean isOneTimeRepeatable(char character) { + switch(character) { + case 'V': + case 'L': + case 'D': + return true; + } + + return false; + } + + private boolean isThreeTimesRepeatable(char character) { + switch(character) { + case 'I': + case 'X': + case 'C': + case 'M': + return true; + } + + return false; + } + + private int getElementaryValue(char character) { + switch(character) { + case 'I': return 1; + case 'V': return 5; + case 'X': return 10; + case 'L': return 50; + case 'C': return 100; + case 'D': return 500; + case 'M': return 1000; + default: + throw new NumberFormatException("Invalid numeral character."); + } + } + + private int getElementaryIndex(char character) { + switch(character) { + case 'I': return 0; + case 'V': return 1; + case 'X': return 2; + case 'L': return 3; + case 'C': return 4; + case 'D': return 5; + case 'M': return 6; + default: + throw new NumberFormatException("Invalid numeral character."); + } } } diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 5d1de75..1344d4b 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -1,12 +1,312 @@ import static org.junit.Assert.*; +import org.junit.Before; import org.junit.Test; public class TestRomanNumerals { + RomanNumerals mNumerals; + + @Before + public void initialize() { + mNumerals = new RomanNumerals(); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IllegalSubtraction_DM_Throw_NumberFormatException() { + mNumerals.convertToInteger("DM"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IllegalSubtraction_LC_Throw_NumberFormatException() { + mNumerals.convertToInteger("LC"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IllegalSubtraction_VX_Throw_NumberFormatException() { + mNumerals.convertToInteger("VX"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IllegalSubtraction_XXC_Throw_NumberFormatException() { + mNumerals.convertToInteger("XXC"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerNull_Throw_NumberFormatException() { + mNumerals.convertToInteger(null); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerEmpty_Throw_NumberFormatException() { + mNumerals.convertToInteger(""); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_Throw_NumberFormatException() { + mNumerals.convertToInteger("IO"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IL_Throw_NumberFormatException() { + mNumerals.convertToInteger("IL"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IC_Throw_NumberFormatException() { + mNumerals.convertToInteger("IC"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_ID_Throw_NumberFormatException() { + mNumerals.convertToInteger("ID"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_IM_Throw_NumberFormatException() { + mNumerals.convertToInteger("IM"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_XD_Throw_NumberFormatException() { + mNumerals.convertToInteger("XD"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertInteger_XM_Throw_NumberFormatException() { + mNumerals.convertToInteger("XM"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_VV_Throw_NumberFormatException() { + mNumerals.convertToInteger("VV"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_LL_Throw_NumberFormatException() { + mNumerals.convertToInteger("LL"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_DD_Throw_NumberFormatException() { + mNumerals.convertToInteger("DD"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_MMMM_Throw_NumberFormatException() { + mNumerals.convertToInteger("MMMM"); + } + + @Test + public void testConvertIntegerContains_MMM_NoThrow_NumberFormatException() { + mNumerals.convertToInteger("MMM"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_CCCC_Throw_NumberFormatException() { + mNumerals.convertToInteger("CCCC"); + } + + @Test + public void testConvertIntegerContains_CCC_NoThrow_NumberFormatException() { + mNumerals.convertToInteger("CCC"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_IIII_Throw_NumberFormatException() { + mNumerals.convertToInteger("IIII"); + } + + @Test + public void testConvertIntegerContains_III_NoThrow_NumberFormatException() { + mNumerals.convertToInteger("III"); + } + + @Test(expected=NumberFormatException.class) + public void testConvertIntegerContains_XXXX_Throw_NumberFormatException() { + mNumerals.convertToInteger("XXXX"); + } + + @Test + public void testConvertIntegerContains_XXX_NoThrow_NumberFormatException() { + mNumerals.convertToInteger("XXX"); + } + + @Test + public void testConvertToInteger_I_1() { + int integer = mNumerals.convertToInteger("I"); + assertEquals(1, integer); + } + + @Test + public void testConvertToInteger_V_5() { + int integer = mNumerals.convertToInteger("V"); + assertEquals(5, integer); + } + @Test + public void testConvertToInteger_X_10() { + int integer = mNumerals.convertToInteger("X"); + assertEquals(10, integer); + } + + @Test + public void testConvertToInteger_L_50() { + int integer = mNumerals.convertToInteger("L"); + assertEquals(50, integer); + } + + @Test + public void testConvertToInteger_C_100() { + int integer = mNumerals.convertToInteger("C"); + assertEquals(100, integer); + } + + @Test + public void testConvertToInteger_D_500() { + int integer = mNumerals.convertToInteger("D"); + assertEquals(500, integer); + } + + @Test + public void testConvertToInteger_M_1000() { + int integer = mNumerals.convertToInteger("M"); + assertEquals(1000, integer); + } + + @Test + public void testConvertToInteger_II_2() { + int integer = mNumerals.convertToInteger("II"); + assertEquals(2, integer); + } + + @Test + public void testConvertToInteger_III_3() { + int integer = mNumerals.convertToInteger("III"); + assertEquals(3, integer); + } + + @Test + public void testConvertToInteger_IV_4() { + int integer = mNumerals.convertToInteger("IV"); + assertEquals(4, integer); + } + + @Test + public void testConvertToInteger_VI_6() { + int integer = mNumerals.convertToInteger("VI"); + assertEquals(6, integer); + } + + @Test + public void testConvertToInteger_VII_7() { + int integer = mNumerals.convertToInteger("VII"); + assertEquals(7, integer); + } + + @Test + public void testConvertToInteger_VIII_8() { + int integer = mNumerals.convertToInteger("VIII"); + assertEquals(8, integer); + } + + @Test + public void testConvertToInteger_IX_9() { + int integer = mNumerals.convertToInteger("IX"); + assertEquals(9, integer); + } + + @Test + public void testConvertToInteger_XX_20() { + int integer = mNumerals.convertToInteger("XX"); + assertEquals(20, integer); + } @Test - public void test() { - fail("Not yet implemented"); + public void testConvertToInteger_XXX_30() { + int integer = mNumerals.convertToInteger("XXX"); + assertEquals(30, integer); } + @Test + public void testConvertToInteger_XL_40() { + int integer = mNumerals.convertToInteger("XL"); + assertEquals(40, integer); + } + + @Test + public void testConvertToInteger_LX_60() { + int integer = mNumerals.convertToInteger("LX"); + assertEquals(60, integer); + } + + @Test + public void testConvertToInteger_LXX_70() { + int integer = mNumerals.convertToInteger("LXX"); + assertEquals(70, integer); + } + + @Test + public void testConvertToInteger_LXXX_80() { + int integer = mNumerals.convertToInteger("LXXX"); + assertEquals(80, integer); + } + + @Test + public void testConvertToInteger_XC_90() { + int integer = mNumerals.convertToInteger("XC"); + assertEquals(90, integer); + } + + @Test + public void testConvertToInteger_CC_200() { + int integer = mNumerals.convertToInteger("CC"); + assertEquals(200, integer); + } + + @Test + public void testConvertToInteger_CCC_300() { + int integer = mNumerals.convertToInteger("CCC"); + assertEquals(300, integer); + } + + @Test + public void testConvertToInteger_CD_400() { + int integer = mNumerals.convertToInteger("CD"); + assertEquals(400, integer); + } + + @Test + public void testConvertToInteger_DC_600() { + int integer = mNumerals.convertToInteger("DC"); + assertEquals(600, integer); + } + + @Test + public void testConvertToInteger_DCC_700() { + int integer = mNumerals.convertToInteger("DCC"); + assertEquals(700, integer); + } + + @Test + public void testConvertToInteger_DCCC_800() { + int integer = mNumerals.convertToInteger("DCCC"); + assertEquals(800, integer); + } + + @Test + public void testConvertToInteger_CM_900() { + int integer = mNumerals.convertToInteger("CM"); + assertEquals(900, integer); + } + + @Test + public void testConvertToInteger_MCMLXXXIV_1984() { + int integer = mNumerals.convertToInteger("MCMLXXXIV"); + assertEquals(1984, integer); + } + + @Test + public void testConvertToInteger_MMXIV_2014() { + int integer = mNumerals.convertToInteger("MMXIV"); + assertEquals(2014, integer); + } }