misc: Test coverage of recent escaping improvements #147
GitHub Actions / Unit Test Results
succeeded
Oct 26, 2024 in 0s
All 173 tests pass, 2 skipped in 2s
Annotations
Check notice on line 0 in .github
github-actions / Unit Test Results
2 skipped tests found
There are 2 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
me.darknet.assembler.RuntimeCompilerTest ‑ roundTrip(TestArgument)
me.darknet.assembler.SampleCompilerTest$Error ‑ loadUninitializedVariable()
Check notice on line 0 in .github
github-actions / Unit Test Results
175 tests found
There are 175 tests, see "Raw output" for the full list of tests.
Raw output
me.darknet.assembler.ASTProcessorTest ‑ testAnnotation()
me.darknet.assembler.ASTProcessorTest ‑ testField()
me.darknet.assembler.ASTProcessorTest ‑ testInvalidField()
me.darknet.assembler.ASTProcessorTest ‑ testMethod()
me.darknet.assembler.ASTProcessorTest ‑ testSimpleClass()
me.darknet.assembler.ASTProcessorTest ‑ testSubAnnotation()
me.darknet.assembler.DeclarationParserTest ‑ testArray()
me.darknet.assembler.DeclarationParserTest ‑ testArrayInObject()
me.darknet.assembler.DeclarationParserTest ‑ testBasicPrimitives()
me.darknet.assembler.DeclarationParserTest ‑ testDeclaration()
me.darknet.assembler.DeclarationParserTest ‑ testDeclarationInObject()
me.darknet.assembler.DeclarationParserTest ‑ testInvalidInput()
me.darknet.assembler.DeclarationParserTest ‑ testNestedDeclaration()
me.darknet.assembler.DeclarationParserTest ‑ testObject()
me.darknet.assembler.EscapeTest ‑ [10]
me.darknet.assembler.EscapeTest ‑ [11] \u0031\\\\\\\
me.darknet.assembler.EscapeTest ‑ [12] "{ \"Hello World\", type: \"java/lang/HelloWorld\" }",
me.darknet.assembler.EscapeTest ‑ [13]
me.darknet.assembler.EscapeTest ‑ [1] \n
me.darknet.assembler.EscapeTest ‑ [1] epic obfuscated name
me.darknet.assembler.EscapeTest ‑ [2] \r
me.darknet.assembler.EscapeTest ‑ [2] { "Hello World", type: "java/lang/HelloWorld" }
me.darknet.assembler.EscapeTest ‑ [3] 0 -10 10f 10.16F 10.161616D 10L 0xDEADBEEF 0E10
me.darknet.assembler.EscapeTest ‑ [3] \t
me.darknet.assembler.EscapeTest ‑ [4] .class public java/lang/HelloWorld
me.darknet.assembler.EscapeTest ‑ [4] \b
me.darknet.assembler.EscapeTest ‑ [5] @ParameterizedTest
@ValueSource(
strings = {
"epic\u0020obfuscated\u0020name",
"{ \"Hello World\", type: \"java/lang/HelloWorld\" }",
"0 -10 10f 10.16F 10.161616D 10L 0xDEADBEEF 0E10",
".class public java/lang/HelloWorld"
}
)
me.darknet.assembler.EscapeTest ‑ [5] \f
me.darknet.assembler.EscapeTest ‑ [6] \"
me.darknet.assembler.EscapeTest ‑ [7]
me.darknet.assembler.EscapeTest ‑ [8]
me.darknet.assembler.EscapeTest ‑ [9] ,
me.darknet.assembler.InstructionsTest ‑ testInvokeDynamic()
me.darknet.assembler.InstructionsTest ‑ testJvmBytecode()
me.darknet.assembler.InstructionsTest ‑ testLabel()
me.darknet.assembler.InstructionsTest ‑ testLdc()
me.darknet.assembler.InstructionsTest ‑ testLookupSwitch()
me.darknet.assembler.InstructionsTest ‑ testTableSwitch()
me.darknet.assembler.InstructionsTest ‑ testWeirdStrings()
me.darknet.assembler.RuntimeCompilerTest ‑ roundTrip(TestArgument)
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [1] Example-int-multi.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [2] Example-int-addition.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [3] Example-int-division.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [4] Example-int-iinc.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [5] Example-int-multiplication.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [6] Example-int-remainder.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ [7] Example-int-subtraction.jasm
me.darknet.assembler.SampleCompilerTest$Analysis ‑ fieldLookup()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ ldcPushType()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ methodLookup()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForTypedAnalysis()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForTypedAnalysisAlt()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForValuedAnalysis()
me.darknet.assembler.SampleCompilerTest$Analysis ‑ typeInferenceListForValuedAnalysisAlt()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ defaultAnnotationValue()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ innerClassInfo()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ outerClassInfo()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ permittedSubclasses()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponentWithAnnos()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponentWithGenerics()
me.darknet.assembler.SampleCompilerTest$AttributeSupport ‑ recordComponents()
me.darknet.assembler.SampleCompilerTest$Error ‑ intAndObjectLocalMerge()
me.darknet.assembler.SampleCompilerTest$Error ‑ intAndObjectStackMerge()
me.darknet.assembler.SampleCompilerTest$Error ‑ loadUninitializedVariable()
me.darknet.assembler.SampleCompilerTest$Error ‑ putfieldWithoutContext()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ arrayLoadAndStores()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ athrowDoesNotAllowFlowThroughToNextFrameAndClearsStack()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ checkcastChangesType()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ newArrayPopsSizeOffStack()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ spacesAndCommentsDoNotBreakAstReportedLocations()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ stackPopForInvokes()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ tryWithResourceVariableScopeConfusion_Typed()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ tryWithResourceVariableScopeConfusion_Valued()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ varDifferentiationWithoutDebugSymbols()
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [10] Example-int-remainder.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [10] u0003.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [11] Example-int-multiplication.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [11] u0004.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [12] Example-anewarray-array.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [12] u0005.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [13] Example-int-subtraction.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [13] u0006.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [14] Example-comment.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [14] u0007.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [15] Example-int-multi.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [15] u0008.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [16] Example-checkcast.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [16] u0009.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [17] Example-type-infer-list.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [17] u000a.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [18] Example-push-type.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [18] u000b.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [19] Example-string-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [19] u000c.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [1] Example-athrow-before-return.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [1] u000d.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [20] Example-invokedynamic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [20] u000d.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [21] Example-variables.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [21] u000e.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [22] Example-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [22] u000f.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [23] Example-int-type-name.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [23] u0010.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [24] Example-class-with-method-annotation.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [24] u0011.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [25] Example-float-cmp.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [25] u0012.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [26] Example-getstatic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [26] u0013.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [27] Example-int-division.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [27] u0014.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [28] Example-int-addition.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [28] u2000.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [29] Example-exit-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [29] u2001.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [2] Example-varied-array-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [2] u000a.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [30] Example-inner-class.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [30] u2002.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [31] Example-invokedynamic-short.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [31] u2003.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [32] Example-obfuscated-indy.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [32] u2004.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [33] Example-nan.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [33] u2005.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [34] Example-methods-on-arrays.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [34] u2006.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [35] Example.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [35] u2007.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [36] Example-escape-type-name.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [36] u2008.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [37] Example-infinity.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [37] u2009.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [38] Example-try-with-resources.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [38] u200a.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [39] Example-type-infer-list-alt.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [3] Example-class-annotation.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [3] u0009.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [40] Example-multianewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [4] Example-checkcast-edge.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [4] u2028.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [5] Example-new.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [5] u002c.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [6] Example-instanceof.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [6] u002e.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [7] Example-int-iinc.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [7] u0000.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [8] Example-anewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [8] u0001.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [9] Example-wide-invoke.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [9] u0002.sample
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ supportInfinity()
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ supportNan()
me.darknet.assembler.SampleCompilerTest$Variables ‑ basic()
me.darknet.assembler.SampleCompilerTest$Warning ‑ arrays()
me.darknet.assembler.SampleCompilerTest$Warning ‑ getField()
me.darknet.assembler.SampleCompilerTest$Warning ‑ int2Object()
me.darknet.assembler.SampleCompilerTest$Warning ‑ invokeContext()
me.darknet.assembler.SampleCompilerTest$Warning ‑ math()
me.darknet.assembler.SampleCompilerTest$Warning ‑ null2Int()
me.darknet.assembler.SampleCompilerTest$Warning ‑ object2Int()
me.darknet.assembler.SampleCompilerTest$Warning ‑ putField()
me.darknet.assembler.SampleCompilerTest$Warning ‑ storeTypeIncompatibility()
me.darknet.assembler.SampleCompilerTest$Warning ‑ switchOnNull()
me.darknet.assembler.SampleCompilerTest$Warning ‑ switchOnObj()
me.darknet.assembler.TokenizerTest ‑ [1] .class public java/lang/HelloWorld
me.darknet.assembler.TokenizerTest ‑ [2] .visible-annotation Annotate {
value: "java/lang/HelloWorld",
type: .enum java/lang/TargetType, METHOD
}
me.darknet.assembler.TokenizerTest ‑ [3] .method add (II)I {
.parameters: {a, b}
.code: {
iload a
iload b
iadd
ireturn
}
}
me.darknet.assembler.TokenizerTest ‑ testNumbers()
me.darknet.assembler.TokenizerTest ‑ testStringEscaping()
me.darknet.assembler.TokenizerTest ‑ testStringTokenizer()
me.darknet.assembler.TypeParserTest ‑ [1] java/lang/String.toString ()Ljava/lang/String;
me.darknet.assembler.TypeParserTest ‑ [2] java/lang/String.value [C
me.darknet.assembler.TypeParserTest ‑ [3] name Ljava/lang/String;
Loading