-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42ba3bb
commit 82775ae
Showing
15 changed files
with
196 additions
and
370 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
337 changes: 23 additions & 314 deletions
337
test/executionflow/io/processor/files/InvokedFileProcessorTest/AuxClass_parsed.txt
Large diffs are not rendered by default.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
test/executionflow/io/processor/files/InvokedFileProcessorTest/InnerTry.java.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package executionflow.core.file.parser.tests; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
import examples.testClasses.TestClass; | ||
|
||
@executionflow.runtime.SkipCollection public class TestClass | ||
{ | ||
@executionflow.runtime.CollectMethodsCalled @org.junit.Test | ||
public void exceptionIncludesClassName() throws Exception { | ||
try { | ||
assertSerialization( | ||
willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
try { assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name));} catch(Throwable _d89a6bdcdcc126445913aee13333f14f){} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
test/executionflow/io/processor/files/InvokedFileProcessorTest/InnerTry_parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package executionflow.core.file.parser.tests; | ||
import static org.junit.Assert.assertEquals; | ||
import org.junit.Test; | ||
import examples.testClasses.TestClass; | ||
@executionflow.runtime.SkipCollection public class TestClass{ | ||
@executionflow.runtime.CollectMethodsCalled @org.junit.Test public void exceptionIncludesClassName() throws Exception { | ||
try {int _82212329cfb379c33ee897a0bcd1f449=0; | ||
assertSerialization( willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} | ||
catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
try { assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name));} catch(Throwable _d89a6bdcdcc126445913aee13333f14f){} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
test/executionflow/io/processor/files/PreTestMethodFileProcessorTest/InnerTry.java.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package executionflow.core.file.parser.tests; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
import examples.testClasses.TestClass; | ||
|
||
public class TestClass | ||
{ | ||
@Test | ||
public void exceptionIncludesClassName() throws Exception { | ||
try { | ||
assertSerialization( | ||
willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name)); | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
test/executionflow/io/processor/files/PreTestMethodFileProcessorTest/InnerTry_parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package executionflow.core.file.parser.tests; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
import examples.testClasses.TestClass; | ||
|
||
public class TestClass | ||
{ | ||
@org.junit.Test | ||
public void exceptionIncludesClassName() throws Exception { | ||
try { | ||
assertSerialization( | ||
willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
try { assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name));} catch(Throwable _d89a6bdcdcc126445913aee13333f14f){} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
test/executionflow/io/processor/files/TestMethodFileProcessorTest/InnerTry.java.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package executionflow.core.file.parser.tests; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
import examples.testClasses.TestClass; | ||
|
||
public class TestClass | ||
{ | ||
@org.junit.Test | ||
public void exceptionIncludesClassName() throws Exception { | ||
try { | ||
assertSerialization( | ||
willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
try { assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name));} catch(Throwable _d89a6bdcdcc126445913aee13333f14f){} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
test/executionflow/io/processor/files/TestMethodFileProcessorTest/InnerTry_parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package executionflow.core.file.parser.tests; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
import org.junit.Test; | ||
|
||
import examples.testClasses.TestClass; | ||
|
||
@executionflow.runtime.SkipCollection public class TestClass | ||
{ | ||
@executionflow.runtime.CollectMethodsCalled @org.junit.Test | ||
public void exceptionIncludesClassName() throws Exception { | ||
try { | ||
assertSerialization( | ||
willClose(new ValidatingObjectInputStream(testStream))); | ||
fail("Expected an InvalidClassException"); | ||
} catch(final InvalidClassException ice) { | ||
final String name = MockSerializedClass.class.getName(); | ||
try { assertTrue("Expecting message to contain " + name, ice.getMessage().contains(name));} catch(Throwable _d89a6bdcdcc126445913aee13333f14f){} | ||
} | ||
} | ||
} |