Esempio n. 1
0
        public void testNativeMethod()
        {
            String statement = "define print as native method receiving String value doing:\r\n"
                               + "\tJava: System.str.println(value); \r\n"
                               + "\tC#: Console.println(value); ";

            ETestParser             parser = new ETestParser(statement, false);
            NativeMethodDeclaration method = parser.parse_native_method_declaration();

            Assert.IsNotNull(method);
            Assert.IsTrue(method is NativeMethodDeclaration);
        }