package com.siteshot.siteshot.test;

import android.test.InstrumentationTestCase;

/**
 * Created by aclissold on 9/23/14.
 */
public class Test extends InstrumentationTestCase {

    public void testTestCasesAreFunctional() throws Exception {
        assertTrue(true);
    }

}

@@ -50,16 +50,24 @@
 id.test.
+Activity
 Instrume
@@ -81,16 +81,88 @@
 TestCase
+2;%0A%0Aimport com.parse.ParseUser;%0Aimport com.siteshot.siteshot.TabActivity
 ;%0A%0A/**%0A 
@@ -226,16 +226,24 @@
 extends 
+Activity
 Instrume
@@ -257,16 +257,30 @@
 TestCase
+2%3CTabActivity%3E
  %7B%0A%0A    
@@ -290,92 +290,467 @@
 lic 
-void testTestCasesAreFunctional() throws Exception %7B%0A        assertTrue(true);%0A    %7D%0A
+Test() %7B%0A        super(TabActivity.class);%0A    %7D%0A%0A    @Override%0A    public void setUp() %7B%0A        // Create the activity, to call Parse.initialize();%0A        getActivity();%0A    %7D%0A%0A    public void testTestCasesAreFunctional() throws Exception %7B%0A        assertTrue(true);%0A    %7D%0A%0A    public void testParseIntegration() throws Exception %7B%0A        ParseUser.logOut();%0A        ParseUser.logIn(%22test%22, %22test%22);%0A        assertNotNull(ParseUser.getCurrentUser());%0A    %7D
 %0A%7D%0A

Test parse integration