Home
last modified time | relevance | path

Searched refs:getAge (Results 1 – 25 of 1137) sorted by relevance

12345678910>>...46

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/test/java/org/springframework/aop/aspectj/annotation/
H A DAspectProxyFactoryTests.java48 assertEquals("Multiplication did not occur", bean.getAge() * 2, proxy.getAge()); in testWithSimpleAspect()
65 assertEquals(0, proxy1.getAge()); in testWithPerThisAspect()
66 assertEquals(1, proxy1.getAge()); in testWithPerThisAspect()
67 assertEquals(0, proxy2.getAge()); in testWithPerThisAspect()
68 assertEquals(2, proxy1.getAge()); in testWithPerThisAspect()
91 assertEquals(target.getAge() * multiple, proxy.getAge()); in testWithInstance()
94 assertEquals(target.getAge() * multiple, serializedProxy.getAge()); in testWithInstance()
106 int getAge(); in getAge() method
114 public int getAge() { in getAge() method in AspectProxyFactoryTests.TestBean
H A DAbstractAspectJAdvisorFactoryTests.java445 int oldAge = itb.getAge(); in XtestIntroductionWithArgumentBinding()
450 itb.setAge(itb.getAge()); in XtestIntroductionWithArgumentBinding()
478 itb.getAge(); in testAspectMethodThrowsExceptionLegalOnSignature()
498 itb.getAge(); in testAspectMethodThrowsExceptionIllegalOnSignature()
537 assertEquals(0, itb.getAge()); in testTwoAdvicesOnOneAspect()
540 assertEquals(1, itb.getAge()); in testTwoAdvicesOnOneAspect()
578 itb.getAge(); in testFailureWithoutExplicitDeclarePrecedence()
708 public void getAge() { in getAge() method in AbstractAspectJAdvisorFactoryTests.NamedPointcutAspectWithFQN
721 public void getAge() { in getAge() method in AbstractAspectJAdvisorFactoryTests.NamedPointcutAspectWithoutFQN
851 public void getAge() { in getAge() method in AbstractAspectJAdvisorFactoryTests.NoDeclarePrecedenceShouldFail
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/test/java/org/springframework/aop/aspectj/autoproxy/
H A DAspectJAutoProxyCreatorTests.java85 assertEquals(68, tb.getAge()); in testAspectsAreApplied()
96 assertEquals(20, tb.getAge()); in testMultipleAspectsWithParameterApplied()
103 assertEquals(71, tb.getAge()); in testAspectsAreAppliedInDefinedOrder()
222 assertEquals(0, adrian1.getAge()); in testPerThisAspect()
223 assertEquals(1, adrian1.getAge()); in testPerThisAspect()
228 assertEquals(0, adrian2.getAge()); in testPerThisAspect()
229 assertEquals(1, adrian2.getAge()); in testPerThisAspect()
230 assertEquals(2, adrian2.getAge()); in testPerThisAspect()
231 assertEquals(3, adrian2.getAge()); in testPerThisAspect()
232 assertEquals(2, adrian1.getAge()); in testPerThisAspect()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/test/java/org/springframework/aop/support/
H A DControlFlowPointcutTests.java46 assertEquals(target.getAge(), proxied.getAge()); in testMatches()
50 assertEquals(target.getAge(), new One().getAge(proxied)); in testMatches()
54 assertEquals(target.getAge(), new One().nomatch(proxied)); in testMatches()
82 assertEquals(16, new One().getAge(proxied)); in testSelectiveApplication()
104 int getAge(ITestBean proxied) { in getAge() method in ControlFlowPointcutTests.One
105 return proxied.getAge(); in getAge()
108 return proxied.getAge(); in nomatch()
H A DRegexpMethodPointcutAdvisorIntegrationTests.java57 assertEquals(newAge, advised.getAge()); in testSinglePattern()
80 assertEquals(newAge, advised.getAge()); in testMultiplePatterns()
96 assertEquals(0, p.getAge()); in testSerialization()
103 assertEquals(newAge, p.getAge()); in testSerialization()
109 assertEquals(newAge, p.getAge()); in testSerialization()
116 assertEquals(newAge + 1, p.getAge()); in testSerialization()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/test/java/org/springframework/aop/framework/
H A DAbstractAopProxyTests.java253 assertEquals(p.getAge(), p2.getAge()); in testSerializationSerializableTargetAndAdvice()
763 assertEquals(target.getAge(), proxied.getAge()); in testCannotAddDynamicIntroductionAdviceExceptInIntroductionAdvice()
804 assertEquals(target.getAge(), proxied.getAge()); in testCannotAddIntroductionAdviceWithUnimplementedInterface()
854 assertEquals(target.getAge(), proxied.getAge()); in testCannotAddIntroductionAdviceToIntroduceClass()
874 assertEquals(target.getAge(), proxied.getAge()); in testCannotAddInterceptorWhenFrozen()
901 assertEquals(target.getAge(), proxied.getAge()); in testCannotAddAdvisorWhenFrozenUsingCast()
1049 assertEquals(tb1.getAge(), proxy.getAge()); in testExistingProxyChangesTarget()
1053 assertEquals(tb2.getAge(), proxy.getAge()); in testExistingProxyChangesTarget()
1059 assertEquals(tb3.getAge(), proxy.getAge()); in testExistingProxyChangesTarget()
1062 assertEquals(tb1.getAge(), proxy.getAge()); in testExistingProxyChangesTarget()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.context/src/test/java/org/springframework/jndi/
H A DJndiObjectFactoryBeanTests.java209 assertEquals(0, tb.getAge()); in testLookupWithProxyInterface()
211 assertEquals(99, tb.getAge()); in testLookupWithProxyInterface()
251 assertEquals(0, tb.getAge()); in testLookupWithProxyInterfaceAndLazyLookup()
278 assertEquals(1, tb.getAge()); in testLookupWithProxyInterfaceWithNotCache()
280 assertEquals(2, tb.getAge()); in testLookupWithProxyInterfaceWithNotCache()
282 assertEquals(4, tb.getAge()); in testLookupWithProxyInterfaceWithNotCache()
307 assertEquals(0, tb.getAge()); in testLookupWithProxyInterfaceWithLazyLookupAndNotCache()
310 assertEquals(1, tb.getAge()); in testLookupWithProxyInterfaceWithLazyLookupAndNotCache()
312 assertEquals(2, tb.getAge()); in testLookupWithProxyInterfaceWithLazyLookupAndNotCache()
314 assertEquals(4, tb.getAge()); in testLookupWithProxyInterfaceWithLazyLookupAndNotCache()
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.beans/src/test/java/org/springframework/beans/
H A DBeanUtilsTests.java104 assertTrue("Age empty", tb2.getAge() == 0); in testCopyProperties()
108 assertTrue("Age copied", tb2.getAge() == tb.getAge()); in testCopyProperties()
120 assertTrue("Age empty", tb2.getAge() == 0); in testCopyPropertiesWithDifferentTypes1()
124 assertTrue("Age copied", tb2.getAge() == tb.getAge()); in testCopyPropertiesWithDifferentTypes1()
136 assertTrue("Age empty", tb2.getAge() == 0); in testCopyPropertiesWithDifferentTypes2()
140 assertTrue("Age copied", tb2.getAge() == tb.getAge()); in testCopyPropertiesWithDifferentTypes2()
152 assertTrue("Age empty", tb2.getAge() == 0); in testCopyPropertiesWithEditable()
158 assertTrue("Age copied", tb2.getAge() == 32); in testCopyPropertiesWithEditable()
170 assertTrue("Age empty", tb2.getAge() == 0); in testCopyPropertiesWithIgnore()
176 assertTrue("Age still empty", tb2.getAge() == 0); in testCopyPropertiesWithIgnore()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.transaction/src/test/java/org/springframework/transaction/interceptor/
H A DBeanFactoryTransactionTests.java79 assertEquals(666, testBean.getAge()); in testProxyFactory2Lazy()
121 assertTrue("Age should not be " + testBean.getAge(), testBean.getAge() == 666); in doTestGetsAreNotTransactional()
153 assertTrue(testBean.getAge() == age); in doTestGetsAreNotTransactional()
184 assertEquals(666, tb.getAge()); in testDynamicTargetSource()
187 assertEquals(newAge, tb.getAge()); in testDynamicTargetSource()
193 assertEquals(target2.getAge(), tb.getAge()); in testDynamicTargetSource()
195 assertEquals(newAge, target2.getAge()); in testDynamicTargetSource()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.transaction/src/test/java/org/springframework/transaction/annotation/
H A DAnnotationTransactionAttributeSourceTests.java59 proxy.getAge(); in testSerializable()
264 int getAge(); in getAge() method
277 int getAge(); in getAge() method
290 int getAge(); in getAge() method
322 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.Empty
355 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.TestBean1
387 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.TestBean2
421 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.TestBean3
454 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.TestBean4
474 public int getAge() { in getAge() method in AnnotationTransactionAttributeSourceTests.TestBean5
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.aop/src/test/java/org/springframework/aop/aspectj/
H A DTigerAspectJExpressionPointcutTests.java44 private Method getAge; field in TigerAspectJExpressionPointcutTests
51 getAge = TestBean.class.getMethod("getAge", (Class[]) null); in setUp()
87 assertFalse(ajexp.matches(getAge, TestBean.class)); in testMatchGenericArgument()
116 assertFalse(jdbcVarArgs.matches(getAge, TestBean.class)); in testMatchVarargs()
156 assertFalse(ajexp.matches(getAge, TestBean.class)); in testMatchAnnotationOnClass()
170 assertFalse(ajexp.matches(getAge, TestBean.class)); in testAnnotationOnMethodWithFQN()
184 assertFalse(anySpringMethodAnnotation.matches(getAge, TestBean.class)); in testAnnotationOnMethodWithWildcard()
198 assertFalse(takesSpringAnnotatedArgument2.matches(getAge, TestBean.class)); in testAnnotationOnMethodArgumentsWithFQN()
227 assertFalse(takesSpringAnnotatedArgument2.matches(getAge, TestBean.class)); in testAnnotationOnMethodArgumentsWithWildcards()
281 public int getAge() { in getAge() method in TigerAspectJExpressionPointcutTests.BeanA
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java43 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
71 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
73 return person.getAge(); in getAge()
79 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java43 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
71 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
73 return person.getAge(); in getAge()
79 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java44 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
74 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
76 return person.getAge(); in getAge()
83 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java44 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
74 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
76 return person.getAge(); in getAge()
83 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java44 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
74 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
76 return person.getAge(); in getAge()
83 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java44 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
74 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
76 return person.getAge(); in getAge()
83 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.internal.vm.compiler/share/classes/org.graalvm.micro.benchmarks/src/micro/benchmarks/
H A DSimpleSyncBenchmark.java44 public synchronized int getAge() { in getAge() method in SimpleSyncBenchmark.Person
74 public int getAge(ThreadState state) { in getAge() method in SimpleSyncBenchmark
76 return person.getAge(); in getAge()
83 int oldAge = person.getAge(); in getAndIncAge()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/langtools/tools/javac/lambda/funcInterfaces/
H A DLambdaTest2_SAM3.java48 public int getAge(Number n) { in main()
52 public int getAge(Integer i) { in main()
77 System.out.println("result=" + fb.getAge(new Byte("10"))); in methodFooBar()
78 System.out.println("result=" + fb.getAge(new Integer(10))); in methodFooBar()

12345678910>>...46