Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix androidTest folder by adding the correct dependencies in the grad… #5

Merged
merged 1 commit into from
May 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ android {
includeAndroidResources = true
}
}
// Gradle automatically adds 'android.test.runner' as a dependency.
useLibrary 'android.test.runner'
useLibrary 'android.test.base'
useLibrary 'android.test.mock'

}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import android.content.ContentResolver;
import android.net.Uri;
import android.provider.BaseColumns;

import com.avinashdavid.trivialtrivia.questions.IndividualQuestion;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
package com.avinashdavid.trivialtrivia.scoring;

import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

public class QuizScorerTest {
private static QuizScorer sQuizScorer;

@Before
public void setUp() throws Exception {

}

@Test
public void getInstance() {
}

@Test
public void getSize() {
}

@Test
public void setSize() {
}

@Test
public void getQuestionScorers() {
}

@Test
public void setQuestionScorers() {
}

@Test
public void createQuizRecordContentValues() {
}

@Test
public void createAndInsertQuizRecord() {
}

@Test
public void createAndUpdateCategoryRecords() {
}

@Test
public void addQuestionScorer() {
}

@Test
public void testAddQuestionScorer() {
}

@Test
public void testAddQuestionScorer1() {
}

@Test
public void addQuestionScorerList() {
}

@Test
public void scoreQuiz() {
}

@Test
public void getCategoryScoreReport() {
}

@Test
public void getQuizCategoryScoreReportScoreStrings() {
}

@Test
public void getOverallTimeReport() {
}

@Test
public void getTimeAverageCorrect() {
}

@Test
public void getTimeAverageWrong() {
}

@Test
public void getTimeAverageAllQuestions() {
}

@Test
public void getCategoryTotalTimeReport() {
}

@Test
public void getCategoryAverageTimeReport() {
}

@Test
public void getTimeAverageCORRECTForCategory() {
}

@Test
public void getTimeAverageWRONGForCategory() {
}

@Test
public void getTimeAverageOVERALLForCategory() {
}
}