From ba9df4f3ee43b5370782f1e65f6f79a07882a886 Mon Sep 17 00:00:00 2001
From: zlnongi
Date: Fri, 24 Mar 2023 17:21:28 +0900
Subject: [PATCH 1/2] =?UTF-8?q?=EC=82=AC=EB=8B=A4=EB=A6=AC=EC=83=9D?=
=?UTF-8?q?=EC=84=B1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
build.gradle | 1 +
build/classes/java/main/ladder/Ladder.class | Bin 795 -> 848 bytes
build/classes/java/main/ladder/Row.class | Bin 1353 -> 1391 bytes
.../classes/java/test/ladder/LadderTest.class | Bin 1967 -> 2521 bytes
build/classes/java/test/ladder/RowTest.class | Bin 4449 -> 0 bytes
.../tests/test/classes/ladder.LadderTest.html | 134 +++++++++++++--
.../tests/test/classes/ladder.RowTest.html | 152 ------------------
build/reports/tests/test/index.html | 60 +++----
build/reports/tests/test/packages/ladder.html | 46 +++---
.../test/TEST-ladder.LadderTest.xml | 102 +++++++++++-
.../test-results/test/TEST-ladder.RowTest.xml | 16 --
build/test-results/test/binary/results.bin | Bin 1021 -> 10300 bytes
.../compileJava/previous-compilation-data.bin | Bin 144 -> 144 bytes
.../previous-compilation-data.bin | Bin 925 -> 811 bytes
src/main/java/ladder/Ladder.java | 30 +++-
src/main/java/ladder/Row.java | 56 +++++++
src/test/java/ladder/LadderTest.java | 44 ++++-
17 files changed, 401 insertions(+), 240 deletions(-)
delete mode 100644 build/classes/java/test/ladder/RowTest.class
delete mode 100644 build/reports/tests/test/classes/ladder.RowTest.html
delete mode 100644 build/test-results/test/TEST-ladder.RowTest.xml
create mode 100644 src/main/java/ladder/Row.java
diff --git a/build.gradle b/build.gradle
index 3cae2d7..7e86750 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,6 +11,7 @@ repositories {
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
+ testImplementation 'junit:junit:4.13.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}
diff --git a/build/classes/java/main/ladder/Ladder.class b/build/classes/java/main/ladder/Ladder.class
index d9ed44049aa6d0e3ca3fc6aa628c38846ef0a886..410273d82d6e73ebfa03aabdf51da9cc4484021d 100644
GIT binary patch
literal 848
zcmYLG+int36kTTq3d{^pv08NoZ0ili3y~Ke)V`RQkWkwcQ)7G@VAQEN(+nU#&@btW
zFUG_~+C*bNz(3JXXpD93f#S>F=d#Ya?DO;Qw_^YgaMyr=l^k+dm9mz>HR;z4q;NyZ
zO)0lBsAf=8NX5~3ppbvn>U+JOAJ?~|@k0fj#|o;cPzXowJAS$sZv%=J&ooW_a(?E31Dc`+a?}KMy
z5w3+i3Kohe5cxl+1rwG4Zd?+)prn&hSn#y3NM
zyfrg|RgT)=KjLOTu-Ybq!folROsHMXi8~3|p3D?Dwg(M1)JkB?i5~
zd!73RQOoSIl2QG9>qeShIhQnXC6QFH;mpP|o>5oy$BwWcA7Dwk)36VbeX*}`0>A7}!6o&sh107%}P+E#IfW@i>7Ls)1LhZ)HgoN5gOcUd3fYDCHnPwQo2k2wC
z>c)*56KxZXeE{D?AE7bU{|qCBq8d;ZWKAJ~B_-|?k#6;zk1@X)1u{-1d-V$feFRw3s_PJ1u+onYd7Y@;9A
z!`Hj^aqN>C1@=skR1E#G=%y@7G`lUjr;h!J8@eLQ^!;ftbRN6Xk~zoRJ+j~0S(v!P
z_y5ynkw!+Yx3VZpXre-LTrig^6hzz^+up0r-r&d?hGaLRMUc&XWIg9yxF7S;;D%FN
zI@clY%yi}^vW(08dXFR$Je%!vsJ8VT+85~hPR%++x&0Y>?Hjb`)pI2JC%XD@_3KmQ
zkYlW1i7`cWnr<1a(zU^Ji@tfjwE2?5bri5dCJF3dm8WEDyi-wDVy0o8c@f$b1qlO&
zQhdC`HP)0Do$j(ud`xM}+OD13kI_=h{uIQdWOBMEv$D@H3Tao~0SN~qFHMi#0@R~cFQsW13-SiDow
RplN8op{YxX6s0mk?JtmQearv=
diff --git a/build/classes/java/main/lad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SMaHdNQ`i<)oL&1l_tU`BU^detvc9uJlT-
zvmtCNCw$^`I05SMga$3mAgcQnZwnGpPBfutIDN0|_*Ow~SS5>L%sGzh3*T}bMlq0a
zz3tRanR3_`EuR62qLr$JbKwosx2;mq7W*rrAW0Y56?U0nUORgF=;-?=l^>p0o_-Ur
zeD&<;yC+9KKZ{o$Kd*fKW##cf;QQ%OymIhu<;TN#<<|pFYv}Xyo|O08z4bkJ-nH*r
zeqN=L>Gj+_4d=$=$?^CYzZCy#M(TJlMiI6sZ05vJlj`H#4RN|B@s9+hRncM#53{lu
zq`|;-+G}pv%gRMd6|S>Ul*>C}SC}x-uA#jp(aL#4!=PG_vW2sqO53*F7WSOCT`ow+
zuQO=qy5+il$@fHYS^9Z5SL%%7<1Vzbn=~3Bg%Q3lT-hJainQ;T_WRX%Xwn&_`H-IUdKdw
zg!iLHzVJm^*d+sZOe`T|;(ZLZ)XZ{r-3OAlP#qx_M{J3#?|S>ZMTLfCV1+j>#E^Z%e*9`Uw>gzH
z+IeByYrOtb239o;H|o?9R;wOf&9|>(venzF{&X;HXlL7@URU-S`^e}EXuog}LMPj3
z;A}$|$7Xc_PC`A$Ko2*Eg3Ug`bb1D&)4wD1x!(T*;bmjCTfcPnB_hBfqW2q^eac0|
z5Rpv0ON3MC$9n8_UWRKVR=T@s*kEsOwNBTw}_3^A?49Eb1$
aK4TwaTGLp@r{w>TwmJfrxF(6qNd67}DC21W
diff --git a/build/classes/java/test/ladder/RowTest.class b/build/classes/java/test/ladder/RowTest.class
deleted file mode 100644
index d4fcd8ba3eb10a0f3b95f1a7fe8391b06c32401e..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 4449
zcmb`KZByJ-6vt24CtO0Ii&Bw3Z0S;#E$#A9S_?>}l*;M?6)0`BRl{z8KuBmd%Y)BV
zJA>1XI#YFM9q>)Z&NzLcoleW(=m&88B(i=5$N$Y{lTa7BRA21P&E?$x`JIzWehGhxY^*Lp#XVl
z$VcaVG{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rGh2#b!AG{7==mXXK!H_-ogeb=XjI%+ZluHONgk5I_X_p{mAA#y^j`9MX%t#mwfoS
b@V0mrzwE5fnhjX9v)1f&Yc^=jhAH+BLVBob
diff --git a/build/reports/tests/test/classes/ladder.LadderTest.html b/build/reports/tests/test/classes/ladder.LadderTest.html
index cd3ab80..042fa84 100644
--- a/build/reports/tests/test/classes/ladder.LadderTest.html
+++ b/build/reports/tests/test/classes/ladder.LadderTest.html
@@ -23,13 +23,13 @@ LadderTest
|
|
@@ -41,7 +41,7 @@ LadderTest
|
@@ -50,8 +50,8 @@ LadderTest
- |
@@ -61,30 +61,138 @@ LadderTest
+
Failed tests
+
+
+
testInvalidDrawLine()
+
+org.opentest4j.AssertionFailedError: Unexpected exception type thrown ==> expected: <java.lang.IllegalArgumentException> but was: <java.lang.ArrayIndexOutOfBoundsException>
+ at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:65)
+ at app//org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:37)
+ at app//org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3082)
+ at app//ladder.LadderTest.testInvalidDrawLine(LadderTest.java:32)
+ at java.base@11.0.18/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at java.base@11.0.18/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at java.base@11.0.18/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.base@11.0.18/java.lang.reflect.Method.invoke(Method.java:566)
+ at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
+ at app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
+ at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
+ at app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
+ at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
+ at app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
+ at app//org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
+ at app//org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
+ at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
+ at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
+ at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
+ at app//org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
+ at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
+ at app//org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
+ at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
+ at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
+ at app//org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
+ at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
+ at java.base@11.0.18/java.util.ArrayList.forEach(ArrayList.java:1541)
+ at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
+ at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
+ at java.base@11.0.18/java.util.ArrayList.forEach(ArrayList.java:1541)
+ at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
+ at app//org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
+ at app//org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
+ at app//org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
+ at app//org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
+ at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
+ at app//org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
+ at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108)
+ at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
+ at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
+ at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
+ at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
+ at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96)
+ at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75)
+ at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:99)
+ at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:79)
+ at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:75)
+ at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
+ at java.base@11.0.18/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ at java.base@11.0.18/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
+ at java.base@11.0.18/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ at java.base@11.0.18/java.lang.reflect.Method.invoke(Method.java:566)
+ at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
+ at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
+ at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
+ at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
+ at com.sun.proxy.$Proxy2.stop(Unknown Source)
+ at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
+ at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
+ at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
+ at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
+ at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
+ at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:133)
+ at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:71)
+ at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
+ at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
+Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 3
+ at ladder.Ladder.drawLine(Ladder.java:24)
+ at ladder.LadderTest.lambda$testInvalidDrawLine$0(LadderTest.java:32)
+ at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:55)
+ ... 86 more
+
+
+
+
+
Generated by
-
Gradle 7.4 at 2023. 3. 10. 오후 2:19:09
+
Gradle 7.4 at 2023. 3. 24. 오후 5:13:29
-
-
RowTest
-
-
-
-
-
-
-
-
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
-
- |
-
-
- |
-
-
-
-
-
-
-
Tests
-
-
-
-Test |
-Method name |
-Duration |
-Result |
-
-
-
-사다리 : 0 |
-OneColWithoutLine() |
-0s |
-passed |
-
-
-ValidateDrawLinePositionAlreadyHasLineLeft() |
-ValidateDrawLinePositionAlreadyHasLineLeft() |
-0s |
-passed |
-
-
-ValidateDrawLinePositionAlreadyHasLineRight() |
-ValidateDrawLinePositionAlreadyHasLineRight() |
-0s |
-passed |
-
-
-ValidateDrawLinePositionOverRange() |
-ValidateDrawLinePositionOverRange() |
-0s |
-passed |
-
-
-ValidateDrawLinePositionUnderRange() |
-ValidateDrawLinePositionUnderRange() |
-0s |
-passed |
-
-
-만들어진 사다리 이상의 사람 예외 처리 |
-nthOfPersonValidateOutOfRangeMAX() |
-0s |
-passed |
-
-
-1번째 이하의 사람 예외 처리 |
-nthOfPersonValidateOutOfRangeMIN() |
-0s |
-passed |
-
-
-사다리 : 110 |
-oneRowThreeColWithLine() |
-0s |
-passed |
-
-
-사다리 : 11 |
-twoColWithLine() |
-0s |
-passed |
-
-
-사다리 사람이 0명인 경우 예외처리 |
-validateNumberOfPerson() |
-0s |
-passed |
-
-
-
-
-
-
-
diff --git a/build/reports/tests/test/classes/ladder.RowTest.html b/build/reports/tests/test/classes/ladder.RowTest.html
deleted file mode 100644
index 3137820..0000000
--- a/build/reports/tests/test/classes/ladder.RowTest.html
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-