Skip to content

Commit

Permalink
Add Few More TestCases And Refactor Structure
Browse files Browse the repository at this point in the history
  • Loading branch information
MateuszKonatkowski committed Oct 16, 2023
1 parent 11f9bf0 commit f8cc5e1
Show file tree
Hide file tree
Showing 44 changed files with 494 additions and 0 deletions.
Empty file.
Empty file.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.
Empty file.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
298 changes: 298 additions & 0 deletions target/surefire-reports/2023-10-16T15-39-04_544-jvmRun1.dump

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions target/surefire-reports/2023-10-16T15-39-04_544-jvmRun1.dumpstream
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Created at 2023-10-16T15:39:13.061
TestSet has not finished before stream error has appeared >> initializing exit by non-null configuration: EXIT
java.io.EOFException
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.read(AbstractStreamDecoder.java:444)
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.read(AbstractStreamDecoder.java:419)
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.readMessageType(AbstractStreamDecoder.java:116)
at org.apache.maven.surefire.booter.stream.CommandDecoder.decode(CommandDecoder.java:77)
at org.apache.maven.surefire.booter.spi.CommandChannelDecoder.decode(CommandChannelDecoder.java:60)
at org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:290)
at java.base/java.lang.Thread.run(Thread.java:833)


108 changes: 108 additions & 0 deletions target/surefire-reports/2023-10-16T15-40-45_061-jvmRun1.dump
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Created at 2023-10-16T15:40:48.636
Exiting self fork JVM. Received SHUTDOWN command from Maven shutdown hook.
Thread dump before exiting the process (24356@DESKTOP-HU880DN):
"main"
java.lang.Thread.State: RUNNABLE
at java.base@17.0.6/java.io.RandomAccessFile.readBytes(Native Method)
at java.base@17.0.6/java.io.RandomAccessFile.read(RandomAccessFile.java:405)
at java.base@17.0.6/java.io.RandomAccessFile.readFully(RandomAccessFile.java:469)
at java.base@17.0.6/java.util.zip.ZipFile$Source.readFullyAt(ZipFile.java:1348)
at java.base@17.0.6/java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:915)
at java.base@17.0.6/java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931)
at java.base@17.0.6/java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448)
at java.base@17.0.6/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at java.base@17.0.6/jdk.internal.loader.Resource.getBytes(Resource.java:126)
at java.base@17.0.6/jdk.internal.loader.URLClassPath$JarLoader$2.getBytes(URLClassPath.java:893)
at java.base@17.0.6/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:859)
at java.base@17.0.6/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base@17.0.6/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base@17.0.6/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base@17.0.6/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base@17.0.6/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at app//com.aventstack.extentreports.reporter.AbstractFileReporter.loadTemplateModel(AbstractFileReporter.java:54)
at app//com.aventstack.extentreports.reporter.ExtentSparkReporter.start(ExtentSparkReporter.java:136)
at app//com.aventstack.extentreports.reporter.ExtentSparkReporter$1.onSubscribe(ExtentSparkReporter.java:116)
at app//io.reactivex.rxjava3.subjects.PublishSubject.subscribeActual(PublishSubject.java:133)
at app//io.reactivex.rxjava3.core.Observable.subscribe(Observable.java:13262)
at app//com.aventstack.extentreports.ReactiveSubject.attachReporter(ReactiveSubject.java:38)
at app//com.aventstack.extentreports.ExtentReports.attachReporter(ExtentReports.java:66)
at app//Util.ExtentReportUtil.getReportObject(ExtentReportUtil.java:19)
at app//Listeners.Listener.<init>(Listener.java:28)
at java.base@17.0.6/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base@17.0.6/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base@17.0.6/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base@17.0.6/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base@17.0.6/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.testng.internal.objects.InstanceCreator.newInstance(InstanceCreator.java:38)
at app//org.testng.internal.objects.InstanceCreator.newInstance(InstanceCreator.java:59)
at app//org.testng.ITestObjectFactory.newInstance(ITestObjectFactory.java:10)
at app//org.testng.internal.objects.SimpleObjectDispenser.dispense(SimpleObjectDispenser.java:60)
at app//org.testng.internal.objects.GuiceBasedObjectDispenser.dispense(GuiceBasedObjectDispenser.java:28)
at app//org.testng.TestNG.addListeners(TestNG.java:1015)
at app//org.testng.TestNG.initializeConfiguration(TestNG.java:972)
at app//org.testng.TestNG.initializeEverything(TestNG.java:1063)
at app//org.testng.TestNG.run(TestNG.java:1074)
at app//org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at app//org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
at app//org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at app//org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at app//org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at app//org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at app//org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

"Reference Handler"
java.lang.Thread.State: RUNNABLE
at java.base@17.0.6/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at java.base@17.0.6/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
at java.base@17.0.6/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)

"Finalizer"
java.lang.Thread.State: WAITING
at java.base@17.0.6/java.lang.Object.wait(Native Method)
at java.base@17.0.6/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at java.base@17.0.6/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at java.base@17.0.6/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)

"Signal Dispatcher"
java.lang.Thread.State: RUNNABLE

"Attach Listener"
java.lang.Thread.State: RUNNABLE

"Notification Thread"
java.lang.Thread.State: RUNNABLE

"Common-Cleaner"
java.lang.Thread.State: TIMED_WAITING
at java.base@17.0.6/java.lang.Object.wait(Native Method)
at java.base@17.0.6/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at java.base@17.0.6/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
at java.base@17.0.6/java.lang.Thread.run(Thread.java:833)
at java.base@17.0.6/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)

"surefire-forkedjvm-stream-flusher"
java.lang.Thread.State: TIMED_WAITING
at java.base@17.0.6/jdk.internal.misc.Unsafe.park(Native Method)
at java.base@17.0.6/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at java.base@17.0.6/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
at java.base@17.0.6/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
at java.base@17.0.6/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
at java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
at java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
at java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base@17.0.6/java.lang.Thread.run(Thread.java:833)

"surefire-forkedjvm-command-thread"
java.lang.Thread.State: RUNNABLE
at java.management@17.0.6/sun.management.ThreadImpl.getThreadInfo1(Native Method)
at java.management@17.0.6/sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:197)
at app//org.apache.maven.surefire.booter.ForkedBooter.generateThreadDump(ForkedBooter.java:579)
at app//org.apache.maven.surefire.booter.ForkedBooter.access$600(ForkedBooter.java:79)
at app//org.apache.maven.surefire.booter.ForkedBooter$4.update(ForkedBooter.java:315)
at app//org.apache.maven.surefire.booter.CommandReader$CommandRunnable.callListeners(CommandReader.java:357)
at app//org.apache.maven.surefire.booter.CommandReader$CommandRunnable.exitByConfiguration(CommandReader.java:367)
at app//org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:330)
at java.base@17.0.6/java.lang.Thread.run(Thread.java:833)



12 changes: 12 additions & 0 deletions target/surefire-reports/2023-10-16T15-40-45_061-jvmRun1.dumpstream
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Created at 2023-10-16T15:40:48.613
TestSet has not finished before stream error has appeared >> initializing exit by non-null configuration: EXIT
java.io.EOFException
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.read(AbstractStreamDecoder.java:444)
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.read(AbstractStreamDecoder.java:419)
at org.apache.maven.surefire.api.stream.AbstractStreamDecoder.readMessageType(AbstractStreamDecoder.java:116)
at org.apache.maven.surefire.booter.stream.CommandDecoder.decode(CommandDecoder.java:77)
at org.apache.maven.surefire.booter.spi.CommandChannelDecoder.decode(CommandChannelDecoder.java:60)
at org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:290)
at java.base/java.lang.Thread.run(Thread.java:833)


18 changes: 18 additions & 0 deletions target/surefire-reports/All Test Suite/testng-failed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Failed suite [All Test Suite]" guice-stage="DEVELOPMENT" verbose="0">
<listeners>
<listener class-name="Listeners.Listener"/>
</listeners>
<test thread-count="5" name="test(failed)" verbose="0">
<classes>
<class name="TestComponents.BasicTests.SimpleFormDemoTest">
<methods>
<include name="singleInput_Enter_Data_Should_Show_Message" invocation-numbers="4"/>
<include name="tearDown"/>
<include name="setUp"/>
</methods>
</class> <!-- TestComponents.BasicTests.SimpleFormDemoTest -->
</classes>
</test> <!-- test(failed) -->
</suite> <!-- Failed suite [All Test Suite] -->

0 comments on commit f8cc5e1

Please sign in to comment.