Package haikuvm.bench.from.darjeeling.testvm.classes

Examples of haikuvm.bench.from.darjeeling.testvm.classes.AInterface


    Darjeeling.assertTrue(testBase +  5, b.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase +  6, c.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase +  7, d.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase +  8, e.AInterfaceMethod()==1);
   
    AInterface aa, bb, cc, dd, ee;
    aa = a; bb = b; cc = c;  dd = d;  ee = e;
    Darjeeling.assertTrue(testBase +  9, aa.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase + 10, bb.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase + 11, cc.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase + 12, dd.AInterfaceMethod()==0);
    Darjeeling.assertTrue(testBase + 13, ee.AInterfaceMethod()==1);
  }
View Full Code Here


    Darjeeling.assertTrue(testBase +  5, aa instanceof A[]);
    Darjeeling.assertTrue(testBase +  6, aa instanceof B[]);
    Darjeeling.assertTrue(testBase +  7, aa instanceof C[]);
   
    o = d;
    AInterface ai = (AInterface)o;
    Darjeeling.assertTrue(testBase +  8, ai instanceof AInterface);

    /*
    stato = new D();
    Vector v = new Vector((short)4, (short)4);
View Full Code Here

TOP

Related Classes of haikuvm.bench.from.darjeeling.testvm.classes.AInterface

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.