Moved DivTest
This commit is contained in:
parent
ec400479bb
commit
8d4e8a9269
@ -92,15 +92,6 @@ public class TestAll {
|
|||||||
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testDivMethod() {
|
|
||||||
String classPath = "src/test/resources/SimpleTests/DivMethod.class";
|
|
||||||
//Program ast = ClassWithMainASTTyped.getProgram();
|
|
||||||
String className = "DivMethod";
|
|
||||||
String javacode = "src/test/resources/SimpleTests/DivMethod.java";
|
|
||||||
//byteCodeTester.testByteCodeFromAst(classPath, ast ,className);
|
|
||||||
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
|
||||||
}
|
|
||||||
|
|
||||||
// We dont do null assignments
|
// We dont do null assignments
|
||||||
/*
|
/*
|
||||||
@ -146,6 +137,16 @@ public class TestAll {
|
|||||||
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testDivMethod() {
|
||||||
|
String classPath = "src/test/resources/SimpleTests/DivMethod.class";
|
||||||
|
//Program ast = ClassWithMainASTTyped.getProgram();
|
||||||
|
String className = "DivMethod";
|
||||||
|
String javacode = "src/test/resources/SimpleTests/DivMethod.java";
|
||||||
|
//byteCodeTester.testByteCodeFromAst(classPath, ast ,className);
|
||||||
|
byteCodeTester.testClassFileFromScratch(classPath, javacode, className);
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testIfElseIfStatement() {
|
public void testIfElseIfStatement() {
|
||||||
String classPath = "src/test/resources/SimpleTests/IfElseIfStatement.class";
|
String classPath = "src/test/resources/SimpleTests/IfElseIfStatement.class";
|
||||||
|
Loading…
Reference in New Issue
Block a user