Permalink
Browse files

Fixed test VNA00J-01.

Fixed the test by updating the expected value.
  • Loading branch information...
1 parent e3bc48c commit c4ed81f8623393a97cb349308318fa4669d7dfa7 @reprogrammer committed Nov 4, 2011
@@ -27,7 +27,7 @@ protected String getExpectedThreadSafeClasses() {
@Override
protected String getExpectedUnprotectedInstructionsThatMayAccessUnsafelySharedFields() {
- return "{Node: < Application, Lp/A, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in Everywhere}>=[], Node: < Application, Lp/A, increment()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in Everywhere}>=[InstructionInfo [method=p.A.increment()V, ssaInstruction=3 = getfield < Application, Lp/A, counter, <Primordial,I> > 1, instructionIndex=2], InstructionInfo [method=p.A.increment()V, ssaInstruction=putfield 1 = 5 < Application, Lp/A, counter, <Primordial,I> >, instructionIndex=5]], Node: < Application, Lp/A, m()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in Everywhere}>=[InstructionInfo [method=p.A.m()V, ssaInstruction=3 = getfield < Application, Lp/A, counter, <Primordial,I> > 1, instructionIndex=2], InstructionInfo [method=p.A.m()V, ssaInstruction=putfield 1 = 5 < Application, Lp/A, counter, <Primordial,I> >, instructionIndex=5]], Node: < Application, Lp/A, main([Ljava/lang/String;)V > Context: Everywhere=[], Node: < Primordial, Ljava/lang/Object, <clinit>()V > Context: Everywhere=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, m()V >:NEW <Application,Ljava/lang/Object>@14 in ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in Everywhere}>}>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in Everywhere}>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Primordial, Ljava/lang/String, <clinit>()V >:NEW <Primordial,Ljava/lang/String$CaseInsensitiveComparator>@7 in Everywhere}>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V >:NEW <Application,[Ljava/lang/String>@1 in Everywhere}>=[], Node: < Primordial, Ljava/lang/Object, registerNatives()V > Context: Everywhere=[], Node: < Primordial, Ljava/lang/String$CaseInsensitiveComparator, <init>()V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Primordial, Ljava/lang/String, <clinit>()V >:NEW <Primordial,Ljava/lang/String$CaseInsensitiveComparator>@7 in Everywhere}>=[], Node: < Primordial, Ljava/lang/String$CaseInsensitiveComparator, <init>(Ljava/lang/String$1;)V > Context: ReceiverInstanceContext<SITE_IN_NODE{< Primordial, Ljava/lang/String, <clinit>()V >:NEW <Primordial,Ljava/lang/String$CaseInsensitiveComparator>@7 in Everywhere}>=[], Node: < Primordial, Ljava/lang/String, <clinit>()V > Context: Everywhere=[], Node: synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V > Context: Everywhere=[], Node: synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeWorldClinit()V > Context: Everywhere=[]}";
+ return "{Node: < Application, Lp/A, <init>()V > Context: ReceiverStringContext: [ SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in ReceiverStringContext: [ SITE_IN_NODE{synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V >:NEW <Application,[Ljava/lang/String>@1 in Everywhere} ]} ]=[], Node: < Application, Lp/A, increment()V > Context: ReceiverStringContext: [ SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in ReceiverStringContext: [ SITE_IN_NODE{synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V >:NEW <Application,[Ljava/lang/String>@1 in Everywhere} ]} ]=[InstructionInfo [method=p.A.increment()V, ssaInstruction=3 = getfield < Application, Lp/A, counter, <Primordial,I> > 1, instructionIndex=2], InstructionInfo [method=p.A.increment()V, ssaInstruction=putfield 1 = 5 < Application, Lp/A, counter, <Primordial,I> >, instructionIndex=5]], Node: < Application, Lp/A, m()V > Context: ReceiverStringContext: [ SITE_IN_NODE{< Application, Lp/A, main([Ljava/lang/String;)V >:NEW <Application,Lp/A>@0 in ReceiverStringContext: [ SITE_IN_NODE{synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V >:NEW <Application,[Ljava/lang/String>@1 in Everywhere} ]} ]=[InstructionInfo [method=p.A.m()V, ssaInstruction=3 = getfield < Application, Lp/A, counter, <Primordial,I> > 1, instructionIndex=2], InstructionInfo [method=p.A.m()V, ssaInstruction=putfield 1 = 5 < Application, Lp/A, counter, <Primordial,I> >, instructionIndex=5]], Node: < Application, Lp/A, main([Ljava/lang/String;)V > Context: ReceiverStringContext: [ SITE_IN_NODE{synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V >:NEW <Application,[Ljava/lang/String>@1 in Everywhere} ]=[], Node: < Primordial, Ljava/lang/Object, <clinit>()V > Context: Everywhere=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: JavaTypeContext<point: <Application,Lp/A>>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: JavaTypeContext<point: <Primordial,Ljava/lang/Object>>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: JavaTypeContext<point: <Primordial,Ljava/lang/String$CaseInsensitiveComparator>>=[], Node: < Primordial, Ljava/lang/Object, <init>()V > Context: JavaTypeContext<point: <Primordial,[Ljava/lang/String>>=[], Node: < Primordial, Ljava/lang/Object, registerNatives()V > Context: Everywhere=[], Node: < Primordial, Ljava/lang/String$CaseInsensitiveComparator, <init>()V > Context: JavaTypeContext<point: <Primordial,Ljava/lang/String$CaseInsensitiveComparator>>=[], Node: < Primordial, Ljava/lang/String$CaseInsensitiveComparator, <init>(Ljava/lang/String$1;)V > Context: JavaTypeContext<point: <Primordial,Ljava/lang/String$CaseInsensitiveComparator>>=[], Node: < Primordial, Ljava/lang/String, <clinit>()V > Context: Everywhere=[], Node: synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeRootMethod()V > Context: Everywhere=[], Node: synthetic < Primordial, Lcom/ibm/wala/FakeRootClass, fakeWorldClinit()V > Context: Everywhere=[]}";
}
}

0 comments on commit c4ed81f

Please sign in to comment.