Skip to content

fix: Properly differentiate variables in printing when no debug symbo… #115

fix: Properly differentiate variables in printing when no debug symbo…

fix: Properly differentiate variables in printing when no debug symbo… #115

GitHub Actions / Unit Test Results succeeded Jun 30, 2024 in 0s

All 112 tests pass, 1 skipped in 1s

113 tests  +1   112 ✔️ +1   1s ⏱️ ±0s
  13 suites ±0       1 💤 ±0 
  13 files   ±0       0 ±0 

Results for commit 1c366a2. ± Comparison against earlier commit 95c74e8.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

1 skipped test found

There is 1 skipped test, see "Raw output" for the name of the skipped test.
Raw output
me.darknet.assembler.RuntimeCompilerTest ‑ roundTrip(TestArgument)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

113 tests found

There are 113 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] \u0031\\\\\\\
me.darknet.assembler.EscapeTest ‑ [11] "{ \"Hello World\", type: \"java/lang/HelloWorld\" }",
me.darknet.assembler.EscapeTest ‑ [12] 







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.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$Error ‑ intAndObjectLocalMerge()
me.darknet.assembler.SampleCompilerTest$Error ‑ intAndObjectStackMerge()
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 ‑ stackPopForInvokes()
me.darknet.assembler.SampleCompilerTest$Regresssion ‑ varDifferentiationWithoutDebugSymbols()
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [10] Example-int-iinc.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [11] Example-type-infer-list-alt.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [12] Example-invokedynamic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [13] Example-class-annotation.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [14] Example-int-multi.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [15] Example-infinity.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [16] Example-type-infer-list.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [17] Example-wide-invoke.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [18] Example-athrow-before-return.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [19] Example-obfuscated-indy.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [1] Example-anewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [20] Example-exit-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [21] Example.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [22] Example-push-type.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [23] Example-inner-class.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [24] Example-int-division.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [25] Example-multianewarray.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [26] Example-int-remainder.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [27] Example-exception.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [28] Example-getstatic.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [29] Example-checkcast.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [2] Example-int-addition.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [30] Example-nan.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [3] Example-varied-array-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [4] Example-float-cmp.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [5] Example-int-subtraction.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [6] Example-string-ops.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [7] Example-invokedynamic-short.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [8] Example-variables.jasm
me.darknet.assembler.SampleCompilerTest$RoundTrip ‑ [9] Example-int-multiplication.jasm
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] .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;