Skip to content

Commit

Permalink
Review notes & remove broken assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
petertrr committed Dec 12, 2024
1 parent 4206219 commit 349ac7a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
import java.util.jar.JarInputStream

plugins {
id 'java'
id 'com.jfrog.artifactory' version '4.28.2'
id 'org.sonarqube' version '3.5.0.2730'
id 'de.thetaphi.forbiddenapis' version '3.0' apply false
id 'com.diffplug.spotless' version '6.15.0'
}

allprojects {
apply plugin: 'java'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'maven-publish'
apply plugin: 'signing'

gradle.projectsEvaluated {
tasks.withType(JavaCompile).configureEach {
if (project.hasProperty('warn')) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
} else {
options.compilerArgs << "-Xlint:-unchecked" << "-Xlint:-deprecation"
}
}
}

ext {
buildNumber = System.getProperty("buildNumber")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ public void go_measures() {
assertThat(getMeasureAsInt(componentKey, "ncloc")).isEqualTo(41);
assertThat(getMeasureAsInt(componentKey, "comment_lines")).isEqualTo(2);

assertThat(getMeasure(componentKey, "ncloc_data").getValue())
.isEqualTo("1=1;3=1;4=1;5=1;6=1;7=1;8=1;10=1;11=1;12=1;13=1;14=1;16=1;17=1;18=1;20=1;21=1;22=1;23=1;24=1;25=1;" +
"26=1;27=1;28=1;29=1;30=1;31=1;32=1;33=1;35=1;36=1;37=1;38=1;39=1;40=1;41=1;46=1;47=1;48=1;49=1;50=1");

assertThat(getMeasureAsInt(componentKey, "functions")).isEqualTo(3);

assertThat(getMeasure(componentKey, "executable_lines_data").getValue())
Expand Down

0 comments on commit 349ac7a

Please sign in to comment.