diff --git a/.besouro/20161005142238292/actions.txt b/.besouro/20161005142238292/actions.txt new file mode 100644 index 0000000..2d74a86 --- /dev/null +++ b/.besouro/20161005142238292/actions.txt @@ -0,0 +1,413 @@ +FileOpenedAction 1475666558557 RomanNumerals.java 1551 3 9 0 +EditAction 1475666589523 RomanNumerals.java 1553 3 9 0 +UnitTestCaseAction 1475666591102 TestRomanNumerals.java OK +UnitTestSessionAction 1475666591102 TestRomanNumerals.java OK +RefactoringAction 1475666632052 RomanNumerals.java ADD int parseCharacterToValue(String, int, int) METHOD +EditAction 1475666632052 RomanNumerals.java 1724 4 14 0 +RefactoringAction 1475666670553 RomanNumerals.java RENAME parseCharacterToValue(String, int, int)=>int parseCharacterToValue(String, int) METHOD +EditAction 1475666670693 RomanNumerals.java 1686 4 13 0 +UnitTestCaseAction 1475666673317 TestRomanNumerals.java OK +UnitTestSessionAction 1475666673317 TestRomanNumerals.java OK +UnitTestCaseAction 1475666687610 TestRomanNumerals.java OK +UnitTestSessionAction 1475666687610 TestRomanNumerals.java OK +EditAction 1475666720619 RomanNumerals.java 1651 4 11 0 +CompilationAction 1475666721758 RomanNumerals.java +EditAction 1475666723381 RomanNumerals.java 1651 4 11 0 +UnitTestCaseAction 1475666726316 TestRomanNumerals.java OK +UnitTestSessionAction 1475666726316 TestRomanNumerals.java OK +EditAction 1475666745052 RomanNumerals.java 1613 4 11 0 +UnitTestCaseAction 1475666747177 TestRomanNumerals.java OK +UnitTestSessionAction 1475666747177 TestRomanNumerals.java OK +UnitTestCaseAction 1475666748615 TestRomanNumerals.java OK +UnitTestSessionAction 1475666748615 TestRomanNumerals.java OK +EditAction 1475666796460 RomanNumerals.java 1610 4 11 0 +UnitTestCaseAction 1475666798475 TestRomanNumerals.java OK +UnitTestSessionAction 1475666798475 TestRomanNumerals.java OK +EditAction 1475666817585 RomanNumerals.java 1586 4 11 0 +UnitTestCaseAction 1475666821208 TestRomanNumerals.java OK +UnitTestSessionAction 1475666821208 TestRomanNumerals.java OK +EditAction 1475666833610 RomanNumerals.java 1550 4 10 0 +UnitTestCaseAction 1475666835282 TestRomanNumerals.java OK +UnitTestSessionAction 1475666835282 TestRomanNumerals.java OK +EditAction 1475666855234 RomanNumerals.java 1550 4 10 0 +UnitTestCaseAction 1475666857136 TestRomanNumerals.java OK +UnitTestSessionAction 1475666857136 TestRomanNumerals.java OK +UnitTestCaseAction 1475666864175 TestRomanNumerals.java OK +UnitTestSessionAction 1475666864175 TestRomanNumerals.java OK +RefactoringAction 1475667005246 TestRomanNumerals.java ADD void testRomanNumerals_MMXIV_2014()/2 METHOD +RefactoringAction 1475667008849 TestRomanNumerals.java RENAME testRomanNumerals_MMXIV_2014()/2=>void testRomanNumerals_IIII_2014() METHOD +RefactoringAction 1475667011439 TestRomanNumerals.java RENAME testRomanNumerals_IIII_2014()=>void testRomanNumerals_IIII_err() METHOD +EditAction 1475667017726 TestRomanNumerals.java 2476 19 38 19 +UnitTestCaseAction 1475667019491 TestRomanNumerals.java OK +UnitTestSessionAction 1475667019491 TestRomanNumerals.java OK +EditAction 1475667027619 TestRomanNumerals.java 2477 19 38 19 +UnitTestCaseAction 1475667028824 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667028824 TestRomanNumerals.java FAIL +EditAction 1475667041928 TestRomanNumerals.java 2485 19 38 19 +UnitTestCaseAction 1475667042867 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667042867 TestRomanNumerals.java FAIL +EditAction 1475667065051 TestRomanNumerals.java 2477 19 37 18 +UnitTestCaseAction 1475667067082 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667067082 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475667075602 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667075602 TestRomanNumerals.java FAIL +RefactoringAction 1475667239293 RomanNumerals.java ADD int occurencies FIELD +RefactoringAction 1475667253754 RomanNumerals.java RENAME occurencies=> null +RefactoringAction 1475667260462 RomanNumerals.java RENAME =>int occurencies FIELD +RefactoringAction 1475667274378 RomanNumerals.java RENAME occurencies=> null +RefactoringAction 1475667278496 RomanNumerals.java RENAME =>int FIELD +EditAction 1475667339789 RomanNumerals.java 1742 4 10 0 +UnitTestCaseAction 1475667342194 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667342194 TestRomanNumerals.java FAIL +EditAction 1475667366031 RomanNumerals.java 1754 4 10 0 +UnitTestCaseAction 1475667367751 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667367751 TestRomanNumerals.java FAIL +RefactoringAction 1475667383554 RomanNumerals.java ADD int value FIELD +RefactoringAction 1475667383554 RomanNumerals.java ADD int i FIELD +RefactoringAction 1475667390324 RomanNumerals.java REMOVE i FIELD +RefactoringAction 1475667390324 RomanNumerals.java REMOVE value FIELD +EditAction 1475667423131 RomanNumerals.java 1770 4 7 0 +CompilationAction 1475667424254 RomanNumerals.java +CompilationAction 1475667424254 RomanNumerals.java +CompilationAction 1475667424254 RomanNumerals.java +CompilationAction 1475667472351 RomanNumerals.java +CompilationAction 1475667472351 RomanNumerals.java +CompilationAction 1475667472351 RomanNumerals.java +UnitTestCaseAction 1475667473634 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667473634 TestRomanNumerals.java FAIL +EditAction 1475667487627 RomanNumerals.java 1816 4 12 0 +UnitTestCaseAction 1475667491046 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667491046 TestRomanNumerals.java FAIL +EditAction 1475667501373 RomanNumerals.java 1819 4 12 0 +UnitTestCaseAction 1475667503358 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667503358 TestRomanNumerals.java FAIL +RefactoringAction 1475667521017 RomanNumerals.java REMOVE occurencies FIELD +EditAction 1475667534901 RomanNumerals.java 1550 4 10 0 +UnitTestCaseAction 1475667536948 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667536948 TestRomanNumerals.java FAIL +EditAction 1475667946682 RomanNumerals.java 1797 4 12 0 +UnitTestCaseAction 1475667949197 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667949197 TestRomanNumerals.java FAIL +EditAction 1475667963798 RomanNumerals.java 1831 4 12 0 +UnitTestCaseAction 1475667965876 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667965876 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475667992009 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475667992009 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475668001404 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668001404 TestRomanNumerals.testRomanNumerals_IIII_err FAIL +EditAction 1475668025053 RomanNumerals.java 1831 4 12 0 +UnitTestCaseAction 1475668027272 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668027272 TestRomanNumerals.testRomanNumerals_IIII_err FAIL +EditAction 1475668068534 RomanNumerals.java 1911 4 12 0 +CompilationAction 1475668069814 TestRomanNumerals.java +UnitTestCaseAction 1475668073233 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668073233 TestRomanNumerals.testRomanNumerals_IIII_err FAIL +CompilationAction 1475668132544 TestRomanNumerals.java +UnitTestCaseAction 1475668132912 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668132912 TestRomanNumerals.java FAIL +EditAction 1475668145470 RomanNumerals.java 1911 4 12 0 +UnitTestCaseAction 1475668159342 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668159342 TestRomanNumerals.java FAIL +EditAction 1475668163132 RomanNumerals.java 1877 4 12 0 +UnitTestCaseAction 1475668165820 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668165820 TestRomanNumerals.java FAIL +EditAction 1475668226239 RomanNumerals.java 1911 4 12 0 +EditAction 1475668237408 RomanNumerals.java 1938 4 12 0 +EditAction 1475668278545 RomanNumerals.java 1938 4 12 0 +UnitTestCaseAction 1475668280519 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668280519 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475668292927 TestRomanNumerals.java OK +UnitTestSessionAction 1475668292927 TestRomanNumerals.testRomanNumerals_IIII_err OK +UnitTestCaseAction 1475668308062 TestRomanNumerals.java OK +UnitTestSessionAction 1475668308062 TestRomanNumerals.testRomanNumerals_MMXIV_2014 OK +UnitTestCaseAction 1475668312737 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668312737 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +EditAction 1475668319663 RomanNumerals.java 1904 4 12 0 +UnitTestCaseAction 1475668321725 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668321725 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +EditAction 1475668347184 RomanNumerals.java 1939 4 12 0 +UnitTestCaseAction 1475668349405 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668349405 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +UnitTestCaseAction 1475668380645 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668380645 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +UnitTestCaseAction 1475668394891 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668394891 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +EditAction 1475668412597 RomanNumerals.java 1942 4 12 0 +UnitTestCaseAction 1475668414410 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668414410 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 FAIL +EditAction 1475668440618 RomanNumerals.java 1946 4 12 0 +UnitTestCaseAction 1475668442259 TestRomanNumerals.java OK +UnitTestSessionAction 1475668442259 TestRomanNumerals.testRomanNumerals_MCMLXXXIV_1984 OK +UnitTestCaseAction 1475668445351 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668445351 TestRomanNumerals.java FAIL +EditAction 1475668480045 TestRomanNumerals.java 2819 19 37 18 +UnitTestCaseAction 1475668482482 TestRomanNumerals.java OK +UnitTestSessionAction 1475668482482 TestRomanNumerals.java OK +EditAction 1475668489080 TestRomanNumerals.java 2818 19 37 18 +UnitTestCaseAction 1475668491252 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668491252 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475668593297 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668593297 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475668636730 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668636730 TestRomanNumerals.java FAIL +EditAction 1475668656496 RomanNumerals.java 1980 4 12 0 +UnitTestCaseAction 1475668659681 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668659681 TestRomanNumerals.testRomanNumerals_IIII_err FAIL +EditAction 1475668734608 RomanNumerals.java 1980 4 12 0 +EditAction 1475668763366 RomanNumerals.java 1980 4 12 0 +UnitTestCaseAction 1475668764976 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668764976 TestRomanNumerals.testRomanNumerals_IIII_err FAIL +EditAction 1475668816783 RomanNumerals.java 1981 4 12 0 +UnitTestCaseAction 1475668818799 TestRomanNumerals.java OK +UnitTestSessionAction 1475668818799 TestRomanNumerals.testRomanNumerals_IIII_err OK +UnitTestCaseAction 1475668826789 TestRomanNumerals.java OK +UnitTestSessionAction 1475668826789 TestRomanNumerals.java OK +RefactoringAction 1475668845618 TestRomanNumerals.java ADD void testRomanNumerals_IIII_err()/2 METHOD +RefactoringAction 1475668861078 TestRomanNumerals.java RENAME testRomanNumerals_IIII_err()/2=>void testRomanNumerals__err() METHOD +RefactoringAction 1475668863153 TestRomanNumerals.java RENAME testRomanNumerals__err()=>void testRomanNumerals_LX_err() METHOD +RefactoringAction 1475668864713 TestRomanNumerals.java RENAME testRomanNumerals_LX_err()=>void testRomanNumerals_LX_60() METHOD +RefactoringAction 1475668878628 TestRomanNumerals.java RENAME testRomanNumerals_LX_60()=>void testRomanNumerals_CL_60() METHOD +RefactoringAction 1475668887395 TestRomanNumerals.java RENAME testRomanNumerals_CL_60()=>void testRomanNumerals_CL_err() METHOD +EditAction 1475668897832 TestRomanNumerals.java 2986 20 39 19 +UnitTestCaseAction 1475668899675 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668899675 TestRomanNumerals.java FAIL +EditAction 1475668905182 RomanNumerals.java 1947 4 12 0 +UnitTestCaseAction 1475668907107 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668907107 TestRomanNumerals.java FAIL +RefactoringAction 1475668934750 TestRomanNumerals.java RENAME testRomanNumerals_CL_err()=>void testRomanNumerals_LC_err() METHOD +EditAction 1475668935140 TestRomanNumerals.java 2986 20 39 19 +UnitTestCaseAction 1475668936812 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668936812 TestRomanNumerals.testRomanNumerals_LC_err FAIL +EditAction 1475668946282 TestRomanNumerals.java 2960 20 39 19 +UnitTestCaseAction 1475668948047 TestRomanNumerals.java OK +UnitTestSessionAction 1475668948047 TestRomanNumerals.java OK +EditAction 1475668953071 TestRomanNumerals.java 2986 20 39 19 +EditAction 1475668958733 TestRomanNumerals.java 2958 20 38 18 +UnitTestCaseAction 1475668960218 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668960218 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475668967241 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475668967241 TestRomanNumerals.java FAIL +RefactoringAction 1475669038409 RomanNumerals.java ADD void checkRepetition(String, int, int) METHOD +EditAction 1475669038424 RomanNumerals.java 2100 5 15 0 +UnitTestCaseAction 1475669048895 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669048895 TestRomanNumerals.java FAIL +EditAction 1475669060299 RomanNumerals.java 2087 5 14 0 +UnitTestCaseAction 1475669062392 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669062392 TestRomanNumerals.java FAIL +EditAction 1475669156273 RomanNumerals.java 2184 5 12 0 +CompilationAction 1475669157646 RomanNumerals.java +CompilationAction 1475669162841 RomanNumerals.java +UnitTestCaseAction 1475669165074 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669165074 TestRomanNumerals.java FAIL +UnitTestCaseAction 1475669173189 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669173189 TestRomanNumerals.java FAIL +EditAction 1475669244029 RomanNumerals.java 2139 5 15 0 +UnitTestCaseAction 1475669245811 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669245811 TestRomanNumerals.java FAIL +EditAction 1475669265373 RomanNumerals.java 2141 5 15 0 +UnitTestCaseAction 1475669267295 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669267295 TestRomanNumerals.java FAIL +EditAction 1475669320054 RomanNumerals.java 2258 5 15 0 +UnitTestCaseAction 1475669337545 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669337545 TestRomanNumerals.java FAIL +RefactoringAction 1475669372660 RomanNumerals.java ADD int getRepetition(String, int, int, int) METHOD +EditAction 1475669372660 RomanNumerals.java 2440 6 17 0 +EditAction 1475669402222 RomanNumerals.java 2416 6 17 0 +CompilationAction 1475669403658 RomanNumerals.java +CompilationAction 1475669406325 RomanNumerals.java +UnitTestCaseAction 1475669410057 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669410057 TestRomanNumerals.java FAIL +RefactoringAction 1475669435032 TestRomanNumerals.java ADD void testRomanNumerals_LC_err()/2 METHOD +RefactoringAction 1475669437622 TestRomanNumerals.java RENAME testRomanNumerals_LC_err()/2=>void testRomanNumerals_VV_err() METHOD +EditAction 1475669440680 TestRomanNumerals.java 3068 21 39 18 +UnitTestCaseAction 1475669442742 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669442742 TestRomanNumerals.java FAIL +RefactoringAction 1475669482912 TestRomanNumerals.java ADD void testRomanNumerals_VV_err()/2 METHOD +RefactoringAction 1475669485486 TestRomanNumerals.java RENAME testRomanNumerals_VV_err()/2=>void testRomanNumerals_DD_err() METHOD +EditAction 1475669487498 TestRomanNumerals.java 3198 22 40 18 +UnitTestCaseAction 1475669489467 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669489467 TestRomanNumerals.java FAIL +EditAction 1475669656169 RomanNumerals.java 2536 6 17 0 +UnitTestCaseAction 1475669659962 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669659962 TestRomanNumerals.java FAIL +EditAction 1475669729585 RomanNumerals.java 2607 6 17 0 +EditAction 1475669737120 RomanNumerals.java 2665 6 17 0 +UnitTestCaseAction 1475669738870 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669738870 TestRomanNumerals.java FAIL +EditAction 1475669775842 TestRomanNumerals.java 3224 22 41 19 +CompilationAction 1475669777106 TestRomanNumerals.java +CompilationAction 1475669781474 TestRomanNumerals.java +UnitTestCaseAction 1475669783178 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475669783178 TestRomanNumerals.java FAIL +EditAction 1475669924623 RomanNumerals.java 2772 6 17 0 +UnitTestCaseAction 1475669926607 TestRomanNumerals.java OK +UnitTestSessionAction 1475669926607 TestRomanNumerals.java OK +EditAction 1475670068692 RomanNumerals.java 2986 6 17 0 +UnitTestCaseAction 1475670071488 TestRomanNumerals.java OK +UnitTestSessionAction 1475670071488 TestRomanNumerals.java OK +RefactoringAction 1475670093905 TestRomanNumerals.java ADD void testRomanNumerals_DD_err()/2 METHOD +RefactoringAction 1475670096479 TestRomanNumerals.java RENAME testRomanNumerals_DD_err()/2=>void testRomanNumerals_D_err() METHOD +RefactoringAction 1475670097508 TestRomanNumerals.java RENAME testRomanNumerals_D_err()=>void testRomanNumerals__err() METHOD +RefactoringAction 1475670098538 TestRomanNumerals.java RENAME testRomanNumerals__err()=>void testRomanNumerals_XM_err() METHOD +EditAction 1475670100129 TestRomanNumerals.java 3364 23 42 19 +EditAction 1475670104248 TestRomanNumerals.java 3338 23 41 18 +UnitTestCaseAction 1475670109461 TestRomanNumerals.java OK +UnitTestSessionAction 1475670109461 TestRomanNumerals.java OK +RefactoringAction 1475670151051 RomanNumerals.java ADD void validateSubstraction(int, int) METHOD +EditAction 1475670151051 RomanNumerals.java 3111 7 18 0 +RefactoringAction 1475670231836 TestRomanNumerals.java ADD void testRomanNumerals_XM_err()/2 METHOD +EditAction 1475670241087 TestRomanNumerals.java 3460 24 42 18 +UnitTestCaseAction 1475670251760 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670251760 TestRomanNumerals.java FAIL +EditAction 1475670360024 RomanNumerals.java 3183 7 18 0 +UnitTestCaseAction 1475670362274 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670362274 TestRomanNumerals.java FAIL +RefactoringAction 1475670398310 RomanNumerals.java ADD boolean sub FIELD +RefactoringAction 1475670401929 RomanNumerals.java RENAME sub=>boolean subd FIELD +EditAction 1475670419354 RomanNumerals.java 3235 7 18 0 +UnitTestCaseAction 1475670425390 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670425390 TestRomanNumerals.java FAIL +EditAction 1475670453267 RomanNumerals.java 3271 7 18 0 +UnitTestCaseAction 1475670455331 TestRomanNumerals.java OK +UnitTestSessionAction 1475670455331 TestRomanNumerals.java OK +UnitTestCaseAction 1475670530371 TestRomanNumerals.java OK +UnitTestSessionAction 1475670530371 TestRomanNumerals.java OK +EditAction 1475670534006 RomanNumerals.java 3278 7 18 0 +EditAction 1475670541307 RomanNumerals.java 3279 7 18 0 +UnitTestCaseAction 1475670543197 TestRomanNumerals.java OK +UnitTestSessionAction 1475670543197 TestRomanNumerals.java OK +EditAction 1475670550997 RomanNumerals.java 3281 7 18 0 +RefactoringAction 1475670580840 TestRomanNumerals.java ADD void testRomanNumerals_XXC_err()/2 METHOD +EditAction 1475670587673 TestRomanNumerals.java 3590 25 43 18 +UnitTestCaseAction 1475670590110 TestRomanNumerals.java OK +UnitTestSessionAction 1475670590110 TestRomanNumerals.testRomanNumerals_VX_err OK +UnitTestCaseAction 1475670593155 TestRomanNumerals.java OK +UnitTestSessionAction 1475670593155 TestRomanNumerals.java OK +RefactoringAction 1475670608614 TestRomanNumerals.java ADD void testRomanNumerals_VX_err()/2 METHOD +RefactoringAction 1475670610674 TestRomanNumerals.java RENAME testRomanNumerals_VX_err()/2=>void testRomanNumerals_LC_err()/2 METHOD +EditAction 1475670612780 TestRomanNumerals.java 3720 26 44 18 +CompilationAction 1475670614277 TestRomanNumerals.java +RefactoringAction 1475670630751 TestRomanNumerals.java RENAME testRomanNumerals_LC_err()/2=>void testRomanNumerals_DM_err() METHOD +EditAction 1475670630954 TestRomanNumerals.java 3720 26 44 18 +UnitTestCaseAction 1475670633203 TestRomanNumerals.java OK +UnitTestSessionAction 1475670633203 TestRomanNumerals.testRomanNumerals_DM_err OK +UnitTestCaseAction 1475670636950 TestRomanNumerals.java OK +UnitTestSessionAction 1475670636950 TestRomanNumerals.java OK +EditAction 1475670769269 TestRomanNumerals.java 3877 27 45 18 +RefactoringAction 1475670784994 TestRomanNumerals.java ADD static String decToRoman(int) METHOD +RefactoringAction 1475670799424 TestRomanNumerals.java ADD void testRomanNumerals_DM_err()/2 METHOD +RefactoringAction 1475670811358 TestRomanNumerals.java RENAME testRomanNumerals_DM_err()/2=>void testRomanNumerals_2014_err() METHOD +RefactoringAction 1475670813433 TestRomanNumerals.java RENAME testRomanNumerals_2014_err()=>void testRomanNumerals_2014_() METHOD +RefactoringAction 1475670814525 TestRomanNumerals.java RENAME testRomanNumerals_2014_()=>void testRomanNumerals_2014_2014() METHOD +EditAction 1475670882884 TestRomanNumerals.java 4414 29 53 19 +UnitTestCaseAction 1475670885617 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670885617 TestRomanNumerals.java FAIL +EditAction 1475670900531 TestRomanNumerals.java 4444 29 54 19 +UnitTestCaseAction 1475670902297 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475670902297 TestRomanNumerals.java FAIL +RefactoringAction 1475670971218 TestRomanNumerals.java ADD static int decodeSingle(char) METHOD +RefactoringAction 1475670971218 TestRomanNumerals.java ADD static int decode(String) METHOD +EditAction 1475670976803 TestRomanNumerals.java 5069 29 55 19 +CompilationAction 1475670978394 TestRomanNumerals.java +RefactoringAction 1475671006817 TestRomanNumerals.java REMOVE decode(String) METHOD +RefactoringAction 1475671006817 TestRomanNumerals.java REMOVE decodeSingle(char) METHOD +CompilationAction 1475671007067 TestRomanNumerals.java +CompilationAction 1475671007223 TestRomanNumerals.java +CompilationAction 1475671011216 TestRomanNumerals.java +RefactoringAction 1475671038662 TestRomanNumerals.java ADD def to_roman() METHOD +CompilationAction 1475671038911 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039083 TestRomanNumerals.java +CompilationAction 1475671039099 TestRomanNumerals.java +CompilationAction 1475671044122 TestRomanNumerals.java +CompilationAction 1475671044262 TestRomanNumerals.java +RefactoringAction 1475671143525 RomanNumeral.java ADD RomanNumeral.java CLASS +FileOpenedAction 1475671143665 RomanNumeral.java 36 0 0 0 +RefactoringAction 1475671146255 RomanNumeral.java ADD int num FIELD +RefactoringAction 1475671146255 RomanNumeral.java ADD int FIELD +RefactoringAction 1475671146255 RomanNumeral.java ADD String FIELD +RefactoringAction 1475671146255 RomanNumeral.java ADD RomanNumeral(int) METHOD +RefactoringAction 1475671146255 RomanNumeral.java ADD RomanNumeral(String) METHOD +RefactoringAction 1475671146255 RomanNumeral.java ADD int letterToNumber(char) METHOD +RefactoringAction 1475671146270 RomanNumeral.java ADD String toString() METHOD +RefactoringAction 1475671146270 RomanNumeral.java ADD int toInt() METHOD +EditAction 1475671150966 RomanNumeral.java 5727 5 16 0 +EditAction 1475671159109 RomanNumeral.java 5283 5 16 0 +CompilationAction 1475671237359 TestRomanNumerals.java +UnitTestCaseAction 1475671240466 TestRomanNumerals.java OK +UnitTestSessionAction 1475671240466 TestRomanNumerals.java OK +EditAction 1475671276830 TestRomanNumerals.java 4041 27 49 19 +UnitTestCaseAction 1475671278580 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671278580 TestRomanNumerals.java FAIL +EditAction 1475671283260 TestRomanNumerals.java 3954 27 47 19 +UnitTestCaseAction 1475671285697 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671285697 TestRomanNumerals.java FAIL +EditAction 1475671298161 TestRomanNumerals.java 3962 27 47 19 +UnitTestCaseAction 1475671301191 TestRomanNumerals.java OK +UnitTestSessionAction 1475671301191 TestRomanNumerals.java OK +EditAction 1475671419287 TestRomanNumerals.java 4017 27 46 18 +UnitTestCaseAction 1475671421100 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671421100 TestRomanNumerals.java FAIL +EditAction 1475671428026 TestRomanNumerals.java 4017 27 46 18 +UnitTestCaseAction 1475671430229 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671430245 TestRomanNumerals.java FAIL +EditAction 1475671458481 TestRomanNumerals.java 4044 27 46 18 +UnitTestCaseAction 1475671461822 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671461822 TestRomanNumerals.java FAIL +RefactoringAction 1475671477828 TestRomanNumerals.java RENAME testRomanNumerals_2014_2014()=>void testRomanNumerals_1_2014() METHOD +RefactoringAction 1475671480417 TestRomanNumerals.java RENAME testRomanNumerals_1_2014()=>void testRomanNumerals_1_3999() METHOD +RefactoringAction 1475671484036 TestRomanNumerals.java RENAME testRomanNumerals_1_3999()=>void testRomanNumerals_1_to_3999() METHOD +EditAction 1475671484083 TestRomanNumerals.java 4044 27 46 18 +UnitTestCaseAction 1475671499203 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671499218 TestRomanNumerals.java FAIL +RefactoringAction 1475671533445 TestRomanNumerals.java ADD void testRomanNumerals_DM_err()/2 METHOD +RefactoringAction 1475671536549 TestRomanNumerals.java RENAME testRomanNumerals_DM_err()/2=>void testRomanNumerals_XLII_err() METHOD +RefactoringAction 1475671538109 TestRomanNumerals.java RENAME testRomanNumerals_XLII_err()=>void testRomanNumerals_XLII_42() METHOD +EditAction 1475671541136 TestRomanNumerals.java 4177 28 47 18 +UnitTestCaseAction 1475671543417 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671543417 TestRomanNumerals.java FAIL +RefactoringAction 1475671603956 TestRomanNumerals.java REMOVE testRomanNumerals_1_to_3999() METHOD +EditAction 1475671605610 TestRomanNumerals.java 4184 27 45 18 +UnitTestCaseAction 1475671607688 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671607688 TestRomanNumerals.java FAIL +EditAction 1475671620480 TestRomanNumerals.java 4158 27 45 18 +UnitTestCaseAction 1475671623088 TestRomanNumerals.java OK +UnitTestSessionAction 1475671623088 TestRomanNumerals.java OK +EditAction 1475671632760 TestRomanNumerals.java 4184 27 46 19 +CompilationAction 1475671634242 TestRomanNumerals.java +CompilationAction 1475671640232 TestRomanNumerals.java +UnitTestCaseAction 1475671642139 TestRomanNumerals.java OK +UnitTestSessionAction 1475671642139 TestRomanNumerals.java OK +EditAction 1475671669267 TestRomanNumerals.java 4195 27 46 19 +UnitTestCaseAction 1475671671159 TestRomanNumerals.java OK +UnitTestSessionAction 1475671671159 TestRomanNumerals.java OK +RefactoringAction 1475671679099 TestRomanNumerals.java ADD void testRomanNumerals_1_to_3999() METHOD +EditAction 1475671679442 TestRomanNumerals.java 4188 28 48 19 +EditAction 1475671690549 TestRomanNumerals.java 4202 28 49 19 +UnitTestCaseAction 1475671692534 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671692534 TestRomanNumerals.java FAIL +EditAction 1475671727322 RomanNumerals.java 3300 7 18 0 +UnitTestCaseAction 1475671729696 TestRomanNumerals.java OK +UnitTestSessionAction 1475671729712 TestRomanNumerals.java OK +EditAction 1475671739087 TestRomanNumerals.java 4175 28 49 19 +UnitTestCaseAction 1475671740993 TestRomanNumerals.java OK +UnitTestSessionAction 1475671740993 TestRomanNumerals.java OK +EditAction 1475671906104 TestRomanNumerals.java 4175 28 49 19 +UnitTestCaseAction 1475671908416 TestRomanNumerals.java FAIL +UnitTestSessionAction 1475671908416 TestRomanNumerals.java FAIL +EditAction 1475671913657 TestRomanNumerals.java 4175 28 49 19 diff --git a/.besouro/20161005142238292/besouroEpisodes.txt b/.besouro/20161005142238292/besouroEpisodes.txt new file mode 100644 index 0000000..cd15e6f --- /dev/null +++ b/.besouro/20161005142238292/besouroEpisodes.txt @@ -0,0 +1,465 @@ +1475666591102 refactoring 2A 32 true +1475666673317 refactoring 2A 41 true +1475666673318 production 3 41 false +1475666687610 regression 1 0 true +1475666726316 refactoring 2A 5 true +1475666747177 refactoring 2A 2 true +1475666748615 regression 1 0 true +1475666798475 refactoring 2A 2 true +1475666821208 refactoring 2A 3 true +1475666835282 refactoring 2A 1 true +1475666857136 regression 1 1 true +1475666864175 regression 1 0 true +1475667019491 test-addition 1 14 true +1475668292927 refactoring 3 1265 true +1475668292928 refactoring 3 1265 true +1475668292929 refactoring 3 1265 true +1475668292930 refactoring 3 1265 true +1475668292931 refactoring 3 1265 true +1475668292932 refactoring 3 1265 true +1475668292933 refactoring 3 1265 true +1475668292934 refactoring 3 1265 true +1475668292935 refactoring 3 1265 true +1475668292936 refactoring 3 1265 true +1475668292937 refactoring 3 1265 true +1475668292938 refactoring 3 1265 true +1475668292939 refactoring 3 1265 true +1475668292940 refactoring 3 1265 true +1475668292941 refactoring 3 1265 true +1475668292942 refactoring 3 1265 true +1475668292943 refactoring 3 1265 true +1475668292944 refactoring 3 1265 true +1475668292945 refactoring 3 1265 true +1475668292946 refactoring 3 1265 true +1475668292947 refactoring 3 1265 true +1475668292948 refactoring 3 1265 true +1475668308062 regression 1 0 true +1475668442259 refactoring 2A 129 true +1475668482482 regression 2 37 true +1475668818799 refactoring 2A 329 true +1475668826789 regression 1 0 true +1475668948047 test-first 3 102 true +1475668948048 test-first 3 102 true +1475669926607 test-first 1 973 true +1475669926608 test-first 1 973 true +1475669926609 test-first 1 973 true +1475669926610 test-first 1 973 true +1475669926611 test-first 1 973 true +1475669926612 test-first 1 973 true +1475669926613 test-first 1 973 true +1475669926614 test-last 1 973 false +1475669926615 test-first 1 973 true +1475669926616 test-last 1 973 false +1475669926617 test-first 1 973 true +1475669926618 test-last 1 973 false +1475669926619 test-first 1 973 true +1475669926620 test-last 1 973 false +1475669926621 test-first 1 973 true +1475669926622 test-last 1 973 false +1475669926623 test-first 1 973 true +1475669926624 test-last 1 973 false +1475669926625 test-first 1 973 true +1475669926626 test-last 1 973 false +1475669926627 test-first 1 973 true +1475669926628 test-last 1 973 false +1475669926629 test-first 1 973 true +1475669926630 test-first 1 973 true +1475669926631 test-first 1 973 true +1475669926632 test-first 1 973 true +1475669926633 test-first 1 973 true +1475669926634 test-last 1 973 false +1475669926635 test-first 1 973 true +1475669926636 test-last 1 973 false +1475669926637 test-first 1 973 true +1475669926638 test-last 1 973 false +1475669926639 test-first 1 973 true +1475669926640 test-last 1 973 false +1475669926641 test-last 1 973 false +1475669926642 test-last 1 973 false +1475669926643 test-last 1 973 false +1475669926644 test-last 1 973 false +1475669926645 test-last 1 973 false +1475669926646 test-last 1 973 false +1475669926647 test-last 1 973 false +1475669926648 test-last 1 973 false +1475669926649 test-last 1 973 false +1475669926650 test-last 1 973 false +1475669926651 test-last 1 973 false +1475669926652 test-last 1 973 false +1475669926653 test-last 1 973 false +1475669926654 test-last 1 973 false +1475669926655 test-last 1 973 false +1475669926656 test-first 1 973 true +1475669926657 test-first 1 973 true +1475669926658 test-first 1 973 true +1475669926659 test-first 1 973 true +1475669926660 test-first 1 973 true +1475669926661 test-first 1 973 true +1475669926662 test-first 1 973 true +1475669926663 test-first 1 973 true +1475669926664 test-first 1 973 true +1475669926665 test-first 1 973 true +1475669926666 test-first 1 973 true +1475669926667 test-first 1 973 true +1475669926668 test-first 1 973 true +1475669926669 test-first 1 973 true +1475669926670 test-first 1 973 true +1475669926671 test-first 1 973 true +1475669926672 test-first 1 973 true +1475669926673 test-first 1 973 true +1475669926674 test-first 1 973 true +1475669926675 test-first 1 973 true +1475669926676 test-first 1 973 true +1475669926677 test-first 1 973 true +1475669926678 test-first 1 973 true +1475669926679 test-first 1 973 true +1475670071488 refactoring 2A 2 true +1475670109461 test-addition 1 15 true +1475670455331 test-first 3 304 true +1475670455332 test-first 3 304 true +1475670455333 test-first 3 304 true +1475670455334 test-first 3 304 true +1475670455335 test-first 3 304 true +1475670455336 test-first 3 304 true +1475670455337 test-last 1 304 false +1475670530371 regression 1 0 true +1475670543197 refactoring 2A 9 true +1475670590110 test-last 1 39 false +1475670593155 regression 1 0 true +1475670633203 test-addition 1 24 true +1475670636950 regression 1 0 true +1475671240466 test-first 1 471 true +1475671240467 test-first 1 471 true +1475671240468 test-first 1 471 true +1475671240469 test-first 1 471 true +1475671240470 test-first 1 471 true +1475671240471 test-first 1 471 true +1475671240472 test-first 1 471 true +1475671240473 test-first 1 471 true +1475671240474 test-first 1 471 true +1475671240475 test-first 1 471 true +1475671240476 test-first 1 471 true +1475671240477 test-first 1 471 true +1475671240478 test-first 1 471 true +1475671240479 test-first 1 471 true +1475671240480 test-first 1 471 true +1475671240481 test-first 1 471 true +1475671240482 test-first 1 471 true +1475671240483 test-first 1 471 true +1475671240484 test-first 1 471 true +1475671240485 test-first 1 471 true +1475671240486 test-first 1 471 true +1475671240487 test-first 1 471 true +1475671240488 test-first 1 471 true +1475671240489 test-first 1 471 true +1475671240490 test-first 1 471 true +1475671240491 test-first 1 471 true +1475671240492 test-first 1 471 true +1475671240493 test-first 1 471 true +1475671240494 test-first 1 471 true +1475671240495 test-first 1 471 true +1475671240496 test-first 1 471 true +1475671240497 test-first 1 471 true +1475671240498 test-first 1 471 true +1475671240499 test-first 1 471 true +1475671240500 test-first 1 471 true +1475671240501 test-first 1 471 true +1475671240502 test-first 1 471 true +1475671240503 test-first 1 471 true +1475671240504 test-first 1 471 true +1475671240505 test-first 1 471 true +1475671240506 test-first 1 471 true +1475671240507 test-first 1 471 true +1475671240508 test-first 1 471 true +1475671240509 test-first 1 471 true +1475671240510 test-first 1 471 true +1475671240511 test-first 1 471 true +1475671240512 test-first 1 471 true +1475671240513 test-first 1 471 true +1475671240514 test-first 1 471 true +1475671240515 test-first 1 471 true +1475671240516 test-first 1 471 true +1475671240517 test-first 1 471 true +1475671240518 test-first 1 471 true +1475671240519 test-first 1 471 true +1475671240520 test-first 1 471 true +1475671240521 test-first 1 471 true +1475671240522 test-first 1 471 true +1475671240523 test-first 1 471 true +1475671240524 test-first 1 471 true +1475671240525 test-first 1 471 true +1475671240526 test-first 1 471 true +1475671240527 test-first 1 471 true +1475671240528 test-first 1 471 true +1475671240529 test-first 1 471 true +1475671240530 test-first 1 471 true +1475671240531 test-first 1 471 true +1475671240532 test-first 1 471 true +1475671240533 test-first 1 471 true +1475671240534 test-first 1 471 true +1475671240535 test-first 1 471 true +1475671240536 test-first 1 471 true +1475671240537 test-first 1 471 true +1475671240538 test-first 1 471 true +1475671240539 test-first 1 471 true +1475671240540 test-first 1 471 true +1475671240541 test-first 1 471 true +1475671240542 test-first 1 471 true +1475671240543 test-first 1 471 true +1475671240544 test-first 1 471 true +1475671240545 test-first 1 471 true +1475671240546 test-first 1 471 true +1475671240547 test-first 1 471 true +1475671240548 test-first 1 471 true +1475671240549 test-first 1 471 true +1475671240550 test-first 1 471 true +1475671240551 test-first 1 471 true +1475671240552 test-first 1 471 true +1475671240553 test-first 1 471 true +1475671240554 test-first 1 471 true +1475671240555 test-first 1 471 true +1475671240556 test-first 1 471 true +1475671240557 test-first 1 471 true +1475671240558 test-first 1 471 true +1475671240559 test-first 1 471 true +1475671240560 test-first 1 471 true +1475671240561 test-first 1 471 true +1475671240562 test-first 1 471 true +1475671240563 test-first 1 471 true +1475671240564 test-first 1 471 true +1475671240565 test-first 1 471 true +1475671240566 test-first 1 471 true +1475671240567 test-first 1 471 true +1475671240568 test-first 1 471 true +1475671240569 test-first 1 471 true +1475671240570 test-first 1 471 true +1475671240571 test-first 1 471 true +1475671240572 test-first 1 471 true +1475671240573 test-first 1 471 true +1475671240574 test-first 1 471 true +1475671240575 test-first 1 471 true +1475671240576 test-first 1 471 true +1475671240577 test-first 1 471 true +1475671240578 test-first 1 471 true +1475671240579 test-first 1 471 true +1475671240580 test-first 1 471 true +1475671240581 test-first 1 471 true +1475671240582 test-first 1 471 true +1475671240583 test-first 1 471 true +1475671240584 test-first 1 471 true +1475671240585 test-first 1 471 true +1475671240586 test-first 1 471 true +1475671240587 test-first 1 471 true +1475671240588 test-first 1 471 true +1475671240589 test-first 1 471 true +1475671240590 test-first 1 471 true +1475671240591 test-first 1 471 true +1475671240592 test-first 1 471 true +1475671240593 test-first 1 471 true +1475671240594 test-first 1 471 true +1475671240595 test-first 1 471 true +1475671240596 test-first 1 471 true +1475671240597 test-first 1 471 true +1475671240598 test-first 1 471 true +1475671240599 test-first 1 471 true +1475671240600 test-first 1 471 true +1475671240601 test-first 1 471 true +1475671240602 test-first 1 471 true +1475671240603 test-first 1 471 true +1475671240604 test-first 1 471 true +1475671240605 test-first 1 471 true +1475671240606 test-first 1 471 true +1475671240607 test-first 1 471 true +1475671240608 test-first 1 471 true +1475671240609 test-first 1 471 true +1475671240610 test-first 1 471 true +1475671240611 test-first 1 471 true +1475671240612 test-first 1 471 true +1475671240613 test-first 1 471 true +1475671240614 test-first 1 471 true +1475671240615 test-first 1 471 true +1475671240616 test-first 1 471 true +1475671240617 test-first 1 471 true +1475671240618 test-first 1 471 true +1475671240619 test-first 1 471 true +1475671240620 test-first 1 471 true +1475671240621 test-first 1 471 true +1475671240622 test-first 1 471 true +1475671240623 test-first 1 471 true +1475671240624 test-first 1 471 true +1475671240625 test-first 1 471 true +1475671240626 test-first 1 471 true +1475671240627 test-first 1 471 true +1475671240628 test-first 1 471 true +1475671240629 test-first 1 471 true +1475671240630 test-first 1 471 true +1475671240631 test-first 1 471 true +1475671240632 test-first 1 471 true +1475671240633 test-first 1 471 true +1475671240634 test-first 1 471 true +1475671240635 test-first 1 471 true +1475671240636 test-first 1 471 true +1475671240637 test-first 1 471 true +1475671240638 test-first 1 471 true +1475671240639 test-first 1 471 true +1475671240640 test-first 1 471 true +1475671240641 test-first 1 471 true +1475671240642 test-first 1 471 true +1475671240643 test-first 1 471 true +1475671240644 test-first 1 471 true +1475671240645 test-first 1 471 true +1475671240646 test-first 1 471 true +1475671240647 test-first 1 471 true +1475671240648 test-first 1 471 true +1475671240649 test-first 1 471 true +1475671240650 test-first 1 471 true +1475671240651 test-first 1 471 true +1475671240652 test-first 1 471 true +1475671240653 test-first 1 471 true +1475671240654 test-first 1 471 true +1475671240655 test-first 1 471 true +1475671240656 test-first 1 471 true +1475671240657 test-first 1 471 true +1475671240658 test-first 1 471 true +1475671240659 test-first 1 471 true +1475671240660 test-first 1 471 true +1475671240661 test-first 1 471 true +1475671240662 test-first 1 471 true +1475671240663 test-first 1 471 true +1475671240664 test-first 1 471 true +1475671240665 test-first 1 471 true +1475671240666 test-first 1 471 true +1475671240667 test-first 1 471 true +1475671240668 test-first 1 471 true +1475671240669 test-first 1 471 true +1475671240670 test-first 1 471 true +1475671240671 test-first 1 471 true +1475671240672 test-first 1 471 true +1475671240673 test-first 1 471 true +1475671240674 test-first 1 471 true +1475671240675 test-first 1 471 true +1475671240676 test-first 1 471 true +1475671240677 test-first 1 471 true +1475671240678 test-first 1 471 true +1475671240679 test-first 1 471 true +1475671240680 test-first 1 471 true +1475671240681 test-first 1 471 true +1475671240682 test-first 1 471 true +1475671240683 test-first 1 471 true +1475671240684 test-first 1 471 true +1475671240685 test-first 1 471 true +1475671240686 test-first 1 471 true +1475671240687 test-first 1 471 true +1475671240688 test-first 1 471 true +1475671240689 test-first 1 471 true +1475671240690 test-first 1 471 true +1475671240691 test-first 1 471 true +1475671240692 test-first 1 471 true +1475671240693 test-first 1 471 true +1475671240694 test-first 1 471 true +1475671240695 test-first 1 471 true +1475671240696 test-first 1 471 true +1475671240697 test-first 1 471 true +1475671240698 test-first 1 471 true +1475671240699 test-first 1 471 true +1475671240700 test-first 1 471 true +1475671240701 test-first 1 471 true +1475671240702 test-first 1 471 true +1475671240703 test-first 1 471 true +1475671240704 test-first 1 471 true +1475671240705 test-first 1 471 true +1475671240706 test-first 1 471 true +1475671240707 test-first 1 471 true +1475671240708 test-first 1 471 true +1475671240709 test-first 1 471 true +1475671240710 test-first 1 471 true +1475671240711 test-first 1 471 true +1475671240712 test-first 1 471 true +1475671240713 test-first 1 471 true +1475671240714 test-first 1 471 true +1475671240715 test-first 1 471 true +1475671240716 test-first 1 471 true +1475671240717 test-first 1 471 true +1475671240718 test-first 1 471 true +1475671240719 test-first 1 471 true +1475671240720 test-first 1 471 true +1475671240721 test-first 1 471 true +1475671240722 test-first 1 471 true +1475671240723 test-first 1 471 true +1475671240724 test-first 1 471 true +1475671240725 test-first 1 471 true +1475671240726 test-first 1 471 true +1475671240727 test-first 1 471 true +1475671240728 test-first 1 471 true +1475671240729 test-first 1 471 true +1475671240730 test-first 1 471 true +1475671240731 test-first 1 471 true +1475671240732 test-first 1 471 true +1475671240733 test-first 1 471 true +1475671240734 test-first 1 471 true +1475671240735 test-first 1 471 true +1475671240736 test-first 1 471 true +1475671240737 test-first 1 471 true +1475671240738 test-first 1 471 true +1475671240739 test-first 1 471 true +1475671240740 test-first 1 471 true +1475671240741 test-first 1 471 true +1475671240742 test-first 1 471 true +1475671240743 test-first 1 471 true +1475671240744 test-first 1 471 true +1475671240745 test-first 1 471 true +1475671240746 test-first 1 471 true +1475671240747 test-first 1 471 true +1475671240748 test-first 1 471 true +1475671240749 test-first 1 471 true +1475671240750 test-first 1 471 true +1475671240751 test-first 1 471 true +1475671240752 test-first 1 471 true +1475671240753 test-first 1 471 true +1475671240754 test-first 1 471 true +1475671240755 test-first 1 471 true +1475671240756 test-first 1 471 true +1475671240757 test-first 1 471 true +1475671240758 test-first 1 471 true +1475671240759 test-first 1 471 true +1475671240760 test-first 1 471 true +1475671240761 test-first 1 471 true +1475671240762 test-first 1 471 true +1475671240763 test-first 1 471 true +1475671240764 test-first 1 471 true +1475671240765 test-first 1 471 true +1475671240766 test-first 1 471 true +1475671240767 test-first 1 471 true +1475671240768 test-first 1 471 true +1475671240769 test-first 1 471 true +1475671240770 test-first 1 471 true +1475671240771 test-first 1 471 true +1475671240772 test-first 1 471 true +1475671240773 test-first 1 471 true +1475671240774 test-first 1 471 true +1475671240775 test-first 1 471 true +1475671240776 test-first 1 471 true +1475671240777 test-first 1 471 true +1475671240778 test-first 1 471 true +1475671240779 test-first 1 471 true +1475671240780 test-first 1 471 true +1475671240781 test-first 1 471 true +1475671240782 test-first 1 471 true +1475671240783 test-first 1 471 true +1475671240784 test-first 1 471 true +1475671240785 test-first 1 471 true +1475671240786 test-first 1 471 true +1475671240787 test-first 1 471 true +1475671240788 test-first 1 471 true +1475671240789 test-first 1 471 true +1475671240790 test-first 1 471 true +1475671240791 test-first 1 471 true +1475671301191 refactoring 1A 24 true +1475671301192 refactoring 1A 24 true +1475671623088 test-addition 2 203 true +1475671623089 test-addition 2 203 true +1475671623090 test-addition 1 203 true +1475671642139 test-addition 1 9 true +1475671671159 regression 1 1 true +1475671729712 test-first 3 50 true +1475671740993 regression 1 1 true diff --git a/.besouro/20161005142238292/disagreements.txt b/.besouro/20161005142238292/disagreements.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142238292/randomHeuristicEpisodes.txt b/.besouro/20161005142238292/randomHeuristicEpisodes.txt new file mode 100644 index 0000000..52f129d --- /dev/null +++ b/.besouro/20161005142238292/randomHeuristicEpisodes.txt @@ -0,0 +1,36 @@ +1475666591102 refactoring 2A 32 false +1475666673317 refactoring 2A 41 false +1475666687610 regression 1 0 false +1475666726316 refactoring 2A 5 false +1475666747177 refactoring 2A 2 false +1475666748615 regression 1 0 true +1475666798475 refactoring 2A 2 true +1475666821208 refactoring 2A 3 false +1475666835282 refactoring 2A 1 true +1475666857136 regression 1 1 false +1475666864175 regression 1 0 false +1475667019491 test-addition 1 14 false +1475668292927 refactoring 3 1265 false +1475668308062 regression 1 0 false +1475668442259 refactoring 2A 129 true +1475668482482 regression 2 37 true +1475668818799 refactoring 2A 329 false +1475668826789 regression 1 0 true +1475668948047 test-first 3 102 true +1475669926607 test-first 1 973 true +1475670071488 refactoring 2A 2 false +1475670109461 test-addition 1 15 false +1475670455331 test-first 3 304 true +1475670530371 regression 1 0 false +1475670543197 refactoring 2A 9 false +1475670590110 test-last 1 39 false +1475670593155 regression 1 0 true +1475670633203 test-addition 1 24 false +1475670636950 regression 1 0 false +1475671240466 test-first 1 471 true +1475671301191 refactoring 1A 24 true +1475671623088 test-addition 2 203 true +1475671642139 test-addition 1 9 true +1475671671159 regression 1 1 true +1475671729712 test-first 3 50 true +1475671740993 regression 1 1 true diff --git a/.besouro/20161005142238292/userComments.txt b/.besouro/20161005142238292/userComments.txt new file mode 100644 index 0000000..e69de29 diff --git a/.besouro/20161005142238292/zorroEpisodes.txt b/.besouro/20161005142238292/zorroEpisodes.txt new file mode 100644 index 0000000..f65c78a --- /dev/null +++ b/.besouro/20161005142238292/zorroEpisodes.txt @@ -0,0 +1,36 @@ +1475666591102 refactoring 2A 32 true +1475666673317 refactoring 2A 82 true +1475666687610 regression 1 14 true +1475666726316 refactoring 2A 38 true +1475666747177 refactoring 2A 20 true +1475666748615 regression 1 1 true +1475666798475 refactoring 2A 49 true +1475666821208 refactoring 2A 22 true +1475666835282 refactoring 2A 14 true +1475666857136 regression 1 21 true +1475666864175 regression 1 7 true +1475667019491 test-addition 1 155 true +1475668292927 refactoring 3 1273 true +1475668308062 regression 1 15 true +1475668442259 refactoring 2A 134 true +1475668482482 regression 2 40 true +1475668818799 refactoring 2A 336 true +1475668826789 regression 1 7 true +1475668948047 test-first 3 121 true +1475669926607 test-first 1 978 true +1475670071488 refactoring 2A 144 true +1475670109461 test-addition 1 37 true +1475670455331 test-first 3 345 true +1475670530371 regression 1 75 true +1475670543197 refactoring 2A 12 true +1475670590110 test-last 1 46 false +1475670593155 regression 1 3 true +1475670633203 test-addition 1 40 true +1475670636950 regression 1 3 true +1475671240466 test-first 1 603 true +1475671301191 refactoring 1A 60 true +1475671623088 test-addition 2 321 true +1475671642139 test-addition 1 19 true +1475671671159 regression 1 29 true +1475671729712 test-first 3 58 true +1475671740993 regression 1 11 true diff --git a/.classpath b/.classpath index b85cb56..b49ab80 100644 --- a/.classpath +++ b/.classpath @@ -1,8 +1,8 @@ - - - - - - - - + + + + + + + + diff --git a/.gitattributes b/.gitattributes index bdb0cab..7351b55 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,17 +1,17 @@ -# Auto detect text files and perform LF normalization -* text=auto - -# Custom for Visual Studio -*.cs diff=csharp - -# Standard to msysgit -*.doc diff=astextplain -*.DOC diff=astextplain -*.docx diff=astextplain -*.DOCX diff=astextplain -*.dot diff=astextplain -*.DOT diff=astextplain -*.pdf diff=astextplain -*.PDF diff=astextplain -*.rtf diff=astextplain -*.RTF diff=astextplain +# Auto detect text files and perform LF normalization +* text=auto + +# Custom for Visual Studio +*.cs diff=csharp + +# Standard to msysgit +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore index daae7a9..0046b29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,48 +1,48 @@ -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msm -*.msp - -# Windows shortcuts -*.lnk - -# ========================= -# Operating System Files -# ========================= - -# OSX -# ========================= - -.DS_Store -.AppleDouble -.LSOverride - -# Thumbnails -._* - -# Files that might appear in the root of a volume -.DocumentRevisions-V100 -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes -.VolumeIcon.icns - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk -/bin/ +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +/bin/ diff --git a/.project b/.project index ae0e541..b749631 100644 --- a/.project +++ b/.project @@ -1,17 +1,17 @@ - - - RomanNumerals - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + + + RomanNumerals + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/src/RomanNumerals.java b/src/RomanNumerals.java index 20904f0..e20900d 100644 --- a/src/RomanNumerals.java +++ b/src/RomanNumerals.java @@ -1,8 +1,128 @@ public class RomanNumerals { - public int convertToInteger(String romanNum) { - // To be Implemented - return 0; + private static final char I = 'I'; + private static final char V = 'V'; + private static final char X = 'X'; + private static final char L = 'L'; + private static final char C = 'C'; + private static final char D = 'D'; + private static final char M = 'M'; + + private boolean subd = false; + + public int convertToInteger(String romanNum) throws Exception { + int value = 0; + int lastIndexOfNum = romanNum.length() - 1; + for (int i = lastIndexOfNum; i >= 0; i--) { + checkRepetition(romanNum, lastIndexOfNum, i); + value += parseCharacterToValue(romanNum, i); + } + return value; + } + + private void checkRepetition(String romanNum, int lastIndexOfNum, int i) throws Exception { + char c = romanNum.charAt(i); + int repeated = getRepetition(romanNum, lastIndexOfNum, i); + if ((c == I || c == X || c == C || c == M) && repeated > 3) { + throw new Exception("Symbol repeated too many times"); + } + else if ((c == V || c == L || c == D) && repeated > 1) { + throw new Exception("Invalid symbol repeated"); + } + } + + private int getRepetition(String romanNum, int lastIndexOfNum, int i) { + int repeated = 1; + if (i < lastIndexOfNum) { + for (int j = i + 1; j <= lastIndexOfNum; j++) { + if (romanNum.charAt(i) == romanNum.charAt(j)) { + repeated++; + } + else { + break; + } + } + } + return repeated; + } + + private int parseCharacterToValue(String romanNum, int i) throws Exception { + int currentVal, nextVal; + currentVal = getCharValue(romanNum.charAt(i)); + try { + nextVal = getCharValue(romanNum.charAt(i + 1)); + return getCurrentValue(currentVal, nextVal); + } + catch(Exception e) { // @hacks + if (e.getMessage() == "invalid substraction") { + throw e; + } + else { + subd = false; + return currentVal; // when trying to get next of last, it is intended to end up here + } + } } + + private int getCurrentValue(int currentVal, int nextVal) throws Exception { + if (currentVal == nextVal) { + if (subd) { + throw new Exception("invalid substraction"); + } + subd = false; + return currentVal; + } + else if (currentVal < nextVal) { + validateSubstraction(currentVal, nextVal); + subd = true; + return -currentVal; + } + else if (currentVal > nextVal) { + subd = false; + return currentVal; + } + return 0; + } + + private void validateSubstraction(int currentVal, int nextVal) throws Exception { + if (currentVal == 1 && nextVal > 10) { + throw new Exception("invalid substraction"); + } + else if (currentVal == 10 && nextVal > 100) { + throw new Exception("invalid substraction"); + } + else if (currentVal == 100 && nextVal > 1000) { + throw new Exception("invalid substraction"); + } + else if (currentVal == 5 || currentVal == 50 || currentVal == 500) { + throw new Exception("invalid substraction"); + } + } + + private int getCharValue(char romanNum) { + if (romanNum == I) { + return 1; + } + else if (romanNum == V) { + return 5; + } + else if (romanNum == X) { + return 10; + } + else if (romanNum == L) { + return 50; + } + else if (romanNum == C) { + return 100; + } + else if (romanNum == D) { + return 500; + } + else if (romanNum == M) { + return 1000; + } + return 0; + } + } diff --git a/tests/RomanNumeral.java b/tests/RomanNumeral.java new file mode 100644 index 0000000..68b90fb --- /dev/null +++ b/tests/RomanNumeral.java @@ -0,0 +1,137 @@ + /** + * An object of type RomanNumeral is an integer between 1 and 3999. It can + * be constructed either from an integer or from a string that represents + * a Roman numeral in this range. The function toString() will return a + * standardized Roman numeral representation of the number. The function + * toInt() will return the number as a value of type int. + */ + public class RomanNumeral { + + private final int num; // The number represented by this Roman numeral. + + /* The following arrays are used by the toString() function to construct + the standard Roman numeral representation of the number. For each i, + the number numbers[i] is represented by the corresponding string, letters[i]. + */ + + private static int[] numbers = { 1000, 900, 500, 400, 100, 90, + 50, 40, 10, 9, 5, 4, 1 }; + + private static String[] letters = { "M", "CM", "D", "CD", "C", "XC", + "L", "XL", "X", "IX", "V", "IV", "I" }; + + /** + * Constructor. Creates the Roman number with the int value specified + * by the parameter. Throws a NumberFormatException if arabic is + * not in the range 1 to 3999 inclusive. + */ + public RomanNumeral(int arabic) { + if (arabic < 1) + throw new NumberFormatException("Value of RomanNumeral must be positive."); + if (arabic > 3999) + throw new NumberFormatException("Value of RomanNumeral must be 3999 or less."); + num = arabic; + } + + + /* + * Constructor. Creates the Roman number with the given representation. + * For example, RomanNumeral("xvii") is 17. If the parameter is not a + * legal Roman numeral, a NumberFormatException is thrown. Both upper and + * lower case letters are allowed. + */ + public RomanNumeral(String roman) { + + if (roman.length() == 0) + throw new NumberFormatException("An empty string does not define a Roman numeral."); + + roman = roman.toUpperCase(); // Convert to upper case letters. + + int i = 0; // A position in the string, roman; + int arabic = 0; // Arabic numeral equivalent of the part of the string that has + // been converted so far. + + while (i < roman.length()) { + + char letter = roman.charAt(i); // Letter at current position in string. + int number = letterToNumber(letter); // Numerical equivalent of letter. + + i++; // Move on to next position in the string + + if (i == roman.length()) { + // There is no letter in the string following the one we have just processed. + // So just add the number corresponding to the single letter to arabic. + arabic += number; + } + else { + // Look at the next letter in the string. If it has a larger Roman numeral + // equivalent than number, then the two letters are counted together as + // a Roman numeral with value (nextNumber - number). + int nextNumber = letterToNumber(roman.charAt(i)); + if (nextNumber > number) { + // Combine the two letters to get one value, and move on to next position in string. + arabic += (nextNumber - number); + i++; + } + else { + // Don't combine the letters. Just add the value of the one letter onto the number. + arabic += number; + } + } + + } // end while + + if (arabic > 3999) + throw new NumberFormatException("Roman numeral must have value 3999 or less."); + + num = arabic; + + } // end constructor + + + /** + * Find the integer value of letter considered as a Roman numeral. Throws + * NumberFormatException if letter is not a legal Roman numeral. The letter + * must be upper case. + */ + private int letterToNumber(char letter) { + switch (letter) { + 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( + "Illegal character \"" + letter + "\" in Roman numeral"); + } + } + + + /** + * Return the standard representation of this Roman numeral. + */ + public String toString() { + String roman = ""; // The roman numeral. + int N = num; // N represents the part of num that still has + // to be converted to Roman numeral representation. + for (int i = 0; i < numbers.length; i++) { + while (N >= numbers[i]) { + roman += letters[i]; + N -= numbers[i]; + } + } + return roman; + } + + + /** + * Return the value of this Roman numeral as an int. + */ + public int toInt() { + return num; + } + + + } \ No newline at end of file diff --git a/tests/TestRomanNumerals.java b/tests/TestRomanNumerals.java index 5d1de75..25a8daf 100644 --- a/tests/TestRomanNumerals.java +++ b/tests/TestRomanNumerals.java @@ -1,12 +1,148 @@ import static org.junit.Assert.*; + + import org.junit.Test; public class TestRomanNumerals { + + private RomanNumerals rn = new RomanNumerals(); - @Test - public void test() { - fail("Not yet implemented"); + @Test public void testRomanNumerals_emptyString() throws Exception { + int num = rn.convertToInteger(""); + assertEquals(0, num); + } + + @Test public void testRomanNumerals_I_1() throws Exception { + int num = rn.convertToInteger("I"); + assertEquals(1, num); + } + + @Test public void testRomanNumerals_II_2() throws Exception { + int num = rn.convertToInteger("II"); + assertEquals(2, num); + } + + @Test public void testRomanNumerals_III_3() throws Exception { + int num = rn.convertToInteger("III"); + assertEquals(3, num); + } + + @Test public void testRomanNumerals_V_5() throws Exception { + int num = rn.convertToInteger("V"); + assertEquals(5, num); + } + + @Test public void testRomanNumerals_IV_4() throws Exception { + int num = rn.convertToInteger("IV"); + assertEquals(4, num); + } + + @Test public void testRomanNumerals_VI_6() throws Exception { + int num = rn.convertToInteger("VI"); + assertEquals(6, num); + } + + @Test public void testRomanNumerals_X_10() throws Exception { + int num = rn.convertToInteger("X"); + assertEquals(10, num); + } + + @Test public void testRomanNumerals_L_50() throws Exception { + int num = rn.convertToInteger("L"); + assertEquals(50, num); + } + + @Test public void testRomanNumerals_C_100() throws Exception { + int num = rn.convertToInteger("C"); + assertEquals(100, num); + } + + @Test public void testRomanNumerals_D_500() throws Exception { + int num = rn.convertToInteger("D"); + assertEquals(500, num); + } + + @Test public void testRomanNumerals_M_1000() throws Exception { + int num = rn.convertToInteger("M"); + assertEquals(1000, num); + } + + @Test public void testRomanNumerals_XX_20() throws Exception { + int num = rn.convertToInteger("XX"); + assertEquals(20, num); + } + + @Test public void testRomanNumerals_XC_90() throws Exception { + int num = rn.convertToInteger("XC"); + assertEquals(90, num); + } + + @Test public void testRomanNumerals_LXX_70() throws Exception { + int num = rn.convertToInteger("LXX"); + assertEquals(70, num); + } + + @Test public void testRomanNumerals_CM_900() throws Exception { + int num = rn.convertToInteger("CM"); + assertEquals(900, num); + } + + @Test public void testRomanNumerals_MCMLXXXIV_1984() throws Exception { + int num = rn.convertToInteger("MCMLXXXIV"); + assertEquals(1984, num); + } + + @Test public void testRomanNumerals_MMXIV_2014() throws Exception { + int num = rn.convertToInteger("MMXIV"); + assertEquals(2014, num); + } + + @Test(expected=Exception.class) public void testRomanNumerals_IIII_err() throws Exception { + rn.convertToInteger("IIII"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_LC_err() throws Exception { + rn.convertToInteger("LC"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_VV_err() throws Exception { + rn.convertToInteger("VV"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_DD_err() throws Exception { + rn.convertToInteger("DD"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_XM_err() throws Exception { + rn.convertToInteger("XM"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_XXC_err() throws Exception { + rn.convertToInteger("XXC"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_VX_err() throws Exception { + rn.convertToInteger("VX"); + } + + @Test(expected=Exception.class) public void testRomanNumerals_DM_err() throws Exception { + rn.convertToInteger("DM"); + } + + @Test public void testRomanNumerals_XLII_42() throws Exception { + int num = rn.convertToInteger("XLIII"); + assertEquals(43, num); + } + + @Test public void testRomanNumerals_1_to_3999() throws Exception { + RomanNumeral testValue; + int converted; + for (int i = 1; i < 4000; i++) { + testValue = new RomanNumeral(i); + converted = rn.convertToInteger(testValue.toString()); + assertEquals(testValue.toInt(), converted); + } } }