From: jzhou Date: Fri, 22 Apr 2011 16:14:47 +0000 (+0000) Subject: Some goal files for the unit tests X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d2483c7c0f08970c970d04091ef27c857c64d4a;p=IRC.git Some goal files for the unit tests --- diff --git a/Robust/src/Tests/output/AbstractTest.output.goal b/Robust/src/Tests/output/AbstractTest.output.goal new file mode 100644 index 00000000..52a3c8b0 --- /dev/null +++ b/Robust/src/Tests/output/AbstractTest.output.goal @@ -0,0 +1,5 @@ +Wind.play() 9 +Percussion.play() 9 +Stringed.play() 9 +Brass.play() 9 +Woodwind.play() 9 diff --git a/Robust/src/Tests/output/EnumTest.output.goal b/Robust/src/Tests/output/EnumTest.output.goal new file mode 100644 index 00000000..4792e70f --- /dev/null +++ b/Robust/src/Tests/output/EnumTest.output.goal @@ -0,0 +1,2 @@ +2 +3 diff --git a/Robust/src/Tests/output/InitializerTest.output.goal b/Robust/src/Tests/output/InitializerTest.output.goal new file mode 100644 index 00000000..54c4682e --- /dev/null +++ b/Robust/src/Tests/output/InitializerTest.output.goal @@ -0,0 +1,18 @@ +a=1 +b=5.000000 +c=10 +d=7 +e=15 +f=6.000000 +g=true +h=h +i.length = 3 +a=3 +b=5.000000 +c=10 +d=7 +e=15 +f=6.000000 +g=true +h=h +i.length = 3 diff --git a/Robust/src/Tests/output/InterfaceTest.output.goal b/Robust/src/Tests/output/InterfaceTest.output.goal new file mode 100644 index 00000000..ff3b8bb8 --- /dev/null +++ b/Robust/src/Tests/output/InterfaceTest.output.goal @@ -0,0 +1,10 @@ +Wind.play() 9 +Percussion.play() 9 +Stringed.play() 9 +Wind.play() 9 +Wind.play() 9 +Wind.play() 9 +Percussion.play() 9 +Stringed.play() 9 +Wind.play() 9 +Wind.play() 9 diff --git a/Robust/src/Tests/output/StaticTest.output.goal b/Robust/src/Tests/output/StaticTest.output.goal new file mode 100644 index 00000000..31dec38c --- /dev/null +++ b/Robust/src/Tests/output/StaticTest.output.goal @@ -0,0 +1,9 @@ +static i: 47 +st1 i: 47 +st2 i: 47 +static i: 48 +st1 i: 48 +st2 i: 48 +static i: 49 +st1 i: 49 +st2 i: 49 diff --git a/Robust/src/Tests/output/SwitchCaseTest.output.goal b/Robust/src/Tests/output/SwitchCaseTest.output.goal new file mode 100644 index 00000000..67ff9140 --- /dev/null +++ b/Robust/src/Tests/output/SwitchCaseTest.output.goal @@ -0,0 +1,34 @@ +y, 121: Sometimes a vowel +n, 110: consonant +z, 122: consonant +b, 98: consonant +r, 114: consonant +n, 110: consonant +y, 121: Sometimes a vowel +g, 103: consonant +c, 99: consonant +f, 102: consonant +o, 111: vowel +Sometimes a vowel +w, 119: Sometimes a vowel +z, 122: consonant +n, 110: consonant +t, 116: consonant +c, 99: consonant +q, 113: consonant +r, 114: consonant +g, 103: consonant +s, 115: consonant +e, 101: vowel +Sometimes a vowel +g, 103: consonant +z, 122: consonant +m, 109: consonant +m, 109: consonant +j, 106: consonant +m, 109: consonant +r, 114: consonant +o, 111: vowel +Sometimes a vowel +e, 101: vowel +Sometimes a vowel diff --git a/Robust/src/Tests/output/TryCatchTest.output.goal b/Robust/src/Tests/output/TryCatchTest.output.goal new file mode 100644 index 00000000..8e7ee4b6 --- /dev/null +++ b/Robust/src/Tests/output/TryCatchTest.output.goal @@ -0,0 +1,2 @@ +try block +finally block