Skip to content

Commit

Permalink
Implement Test classes and Test suit for all the problems covering 10…
Browse files Browse the repository at this point in the history
…0% of the code,

Implement TestSuite
Implement HTML report to code coverage
  • Loading branch information
shamstabrez16 committed Oct 16, 2023
1 parent ff4efed commit b0f8786
Show file tree
Hide file tree
Showing 42 changed files with 6,855 additions and 22 deletions.
124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

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

154 changes: 154 additions & 0 deletions htmlReport/css/coverage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

* {
margin: 0;
padding: 0;
}

body {
background-color: #fff;
font-family: helvetica neue, tahoma, arial, sans-serif;
font-size: 82%;
color: #151515;
}

h1 {
margin: 0.5em 0;
color: #010101;
font-weight: normal;
font-size: 18px;
}

h2 {
margin: 0.5em 0;
color: #010101;
font-weight: normal;
font-size: 16px;
}

a {
color: #1564C2;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

span.separator {
color: #9BA9BA;
padding-left: 5px;
padding-right: 5px;
}

div.content {
width: 99%;
}

table.coverageStats {
width: 100%;
border-collapse: collapse;
}

table.overallStats {
width: 20%;
}

table.coverageStats td, table.coverageStats th {
padding: 4px 2px;
border-bottom: 1px solid #ccc;
}

table.coverageStats th {
background-color: #959BA4;
border: none;
font-weight: bold;
text-align: left;
color: #FFF;
}

table.coverageStats th.coverageStat {
width: 15%;
}

table.coverageStats th a {
color: #FFF;
}

table.coverageStats th a:hover {
text-decoration: none;
}

table.coverageStats th.sortedDesc a {
background: url(../img/arrowDown.gif) no-repeat 100% 2px;
padding-right: 20px;
}

table.coverageStats th.sortedAsc a {
background: url(../img/arrowUp.gif) no-repeat 100% 2px;
padding-right: 20px;
}

div.footer {
margin: 2em .5em;
font-size: 85%;
text-align: left;
line-height: 140%;
}

code.sourceCode {
width: 100%;
border: 1px solid #ccc;
font: normal 12px 'Menlo', 'Bitstream Vera Sans Mono', 'Courier New', 'Courier', monospace;
white-space: pre;
}

code.sourceCode b {
font-weight: normal;
}

code.sourceCode span.number {
color: #151515;
}

code.sourceCode .fc {
background-color: #cfc;
}

code.sourceCode .pc {
background-color: #ffc;
}

code.sourceCode .nc {
background-color: #fcc;
}

.percent, .absValue {
font-size: 90%;
}

.percent .green, .absValue .green {
color: #32cc32;
}

.percent .red, .absValue .red {
color: #f00;
}

.percent .totalDiff {
color: #3f3f3f;
}
118 changes: 118 additions & 0 deletions htmlReport/css/idea.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
*/

.hljs {
color: #000;
background: #fff;
}

.hljs-subst,
.hljs-title {
font-weight: normal;
color: #000;
}

.hljs-comment,
.hljs-quote {
color: #808080;
font-style: italic;
}

.hljs-meta {
color: #808000;
}

.hljs-tag {
background: #efefef;
}

.hljs-section,
.hljs-name,
.hljs-literal,
.hljs-keyword,
.hljs-selector-tag,
.hljs-type,
.hljs-selector-id,
.hljs-selector-class {
font-weight: bold;
color: #000080;
}

.hljs-attribute,
.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: bold;
color: #0000ff;
}

.hljs-number,
.hljs-regexp,
.hljs-link {
font-weight: normal;
}

.hljs-string {
color: #008000;
font-weight: bold;
}

.hljs-symbol,
.hljs-bullet,
.hljs-formula {
color: #000;
background: #d0eded;
font-style: italic;
}

.hljs-doctag {
text-decoration: underline;
}

.hljs-variable,
.hljs-template-variable {
color: #660e7a;
}

.hljs-addition {
background: #baeeba;
}

.hljs-deletion {
background: #ffc8bd;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}

.hljs-ln-numbers {
display: block;
float: left;
width: 3em;
border-right: 1px solid #ccc;
font-style: normal;
text-align: right;
background-color: #eee;
}
Binary file added htmlReport/img/arrowDown.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added htmlReport/img/arrowUp.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b0f8786

Please sign in to comment.