aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/resources/org/sonar/batch
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-30 11:54:28 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-30 16:28:09 +0200
commitf7eb2f52db5155e72d81f74adfea3e2af7b41725 (patch)
tree86cfcdefa5c2d35a5c8e049ee1028e3f8fea4e41 /sonar-batch/src/test/resources/org/sonar/batch
parente0110b8cf875d491d10e3fdf71f0990e543e2dac (diff)
downloadsonarqube-f7eb2f52db5155e72d81f74adfea3e2af7b41725.tar.gz
sonarqube-f7eb2f52db5155e72d81f74adfea3e2af7b41725.zip
SONAR-6818 Split batch/project WS in several simpler WS
Diffstat (limited to 'sonar-batch/src/test/resources/org/sonar/batch')
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search.protobuf105
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search1.protobufbin0 -> 27828 bytes
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search2.protobufbin0 -> 14446 bytes
3 files changed, 0 insertions, 105 deletions
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search.protobuf b/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search.protobuf
deleted file mode 100644
index 18d0a1284a8..00000000000
--- a/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search.protobuf
+++ /dev/null
@@ -1,105 +0,0 @@
-¾d"Z
- squid:S1194squid("java.lang.Error" should not be extendedRMAJORbS1194šjava¢Java"×
-4squid:ObjectFinalizeOverridenCallsSuperFinalizeChecksquidQsuper.finalize() should be called at the end of Object.finalize() implementationsRBLOCKERb.ObjectFinalizeOverridenCallsSuperFinalizeCheckšjava¢Java"f
- squid:S2078squid1Values passed to LDAP queries should be sanitizedRCRITICALbS2078šjava¢Java"~
- squid:S1195squidLArray designators "[]" should be located after the type in method signaturesRMINORbS1195šjava¢Java"k
-
-squid:S106squid;Standard ouputs should not be used directly to log anythingRMAJORbS106šjava¢Java"Z
- squid:S1192squid(String literals should not be duplicatedRMINORbS1192šjava¢Java"P
-
-squid:S109squid Magic numbers should not be usedRMINORbS109šjava¢Java"f
- squid:S2077squid1Values passed to SQL commands should be sanitizedRCRITICALbS2077šjava¢Java"e
- squid:S2076squid0Values passed to OS commands should be sanitizedRCRITICALbS2076šjava¢Java"y
- squid:S1193squidGException types should not be tested using "instanceof" in catch blocksRMAJORbS1193šjava¢Java"]
- squid:S1190squid+Future keywords should not be used as namesRMAJORbS1190šjava¢Java"b
- squid:S1191squid0Classes from "sun.*" packages should not be usedRMAJORbS1191šjava¢Java"6
- squid:S1444squid:RCRITICALbS1444šjava¢Java"x
- squid:S2864squidF"entrySet()" should be iterated when both the key and value are neededRMAJORbS2864šjava¢Java"¢
-#squid:RightCurlyBraceStartLineChecksquid@A close curly brace should be located at the beginning of a lineRMINORbRightCurlyBraceStartLineCheckšjava¢Java"p
- squid:S2070squid;SHA-1 and Message-Digest hash algorithms should not be usedRCRITICALbS2070šjava¢Java"j
- squid:S1849squid6"Iterator.hasNext()" should not call "Iterator.next()"RBLOCKERbS1849šjava¢Java"f
- squid:S2301squid4Public methods should not contain selector argumentsRMAJORbS2301šjava¢Java"
- squid:S1848squidJObjects should not be created to be dropped immediately without being usedRCRITICALbS1848šjava¢Java"W
- squid:S1199squid%Nested code blocks should not be usedRMAJORbS1199šjava¢Java"ž
- squid:S1844squidj"Object.wait(...)" should never be called on objects that implement "java.util.concurrent.locks.Condition"RBLOCKERbS1844šjava¢Java"p
- squid:S1197squid>Array designators "[]" should be on the type, not the variableRMINORbS1197šjava¢Java"€
- squid:S2066squidK"Serializable" inner classes of non-serializable classes should be "static"RCRITICALbS2066šjava¢Java"n
- squid:S2065squid<Fields in non-serializable classes should not be "transient"RMINORbS2065šjava¢Java"R
- squid:S2970squidAssertions should be completeRCRITICALbS2970šjava¢Java"Y
- squid:S2068squid$Credentials should not be hard-codedRCRITICALbS2068šjava¢Java"i
- squid:S2974squid7Classes without "public" constructors should be "final"RMAJORbS2974šjava¢Java"s
- squid:S2976squid>"File.createTempFile" should not be used to create a directoryRCRITICALbS2976šjava¢Java"Y
- squid:S1068squid'Unused private fields should be removedRMAJORbS1068šjava¢Java"Q
- squid:S1065squidUnused labels should be removedRMAJORbS1065šjava¢Java"}
- squid:MethodCyclomaticComplexitysquid!Methods should not be too complexRMAJORbMethodCyclomaticComplexityšjava¢Java"z
-squid:EmptyStatementUsageChecksquid"Empty statements should be removedRMINORbEmptyStatementUsageCheckšjava¢Java"W
- squid:S1067squid%Expressions should not be too complexRMAJORbS1067šjava¢Java"^
- squid:S1066squid,Collapsible "if" statements should be mergedRMAJORbS1066šjava¢Java"t
- squid:S2061squid?Custom serialization method signatures should meet requirementsRCRITICALbS2061šjava¢Java"Þ
--squid:RightCurlyBraceSameLineAsNextBlockChecksquidhClose curly brace and the next "else", "catch" and "finally" keywords should be located on the same lineRMINORb'RightCurlyBraceSameLineAsNextBlockCheckšjava¢Java"V
- squid:S2063squid$Comparators should be "Serializable"RMAJORbS2063šjava¢Java"i
- squid:S2701squid7Literal boolean values should not be used in assertionsRMAJORbS2701šjava¢Java"y
- squid:S2059squidG"Serializable" inner classes of "Serializable" classes should be staticRMAJORbS2059šjava¢Java"a
- squid:S2057squid/"Serializable" classes should have a version idRMAJORbS2057šjava¢Java"®
- squid:S1596squid|Collections.emptyList(), emptyMap() and emptySet() should be used instead of Collections.EMPTY_LIST, EMPTY_MAP and EMPTY_SETRMAJORbS1596šjava¢Java"“
- squid:S2055squid^The non-serializable super class of a "Serializable" class must have a no-argument constructorRCRITICALbS2055šjava¢Java"h
- squid:S1598squid6Package declaration should match source file directoryRMAJORbS1598šjava¢Java"S
-squid:ParsingErrorsquidJava parser failureRMAJORb ParsingErroršjava¢Java"•
-
-squid:S881squideIncrement (++) and decrement (--) operators should not be mixed with other operators in an expressionRMAJORbS881šjava¢Java"v
- squid:S1724squidDDeprecated classes and interfaces should not be extended/implementedRMAJORbS1724šjava¢Java"w
- squid:S1862squidBRelated "if/else if" statements should not have the same conditionRCRITICALbS1862šjava¢Java"v
- squid:S1860squidBSynchronization should not be based on Strings or boxed primitivesRBLOCKERbS1860šjava¢Java"€
- squid:S1317squidN"StringBuilder" and "StringBuffer" should not be instantiated with a characterRMAJORbS1317šjava¢Java"Q
- squid:S1314squidOctal values should not be usedRMAJORbS1314šjava¢Java"j
- squid:S1315squid8"CHECKSTYLE:OFF" suppression comments should not be usedRMINORbS1315šjava¢Java"}
- squid:S2718squidH"DateUtils.truncate" from Apache Commons Lang library should not be usedRCRITICALbS2718šjava¢Java"s
-squid:IndentationChecksquid+Source code should be indented consistentlyRMINORbIndentationCheckšjava¢Java"c
- squid:S1451squid/Copyright and license headers should be definedRBLOCKERbS1451šjava¢Java"p
- squid:S1452squid>Generic wildcard types should not be used in return parametersRMAJORbS1452šjava¢Java"u
- squid:S1318squid@"object == null" should be used instead of "object.equals(null)"RCRITICALbS1318šjava¢Java"µ
- squid:S1319squid‚Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"RMAJORbS1319šjava¢Java"
- squid:S1312squidMLoggers should be "private static final" and should share a naming conventionRMINORbS1312šjava¢Java"V
- squid:S1313squid$IP addresses should not be hardcodedRMAJORbS1313šjava¢Java"
-
-squid:S864squidOLimited dependence should be placed on operator precedence rules in expressionsRMAJORbS864šjava¢Java"a
- squid:S1310squid/"NOPMD" suppression comments should not be usedRMINORbS1310šjava¢Java"h
- squid:S2447squid3Null should not be returned from a "Boolean" methodRCRITICALbS2447šjava¢Java"
- squid:S1850squidM"instanceof" operators that always return "true" or "false" should be removedRMAJORbS1850šjava¢Java"z
- squid:S2583squidFConditions should not unconditionally evaluate to "TRUE" or to "FALSE"RBLOCKERbS2583šjava¢Java"^
- squid:S1710squid,Annotation repetitions should not be wrappedRMAJORbS1710šjava¢Java"o
- squid:S2440squid=Classes with only "static" methods should not be instantiatedRMAJORbS2440šjava¢Java"t
- squid:S2441squid?Non-serializable objects should not be stored in "HttpSessions"RCRITICALbS2441šjava¢Java"_
- squid:S2442squid+"Lock" objects should not be "synchronized"RBLOCKERbS2442šjava¢Java"—
-"squid:ObjectFinalizeOverridenChecksquid4The Object.finalize() method should not be overridenRCRITICALbObjectFinalizeOverridenCheckšjava¢Java"h
- squid:S1858squid6"toString()" should never be called on a String objectRMAJORbS1858šjava¢Java"t
- squid:S2444squid?Lazy initialization of "static" fields should be "synchronized"RCRITICALbS2444šjava¢Java"
- squid:S2445squid[Blocks synchronized on fields should not contain assignments of new objects to those fieldsRBLOCKERbS2445šjava¢Java"O
- squid:S2446squid"notifyAll" should be usedRCRITICALbS2446šjava¢Java"k
- squid:S1301squid9"switch" statements should have at least 3 "case" clausesRMINORbS1301šjava¢Java"f
- squid:S1607squid4Skipped unit tests should be either removed or fixedRMAJORbS1607šjava¢Java"d
- squid:S1309squid3The @SuppressWarnings annotation should not be usedRINFObS1309šjava¢Java"z
- squid:S1604squidHAnonymous inner classes containing only one method should become lambdasRMAJORbS1604šjava¢Java"
- squid:S1602squidOLamdbas containing only one statement should not nest this statement in a blockRMAJORbS1602šjava¢Java"{
-squid:ClassCyclomaticComplexitysquid!Classes should not be too complexRMAJORbClassCyclomaticComplexityšjava¢Java"‹
- squid:S1200squidYClasses should not be coupled to too many other classes (Single Responsibility Principle)RMAJORbS1200šjava¢Java"q
- squid:S1201squid<Methods named "equals" should override Object.equals(Object)RCRITICALbS1201šjava¢Java"f
- squid:S1701squid4Fields and methods should not have conflicting namesRMAJORbS1701šjava¢Java"w
- squid:S1206squidC"equals(Object obj)" and "hashCode()" should be overridden in pairsRBLOCKERbS1206šjava¢Java"o
- squid:S1700squid=A field should not duplicate the name of its containing classRMAJORbS1700šjava¢Java"k
- squid:S2178squid6Short-circuit logic should be used in boolean contextsRCRITICALbS2178šjava¢Java"j
- squid:S2176squid8Class names should not shadow interfaces or superclassesRMAJORbS2176šjava¢Java"Š
- squid:ForLoopCounterChangedChecksquid."for" loop stop conditions should be invariantRMAJORbForLoopCounterChangedCheckšjava¢Java"h
- squid:S2175squid3Inappropriate "Collection" calls should not be madeRCRITICALbS2175šjava¢Java"e
- squid:S2160squid3Subclasses that add fields should override "equals"RMAJORbS2160šjava¢Java"q
- squid:S2162squid<"equals" methods should be symmetric and work for subclassesRCRITICALbS2162šjava¢Java"“
-%squid:RedundantThrowsDeclarationChecksquid-Throws declarations should not be superfluousRMINORbRedundantThrowsDeclarationCheckšjava¢Java"‘
- squid:S1994squid\"for" loop incrementers should modify the variable being tested in the loop's stop conditionRCRITICALbS1994šjava¢Java"\
- squid:S2165squid*"finalize" should not set fields to "null"RMAJORbS2165šjava¢Java"[
- squid:S2164squid&Math should not be performed on floatsRCRITICALbS2164šjava¢Java"f
- squid:S2167squid1"compareTo" should not return "Integer.MIN_VALUE"RCRITICALbS2167šjava¢Java"x
- squid:S2166squidFClasses named like "Exception" should extend "Exception" or a subclassRMAJORbS2166šjava¢Java"g
- squid:S2885squid2"Calendars" and "DateFormats" should not be staticRCRITICALbS2885šjava¢Java"~
- squid:S2694squidLInner classes which do not reference their owning classes should be "static"RMAJORbS2694šjava¢Java"ƒ
- squid:S2695squidO"PreparedStatement" and "ResultSet" methods should be called with valid indicesRBLOCKERbS2695šjava¢Java"h
- squid:S2692squid3"indexOf" checks should not be for positive numbersRCRITICALbS2692šjava¢Java \ No newline at end of file
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search1.protobuf b/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search1.protobuf
new file mode 100644
index 00000000000..5544968df4b
--- /dev/null
+++ b/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search1.protobuf
Binary files differ
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search2.protobuf b/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search2.protobuf
new file mode 100644
index 00000000000..a23bd1d5d81
--- /dev/null
+++ b/sonar-batch/src/test/resources/org/sonar/batch/rule/DefaultActiveRulesLoaderTest/active_rule_search2.protobuf
Binary files differ