From a96451d3f957d8db04976f3cd83cb7fff43269c7 Mon Sep 17 00:00:00 2001 From: Jonathan Roemer Date: Mon, 12 Jan 2015 14:43:03 -0600 Subject: [PATCH] Moved JUnit test example from Main.java to a JUnit_Test_Example.class file. Standardized formatting (Replace all tab characters with spaces, 2 spaces per tab). --- bin/JUnit_Test_Example.class | Bin 0 -> 524 bytes bin/Main.class | Bin 600 -> 355 bytes src/JUnit_Test_Example.java | 20 ++++++++++++++++++++ src/Main.java | 19 ------------------- 4 files changed, 20 insertions(+), 19 deletions(-) create mode 100644 bin/JUnit_Test_Example.class create mode 100644 src/JUnit_Test_Example.java diff --git a/bin/JUnit_Test_Example.class b/bin/JUnit_Test_Example.class new file mode 100644 index 0000000000000000000000000000000000000000..40b0c72c183802c172e533019de65f34b2a4ce87 GIT binary patch literal 524 zcmaiwO-lnY5Qg7ux81t7c5N%-(VHLOUc4zn5rxX4qP5qOwxOnM6WL___*tF=5B>mu zlsIWi5i59^$>e?W%uGJN-ah~wVk3aZP`|iS()K#S*xuPQpFE@@fX@((`6G{0u14`y ze=G);p>!;k0}-l@ z&^GOn(wP`ehgeuCjc*2gwzS^6wcWNt}{0aY<&M!C56hVm;N zJcJaT43x1-u`)AIu2RLYMyiL}+!axFp#7;v`fo_}2ZSvk>kCLoFbAps2WtEYYS1$e F&2Jj#VQ2sV literal 0 HcmV?d00001 diff --git a/bin/Main.class b/bin/Main.class index da3257b7049bb034c7d82a34df67cce1150a5a3a..64ce01c32a00999175cf2b6d74ad2d2815e9071d 100644 GIT binary patch delta 87 zcmcb?@|cP1)W2Q(7#J8#7(^y=RZe^r&&V{{i&0CGk%1d1%EQ12Bw2wpFOcSB;A7yQ aEX|}K%Zen+$RNNV2$W@H5CW1+48j2WzY7-t delta 279 zcmaFNbc2QK)W2Q(7#J8#7$hfhRi+4(WMmdQ=9DK^76&927pE38GDrrM=9OgTriNt} zXC~#OI_Bl&mn4>C=H~(B1bp&~()F`S^D;~HLsE-NtQi@2K_++>d#2~*7p0~!G6*3l zfe21)NMdA}_*hGwgMk}pGY9SD1#W-W^o|N#2^6xTX`|{ diff --git a/src/JUnit_Test_Example.java b/src/JUnit_Test_Example.java new file mode 100644 index 0000000..da4bc54 --- /dev/null +++ b/src/JUnit_Test_Example.java @@ -0,0 +1,20 @@ +import static org.junit.Assert.assertEquals; + +import org.junit.Test; +import org.junit.Ignore; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +public class JUnit_Test_Example { + + @Test + public void thisAlwaysPasses() { + + } + + @Test + @Ignore + public void thisIsIgnored() { + + } +} diff --git a/src/Main.java b/src/Main.java index 7c742cc..ab5a483 100644 --- a/src/Main.java +++ b/src/Main.java @@ -1,25 +1,6 @@ -import static org.junit.Assert.assertEquals; - -import org.junit.Test; -import org.junit.Ignore; -import org.junit.runner.RunWith; -import org.junit.runners.JUnit4; - public class Main { - @Test - public void thisAlwaysPasses() { - - } - - @Test - @Ignore - public void thisIsIgnored() { - - } public static void main(String[] args) { - // Demonstrations for Sarah. } - }